POST Tariff/Tariffs
Get all the Tariffs
Request Information
URI Parameters
None.
Body Parameters
BaseRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| Lang | string |
None. |
|
| StoreID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Lang": "sample string 1",
"StoreID": 2
}
application/xml, text/xml
Sample:
<BaseRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Admin.Models.Common.Base"> <Lang>sample string 1</Lang> <StoreID>2</StoreID> </BaseRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of _Tariff| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| Name | string |
None. |
|
| ProfitMargin | decimal number |
None. |
|
| PromotionsOff | boolean |
None. |
|
| CouponsOff | boolean |
None. |
|
| PublicTariff | boolean |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"ID": 1,
"Name": "sample string 2",
"ProfitMargin": 3.0,
"PromotionsOff": true,
"CouponsOff": true,
"PublicTariff": true
},
{
"ID": 1,
"Name": "sample string 2",
"ProfitMargin": 3.0,
"PromotionsOff": true,
"CouponsOff": true,
"PublicTariff": true
}
]
application/xml, text/xml
Sample:
<ArrayOf_Tariff xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Admin.Models.View.Tariff">
<_Tariff>
<CouponsOff>true</CouponsOff>
<ID>1</ID>
<Name>sample string 2</Name>
<ProfitMargin>3</ProfitMargin>
<PromotionsOff>true</PromotionsOff>
<PublicTariff>true</PublicTariff>
</_Tariff>
<_Tariff>
<CouponsOff>true</CouponsOff>
<ID>1</ID>
<Name>sample string 2</Name>
<ProfitMargin>3</ProfitMargin>
<PromotionsOff>true</PromotionsOff>
<PublicTariff>true</PublicTariff>
</_Tariff>
</ArrayOf_Tariff>