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": "2022-12-04T14:43:02.7450193+03:00",
  "AddedType": "sample string 5",
  "Status": "sample string 6",
  "ExpiryDate": "2022-12-04T14:43:02.7450193+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>2022-12-04T14:43:02.7450193+03:00</AddedOnDate>
  <AddedType>sample string 5</AddedType>
  <AgentID>3</AgentID>
  <DescriptionText>sample string 8</DescriptionText>
  <ExpiryDate>2022-12-04T14:43:02.7450193+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/" />