GET /JobLocations/{id}

Service for getting locations specific to a country.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

Country code of the country.

string

Required

Body Parameters

None.

OData support

OData query options is not supported for this service.

Query examples

/JobLocations/DK will get all locations for Denmark (DK).
/JobLocations/UK will get all locations for United Kingdom (UK).

Response Information

Resource Description

Collection of JobLocation
NameDescriptionTypeAdditional information
ContinentCode

integer

None.

ContinentName

string

None.

CountryCode

string

None.

CountryName

string

None.

District1Code

string

None.

District1Name

string

None.

District2Code

string

None.

District2Name

string

None.

District3Code

string

None.

District3Name

string

None.

District4Code

string

None.

District4Name

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ContinentCode": 2,
    "ContinentName": "Europe",
    "CountryCode": "UK",
    "CountryName": "United Kingdom",
    "District1Code": "130",
    "District1Name": "South East",
    "District2Code": "116",
    "District2Name": "London",
    "District3Code": "1139",
    "District3Name": "South East London",
    "District4Code": "953",
    "District4Name": "Deptford"
  }
]

application/xml, text/xml

Sample:
<ArrayOfJobLocation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MatchWork.API.Models">
  <JobLocation>
    <ContinentCode>2</ContinentCode>
    <ContinentName>Europe</ContinentName>
    <CountryCode>UK</CountryCode>
    <CountryName>United Kingdom</CountryName>
    <District1Code>130</District1Code>
    <District1Name>South East</District1Name>
    <District2Code>116</District2Code>
    <District2Name>London</District2Name>
    <District3Code>1139</District3Code>
    <District3Name>South East London</District3Name>
    <District4Code>953</District4Code>
    <District4Name>Deptford</District4Name>
  </JobLocation>
</ArrayOfJobLocation>