PUT api/Content/v3/GetAllBeerStyles

Request Information

URI Parameters

None.

Body Parameters

APIBeerStyleRequest
NameDescriptionTypeAdditional information
CustomerId

integer

None.

LanguageCode

string

None.

isFilter

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "CustomerId": 1,
  "LanguageCode": "sample string 2",
  "isFilter": true
}

application/xml, text/xml

Sample:
<APIBeerStyleRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tsunami.Model">
  <CustomerId>1</CustomerId>
  <LanguageCode>sample string 2</LanguageCode>
  <isFilter>true</isFilter>
</APIBeerStyleRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

APIBeerStyleResponse
NameDescriptionTypeAdditional information
BeerStyleList

Collection of APIBeerStyle

None.

Response Formats

application/json, text/json

Sample:
{
  "BeerStyleList": [
    {
      "Id": 1,
      "Name": "sample string 2",
      "ChildList": [
        {
          "Id": 1,
          "Name": "sample string 2",
          "BeerCount": 3,
          "Name_Computed": "sample string 4"
        },
        {
          "Id": 1,
          "Name": "sample string 2",
          "BeerCount": 3,
          "Name_Computed": "sample string 4"
        }
      ]
    },
    {
      "Id": 1,
      "Name": "sample string 2",
      "ChildList": [
        {
          "Id": 1,
          "Name": "sample string 2",
          "BeerCount": 3,
          "Name_Computed": "sample string 4"
        },
        {
          "Id": 1,
          "Name": "sample string 2",
          "BeerCount": 3,
          "Name_Computed": "sample string 4"
        }
      ]
    }
  ]
}

application/xml, text/xml

Sample:
<APIBeerStyleResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tsunami.Model">
  <BeerStyleList>
    <APIBeerStyle>
      <ChildList>
        <APIBeerStyleChild>
          <BeerCount>3</BeerCount>
          <Id>1</Id>
          <Name>sample string 2</Name>
          <Name_Computed>sample string 4</Name_Computed>
        </APIBeerStyleChild>
        <APIBeerStyleChild>
          <BeerCount>3</BeerCount>
          <Id>1</Id>
          <Name>sample string 2</Name>
          <Name_Computed>sample string 4</Name_Computed>
        </APIBeerStyleChild>
      </ChildList>
      <Id>1</Id>
      <Name>sample string 2</Name>
    </APIBeerStyle>
    <APIBeerStyle>
      <ChildList>
        <APIBeerStyleChild>
          <BeerCount>3</BeerCount>
          <Id>1</Id>
          <Name>sample string 2</Name>
          <Name_Computed>sample string 4</Name_Computed>
        </APIBeerStyleChild>
        <APIBeerStyleChild>
          <BeerCount>3</BeerCount>
          <Id>1</Id>
          <Name>sample string 2</Name>
          <Name_Computed>sample string 4</Name_Computed>
        </APIBeerStyleChild>
      </ChildList>
      <Id>1</Id>
      <Name>sample string 2</Name>
    </APIBeerStyle>
  </BeerStyleList>
</APIBeerStyleResponse>