PUT api/content/v4/updatetour
Request Information
URI Parameters
None.
Body Parameters
APITourRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| TourId | integer |
None. |
|
| 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. |
|
| NoOfStops | integer |
None. |
|
| TotalDistance | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"TourId": 1,
"CustomerId": 2,
"UniqueId": "61ccce38-69c0-4dad-9698-c524d5484785",
"UserUniqueId": 4,
"Name": "sample string 5",
"BreweryIds": [
1,
2
],
"RegionId": 6,
"Direction": true,
"NoOfStops": 1,
"TotalDistance": 1.0
}
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>2</CustomerId>
<Direction>true</Direction>
<Name>sample string 5</Name>
<NoOfStops>1</NoOfStops>
<RegionId>6</RegionId>
<TotalDistance>1</TotalDistance>
<TourId>1</TourId>
<UniqueId>61ccce38-69c0-4dad-9698-c524d5484785</UniqueId>
<UserUniqueId>4</UserUniqueId>
</APITourRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
APICommonWrapperOfBoolean| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | HttpStatusCode |
None. |
|
| Message | string |
None. |
|
| Data | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"Status": 100,
"Message": "sample string 1",
"Data": true
}
application/xml, text/xml
Sample:
<APICommonWrapperOfboolean xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tsunami.Model"> <Data>true</Data> <Message>sample string 1</Message> <Status>Continue</Status> </APICommonWrapperOfboolean>