POST api/PCXMLLanguage/AddPCXMLLanguage

Request Information

URI Parameters

None.

Body Parameters

PCXMLLanguage
NameDescriptionTypeAdditional information
CCCD

string

None.

LanguageID

integer

None.

Code

string

None.

Name

string

None.

LastUpdateDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "CCCD": "sample string 1",
  "LanguageID": 2,
  "Code": "sample string 3",
  "Name": "sample string 4",
  "LastUpdateDate": "2025-08-02T19:58:52.7837596+05:30"
}

text/html

Sample:
{"CCCD":"sample string 1","LanguageID":2,"Code":"sample string 3","Name":"sample string 4","LastUpdateDate":"2025-08-02T19:58:52.7837596+05:30"}

application/xml, text/xml

Sample:
<PCXMLLanguage 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>
  <LanguageID>2</LanguageID>
  <LastUpdateDate>2025-08-02T19:58:52.7837596+05:30</LastUpdateDate>
  <Name>sample string 4</Name>
</PCXMLLanguage>

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

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>