POST api/PCXMLJobTitle/EditPCXMLJobTitle

Request Information

URI Parameters

None.

Body Parameters

PCXMLJobTitle
NameDescriptionTypeAdditional information
CCCD

string

None.

JobTitleID

integer

None.

Code

string

None.

Name

string

None.

LastUpdateDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "CCCD": "sample string 1",
  "JobTitleID": 2,
  "Code": "sample string 3",
  "Name": "sample string 4",
  "LastUpdateDate": "2025-08-02T20:00:01.8556961+05:30"
}

text/html

Sample:
{"CCCD":"sample string 1","JobTitleID":2,"Code":"sample string 3","Name":"sample string 4","LastUpdateDate":"2025-08-02T20:00:01.8556961+05:30"}

application/xml, text/xml

Sample:
<PCXMLJobTitle 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>
  <JobTitleID>2</JobTitleID>
  <LastUpdateDate>2025-08-02T20:00:01.8556961+05:30</LastUpdateDate>
  <Name>sample string 4</Name>
</PCXMLJobTitle>

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 'PCXMLJobTitle'.

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>