View all the Relationships of an Item

Use the following details to view all the Relationships of an Item using the REST interface:

HTTP Method

GET

Endpoint URL

See the REST Service Endpoint topic for more details.

Resource

/restapi/v1/item/{id}/relationship

Request Parameters

Provide values for the following parameters:

Parameter Name Data Type Mandatory
id string Yes

Request Model

Media Type: application/json

Response Model

{
  "result": {
    "code": {
      "severity": "Success",
      "message": "Success.",
      "code": "0000"
    },
    "params": [],
    "message": "Success."
  },
  "data": [
    {
      "id": "184",
      "childId": "string",
      "forwardType": "string",
      "reverseType": "string"
    },
    {
      "id": "108",
      "childId": "string",
      "forwardType": "string",
      "reverseType": "string"
    }
  ],
  "startTimestampMS": 1659699706194,
  "duration": 1
}