PUT api/Content/v3/CreateTour
Request Information
URI Parameters
None.
Body Parameters
APITourRequestName | 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": "8bbdfba4-8ff7-425b-8bf0-07ff1dc96c3a", "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>8bbdfba4-8ff7-425b-8bf0-07ff1dc96c3a</UniqueId> <UserUniqueId>3</UserUniqueId> </APITourRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
APITourResponseName | 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>