PUT api/Content/v3/AddBeer

Request Information

URI Parameters

None.

Body Parameters

AddBeerRequest
NameDescriptionTypeAdditional information
CustomerId

integer

None.

UniqueId

globally unique identifier

None.

UserUniqueId

integer

None.

Name

string

None.

Description

string

None.

ABV

string

None.

IBU

string

None.

BeerStyleId

integer

None.

BeerStyle

string

None.

BrewerId

integer

None.

Base64

string

None.

Logo

string

None.

Request Formats

application/json, text/json

Sample:
{
  "CustomerId": 1,
  "UniqueId": "b04ff905-754c-4d0a-b474-8b18aa1a4696",
  "UserUniqueId": 3,
  "Name": "sample string 4",
  "Description": "sample string 5",
  "ABV": "sample string 6",
  "IBU": "sample string 7",
  "BeerStyleId": 8,
  "BeerStyle": "sample string 9",
  "BrewerId": 10,
  "Base64": "sample string 11",
  "Logo": "sample string 12"
}

application/xml, text/xml

Sample:
<AddBeerRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tsunami.Model">
  <ABV>sample string 6</ABV>
  <Base64>sample string 11</Base64>
  <BeerStyle>sample string 9</BeerStyle>
  <BeerStyleId>8</BeerStyleId>
  <BrewerId>10</BrewerId>
  <CustomerId>1</CustomerId>
  <Description>sample string 5</Description>
  <IBU>sample string 7</IBU>
  <Logo>sample string 12</Logo>
  <Name>sample string 4</Name>
  <UniqueId>b04ff905-754c-4d0a-b474-8b18aa1a4696</UniqueId>
  <UserUniqueId>3</UserUniqueId>
</AddBeerRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

AddBeerResponse
NameDescriptionTypeAdditional information
BeerId

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "BeerId": 1
}

application/xml, text/xml

Sample:
<AddBeerResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tsunami.Model">
  <BeerId>1</BeerId>
</AddBeerResponse>