GET
api/v1/Get-Mpos_ContryStates
Request Information
None.
Response Information
Description:
Return type: Pos_StateCountry
Response Formats
application/json, text/json
{
"Countries": [
{
"CountryId": 1,
"CountryName": "sample string 2",
"CountryCode": "sample string 3"
},
{
"CountryId": 1,
"CountryName": "sample string 2",
"CountryCode": "sample string 3"
}
],
"States": [
{
"StateProvinceId": 1,
"CountryId": 2,
"StateCode": "sample string 3",
"StateName": "sample string 4"
},
{
"StateProvinceId": 1,
"CountryId": 2,
"StateCode": "sample string 3",
"StateName": "sample string 4"
}
],
"AllAddressTypes": [
{
"AddressTypeId": 1,
"AddressType": "sample string 2"
},
{
"AddressTypeId": 1,
"AddressType": "sample string 2"
}
]
}
text/html
{"Countries":[{"CountryId":1,"CountryName":"sample string 2","CountryCode":"sample string 3"},{"CountryId":1,"CountryName":"sample string 2","CountryCode":"sample string 3"}],"States":[{"StateProvinceId":1,"CountryId":2,"StateCode":"sample string 3","StateName":"sample string 4"},{"StateProvinceId":1,"CountryId":2,"StateCode":"sample string 3","StateName":"sample string 4"}],"AllAddressTypes":[{"AddressTypeId":1,"AddressType":"sample string 2"},{"AddressTypeId":1,"AddressType":"sample string 2"}]}
application/xml, text/xml
<Pos_StateCountry xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FDCMSAdminAPI.Models.POS">
<AllAddressTypes>
<AddressTypes>
<AddressType>sample string 2</AddressType>
<AddressTypeId>1</AddressTypeId>
</AddressTypes>
<AddressTypes>
<AddressType>sample string 2</AddressType>
<AddressTypeId>1</AddressTypeId>
</AddressTypes>
</AllAddressTypes>
<Countries>
<Country>
<CountryCode>sample string 3</CountryCode>
<CountryId>1</CountryId>
<CountryName>sample string 2</CountryName>
</Country>
<Country>
<CountryCode>sample string 3</CountryCode>
<CountryId>1</CountryId>
<CountryName>sample string 2</CountryName>
</Country>
</Countries>
<States>
<State>
<CountryId>2</CountryId>
<StateCode>sample string 3</StateCode>
<StateName>sample string 4</StateName>
<StateProvinceId>1</StateProvinceId>
</State>
<State>
<CountryId>2</CountryId>
<StateCode>sample string 3</StateCode>
<StateName>sample string 4</StateName>
<StateProvinceId>1</StateProvinceId>
</State>
</States>
</Pos_StateCountry>
