Agreement
Any type of agreement among economic agents.
Fields
id
ID!
A unique identifier for the agreement.
revisionId
ID!
The identifier of the last revision of this agreement.
name
String
An informal or formal textual identifier for an agreement.
created
DateTime
The date and time the agreement was created.
note
String
A textual description or comment.
involvedAgents
AgentConnection
Agents involved in the agreement.
commitments
[Commitment!]
Commitments made under this agreement.
revision
Agreement
Retrieves a specific revision of an agreement.
meta
RecordMeta!
Metadata about the record.
economicEvents
[EconomicEvent!]
Economic events that are part of this agreement.
unplannedEconomicEvents
[EconomicEvent!]
Unplanned economic events related to this agreement.
Queries
agreement(id: ID!)
agreement(id: ID!)
Retrieves a single Agreement
by its id
.
agreements(first: Int, after: String, last: Int, before: String)
agreements(first: Int, after: String, last: Int, before: String)
Retrieves a paginated list of all Agreement
s.
Mutations
createAgreement(agreement: AgreementCreateParams)
createAgreement(agreement: AgreementCreateParams)
Creates a new Agreement
.
updateAgreement(agreement: AgreementUpdateParams)
updateAgreement(agreement: AgreementUpdateParams)
Updates an existing Agreement
.
deleteAgreement(revisionId: ID!)
deleteAgreement(revisionId: ID!)
Deletes an Agreement
.
Related Types
Input: AgreementCreateParams
AgreementCreateParams
name
String
An informal or formal textual identifier for the agreement.
created
DateTime
The date and time the agreement was created.
note
String
A textual description or comment.
Input: AgreementUpdateParams
AgreementUpdateParams
revisionId
ID!
The revision ID of the agreement to update.
name
String
An informal or formal textual identifier for the agreement.
created
DateTime
The date and time the agreement was created.
note
String
A textual description or comment.
Response: AgreementResponse
AgreementResponse
agreement
Agreement!
The agreement record that was created or updated.
Connection: AgreementConnection
AgreementConnection
edges
[AgreementEdge!]!
A list of agreement edges.
pageInfo
PageInfo!
Information to aid in pagination.
Edge: AgreementEdge
AgreementEdge
node
Agreement!
The agreement record.
cursor
String!
A cursor for use in pagination.
Last updated