POST api/tour?APIKEY={APIKEY}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
APIKEY

string

Required

Body Parameters

Tour
NameDescriptionTypeAdditional information
Id

string

None.

PropertyId

string

None.

SacCode

string

None.

TourName

string

None.

TourDescription

string

None.

property_name

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "sample string 1",
  "PropertyId": "sample string 2",
  "SacCode": "sample string 3",
  "TourName": "sample string 4",
  "TourDescription": "sample string 5",
  "property_name": "sample string 6"
}

application/xml, text/xml

Sample:
<JNP.Tour xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/InventoryAPI.Models">
  <Id>sample string 1</Id>
  <PropertyId>sample string 2</PropertyId>
  <SacCode>sample string 3</SacCode>
  <TourDescription>sample string 5</TourDescription>
  <TourName>sample string 4</TourName>
  <property_name>sample string 6</property_name>
</JNP.Tour>

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

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.