v1

latestOpenAPI 3.1.02026-07-2489171167.4 KB
CIs

Create a CI Relation For a Given CI ID

Creates a CI relation for a given CI ID.

post/cis/{ciId}/relations

Request body

targetCiIdinteger required

The ID of the linked target CI.

relationTypeIdinteger required

The unique identifier of the CI relation type.

Example request

{
  "targetCiId": 1,
  "relationTypeId": 5
}

Response

The created CI relation.

targetCiIdinteger required

The ID of the linked target CI.

relationTypeIdinteger required

The unique identifier of the CI relation type.

srcDependencyRole'affecting' | 'affected_by' required

Indicates the CI relation affecting role.

Example response

{
  "targetCiId": 1,
  "relationTypeId": 5
}