Skip to main content

DestinationsResponse

destinations object
destinations object[]
  • Array [
  • codestring

    Unique destination identifier

    destinationCodestring

    Destination code

    typestring

    Destination type (e.g., city, region, country)

    namestring

    Destination name

    availableboolean

    Whether the destination is available

    destinationLeafstring[]

    Child destination codes

    closestDestinationsstring[]

    Nearby destination codes

    parentstring

    Parent destination code

    texts object[]

    Destination texts in different languages

  • Array [
  • typestring

    Type of text (e.g., description, shortDescription)

    languageCodestring

    ISO 639-1 language code

    textstring

    Text content

  • ]
  • createdAtstring<date-time>
    updatedAtstring<date-time>
  • ]
  • countinteger
    tokenstring
    errors object[]
  • Array [
  • codestring
    typestring

    Possible values: [CLIENT, SERVER]

    descriptionstring
  • ]
  • DestinationsResponse
    {
    "destinations": {
    "destinations": [
    {
    "code": "string",
    "destinationCode": "string",
    "type": "string",
    "name": "string",
    "available": true,
    "destinationLeaf": [
    "string"
    ],
    "closestDestinations": [
    "string"
    ],
    "parent": "string",
    "texts": [
    {
    "type": "string",
    "languageCode": "string",
    "text": "string"
    }
    ],
    "createdAt": "2024-07-29T15:51:28.071Z",
    "updatedAt": "2024-07-29T15:51:28.071Z"
    }
    ],
    "count": 0,
    "token": "string"
    },
    "errors": [
    {
    "code": "string",
    "type": "CLIENT",
    "description": "string"
    }
    ]
    }