ClosureCode Object
Root Connection
All ClosureCode objects of an account are accessible by a query on the root connection closureCodes
.
Such a query will return a ClosureCodeConnection!
, which contains the ClosureCode objects in its
nodes
field.
ClosureCodeConnection!
)
Root connection for retrieving ClosureCode records.
Argument | Type | Description |
---|---|---|
after |
String
|
Returns the elements in the list that come after the specified cursor. |
before |
String
|
Returns the elements in the list that come before the specified cursor. |
filter |
ClosureCodeFilter
|
Filter to determine which ClosureCode records are returned. |
first |
Int
|
Returns the first n elements from the list. |
last |
Int
|
Returns the last n elements from the list. |
Fields
The fields in this section list which values can be retrieved when querying ClosureCode records.
Account
)
The account this record belongs to.
ISO8601Timestamp
)
The date and time at which the record was created.
String
)
A very short description of the closure code, for example "Resolved by Workaround".
Boolean
)
Whether the closure code may not be referenced to any more requests.
ID!
)
Unique identifier of the record.
String
)
Any additional information about the closure code that might prove useful, especially for specialists when they need to decide which closure code to select for a request.
String
)
The name of the closure code. Ideally the name of a closure code consists of a single word or code, such as "Workaround" or "P001".
Int
)
The position that the closure code takes when it is displayed in a sorted list.
String
)
The Reference field is automatically set to the Name field value, written in lower case characters and with all spaces replaced by the underscore character. This reference can be used to link the closure code to a request using the Xurrent REST API or the Xurrent Import functionality.
String
)
An identifier for the client application submitting the resource or the name of an external system.
String
)
The unique identifier of the resource in an external system.
ISO8601Timestamp
)
The date and time of the last update of the record. If the record has no updates it contains the createdAt
value.
Connections
The connection fields in this section allow (paged) access to objects related to a specific ClosureCode record.
The actual objects will be in the nodes
field of the connection.
AttachmentConnection
)
Files and inline images linked to the Information field.
Argument | Type | Description |
---|---|---|
after |
String
|
Returns the elements in the list that come after the specified cursor. |
before |
String
|
Returns the elements in the list that come before the specified cursor. |
first |
Int
|
Returns the first n elements from the list. |
last |
Int
|
Returns the last n elements from the list. |
Implements
ClosureCode implements the following interfaces. This means that fragments defined on these interfaces may be used in queries returning a ClosureCode.