GET api/applicant/GetCity?emirate={emirate}&lang={lang}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
emirate

globally unique identifier

Required

lang

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of CityViewModel
NameDescriptionTypeAdditional information
id

string

None.

code

string

None.

name

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "id": "sample string 1",
    "code": "sample string 2",
    "name": "sample string 3"
  },
  {
    "id": "sample string 1",
    "code": "sample string 2",
    "name": "sample string 3"
  }
]

application/xml, text/xml

Sample:
<ArrayOfCityViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FDF.APIs.Models">
  <CityViewModel>
    <code>sample string 2</code>
    <id>sample string 1</id>
    <name>sample string 3</name>
  </CityViewModel>
  <CityViewModel>
    <code>sample string 2</code>
    <id>sample string 1</id>
    <name>sample string 3</name>
  </CityViewModel>
</ArrayOfCityViewModel>