Using this API, you get the hierarchy structure.


Resource Information

Response formatsJSON (default), XML
HTTP methodGET
Response familyhierarchy
Header
Authorization: api_key XXXXX


Resource URL

Europe Production Server: 

https://api.eu.customergauge.com/v4.1/hierarchy.json


Example Requests


GET (json)https://api.eu.customergauge.com/v4.1/hierarchy.json


GET (xml)https://api.eu.customergauge.com/v4.1/hierarchy.xml


Example Result


Message reported on successful operation:




1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19




{"Data":
      [
       {
         "id":"1",
         "division":"Global",
         "parent":""
       },
       {
          "id":"2",
          "division":"Netherlands",
          "parent":"Global"
       },
       {
          "id":"3",
          "division":"Amsterdam",
          "parent":"Netherlands"
       }
      ]
   }