Skip to main content

getExistingRelations

Return the IDs of the records already related to a record, limited to those the caller can see. parent is contact or easement; child is contracts, projects or tasks for a contact and properties for an easement. Other values return an error, and so does a child whose module the caller cannot access.

getExistingRelations(
parent: String!
parentId: ID!
child: String!
): [ID]

Arguments​

getExistingRelations.parent ● String! non-null scalar​

getExistingRelations.parentId ● ID! non-null scalar​

getExistingRelations.child ● String! non-null scalar​

Type​

ID scalar​

The ID scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as "4") or integer (such as 4) input value will be accepted as an ID.