PUT api/Content/v3/GetEventBrewers
Request Information
URI Parameters
None.
Body Parameters
APIBrewerListRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| EventId | integer |
Required |
|
| SortBy | string |
None. |
|
| SortDir | string |
None. |
|
| PageNumber | integer |
Required |
|
| SearchText | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"EventId": 1,
"SortBy": "sample string 2",
"SortDir": "sample string 3",
"PageNumber": 4,
"SearchText": "sample string 5"
}
application/xml, text/xml
Sample:
<APIBrewerListRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tsunami.Model"> <EventId>1</EventId> <PageNumber>4</PageNumber> <SearchText>sample string 5</SearchText> <SortBy>sample string 2</SortBy> <SortDir>sample string 3</SortDir> </APIBrewerListRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
APIBrewerResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| List | Collection of APIBrewerListResponse |
None. |
|
| TotalRecords | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"List": [
{
"Id": 1,
"Title": "sample string 2",
"Logo": "sample string 3",
"Telephone": "sample string 4",
"Street": "sample string 5",
"Locality": "sample string 6",
"Region": "sample string 7",
"Postal": "sample string 8",
"Country": "sample string 9",
"objBrewerBeerList": [
{
"Name": "sample string 1",
"Description": "sample string 2",
"ABV": "sample string 3",
"IBU": "sample string 4",
"BrewerId": 5
},
{
"Name": "sample string 1",
"Description": "sample string 2",
"ABV": "sample string 3",
"IBU": "sample string 4",
"BrewerId": 5
}
]
},
{
"Id": 1,
"Title": "sample string 2",
"Logo": "sample string 3",
"Telephone": "sample string 4",
"Street": "sample string 5",
"Locality": "sample string 6",
"Region": "sample string 7",
"Postal": "sample string 8",
"Country": "sample string 9",
"objBrewerBeerList": [
{
"Name": "sample string 1",
"Description": "sample string 2",
"ABV": "sample string 3",
"IBU": "sample string 4",
"BrewerId": 5
},
{
"Name": "sample string 1",
"Description": "sample string 2",
"ABV": "sample string 3",
"IBU": "sample string 4",
"BrewerId": 5
}
]
}
],
"TotalRecords": 1
}
application/xml, text/xml
Sample:
<APIBrewerResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tsunami.Model">
<List>
<APIBrewerListResponse>
<Country>sample string 9</Country>
<Id>1</Id>
<Locality>sample string 6</Locality>
<Logo>sample string 3</Logo>
<Postal>sample string 8</Postal>
<Region>sample string 7</Region>
<Street>sample string 5</Street>
<Telephone>sample string 4</Telephone>
<Title>sample string 2</Title>
<objBrewerBeerList>
<APIBrewerBeerListResponse>
<ABV>sample string 3</ABV>
<BrewerId>5</BrewerId>
<Description>sample string 2</Description>
<IBU>sample string 4</IBU>
<Name>sample string 1</Name>
</APIBrewerBeerListResponse>
<APIBrewerBeerListResponse>
<ABV>sample string 3</ABV>
<BrewerId>5</BrewerId>
<Description>sample string 2</Description>
<IBU>sample string 4</IBU>
<Name>sample string 1</Name>
</APIBrewerBeerListResponse>
</objBrewerBeerList>
</APIBrewerListResponse>
<APIBrewerListResponse>
<Country>sample string 9</Country>
<Id>1</Id>
<Locality>sample string 6</Locality>
<Logo>sample string 3</Logo>
<Postal>sample string 8</Postal>
<Region>sample string 7</Region>
<Street>sample string 5</Street>
<Telephone>sample string 4</Telephone>
<Title>sample string 2</Title>
<objBrewerBeerList>
<APIBrewerBeerListResponse>
<ABV>sample string 3</ABV>
<BrewerId>5</BrewerId>
<Description>sample string 2</Description>
<IBU>sample string 4</IBU>
<Name>sample string 1</Name>
</APIBrewerBeerListResponse>
<APIBrewerBeerListResponse>
<ABV>sample string 3</ABV>
<BrewerId>5</BrewerId>
<Description>sample string 2</Description>
<IBU>sample string 4</IBU>
<Name>sample string 1</Name>
</APIBrewerBeerListResponse>
</objBrewerBeerList>
</APIBrewerListResponse>
</List>
<TotalRecords>1</TotalRecords>
</APIBrewerResponse>