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
Create relationship

https://api.rightsline.com/v3/relationship
This endpoint allows you to create a new relationship between entities.
Request
Response
Request
Headers
x-api-key
required
string
Your company's API key.
Authentication
required
string
Authentication token.
Response
200: OK
‚Äč

Example 1: Create relationship by record

{
"parentRecordId": 100,
"parentCharTypeId": 1,
"childRecordId": 23,
"childCharTypeId": 3
}

Example 2: Create relationship by URL

{
"parentURL": "https://api.rightsline.com/v3/catalog-item/100",
"childURL": "https://api.rightsline.com/v3/rightset/23"
}