Create a relationship

A relationship between two entities can be created by populating the parentRelationship array when creating an entity, or by using the create relationship endpoint.

Create relationship

POST https://ris.rightsline.com/v4/relationship

This endpoint allows you to create a new relationship between entities.

Headers

Request Body

5545562  // relationship ID

Examples

1. Create catalog to rights relationship

POST /v4/relationship
{
    "parentRecordId": 100,
    "parentCharTypeId": 1,
    "childRecordId": 23,
    "childCharTypeId": 3
}

2. Create catalog to catalog relationship

POST /v4/relationship
{
    "parentRecordId": 100,
    "parentCharTypeId": 1,
    "childRecordId": 1245,
    "childCharTypeId": 1
}

Last updated