POST api/Agents/AddNewSubPccCode

Request Information

URI Parameters

None.

Body Parameters

SubPccParam
NameDescriptionTypeAdditional information
SubPccCodeID

integer

None.

SubPccCode

string

None.

AgentID

integer

None.

AddedOnDate

date

None.

AddedType

string

None.

Status

string

None.

ExpiryDate

date

None.

DescriptionText

string

None.

Request Formats

application/json, text/json

Sample:
{
  "SubPccCodeID": 1,
  "SubPccCode": "sample string 2",
  "AgentID": 3,
  "AddedOnDate": "2023-12-05T11:40:52.9726509+03:00",
  "AddedType": "sample string 5",
  "Status": "sample string 6",
  "ExpiryDate": "2023-12-05T11:40:52.9726509+03:00",
  "DescriptionText": "sample string 8"
}

application/xml, text/xml

Sample:
<AgentsController.SubPccParam xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TheZowarAPI.Controllers">
  <AddedOnDate>2023-12-05T11:40:52.9726509+03:00</AddedOnDate>
  <AddedType>sample string 5</AddedType>
  <AgentID>3</AgentID>
  <DescriptionText>sample string 8</DescriptionText>
  <ExpiryDate>2023-12-05T11:40:52.9726509+03:00</ExpiryDate>
  <Status>sample string 6</Status>
  <SubPccCode>sample string 2</SubPccCode>
  <SubPccCodeID>1</SubPccCodeID>
</AgentsController.SubPccParam>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Object

None.

Response Formats

application/json, text/json

Sample:
{}

application/xml, text/xml

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />