GET api/provinces/list?countryID={countryID}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
countryID

integer

None.

Body Parameters

None.

Response Information

Resource Description

Collection of ProvinceData
NameDescriptionTypeAdditional information
CountryID

integer

None.

Name

string

None.

ModifiedOn

date

None.

Deleted

boolean

None.

ID

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "CountryID": 1,
    "Name": "sample string 1",
    "ModifiedOn": "2025-08-02T19:20:18.1487308+00:00",
    "Deleted": true,
    "ID": 1
  },
  {
    "CountryID": 1,
    "Name": "sample string 1",
    "ModifiedOn": "2025-08-02T19:20:18.1487308+00:00",
    "Deleted": true,
    "ID": 1
  }
]

text/xml

Sample:
<ArrayOfProvinceData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/StackBase.Common.Data">
  <ProvinceData>
    <ID>1</ID>
    <Deleted xmlns="http://schemas.datacontract.org/2004/07/StackBase.Common.Data.Storage">true</Deleted>
    <ModifiedOn xmlns="http://schemas.datacontract.org/2004/07/StackBase.Common.Data.Storage">2025-08-02T19:20:18.1487308+00:00</ModifiedOn>
    <CountryID>1</CountryID>
    <Name>sample string 1</Name>
  </ProvinceData>
  <ProvinceData>
    <ID>1</ID>
    <Deleted xmlns="http://schemas.datacontract.org/2004/07/StackBase.Common.Data.Storage">true</Deleted>
    <ModifiedOn xmlns="http://schemas.datacontract.org/2004/07/StackBase.Common.Data.Storage">2025-08-02T19:20:18.1487308+00:00</ModifiedOn>
    <CountryID>1</CountryID>
    <Name>sample string 1</Name>
  </ProvinceData>
</ArrayOfProvinceData>