A node represents a cohort in which units are classified (e.g. all units within the same territory) this information normally is populated by the PMS integrated with Reva, but such data can also be modified manually. This endpoint will return all existing nodes for a company.
The response will be encapsulated by a data object that will contain the data for the nodes. Within such object each node will have the following attributes:
id uuid
The unique id for the node.
name string
The name of the node imported from the PMS or set by the user upon it's creation.
level integer
The hierarchy level within the nodes structure. The smaller the level, higher the node is within the tree. Level 0 represents the root node, which is usually the company. This is imported from the PMS or modified by the user manually.
parent_id uuid
The id of the parent node if present. This is imported from the PMS or populated by Reva when the user modifies the tree manually.
