GET v1/ShopOwners/{shopOwnerId}/CarrierAccounts
Get a list with all CarrierAccounts.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| shopOwnerId |
Shop owner identifier |
integer |
Required. |
Body Parameters
None.
Response Information
Resource Description
Collection of CarrierAccountBasicInfo| Name | Description | Type | Additional information |
|---|---|---|---|
| Id |
Gets or sets the identifier. |
integer |
Required |
| AppModuleDefinitionId |
Gets or sets the AppModuleDefinition identifier. |
integer |
Required |
| Name |
Gets or sets the name. |
string |
Required Max length: 100 |
| Enabled |
Indicates whether the CarrierAccount is enabled. |
boolean |
Required |
| Warehouses | Collection of WarehouseBasicInfo |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": 1,
"AppModuleDefinitionId": 2,
"Name": "sample string 3",
"Enabled": true,
"Warehouses": [
{
"Id": 1,
"Name": "sample string 2"
},
{
"Id": 1,
"Name": "sample string 2"
}
]
},
{
"Id": 1,
"AppModuleDefinitionId": 2,
"Name": "sample string 3",
"Enabled": true,
"Warehouses": [
{
"Id": 1,
"Name": "sample string 2"
},
{
"Id": 1,
"Name": "sample string 2"
}
]
}
]
application/xml, text/xml
Sample:
<ArrayOfCarrierAccountBasicInfo xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<CarrierAccountBasicInfo>
<Id>1</Id>
<AppModuleDefinitionId>2</AppModuleDefinitionId>
<Name>sample string 3</Name>
<Enabled>true</Enabled>
<Warehouses>
<WarehouseBasicInfo>
<Id>1</Id>
<Name>sample string 2</Name>
</WarehouseBasicInfo>
<WarehouseBasicInfo>
<Id>1</Id>
<Name>sample string 2</Name>
</WarehouseBasicInfo>
</Warehouses>
</CarrierAccountBasicInfo>
<CarrierAccountBasicInfo>
<Id>1</Id>
<AppModuleDefinitionId>2</AppModuleDefinitionId>
<Name>sample string 3</Name>
<Enabled>true</Enabled>
<Warehouses>
<WarehouseBasicInfo>
<Id>1</Id>
<Name>sample string 2</Name>
</WarehouseBasicInfo>
<WarehouseBasicInfo>
<Id>1</Id>
<Name>sample string 2</Name>
</WarehouseBasicInfo>
</Warehouses>
</CarrierAccountBasicInfo>
</ArrayOfCarrierAccountBasicInfo>