cURL
curl --request POST \ --url https://api.telemax.com.au/api/GetCompanies \ --header 'Authorization: <authorization>'
{ "Companies": [ { "id": 123, "name": "Acme Corporation", "parentId": null, "showCommands": false }, { "id": 124, "name": "Subsidiary Corp", "parentId": 123, "showCommands": true } ], "TimeZone": "SE Asia Standard Time", "UtcOffset": "00:07:00", "DateTimeFormat": "yyyy-MM-dd" }
Gets the list of companies under the currently logged in user (user or API key based).
Standard and must keep as it is.
Bearer your_token
Successful response with list of companies
Show child attributes
Current user's timezone
Current user's UTC offset, based on the timezone.
"00:07:00"
Current user's date-time format.
Was this page helpful?