requestTemplateCreate Mutation

Creates a new request template.

Input Argument

requestTemplateCreate accepts a single input argument, an input type, which contains the values it uses.

The fields inside input are:

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.

changeManagerId (ID)

Identifier of the Change Manager linked to the request template. Required when a Change Template is defined, and the Service does not define a Change Manager.

changeTemplateId (ID)

Identifier of the Change Template related to the request template. Required when the Status is set to Change Pending.

clientMutationId (String)

A unique identifier for the client performing the mutation.

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.

configurationItemId (ID)

Identifier of 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.

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.

effortClassId (ID)

Identifier of 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.

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.

memberId (ID)

Identifier of 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.

reservationOfferingIds ([ID!])

Identifiers of reservation offerings related to the request template.

serviceId (ID)

Identifier of 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.

supplierId (ID)

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

supportHoursId (ID)

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

teamId (ID)

Identifier of 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.

uiExtensionId (ID)

UI extension that is to be applied to the record.

urgent (Boolean)

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

Return Fields

clientMutationId (String)

A unique identifier for the client performing the mutation.

errors ([ValidationError!])

Errors encountered during the mutation.

requestTemplate (RequestTemplate)

Record after mutation.