Skip to main content
query GetMatter($id: MatterGID!) {
  matter(id: $id) {
    id
    shortId
    test
    currentUserMatterBusinessContact {
      id
      partnerAccountLinked
      partnerNotificationsMuted
      contact {
        email
        faxNumber
        firstName
        frontUserIdHash
        fullName
        id
        lastName
        notificationDeliveryMechanisms
        phoneNumber
      }
    }
    ... on PurchaseTransaction {
      agreementDate
      closingDate
      depositAmount {
        amount
        currencyCode
      }
      milestones {
        completedAt
        description
        handle
        oneliner
        status
        title
      }
      property {
        id
        type
        address {
          city
          country
          latitude
          longitude
          mapImageUrl
          postalCode
          province
          shortTitle
          street
          title
          unitNumber
        }
      }
      purchaseAmount {
        amount
        currencyCode
      }
      representedSide {
        name
        corporations {
          id
          name
          refinanceOwnershipStatus
        }
        participants {
          corporationSigningOfficer
          firstName
          fullName
          id
          lastName
          primaryClient
          representation
          represented
          representsPrimaryClient
          traits
          corporations {
            id
            name
            refinanceOwnershipStatus
          }
          ... on RefinanceParticipant {
            ownershipStatus
          }
          ... on TransactionParticipant {
            transactionSide
          }
        }
      }
      status {
        state
        ... on PurchaseTransactionClosingInProgressStatus {
          closingActionItems {
            completedAt
            description
            expectedBy
            id
            state
            title
          }
          closingDateAmended
          closingStatus
        }
        ... on SaleTransactionClosingInProgressStatus {
          closingActionItems {
            completedAt
            description
            expectedBy
            id
            state
            title
          }
          closingDateAmended
          closingStatus
        }
      }
      type
    }
    ... on Refinance {
      commitmentDate
      corporations {
        id
        name
        refinanceOwnershipStatus
      }
      expectedClosingDate
      loans {
        id
        type
        lenders {
          id
          logoImageUrl
          name
          websiteUrl
        }
        principalAmount {
          amount
          currencyCode
        }
      }
      milestones {
        completedAt
        description
        handle
        oneliner
        status
        title
      }
      participants {
        corporationSigningOfficer
        firstName
        fullName
        id
        lastName
        ownershipStatus
        primaryClient
        representation
        represented
        representsPrimaryClient
        traits
        corporations {
          id
          name
          refinanceOwnershipStatus
        }
        representees {
          corporationSigningOfficer
          firstName
          fullName
          id
          lastName
          primaryClient
          representation
          represented
          representsPrimaryClient
          traits
          corporations {
            id
            name
            refinanceOwnershipStatus
          }
          ... on RefinanceParticipant {
            ownershipStatus
          }
          ... on TransactionParticipant {
            transactionSide
          }
        }
        representors {
          corporationSigningOfficer
          firstName
          fullName
          id
          lastName
          primaryClient
          representation
          represented
          representsPrimaryClient
          traits
          corporations {
            id
            name
            refinanceOwnershipStatus
          }
          ... on RefinanceParticipant {
            ownershipStatus
          }
          ... on TransactionParticipant {
            transactionSide
          }
        }
      }
      property {
        id
        type
        address {
          city
          country
          latitude
          longitude
          mapImageUrl
          postalCode
          province
          shortTitle
          street
          title
          unitNumber
        }
      }
      status {
        state
        ... on RefinanceClosingInProgressStatus {
          closingActionItems {
            completedAt
            description
            expectedBy
            id
            state
            title
          }
        }
      }
    }
    ... on SaleTransaction {
      agreementDate
      closingDate
      depositAmount {
        amount
        currencyCode
      }
      milestones {
        completedAt
        description
        handle
        oneliner
        status
        title
      }
      property {
        id
        type
        address {
          city
          country
          latitude
          longitude
          mapImageUrl
          postalCode
          province
          shortTitle
          street
          title
          unitNumber
        }
      }
      representedSide {
        name
        corporations {
          id
          name
          refinanceOwnershipStatus
        }
        participants {
          corporationSigningOfficer
          firstName
          fullName
          id
          lastName
          primaryClient
          representation
          represented
          representsPrimaryClient
          traits
          corporations {
            id
            name
            refinanceOwnershipStatus
          }
          ... on RefinanceParticipant {
            ownershipStatus
          }
          ... on TransactionParticipant {
            transactionSide
          }
        }
      }
      saleAmount {
        amount
        currencyCode
      }
      status {
        state
        ... on PurchaseTransactionClosingInProgressStatus {
          closingActionItems {
            completedAt
            description
            expectedBy
            id
            state
            title
          }
          closingDateAmended
          closingStatus
        }
        ... on SaleTransactionClosingInProgressStatus {
          closingActionItems {
            completedAt
            description
            expectedBy
            id
            state
            title
          }
          closingDateAmended
          closingStatus
        }
      }
      type
    }
  }
}
{
  "data": {
    "matter": {
      "id": "gid://ownright/Object/1",
      "shortId": "ABC-123",
      "test": true,
      "currentUserMatterBusinessContact": {
        "id": "gid://ownright/Object/1",
        "partnerAccountLinked": true,
        "partnerNotificationsMuted": true,
        "contact": {
          "email": "[email protected]",
          "faxNumber": "+14165551234",
          "firstName": "Jane",
          "frontUserIdHash": "example-front-user-id-hash",
          "fullName": "example-full-name",
          "id": "gid://ownright/Object/1",
          "lastName": "Doe",
          "notificationDeliveryMechanisms": [
            "EMAIL"
          ],
          "phoneNumber": "+14165551234"
        }
      },
      "agreementDate": "2025-06-15",
      "closingDate": "2025-06-15",
      "depositAmount": {
        "amount": "100.00",
        "currencyCode": "CAD"
      },
      "milestones": [
        {
          "completedAt": "2025-01-15T10:30:00Z",
          "description": "example-description",
          "handle": "ADJUSTMENTS_CONFIRMED",
          "oneliner": "example-oneliner",
          "status": "COMPLETED",
          "title": "123 Main St, Toronto"
        }
      ],
      "property": {
        "id": "gid://ownright/Object/1",
        "type": "CONDO",
        "address": {
          "city": "Toronto",
          "country": "CANADA",
          "latitude": 1,
          "longitude": 1,
          "mapImageUrl": "https://example.com",
          "postalCode": "M5V 1A1",
          "province": "ALBERTA",
          "shortTitle": "123 Main St, Toronto",
          "street": "123 Main St",
          "title": "123 Main St, Toronto",
          "unitNumber": "Suite 100"
        }
      },
      "purchaseAmount": {
        "amount": "100.00",
        "currencyCode": "CAD"
      },
      "representedSide": {
        "name": "PURCHASER",
        "corporations": [
          {
            "id": "gid://ownright/Object/1",
            "name": "example-name",
            "refinanceOwnershipStatus": "BEING_REMOVED_FROM_TITLE"
          }
        ],
        "participants": [
          {
            "corporationSigningOfficer": true,
            "firstName": "Jane",
            "fullName": "example-full-name",
            "id": "gid://ownright/Object/1",
            "lastName": "Doe",
            "primaryClient": true,
            "representation": "ESTATE_TRUSTEE",
            "represented": true,
            "representsPrimaryClient": true,
            "traits": [
              "BORROWER"
            ],
            "corporations": [
              {
                "id": "gid://ownright/Object/1",
                "name": "example-name",
                "refinanceOwnershipStatus": "BEING_REMOVED_FROM_TITLE"
              }
            ],
            "ownershipStatus": "BEING_REMOVED_FROM_TITLE",
            "transactionSide": "PURCHASER"
          }
        ]
      },
      "status": {
        "state": "ABANDONED",
        "closingActionItems": [
          {
            "completedAt": "2025-01-15T10:30:00Z",
            "description": "example-description",
            "expectedBy": "2025-01-15T10:30:00Z",
            "id": "gid://ownright/Object/1",
            "state": "COMPLETED",
            "title": "123 Main St, Toronto"
          }
        ],
        "closingDateAmended": true,
        "closingStatus": "ACTIVE"
      },
      "type": "PURCHASE",
      "commitmentDate": "2025-06-15",
      "corporations": [
        {
          "id": "gid://ownright/Object/1",
          "name": "example-name",
          "refinanceOwnershipStatus": "BEING_REMOVED_FROM_TITLE"
        }
      ],
      "expectedClosingDate": "2025-06-15",
      "loans": [
        {
          "id": "gid://ownright/Object/1",
          "type": "BRIDGE_LOAN",
          "lenders": [
            {
              "id": "gid://ownright/Object/1",
              "logoImageUrl": "https://example.com",
              "name": "example-name",
              "websiteUrl": "https://example.com"
            }
          ],
          "principalAmount": {
            "amount": "100.00",
            "currencyCode": "CAD"
          }
        }
      ],
      "participants": [
        {
          "corporationSigningOfficer": true,
          "firstName": "Jane",
          "fullName": "example-full-name",
          "id": "gid://ownright/Object/1",
          "lastName": "Doe",
          "ownershipStatus": "BEING_REMOVED_FROM_TITLE",
          "primaryClient": true,
          "representation": "ESTATE_TRUSTEE",
          "represented": true,
          "representsPrimaryClient": true,
          "traits": [
            "BORROWER"
          ],
          "corporations": [
            {
              "id": "gid://ownright/Object/1",
              "name": "example-name",
              "refinanceOwnershipStatus": "BEING_REMOVED_FROM_TITLE"
            }
          ],
          "representees": [
            {
              "corporationSigningOfficer": true,
              "firstName": "Jane",
              "fullName": "example-full-name",
              "id": "gid://ownright/Object/1",
              "lastName": "Doe",
              "primaryClient": true,
              "representation": "ESTATE_TRUSTEE",
              "represented": true,
              "representsPrimaryClient": true,
              "traits": [
                "BORROWER"
              ],
              "corporations": [
                {
                  "id": "gid://ownright/Object/1",
                  "name": "example-name",
                  "refinanceOwnershipStatus": "BEING_REMOVED_FROM_TITLE"
                }
              ],
              "ownershipStatus": "BEING_REMOVED_FROM_TITLE",
              "transactionSide": "PURCHASER"
            }
          ],
          "representors": [
            {
              "corporationSigningOfficer": true,
              "firstName": "Jane",
              "fullName": "example-full-name",
              "id": "gid://ownright/Object/1",
              "lastName": "Doe",
              "primaryClient": true,
              "representation": "ESTATE_TRUSTEE",
              "represented": true,
              "representsPrimaryClient": true,
              "traits": [
                "BORROWER"
              ],
              "corporations": [
                {
                  "id": "gid://ownright/Object/1",
                  "name": "example-name",
                  "refinanceOwnershipStatus": "BEING_REMOVED_FROM_TITLE"
                }
              ],
              "ownershipStatus": "BEING_REMOVED_FROM_TITLE",
              "transactionSide": "PURCHASER"
            }
          ]
        }
      ],
      "saleAmount": {
        "amount": "100.00",
        "currencyCode": "CAD"
      }
    }
  }
}

Query field

matter

Arguments

id
MatterGID!
required
The identifier of the matter to find.

Return fields

matter
Matter
Returns a matter.

Types

enum NotificationDeliveryMechanism {
  EMAIL # The email delivery mechanism.
  SMS # The SMS delivery mechanism.
}

scalar E164PhoneNumber # A valid phone number string in the E.164 format.
scalar GID # A global identifier for an object in the format of 'gid://ownright/ObjectType/ID'.
scalar MatterGID # A global identifier for a matter object (ex. Transaction) in format of 'gid://ownright/{MatterKind}/ID'.