The entity object

All Rightsline entities share a common structure. This structure is used to enforce consistency across different entity types.

Attributes

ID intint

The unique identifier of the entity. Each entity has an ID value that is unique to that specific record of that specific entity type. ID values are not unique across different entity types. This means that when referencing a particular entity, both entity type and ID are required.

Template objectobject

The details of any particular entity are defined by the template value of the entity. A template defines the possible characteristics and relationships of an entity. A template is composed of a template ID and a template name.

Title stringstring

A descriptive title of the entity.

Characteristics objectobject‚Äč

A collection of attributes that define specific details about an entity. Characteristics are a set of key-value pairs, where the key is a unique-string identifier, and the value can be of any datatype including: date, integer, string, List-Of-Value option, array, currency, etc.

{
"parentRelationship": [
{
"id": 0,
"parentURL": "string",
"childURL": "string",
"relationshipType": {
"relationshipTypeId": 0,
"relationshipTypeName": "string"
},
"createdById": 0,
"createdDate": "2020-06-04T19:39:02.584Z",
"lastUpdatedById": 0,
"lastUpdatedDate": "2020-06-04T19:39:02.584Z",
"parentCharTypeId": 0,
"parentRecordId": 0,
"childCharTypeId": 0,
"childRecordId": 0,
"sequenceNumber": 0
}
],
"id": 0,
"revisionId": 0,
"title": "string",
"template": {
"fields": [
{
"fieldName": "string",
"label": "string",
"required": true,
"maxLength": 0,
"editable": true,
"dataType": "string",
"allowMultiple": true,
"listOfValues": [
{
"id": 0,
"label": "string",
"xref": "string",
"childValues": [
{}
]
}
]
}
],
"templateId": 0,
"templateName": "string",
"processId": 0,
"processName": "string"
},
"status": {
"statusId": 0,
"statusName": "string"
},
"characteristics": {},
"comments": [
{
"parentID": 0,
"id": 0,
"userID": 0,
"userName": "string",
"userEmail": "string",
"profileAvatar": "string",
"entityID": "string",
"text": "string",
"created": "2020-06-04T19:39:02.584Z",
"updated": "2020-06-04T19:39:02.584Z",
"children": [
{}
]
}
],
"createdById": 0,
"createdDate": "2020-06-04T19:39:02.584Z",
"lastUpdatedById": 0,
"lastUpdatedDate": "2020-06-04T19:39:02.584Z"
}