city Data Type

An element representing City codes in Airportal.

Namespace
(Default)
Schema
ns0.xsd
Properties
name data type type namespace min/max occurs description
airportName string element 0/1 The name of the closest airport of the city.
alias boolean element 1/1 Whether or not this is an alias. Also known as city code. It means that this code has no physical location, but instead represents many airports in the same area.
code string element 0/1 Three character code for each city.
countryCode string element 0/1 Two character code for this cities country.
latitude double element 0/1 Latitude of the cities location.
longitude double element 0/1 Longitude of the cities location.
name string element 0/1 The name of the city.
position long element 0/1  
region region element 0/1 The state or province that this city is located in.
retentionOnly boolean element 1/1 A flag to let the services know that this city code is only used by airlines for documenting refunds/exchanges.
stateOrCountry string element 0/1 The name of the Country(if international) or two character code of the State(if domestic)
timeZone timeZone element 0/1 The time zone that this city witnesses.
unique boolean element 1/1 Whether or not this is a unique city label. Non-unique city labels are alternate airports of the same city.
Properties inherited from baseHibernateEntity
id long element 0/1 The unique internal ID of the object.
version long element 0/1 For internal use only. This is the serialization recorder for optimistic locking of several objects between sessions.
Properties inherited from baseEntity
violations list of simpleViolation element 0/unbounded A list of constraint violations, if any, that this object has.

Example

<city>
  <code>...</code>
  <countryCode>...</countryCode>
  <latitude>...</latitude>
  <longitude>...</longitude>
  <name>...</name>
  <stateOrCountry>...</stateOrCountry>
  <airportName>...</airportName>
  <region>
    <name>...</name>
    <code>...</code>
    <country>
      <name>...</name>
      <code>...</code>
      <codeAlt>...</codeAlt>
      <phoneCode>...</phoneCode>
      <position>...</position>
    </country>
    <position>...</position>
    <id>...</id>
    <version>...</version>
  </region>
  <timeZone>
    <name>...</name>
    <offset>...</offset>
    <daylightSavingsOffset>...</daylightSavingsOffset>
    <id>...</id>
    <version>...</version>
  </timeZone>
  <retentionOnly>...</retentionOnly>
  <position>...</position>
  <unique>...</unique>
  <alias>...</alias>
  <id>...</id>
  <version>...</version>
  <violations/>
</city>