v4
Search
K
Links

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.
post
https://ris.rightsline.com
/v4/relationship
Create relationship

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
}