POST api/PCXMLIndustry/EditPCXMLIndustry

Request Information

URI Parameters

None.

Body Parameters

PCXMLIndustry
NameDescriptionTypeAdditional information
CCCD

string

None.

IndustryID

integer

None.

Code

string

None.

Name

string

None.

PictureFile

string

None.

IndustryType

string

None.

LastUpdateDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "CCCD": "sample string 1",
  "IndustryID": 2,
  "Code": "sample string 3",
  "Name": "sample string 4",
  "PictureFile": "sample string 5",
  "IndustryType": "sample string 6",
  "LastUpdateDate": "2025-08-02T20:22:31.8367274+05:30"
}

text/html

Sample:
{"CCCD":"sample string 1","IndustryID":2,"Code":"sample string 3","Name":"sample string 4","PictureFile":"sample string 5","IndustryType":"sample string 6","LastUpdateDate":"2025-08-02T20:22:31.8367274+05:30"}

application/xml, text/xml

Sample:
<PCXMLIndustry xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PowerCashAPI.Models">
  <CCCD>sample string 1</CCCD>
  <Code>sample string 3</Code>
  <IndustryID>2</IndustryID>
  <IndustryType>sample string 6</IndustryType>
  <LastUpdateDate>2025-08-02T20:22:31.8367274+05:30</LastUpdateDate>
  <Name>sample string 4</Name>
  <PictureFile>sample string 5</PictureFile>
</PCXMLIndustry>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'PCXMLIndustry'.

Response Information

Resource Description

StatusResponse
NameDescriptionTypeAdditional information
Status

boolean

None.

ErrorMessage

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": true,
  "ErrorMessage": "sample string 2"
}

text/html

Sample:
{"Status":true,"ErrorMessage":"sample string 2"}

application/xml, text/xml

Sample:
<StatusResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PowerCashAPI.Models">
  <ErrorMessage>sample string 2</ErrorMessage>
  <Status>true</Status>
</StatusResponse>