GET v1/ShopOwners
Get a list with all available ShopOwners for the logged in user.
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
A list of the ShopOwnerBasicInfo objects.
Collection of ShopOwnerBasicInfo| Name | Description | Type | Additional information |
|---|---|---|---|
| Id |
Gets or sets the identifier. |
integer |
Required |
| CompanyName |
Gets or sets the name of the company. |
string |
Required Max length: 50 |
| DefaultCurrencyId |
Gets or sets the default currency identifier. |
integer |
Required |
| DefaultCultureId |
Gets or sets the default culture identifier. |
integer |
Required |
| Active |
Gets or sets a value indicating whether this <see cref="T:ShopCtrl.API.Models.ShopOwnerBasicInfo" /> is active. |
boolean |
Required |
Response Formats
application/json, text/json
Sample:
[
{
"Id": 1,
"CompanyName": "sample string 2",
"DefaultCurrencyId": 3,
"DefaultCultureId": 4,
"Active": true
},
{
"Id": 1,
"CompanyName": "sample string 2",
"DefaultCurrencyId": 3,
"DefaultCultureId": 4,
"Active": true
}
]
application/xml, text/xml
Sample:
<ArrayOfShopOwnerBasicInfo xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ShopOwnerBasicInfo>
<Id>1</Id>
<CompanyName>sample string 2</CompanyName>
<DefaultCurrencyId>3</DefaultCurrencyId>
<DefaultCultureId>4</DefaultCultureId>
<Active>true</Active>
</ShopOwnerBasicInfo>
<ShopOwnerBasicInfo>
<Id>1</Id>
<CompanyName>sample string 2</CompanyName>
<DefaultCurrencyId>3</DefaultCurrencyId>
<DefaultCultureId>4</DefaultCultureId>
<Active>true</Active>
</ShopOwnerBasicInfo>
</ArrayOfShopOwnerBasicInfo>