GET api/tours
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of 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"
},
{
"tourId": 1,
"providerId": 1,
"destinationCode": "sample string 2",
"tourName": "sample string 3",
"description": "sample string 4"
}
]
application/xml, text/xml
Sample:
<ArrayOftour xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/mustCnoAuth">
<tour>
<description>sample string 4</description>
<destinationCode>sample string 2</destinationCode>
<providerId>1</providerId>
<tourId>1</tourId>
<tourName>sample string 3</tourName>
</tour>
<tour>
<description>sample string 4</description>
<destinationCode>sample string 2</destinationCode>
<providerId>1</providerId>
<tourId>1</tourId>
<tourName>sample string 3</tourName>
</tour>
</ArrayOftour>