Copy
query GetEngagement($id: EngagementGID!) {
engagement(id: $id) {
createdAt
id
owner
shortId
type
clients {
email
firstName
lastName
middleName
phoneNumber
}
... on PurchaseEngagement {
closingDate
property {
address {
city
country
latitude
longitude
postalCode
province
shortTitle
street
title
unitNumber
}
}
status {
state
}
}
... on RefinanceEngagement {
closingDate
property {
address {
city
country
latitude
longitude
postalCode
province
shortTitle
street
title
unitNumber
}
}
status {
state
}
}
}
}
Copy
{
"data": {
"engagement": {
"createdAt": "2025-01-15T10:30:00Z",
"id": "gid://ownright/Engagement/1",
"owner": "Jane Doe",
"shortId": "ABC-123",
"type": "PURCHASE",
"clients": [
{
"email": "[email protected]",
"firstName": "Jane",
"lastName": "Doe",
"middleName": "M",
"phoneNumber": "+14165551234"
}
],
"closingDate": "2025-06-15",
"property": {
"address": {
"city": "Toronto",
"country": "CANADA",
"latitude": 1,
"longitude": 1,
"postalCode": "M5V 1A1",
"province": "ALBERTA",
"shortTitle": "123 Main St, Toronto",
"street": "123 Main St",
"title": "123 Main St, Toronto",
"unitNumber": "Suite 100"
}
},
"status": {
"state": "CANCELLED"
}
}
}
}
Query field
engagement
Arguments
The GID of the engagement.
Return fields
Retrieve a single engagement by GID.
Show properties
Show properties
The time the engagement was created.
The unique identifier of the engagement.
The name of the engagement owner.
A short human-readable identifier for the engagement.
The type of the engagement.
Types
Copy
enum EngagementType {
PURCHASE # A purchase engagement.
REFINANCE # A refinance engagement.
}
scalar EngagementGID # A global identifier for a Engagement object in format of 'gid://ownright/Engagement/ID'.
scalar ISO8601DateTime # An ISO 8601-encoded datetime