Skip to main content

Arguments

accountNumber : String

The account number to find the contract for.

identifier : String

The identifier of the contract.

version : Int

The version of the contract.

Returns

Contract

A legally binding relationship agreed with a subject (e.g. an account).

Allowed Viewers

Customer Partner User Third party

Required Permissions

Can query contracts

Query Complexity

1

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

query AccountContract( $accountNumber: String, $identifier: String, $version: Int ) { accountContract( accountNumber: $accountNumber, identifier: $identifier, version: $version ) { cancelledAt identifier lifecycle { ...ContractVersionFragment } notes { ...ContractNoteTypeFragment } party { ... on AccountType { ...AccountTypeFragment } ... on BusinessType { ...BusinessTypeFragment } } rescindedAt signedAt status subject { ...AccountTypeFragment } terms { ...TermInterfaceFragment } title validFrom validTo } }

Variables

{ "accountNumber": "A-9DBC53BE", "identifier": "49101098", "version": 96 }

Response

{ "data": { "accountContract": { "cancelledAt": "1978-11-20T07:20:15.646291+00:00", "identifier": "59707786", "lifecycle": ContractVersion, "notes": [ContractNoteType], "party": AccountType, "rescindedAt": "1992-01-10T05:06:59.949468+00:00", "signedAt": "1988-05-06T12:18:49.589253+00:00", "status": "REVOKED", "subject": [AccountType], "terms": TermInterface, "title": "important-call-ask-feel-sometimes", "validFrom": "2000-03-13T08:31:29.265901+00:00", "validTo": "1993-08-18T02:28:43.511509+00:00" } } }