PUT api/Content/v2/AddBrewery
Request Information
URI Parameters
None.
Body Parameters
AddBreweryRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| CustomerId | integer |
None. |
|
| UniqueId | globally unique identifier |
None. |
|
| UserUniqueId | integer |
None. |
|
| Title | string |
None. |
|
| Description | string |
None. |
|
| Phone | string |
None. |
|
| Address | string |
None. |
|
| City | string |
None. |
|
| State | string |
None. |
|
| Zip | string |
None. |
|
| Country | string |
None. |
|
| Logo | string |
None. |
|
| WebSite | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"CustomerId": 1,
"UniqueId": "f054e676-f4c3-4409-ab82-8dd5ca7c2943",
"UserUniqueId": 3,
"Title": "sample string 4",
"Description": "sample string 5",
"Phone": "sample string 6",
"Address": "sample string 7",
"City": "sample string 8",
"State": "sample string 9",
"Zip": "sample string 10",
"Country": "sample string 11",
"Logo": "sample string 12",
"WebSite": "sample string 13"
}
application/xml, text/xml
Sample:
<AddBreweryRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tsunami.Model"> <Address>sample string 7</Address> <City>sample string 8</City> <Country>sample string 11</Country> <CustomerId>1</CustomerId> <Description>sample string 5</Description> <Logo>sample string 12</Logo> <Phone>sample string 6</Phone> <State>sample string 9</State> <Title>sample string 4</Title> <UniqueId>f054e676-f4c3-4409-ab82-8dd5ca7c2943</UniqueId> <UserUniqueId>3</UserUniqueId> <WebSite>sample string 13</WebSite> <Zip>sample string 10</Zip> </AddBreweryRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
AddBreweryResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| BrewerId | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"BrewerId": 1
}
application/xml, text/xml
Sample:
<AddBreweryResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tsunami.Model"> <BrewerId>1</BrewerId> </AddBreweryResponse>