Get Reporting Hierarchy Relationships
post
/config/sim/v1/hierarchy/locations/getReportingHierarchyRelationships
Returns details of parent enterprise levels assigned to a location within various reporting hierarchies.
Request
Supported Media Types
- application/json
- multipart/form-data
Request body for reporting hierarchy relationship request
Root Schema : schema
Type:
object
The input body model that needs to be given for the get request.
Show Source
-
include:
string
If specified, limits the data returned to these fields.Example:
reportingHierarchyName
-
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
-
locRef(required):
string
The unique reference for the reporting locationExample:
locRef1
-
offset:
integer
Starting resource record index. Not required if paging parameters are not supportedExample:
0
Response
Supported Media Types
- application/json
200 Response
A collection of reporting hierarchy relationships for a location.
Root Schema : GetReportingHierarchyRelationshipResponse
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 reporting hierarchy relationships
-
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 : ReportingHierarchyRelationships
Type:
Show Source
object
-
parentReportingLevelName(required):
string
The name of parent enterprise level within the reporting hierarchy.Example:
Corporate
-
reportingHierarchyName(required):
string
The name of reporting hierarchy where the parent level is assigned.Example:
TestReportingHierarhy