Time Zones

method: getTimeZones

This API operation returns the time zones used in AdultWork.com.

URL / Endpoint

GET /v1/lists/getTimeZones

Request

PropertyTypeDescription
This operation does not accept any parameters.

Request Information

HTTP Method / Verb

Parameters can be passed to this operation using the HTTP GET method by passing parameters over the query string of the URI.

Headers

The REST API uses HTTP request headers to determine what data type is returned or to authenticate the developer's API key. More information can be found in the overview section.

Authentication

Your API-Key is required with every request and can be passed in as a header or a query-string parameter. Don't have an API-Key? Get one now.

Samples

GET method

https://api-sandbox.adultwork.com/v1/lists/getTimeZones
  ?apiKey={your-api-key}

Response

PropertyTypeDescription
TimeZones Array of aws:TimeZone List of TimeZones.

Response Sample

The following example returns the time zones used in AdultWork.com.

[
{
"TimeZoneID": "AD",
"Country": "Andorra",
"Region": null,
"CityList": "Andorra La Vella",
"StdBias": "+0100",
"DstBias": "+0200",
"DstStartPattern": "0200 LST-SUN-MAR",
"DstEndPattern": "0300 LST-SUN-OCT",
"ThisYearDSTStart": "03/27/05 02:00 am",
"ThisYearDSTEnd": "10/30/05 03:00 am",
"NextYearDSTStart": "03/26/06 02:00 am",
"NextYearDSTEnd": "10/29/06 03:00 am",
"ThisYearUTCStart": "03/27/05 01:00",
"ThisYearUTCEnd": "10/30/05 01:00",
"NextYearUTCStart": "03/26/06 01:00",
"NextYearUTCEnd": "10/29/06 01:00"
},
....
]
<ArrayOfTimeZone xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models.Localization">
<TimeZone>
<CityList>Andorra La Vella</CityList>
<Country>Andorra</Country>
<DstBias>+0200</DstBias>
<DstEndPattern>0300 LST-SUN-OCT</DstEndPattern>
<DstStartPattern>0200 LST-SUN-MAR</DstStartPattern>
<NextYearDSTEnd>10/29/06 03:00 am</NextYearDSTEnd>
<NextYearDSTStart>03/26/06 02:00 am</NextYearDSTStart>
<NextYearUTCEnd>10/29/06 01:00</NextYearUTCEnd>
<NextYearUTCStart>03/26/06 01:00</NextYearUTCStart>
<Region i:nil="true" />
<StdBias>+0100</StdBias>
<ThisYearDSTEnd>10/30/05 03:00 am</ThisYearDSTEnd>
<ThisYearDSTStart>03/27/05 02:00 am</ThisYearDSTStart>
<ThisYearUTCEnd>10/30/05 01:00</ThisYearUTCEnd>
<ThisYearUTCStart>03/27/05 01:00</ThisYearUTCStart>
<TimeZoneID>AD</TimeZoneID>
</TimeZone>
....
</ArrayOfTimeZone>