10.34 | October 13, 2024
Updated to support new functionality from the Enhance APIs for additional Hotel Content and Time Zones enhancement.
Read more
Enhance APIs for additional Hotel Content and Time Zones (FEA92756)
The REST SynXis System Services API has been enhanced to support retrieving a list of Time Zones, along with any relevant dates for when day light savings time begins or ends for the time zone.
The following new Access Point has been added to control API access:
Administration > User > User Access > API Access > System Services > Get Timezones
The following REST endpoint has been added for retrieving Time Zones:
GET | /v1/api/lists/timeZonesInfo |
The following are additional optional parameters to filter the results:
Parameter | Datatype | Description |
---|---|---|
locationId | string | Location ID of the time zone. Example: US-OR |
country | string | Country of the time zone (use % for wildcards) |
region | string | Region of the time zone (use % for wildcards) |
city | string | City of the time zone (use % for wildcards) |
Sample successful response:
{
"timeZoneInfos": [
{
"locationId": "US-OR",
"country": "United States",
"region": "Oregon",
"cityList": [
"Portland",
"Salem"
],
"daylightSavings": [
{
"utcStartDateTime": "2024-11-03T09:00:00.0000000+00:00",
"utcOffset": "-08:00"
}
]
}
]
}