settings/timezones/print

Retrieves the list of all timezones defined in the platform with timezone and title, returning an Excel, JSON or XML file.

URL

(GET) /api/settings/timezones/print

PARAMETERS

The URL parameters are:

format

The report format, any of:

  • Excel (default)

  • Xml

  • Json

Optional, string

RESULTS

The method returns a file “timezones” in the following format:

JSON

The file content is a JSON array. See example below:

[ { "v": "Dateline Standard Time", "t": "(UTC-12:00) International Date Line West" }, { "v": "UTC-11", "t": "(UTC-11:00) Coordinated Universal Time-11" }, { "v": "Aleutian Standard Time", "t": "(UTC-10:00) Aleutian Islands" }, { "v": "Hawaiian Standard Time", "t": "(UTC-10:00) Hawaii" }, ... ]

XML

<?xml version="1.0" encoding="utf-8"?> <Rows> <Row> <v>Dateline Standard Time</v> <t>(UTC-12:00) International Date Line West</t> </Row> <Row> <v>UTC-11</v> <t>(UTC-11:00) Coordinated Universal Time-11</t> </Row> <Row> <v>Aleutian Standard Time</v> <t>(UTC-10:00) Aleutian Islands</t> </Row> <Row> <v>Hawaiian Standard Time</v> <t>(UTC-10:00) Hawaii</t> </Row> ... </Rows>

EXCEL

The report is an .xlsx file.

 

Copyright Wordbee - Buzzin' Outside the Box since 2008