GET api/v1/get-state-list-by-id?countryId={countryId}

Request Information

URI Parameters
NameDescriptionTypeAdditional information
countryId

string

Required

Response Information

Description:

Return type: Collection of StateProvince

Response Formats
[
  {
    "StateProvinceId": 1,
    "CountryId": 1,
    "StateCode": "sample string 2",
    "StateName": "sample string 3",
    "SortOrder": 1,
    "IsActive": true,
    "ImagePath": "sample string 4"
  },
  {
    "StateProvinceId": 1,
    "CountryId": 1,
    "StateCode": "sample string 2",
    "StateName": "sample string 3",
    "SortOrder": 1,
    "IsActive": true,
    "ImagePath": "sample string 4"
  }
]
[{"StateProvinceId":1,"CountryId":1,"StateCode":"sample string 2","StateName":"sample string 3","SortOrder":1,"IsActive":true,"ImagePath":"sample string 4"},{"StateProvinceId":1,"CountryId":1,"StateCode":"sample string 2","StateName":"sample string 3","SortOrder":1,"IsActive":true,"ImagePath":"sample string 4"}]
<ArrayOfStateProvince xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FDCMSAdminAPI.Models.Master">
  <StateProvince>
    <CountryId>1</CountryId>
    <ImagePath>sample string 4</ImagePath>
    <IsActive>true</IsActive>
    <SortOrder>1</SortOrder>
    <StateCode>sample string 2</StateCode>
    <StateName>sample string 3</StateName>
    <StateProvinceId>1</StateProvinceId>
  </StateProvince>
  <StateProvince>
    <CountryId>1</CountryId>
    <ImagePath>sample string 4</ImagePath>
    <IsActive>true</IsActive>
    <SortOrder>1</SortOrder>
    <StateCode>sample string 2</StateCode>
    <StateName>sample string 3</StateName>
    <StateProvinceId>1</StateProvinceId>
  </StateProvince>
</ArrayOfStateProvince>