accountContract
Get details about an account contract.
Arguments
- KT-CT-10003: Contract not found.
- KT-CT-10005: Missing required parameter: either identifier or accountNumber must be provided.
- KT-CT-10006: Account not found.
- KT-CT-10076: Invalid contract identifier.
- KT-CT-1111: Unauthorized.
- KT-CT-1113: Disabled GraphQL field requested.
- KT-CT-7899: An internal error occurred.
Examples
The example data in the variables and responses below are autogenerated values designed to resemble real inputs. They do not represent actual customer data, and in some cases may require additional validation.
query AccountContract(
$accountNumber: String,
$identifier: String,
$version: Int
) {
accountContract(
accountNumber: $accountNumber,
identifier: $identifier,
version: $version
) {
cancelledAt
identifier
lifecycle {
...ContractVersionFragment
}
notes {
...ContractNoteTypeFragment
}
novatedAt
party {
... on Account {
...AccountFragment
}
... on BusinessType {
...BusinessTypeFragment
}
}
rescindedAt
revokedAt
signedAt
status
subject {
...AccountFragment
}
terms {
...TermInterfaceFragment
}
title
validFrom
validTo
}
}
Variables
{
"accountNumber": "A-63C9DD7D",
"identifier": "49780845",
"version": 16
}
Response
{
"data": {
"accountContract": {
"cancelledAt": "2012-04-21T11:48:35.245205+00:00",
"identifier": "77216197",
"lifecycle": ContractVersion,
"notes": [ContractNoteType],
"novatedAt": "2023-04-23T10:56:32.814743+00:00",
"party": Account,
"rescindedAt": "1994-01-11T10:35:19.256970+00:00",
"revokedAt": "2017-04-02T02:05:42.020821+00:00",
"signedAt": "2008-02-27T23:33:08.684450+00:00",
"status": "PENDING",
"subject": [Account],
"terms": TermInterface,
"title": "field-onto-think-suffer-measure",
"validFrom": "2003-07-13T12:35:09.496397+00:00",
"validTo": "1971-12-19T20:39:02.285371+00:00"
}
}
}