POST api/Agents/AddNewSubPccCode

Request Information

URI Parameters

None.

Body Parameters

SubPccParam
NameDescriptionTypeAdditional information
SubPccCode

string

None.

HotelCode

string

None.

ValidDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "SubPccCode": "sample string 1",
  "HotelCode": "sample string 2",
  "ValidDate": "2022-05-21T15:27:01.3393375+03:00"
}

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">
  <HotelCode>sample string 2</HotelCode>
  <SubPccCode>sample string 1</SubPccCode>
  <ValidDate>2022-05-21T15:27:01.3393375+03:00</ValidDate>
</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/" />