GET api/Admin/AutoShipPeriodType/GetForCountry?country={country}&description={description}
Allows getting a list of AutoShipPeriodTypes associated to a country.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
country |
The name of the country |
string |
Required |
description | string |
Default value is |
Body Parameters
None.
Response Information
Resource Description
A list of records matching the country passed in
Collection of AutoShipPeriodTypeViewModelName | Description | Type | Additional information |
---|---|---|---|
Id |
ID for AutoShipPeriodType |
integer |
None. |
Description |
Description of the Autoship Period Type |
string |
None. |
Explanation |
Explanation of the Autoship Period Type |
string |
None. |
Response Formats
application/xml, text/xml
Sample:
<ListOfAutoShipPeriodTypeViewModel> <AutoShipPeriodTypeViewModel> <Id>1</Id> <Description>sample string 2</Description> <Explanation>sample string 3</Explanation> </AutoShipPeriodTypeViewModel> <AutoShipPeriodTypeViewModel> <Id>1</Id> <Description>sample string 2</Description> <Explanation>sample string 3</Explanation> </AutoShipPeriodTypeViewModel> </ListOfAutoShipPeriodTypeViewModel>
application/json, text/json
Sample:
[ { "Id": 1, "Description": "sample string 2", "Explanation": "sample string 3" }, { "Id": 1, "Description": "sample string 2", "Explanation": "sample string 3" } ]