GET api/v1/countries/{id}/provinces?properties={properties}&orderBy={orderBy}&take={take}&skip={skip}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

string

Required

properties

string

None.

orderBy

string

None.

take

integer

Default value is 0

skip

integer

Default value is 0

Body Parameters

None.

Response Information

Resource Description

ResponseWrapperBindingModelOfIEnumerableOfCountryBindingModel
NameDescriptionTypeAdditional information
Results

Collection of CountryBindingModel

None.

TotalResults

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "TotalResults": 1,
  "Results": [
    {
      "Id": "sample string 1",
      "Href": "sample string 2",
      "Name": "sample string 3",
      "PhonePrefix": "sample string 4",
      "ProvinceCount": 5,
      "Children": "sample string 2provinces"
    },
    {
      "Id": "sample string 1",
      "Href": "sample string 2",
      "Name": "sample string 3",
      "PhonePrefix": "sample string 4",
      "ProvinceCount": 5,
      "Children": "sample string 2provinces"
    }
  ]
}

application/xml, text/xml

Sample:
<ResponseWrapperBindingModelOfArrayOfCountryBindingModel0m3C_Sd0a xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Prometric.Api.Models">
  <TotalResults>1</TotalResults>
  <Results xmlns:d2p1="http://schemas.datacontract.org/2004/07/Prometric.Scheduling.Api.Models.Country">
    <d2p1:CountryBindingModel>
      <d2p1:Children>sample string 2provinces</d2p1:Children>
      <d2p1:Href>sample string 2</d2p1:Href>
      <d2p1:Id>sample string 1</d2p1:Id>
      <d2p1:Name>sample string 3</d2p1:Name>
      <d2p1:PhonePrefix>sample string 4</d2p1:PhonePrefix>
      <d2p1:ProvinceCount>5</d2p1:ProvinceCount>
    </d2p1:CountryBindingModel>
    <d2p1:CountryBindingModel>
      <d2p1:Children>sample string 2provinces</d2p1:Children>
      <d2p1:Href>sample string 2</d2p1:Href>
      <d2p1:Id>sample string 1</d2p1:Id>
      <d2p1:Name>sample string 3</d2p1:Name>
      <d2p1:PhonePrefix>sample string 4</d2p1:PhonePrefix>
      <d2p1:ProvinceCount>5</d2p1:ProvinceCount>
    </d2p1:CountryBindingModel>
  </Results>
</ResponseWrapperBindingModelOfArrayOfCountryBindingModel0m3C_Sd0a>