Last active
August 11, 2016 12:40
-
-
Save maxpeterson/8304f0dfc2261a7732c519d18bcfba71 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"description": "A list of account structure nodes", | |
"url": "http://localhost:8000/api/accounts", | |
"OK": { | |
"status": 200, | |
"response_data": [ | |
{ | |
"name": "Zombotin", | |
"slug": "zombotin", | |
"level": 0, | |
"level_label": "Product", | |
"children": [ | |
{ | |
"name": "Benelux", | |
"slug": "benelux", | |
"level": 1, | |
"level_label": "Country group" | |
"children": [ | |
{ | |
"name": "Belgium", | |
"slug": "belgium", | |
"level": 2, | |
"level_label": "Country" | |
"children": [ | |
{ | |
"name": "Flanders", | |
"slug": "flanders", | |
"level": 3, | |
"level_label": "Region" | |
"children": [ | |
{ | |
"name": "Antwerp Limburg", | |
"slug": "antwerp_limburg", | |
"level": 4, | |
"level_label": "Territory" | |
"children": [ | |
{ | |
"name": "CAZ Hospital Network", | |
"slug": "caz_hospital_network", | |
"level": 5, | |
"level_label": "Account" | |
"children": [ | |
{ | |
"name": "J D'Hoore", | |
"slug": "j_dhoore", | |
"level": 6, | |
"level_label": "Customer" | |
} | |
] | |
} | |
] | |
} | |
] | |
} | |
] | |
} | |
] | |
}, | |
] | |
}, | |
] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment