PUT api/Content/v3/CreateTour
Request Information
URI Parameters
None.
Body Parameters
APITourRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| CustomerId | integer |
None. |
|
| UniqueId | globally unique identifier |
None. |
|
| UserUniqueId | integer |
None. |
|
| Name | string |
None. |
|
| BreweryIds | Collection of integer |
None. |
|
| RegionId | integer |
None. |
|
| Direction | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"CustomerId": 1,
"UniqueId": "cdb19db6-0b56-40c3-be24-d97e8b3891cd",
"UserUniqueId": 3,
"Name": "sample string 4",
"BreweryIds": [
1,
2
],
"RegionId": 5,
"Direction": true
}
application/xml, text/xml
Sample:
<APITourRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tsunami.Model">
<BreweryIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:long>1</d2p1:long>
<d2p1:long>2</d2p1:long>
</BreweryIds>
<CustomerId>1</CustomerId>
<Direction>true</Direction>
<Name>sample string 4</Name>
<RegionId>5</RegionId>
<UniqueId>cdb19db6-0b56-40c3-be24-d97e8b3891cd</UniqueId>
<UserUniqueId>3</UserUniqueId>
</APITourRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
APITourResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | boolean |
None. |
|
| TourId | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"Status": true,
"TourId": 2
}
application/xml, text/xml
Sample:
<APITourResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tsunami.Model"> <Status>true</Status> <TourId>2</TourId> </APITourResponse>