API version 1 General
1. List Time Zones (api1/general/timezones)
This method will answer with a list of available system time zones. The collection will be in JSON format.
URL
| Server | URL | HTTP type |
|---|---|---|
| UAT | https://api-ca-uat.iinsightonline.com/api1/general/timezones | GET |
| PRODUCTION | https://api-ca.iinsightonline.com/api1/general/timezones | GET |
Response
[
{
"id": "Australia/ACT", // internal IInsight ID
"name": "Australia/ACT"
},
{
"id": "Australia/Adelaide",
"name": "Australia/Adelaide"
},
{
"id": "Australia/Brisbane",
"name": "Australia/Brisbane"
},
]
2. List Regions (api1/general/regions)
This method will answer with a list of available regions. The collection will be in JSON format.
URL
| Server | URL | HTTP type |
|---|---|---|
| UAT | https://api-ca-uat.iinsightonline.com/api1/general/regions | GET |
| PRODUCTION | https://api-ca.iinsightonline.com/api1/general/regions | GET |
Response
[
{
"name": "Australia/New Zealand",
"short_name": "aus"
},
{
"name": "United Kingdom",
"short_name": "uk"
},
{
"name": "Canada",
"short_name": "can"
},
{
"name": "United States",
"short_name": "usa"
}
]