Get the time zone information

HTTP method Endpoint
GET /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/v1/dict_timezones


Request GET http://{networkname}.api.offerslook.com/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"
          }
        ]
      }

results matching ""

    No results matching ""