Timezone

Returns a list of time zones name and id's. If no specific search query is given, returns all timezones.

πŸ“˜

GET https://api.kayzen.io/v1/meta/time_zones

Field

Param

Required/ Optional

Description

q

string

optional

Search query parameter. Returns result for a specific timezone. If no value is specified, then all timezone data will be returned

country_id

int

optional

Kayzen specific unique ID for each country

per_page

int

optional

Number of rows per page. Default Value- 30

page

int

optional

Returns page number. Default Value- 1 page

curl -X GET \
'https://api.kayzen.io/v1/meta/time_zones?page=1&per_page=25&q=pacific' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer ACCESS_TOKEN'
{  
   "data":[  
      {  
         "id":12,
         "name":"Pacific/Samoa",
         "display_name":"(GMT-11:00) American Samoa"
      },
      {  
         "id":13,
         "name":"Pacific/Kwajalein",
         "display_name":"(GMT-11:00) International Date Line West"
      },
      {  
         "id":14,
         "name":"Pacific/Midway",
         "display_name":"(GMT-11:00) Midway Island"
      },
      {  
         "id":15,
         "name":"Pacific/Honolulu",
         "display_name":"(GMT-10:00) Hawaii"
      },
      {  
         "id":138,
         "name":"Pacific/Guam",
         "display_name":"(GMT+10:00) Guam"
      },
      {  
         "id":142,
         "name":"Pacific/Port_Moresby",
         "display_name":"(GMT+10:00) Port Moresby"
      },
      {  
         "id":147,
         "name":"Pacific/Auckland",
         "display_name":"(GMT+12:00) Auckland"
      },
      {  
         "id":148,
         "name":"Pacific/Fiji",
         "display_name":"(GMT+12:00) Fiji"
      },
      {  
         "id":150,
         "name":"Pacific/Fiji",
         "display_name":"(GMT+12:00) Marshall Is."
      },
      {  
         "id":151,
         "name":"Pacific/Auckland",
         "display_name":"(GMT+12:00) Wellington"
      },
      {  
         "id":153,
         "name":"Pacific/Apia",
         "display_name":"(GMT+13:00) Samoa"
      },
      {  
         "id":154,
         "name":"Pacific/Fakaofo",
         "display_name":"(GMT+13:00) Tokelau Is."
      }
   ],
   "meta":{  
      "current_page":1,
      "total_pages":1,
      "total_entries":12
   }
}