RequestTemplate Object

Root Connection

All RequestTemplate objects of an account are accessible by a query on the root connection requestTemplates. Such a query will return a RequestTemplateConnection!, which contains the RequestTemplate objects in its nodes field.

requestTemplates (RequestTemplateConnection!)

Root connection for retrieving RequestTemplate 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 RequestTemplateFilter

Filter to determine which RequestTemplate records are returned.

first Int

Returns the first n elements from the list.

last Int

Returns the last n elements from the list.

order [RequestTemplateOrder!]

Order of the RequestTemplate records returned.

view RequestTemplateView

View name.

The default value is current_account.

Fields

The fields in this section list which values can be retrieved when querying RequestTemplate records.

account (Account)

The account this record belongs to.

assetSelection (Boolean)

After selecting the request template in Self Service, the user needs to be able to select a configuration item in the Asset field.

assignToSelf (Boolean)

Whether the person who is registering a new request based on the template is selected in its Member field.

category (RequestCategory)

The category that needs to be selected in the Category field of a new request when it is being created based on the template.

changeManager (Person)

Used to relate a Change Manager to the request template. Required when a Change Template is defined, and the Service does not define a Change Manager.

changeTemplate (ChangeTemplate)

Used to relate a Change Template to the request template. Required when the Status is set to Change Pending.

completionReason (RequestCompletionReason)

The completion reason that needs to be selected in the Completion reason field of a new request when it is being created based on the template.

configurationItem (ConfigurationItem)

The CI that needs to be copied to the Configuration item field of a new request when it is being created based on the template.

copySubjectToRequests (Boolean)

Whether the subject of the request template needs to become the subject of a request when the template is applied, provided that the Subject field of this request is empty.

createdAt (ISO8601Timestamp)

The date and time at which the record was created.

desiredCompletion (Int)

Used to enter the number of minutes within which requests that are based on the request template are to be resolved.

disabled (Boolean)

Whether the request template may not be used to help register new requests.

effortClass (EffortClass)

The effort class that is selected by default, when someone registers time on a request that is based on the request template.

endUsers (Boolean)

Whether the request template is shown to end users in Self Service.

id (ID!)

Unique identifier of the object.

impact (RequestImpact)

The impact level that needs to be selected in the Impact field of a new request when it is being created based on the template.

instructions (String)

Instructions for the support staff who will work on requests that are based on the template.

keywords (String)

A comma-separated list of words that can be used to find the request template using search.

member (Person)

Used to select the person who should be selected in the Member field of a new request when it is being created based on the template.

note (String)

The information that needs to be copied to the Note field of a new request when it is being created based on the template.

registrationHints (String)

The information that needs to be displayed after the template has been applied to a new or existing request. This field typically contains step-by-step instructions about how to complete the registration of a request that is based on the template.

service (Service)

The service for which the request template is made available.

source (String)

An identifier for the client application submitting the resource or the name of an external system

sourceID (String)

The unique identifier of the resource in an external system

specialists (Boolean)

Whether the request template is shown to Specialists.

status (RequestStatus)

Used to select the status value that needs to be selected in the Status field of a new request when it is being created based on the template.

subject (String)

A short description that needs to be copied to the Subject field of a new request when it is being created based on the template.

supplier (Organization)

Used to select the supplier organization that should be selected in the Supplier field of a new request when it is being created based on the template.

supportHours (Calendar)

The calendar that is to be used to calculate the desired completion for requests that are based on the request template.

team (Team)

The team that should be selected in the Team field of a new request when it is being created based on the template.

timeZone (TimeZone)

The time zone that applies to the selected support hours.

uiExtension (UiExtension)

UI extension that is to be added to a new request when it is being created based on the template.

updatedAt (ISO8601Timestamp)

The date and time of the last update of the record. If the record has no updates it contains the createdAt value.

urgent (Boolean)

Whether a new request that is created based on the template is to be marked as urgent.

Connections

The connection fields in this section allow (paged) access to objects related to a specific RequestTemplate record. The actual objects will be in the nodes field of the connection.

automationRules (AutomationRuleConnection)

Automation rules associated with this record.

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.

instructionsAttachments (AttachmentConnection)

Inline images linked to the Instructions 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.

noteAttachments (AttachmentConnection)

Inline images linked to the Note 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.

registrationHintsAttachments (AttachmentConnection)

Inline images linked to the Registration hints 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.

requests (RequestConnection)

Requests created using the request template.

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.

reservationOfferings (ReservationOfferingConnection)

Reservation offerings related to the request template.

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.

standardServiceRequests (StandardServiceRequestConnection)

Standard service requests related to the request template.

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.

translations (TranslationConnection)

Translations associated with this object.

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

RequestTemplate implements the following interfaces. This means that fragments defined on these interfaces may be used in queries returning a RequestTemplate.