Update relationships

Update relationships between resources according to the partial definitions of the relationships given in the payload of the request. This means that fields not mentioned in the payload will remain unchanged. Up to 1000 relationships can be updated in one operation. To delete a value from an optional value the setNull field should be set to true. The order of the updated relationships in the response equals the order in the request.

Securityoidc-token or oauth2-client-credentials or oauth2-open-industrial-data or oauth2-auth-code
Request
Request Body schema: application/json
required

Data required to update relationships.

required
Array of objects (relationshipUpdate) [ 1 .. 1000 ] items
Responses
200

Relationships stored by CDF.

400

General error object.

409

Conflict error. Typically issued if external IDs on any relationship already exists, or if there are duplicate external IDs in the request itself.

post/relationships/update
Request samples
application/json
{
  • "items": [
    • {
      }
    ]
}
Response samples
application/json
{
  • "items": [
    • {
      }
    ]
}