Introduction
Using this API, you get the hierarchy structure from your CustomerGauge system.
About this API
Resource Information
Response formats | JSON (default), XML |
HTTP method | GET |
Response family | Hierarchy |
Header | Authorization: api_key XXXXX |
Resource URL
Europe Production Server: https://api.eu.customergauge.com/v4.1/hierarchy.json
US Production Server: https://api.us.customergauge.com/v4.1/hierarchy.json
Australia Production Server: https://api.au.customergauge.com/v4.1/hierarchy.json
How to call
Example Requests
GET (json) | https://api.eu.customergauge.com/v4.1/hierarchy.json |
GET (xml) | https://api.eu.customergauge.com/v4.1/hierarchy.xml |
To call this API through cURL:
curl -H "Authorization: api_key XXXXX" -X GET "https://api.eu.customergauge.com/v4.1/hierarchy.json"
Example Result
Message reported on successful operation:
{ "Data": [{ "id": "1", "division": "Global", "parent": "" }, { "id": "2", "division": "Netherlands", "parent": "Global" }, { "id": "3", "division": "Amsterdam", "parent": "Netherlands" } ] }
Not the API you're looking for?
Related APIs:
Or view: