Get Reporting Hierarchy Levels
post
/config/sim/v1/hierarchy/locations/getReportingHierarchyLevels
Gets available reporting hierarchy levels within all reporting hierarchies.
Request
Supported Media Types
- application/json
- multipart/form-data
Request body for get reporting hierarchy levels.
Root Schema : schema
Type:
object
The input body model that needs to be given for get request.
Show Source
-
include:
string
If specified, limits the data returned to these fields.Example:
levels.name
-
includeAll:
string
If this value is specified, the include parameter is ignored.
Value Description basic Forces the response to include all fields except option string details detailed Forces the response to include all fields including option string details Example:detailed
-
limit:
integer
If using paging, number of results returned in this page.Example:
10
-
offset:
integer
Starting resource record index. Not required if paging parameters are not supportedExample:
2
Response
Supported Media Types
- application/json
200 Response
A list of available reporting hierarchy levels present in the organization.
Root Schema : GetReportingHierarchyLevelsResponse
Type:
Show Source
object
-
count:
integer
Current response record count.Example:
1
-
hasMore:
boolean
Flag indicating if there are more objects to fetch.Example:
false
-
items:
array items
Array of Available Reporting Hierarchy Levels of the organization.
-
limit:
integer
Server page sizeExample:
10
-
offset:
integer
Starting resource record indexExample:
0
-
totalResults:
integer
Total number of rows (excluding the paging parameters)Example:
1
Nested Schema : items
Type:
array
Array of Available Reporting Hierarchy Levels of the organization.
Show Source
Nested Schema : ReportingHierarchyLevels
Type:
Show Source
object
-
levels:
array levels
An array of available levels.
-
reportingHierarchyName:
string
Name of available reporting hierarchies present in the organizationExample:
ReportingHierarchy
Nested Schema : level
Type:
Show Source
object
-
name(required):
string
name of the levelExample:
Corporate