GET api/v1/countries/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

string

Required

Body Parameters

None.

Response Information

Resource Description

CountryBindingModel
NameDescriptionTypeAdditional information
Id

string

None.

Href

string

None.

Name

string

None.

PhonePrefix

string

None.

ProvinceCount

integer

None.

Children

string

None.

Response Formats

application/json, text/json

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