PUT api/Content/v2/GetBrewers

Request Information

URI Parameters

None.

Body Parameters

BrewersRequest
NameDescriptionTypeAdditional information
CustomerId

integer

None.

UniqueId

globally unique identifier

None.

UserUniqueId

integer

None.

SearchText

string

None.

PageNumber

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "CustomerId": 1,
  "UniqueId": "14d8df59-3e5f-42b1-8ebc-611bca79f2cd",
  "UserUniqueId": 3,
  "SearchText": "sample string 4",
  "PageNumber": 5
}

application/xml, text/xml

Sample:
<BrewersRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tsunami.Model">
  <CustomerId>1</CustomerId>
  <PageNumber>5</PageNumber>
  <SearchText>sample string 4</SearchText>
  <UniqueId>14d8df59-3e5f-42b1-8ebc-611bca79f2cd</UniqueId>
  <UserUniqueId>3</UserUniqueId>
</BrewersRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

BrewersResponse
NameDescriptionTypeAdditional information
BrewerList

Collection of _Brewers

None.

TotalCount

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "BrewerList": [
    {
      "Id": 1,
      "Name": "sample string 2",
      "City": "sample string 3",
      "State": "sample string 4",
      "Country": "sample string 5",
      "IsVerified": true
    },
    {
      "Id": 1,
      "Name": "sample string 2",
      "City": "sample string 3",
      "State": "sample string 4",
      "Country": "sample string 5",
      "IsVerified": true
    }
  ],
  "TotalCount": 1
}

application/xml, text/xml

Sample:
<BrewersResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tsunami.Model">
  <BrewerList>
    <_Brewers>
      <City>sample string 3</City>
      <Country>sample string 5</Country>
      <Id>1</Id>
      <IsVerified>true</IsVerified>
      <Name>sample string 2</Name>
      <State>sample string 4</State>
    </_Brewers>
    <_Brewers>
      <City>sample string 3</City>
      <Country>sample string 5</Country>
      <Id>1</Id>
      <IsVerified>true</IsVerified>
      <Name>sample string 2</Name>
      <State>sample string 4</State>
    </_Brewers>
  </BrewerList>
  <TotalCount>1</TotalCount>
</BrewersResponse>