GET api/tours/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
tour| Name | Description | Type | Additional 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>