Get Reporting Hierarchy Levels

post

/config/sim/v1/hierarchy/locations/getReportingHierarchyLevels

Gets available reporting hierarchy levels within all reporting hierarchies.

Request

Supported Media Types
Body ()
Request body for get reporting hierarchy levels.
Root Schema : GetReportingHierarchyLevelsRequest
Type: object
The input body model that needs to be given for get request.
Show Source
  • Objects included in response
    Example: levels.name
  • This can take 2 values: basic or detailed. If 'basic' is specified, The response contains all the properties of the object except Ext values. If 'detailed' is specified, The response contains all the properties of the object.
    Example: detailed
  • If using paging, number of results returned in this page.
    Example: 10
  • Starting resource record index. Not required if paging parameters are not supported
Back to Top

Response

Supported Media Types

200 Response

A list of available reporting hierarchy levels present in the organization.
Body ()
Root Schema : GetReportingHierarchyLevelsResponse
Type: object
Show Source
Nested Schema : items
Type: array
Array of Available Reporting Hierarchy Levels of the organization.
Show Source
Nested Schema : ReportingHierarchyLevels
Type: object
Show Source
Nested Schema : levels
Type: array
An array of available levels.
Show Source
Nested Schema : level
Type: object
Show Source

400 Response

400 Bad Request
Body ()
Root Schema : ErrorDetails
Type: object
Response body when the request returns an error.
Show Source
Back to Top