Entity
GraphQL can significantly enhance the power of your API Integration. To onboard, please reach out to your Account Manager for pricing information.
The Entity is the root type for querying a Rightsline entity record. It is defined by the following schema:
{
entity (id: int, charTypeId: int) {
id
revisionId
title
template {
templateId
templateName
}
status {
statusId
statusName
}
characteristics (tags: string[]) {
}
createdBy
createdDate
lastUpdatedBy
lastUpdatedDate
statusUpdatedBy
statusUpdatedDate
children (charTypeId: int, skip: int, take: int) {
totalCount
pageInfo {
hasNextPage
hasPreviousPage
}
items {
id
title
...
}
}
parents (charTypeId: int, skip: int, take: int) {
totalCount
pageInfo {
hasNextPage
hasPreviousPage
}
items {
id
title
...
}
},
parties (partyIds: int[], skip: int, take: int) {
totalCount
pageInfo {
hasNextPage
hasPreviousPage
}
items {
id
title
partyId
partyName
}
}
}
}
{
entity (id: 10, charTypeId: 4) {
title
createdDate
}
}
This will result in a response like:
{
"data": {
"entity": {
"title": "Deal 10",
"createdDate": "2023-06-15T16:40:22.060Z"
}
}
}
Last updated
Was this helpful?