Returns the global line structure with the current organization's account mapping applied. Readable by any user; see the PUT endpoints for what each role may change.
Headers
-
API token (can be retrieved from account settings)
-
ID of organization, for which the operation must be performed
GET
/api-v1/e-bilan-report/tree/{reportType}
curl \
--request GET 'https://wyzio.app/api-v1/e-bilan-report/tree/{reportType}'
Response examples (200)
[
{
"id": 42,
"parentId": 42,
"position": 42,
"qname": "string",
"positionReference": "string",
"reportType": "BALANCE_SHEET",
"lineType": "NONE",
"lineSign": "ASSETS",
"localizations": {
"id": 42,
"en": "string",
"fr": "string",
"de": "string",
"it": "string"
},
"accountIds": [
42
],
"memberIds": [
42
],
"children": [
{}
]
}
]