POST api/TravelAgency

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
objDat
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "TRAVEL_AGENCY_ID": 1,
  "TRAVEL_AGENCY_NAME": "sample string 1",
  "TRAVEL_AGENCY_EMAIL": "sample string 2"
}

application/xml, text/xml

Sample:
<TravelAgency xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ComsipApi.Models.Resource">
  <TRAVEL_AGENCY_EMAIL>sample string 2</TRAVEL_AGENCY_EMAIL>
  <TRAVEL_AGENCY_ID>1</TRAVEL_AGENCY_ID>
  <TRAVEL_AGENCY_NAME>sample string 1</TRAVEL_AGENCY_NAME>
</TravelAgency>

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