Getting a tree. VMS Billing API
When querying a tree, the root elements are returned by default. To get subelements, you must pass the identifier of the element whose subelements you want to get.
The identifier can be id or external_id.
GET/api/v1/billing/treeHeaders | |||||||||
Accept | application/json |
Body | |||||||||
typerequired | string | Tree type to get. | |||||||
idrequired | int | Tree type ID whose subelements are to be retrieved | |||||||
external_idrequired | string|int | Own key of the tree element whose subelements are to be retrieved |
Response | |||||||||
200 | Successful response | ||||||||
JSON
| |||||||||
422 | Returns a JSON object with an error. Validation | ||||||||
JSON
|
Example | |||||||||
JSON
|