GET api/information/loyalty/{token}
Provides a list of shops in the club, given a loyalty token.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| token |
DdD Loyalty Token |
globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of LoyaltyShop| Name | Description | Type | Additional information |
|---|---|---|---|
| ShopId |
Id of the shop. |
integer |
None. |
| ClubId |
Id of the club. |
integer |
None. |
| Name |
Name of the club. |
string |
None. |
| Country |
Country of the club. |
string |
None. |
| GroupId |
Id of the group. |
integer |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"ShopId": 1,
"ClubId": 2,
"Name": "sample string 3",
"Country": "sample string 4",
"GroupId": 5
},
{
"ShopId": 1,
"ClubId": 2,
"Name": "sample string 3",
"Country": "sample string 4",
"GroupId": 5
}
]
application/xml, text/xml
Sample:
<ArrayOfShopDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PublicAPI.Models">
<ShopDTO>
<ClubId>2</ClubId>
<Country>sample string 4</Country>
<GroupId>5</GroupId>
<Name>sample string 3</Name>
<ShopId>1</ShopId>
</ShopDTO>
<ShopDTO>
<ClubId>2</ClubId>
<Country>sample string 4</Country>
<GroupId>5</GroupId>
<Name>sample string 3</Name>
<ShopId>1</ShopId>
</ShopDTO>
</ArrayOfShopDTO>