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
Body ()
Request body for reporting hierarchy relationship request
Root Schema : GetReportingHierarchyRelationshipRequest
Type: object
The input body model that needs to be given for the get request.
Show Source
  • Objects included in response
    Example: reportingHierarchyName
  • 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
  • The unique reference for the reporting location
    Example: locRef1
  • Starting resource record index. Not required if paging parameters are not supported
Back to Top

Response

Supported Media Types

200 Response

A collection of reporting hierarchy relationships for a location.
Body ()
Root Schema : GetReportingHierarchyRelationshipResponse
Type: object
Show Source
Nested Schema : items
Type: array
Array of reporting hierarchy relationships
Show Source
Nested Schema : ReportingHierarchyRelationships
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