POST api/tours

Request Information

URI Parameters

None.

Body Parameters

tour
NameDescriptionTypeAdditional information
tourId

integer

None.

providerId

integer

None.

destinationCode

string

None.

tourName

string

None.

description

string

None.

Request Formats

application/json, text/json

Sample:
{
  "tourId": 1,
  "providerId": 1,
  "destinationCode": "sample string 2",
  "tourName": "sample string 3",
  "description": "sample string 4"
}

application/xml, text/xml

Sample:
<tour xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/mustCnoAuth">
  <description>sample string 4</description>
  <destinationCode>sample string 2</destinationCode>
  <providerId>1</providerId>
  <tourId>1</tourId>
  <tourName>sample string 3</tourName>
</tour>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

tour
NameDescriptionTypeAdditional information
tourId

integer

None.

providerId

integer

None.

destinationCode

string

None.

tourName

string

None.

description

string

None.

Response Formats

application/json, text/json

Sample:
{
  "tourId": 1,
  "providerId": 1,
  "destinationCode": "sample string 2",
  "tourName": "sample string 3",
  "description": "sample string 4"
}

application/xml, text/xml

Sample:
<tour xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/mustCnoAuth">
  <description>sample string 4</description>
  <destinationCode>sample string 2</destinationCode>
  <providerId>1</providerId>
  <tourId>1</tourId>
  <tourName>sample string 3</tourName>
</tour>