GET api/loyalty2/shop/{shopId}
Provides a shop, given shop id.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
shopId |
The id of the shop. |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
PublicAPI.Models.ShopViewModelName | Description | Type | Additional information |
---|---|---|---|
ShopId |
Shop id |
integer |
None. |
ClubId |
Club id for this shop |
integer |
None. |
Name |
Name of shop |
string |
None. |
Country |
Country of shop |
string |
None. |
GroupId |
Group of shop |
integer |
None. |
IsActive |
Active status of shop |
boolean |
None. |
Response Formats
application/json, text/json
Sample:
{ "ShopId": 1, "ClubId": 2, "Name": "sample string 3", "Country": "sample string 4", "GroupId": 5, "IsActive": true }
application/xml, text/xml
Sample:
<ShopViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PublicAPI.Models"> <ClubId>2</ClubId> <Country>sample string 4</Country> <GroupId>5</GroupId> <IsActive>true</IsActive> <Name>sample string 3</Name> <ShopId>1</ShopId> </ShopViewModel>