query GetMatters {
  matters {
    id
    ...on Transaction {
      status
    }
  }
}
{
  "data": {
    "matters": [
      {
        "id": "gid://ownright/Transaction/1" 
        "status": "BEFORE_CLOSING"
      },
      {
        "id": "gid://ownright/Transaction/2" 
        "status": "CLOSING_IN_PROGRESS"
      }
    ]
  }
}
query GetMatters {
  matters {
    id
    ...on Transaction {
      status
    }
  }
}
{
  "data": {
    "matters": [
      {
        "id": "gid://ownright/Transaction/1" 
        "status": "BEFORE_CLOSING"
      },
      {
        "id": "gid://ownright/Transaction/2" 
        "status": "CLOSING_IN_PROGRESS"
      }
    ]
  }
}

Query field

matters

Return fields

matters
Matter

The fetched matters.

Types

"""
Represents a matter.
"""
interface Matter implements Node {
  """
  ID of the object.
  """
  id: GID!

  """
  The matter's short identifier.
  """
  shortId: String!
}

interface Transaction implements Matter & Node {
  """
  The date the agreement to purchase or sell was made.
  """
  agreementDate: ISO8601Date

  """
  The date the purchase is set to close on.
  """
  closingDate: ISO8601Date

  """
  The amount of money deposited with the offer to purchase.
  """
  depositAmount: Money

  """
  ID of the object.
  """
  id: GID!

  """
  The transaction's milestones
  """
  milestones: [MatterMilestone!]!

  """
  The property the transaction is for.
  """
  property: Property!

  """
  The side of the transaction that is being represented by Ownright.
  """
  representedSide: TransactionSide!

  """
  The matter's short identifier.
  """
  shortId: String!

  """
  The status of the transaction.
  """
  status: TransactionStatus!

  """
  Whether the matter is a test matter or not.
  """
  test: Boolean!

  """
  The type of the transaction.
  """
  type: TransactionType!
}

"""
Represents a refinance.
"""
type Refinance implements Matter & Node {
  """
  The date the refinance was committed by the borrowers.
  """
  commitmentDate: ISO8601Date

  """
  The corporations associated with the refinance.
  """
  corporations: [MatterCorporation!]!

  """
  The date the refinance is expected to close on.
  """
  expectedClosingDate: ISO8601Date

  """
  ID of the object.
  """
  id: GID!

  """
  The loans associated with the refinance.
  """
  loans: [Loan!]!

  """
  The matter's milestones.
  """
  milestones: [MatterMilestone!]!

  """
  The participants in the refinance.
  """
  participants: [RefinanceParticipant!]!

  """
  The property the refinance is for.
  """
  property: Property!

  """
  The matter's short identifier.
  """
  shortId: String!

  """
  The status of the refinance.
  """
  status: RefinanceStatus!
}

"""
Represents a purchase transaction.
"""
type PurchaseTransaction implements Matter & Node & Transaction {
  """
  The date the agreement to purchase or sell was made.
  """
  agreementDate: ISO8601Date

  """
  The date the purchase is set to close on.
  """
  closingDate: ISO8601Date

  """
  The amount of money deposited with the offer to purchase.
  """
  depositAmount: Money

  """
  ID of the object.
  """
  id: GID!

  """
  The transaction's milestones
  """
  milestones: [MatterMilestone!]!

  """
  The property the transaction is for.
  """
  property: Property!

  """
  The amount of money to purchase the property.
  """
  purchaseAmount: Money

  """
  The side of the transaction that is being represented by Ownright.
  """
  representedSide: TransactionSide!

  """
  The matter's short identifier.
  """
  shortId: String!

  """
  The status of the transaction.
  """
  status: TransactionStatus!

  """
  Whether the matter is a test matter or not.
  """
  test: Boolean!

  """
  The type of the transaction.
  """
  type: TransactionType!
}

"""
Represents a sale transaction.
"""
type SaleTransaction implements Matter & Node & Transaction {
  """
  The date the agreement to purchase or sell was made.
  """
  agreementDate: ISO8601Date

  """
  The date the purchase is set to close on.
  """
  closingDate: ISO8601Date

  """
  The amount of money deposited with the offer to purchase.
  """
  depositAmount: Money

  """
  ID of the object.
  """
  id: GID!

  """
  The transaction's milestones
  """
  milestones: [MatterMilestone!]!

  """
  The property the transaction is for.
  """
  property: Property!

  """
  The side of the transaction that is being represented by Ownright.
  """
  representedSide: TransactionSide!

  """
  The amount of money the property is being sold for.
  """
  saleAmount: Money

  """
  The matter's short identifier.
  """
  shortId: String!

  """
  The status of the transaction.
  """
  status: TransactionStatus!

  """
  Whether the matter is a test matter or not.
  """
  test: Boolean!

  """
  The type of the transaction.
  """
  type: TransactionType!
}

scalar GID # A global identifier for an object in the format of 'gid://ownright/ObjectType/ID'.
scalar ISO8601DateTime # An ISO 8601-encoded datetime
scalar Url # A valid URL, transported as a string.