Get the time zone information

HTTP method

Endpoint

GET

/aff/v1/dict_timezones

Response body parameters

Field

Type

Description

id

integer

The unique id for the timezone.

timezone

string

Timezone.

aliases

string

Timezone alias.

Example request

Request GET https://{networkname}.api.offerslook.com/aff/v1/dict_timezones

Request GET http://{networkname}.api.offerslook.com/aff/v1/dict_timezones

Example response

    {
      "code": 0,
      "message": "Success",
      "data": {
        "dict_timezone": [
          {
            "id": 1,
            "timezone": "Pacific/Midway",
            "aliases": "Pacific/Midway,Pacific/Niue,Pacific/Pago_Pago"
          },
          {
            "id": 2,
            "timezone": "Pacific/Honolulu",
            "aliases": "Pacific/Honolulu,Pacific/Rarotonga"
          },

          {
            "id": 68,
            "timezone": "Africa/Gaborone",
            "aliases": "Africa/Gaborone"
          },
          {
            "id": 69,
            "timezone": "Africa/Harare",
            "aliases": "Africa/Harare"
          },
          {
            "id": 70,
            "timezone": "Africa/Addis_Ababa",
            "aliases": "Africa/Addis_Ababa"
          }
        ]
      }

Last updated