serviceInstanceCreate Mutation

Creates a new service instance.

Input Argument

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

The fields inside input are:

clientMutationId (String)

A unique identifier for the client performing the mutation.

configurationItemIds ([ID!])

Identifiers of the configuration items of the service instance.

customFields ([CustomFieldInput!])

Values for custom fields to be used by the UI Extension that is linked to the record.

customFieldsAttachments ([AttachmentInput!])

The attachments used in the custom fields' values.

firstLineTeamId (ID)

Idenifier of the team that will automatically be selected in the Team field of requests to which the service instance is linked after they have been submitted using Self Service or when they are generated using the Requests API, Mail API or Events API.

name (String!)

The name of the service instance.

remarks (String)

Any additional information about the service instance that might prove useful.

remarksAttachments ([AttachmentInput!])

The attachments used in the remarks field.

serviceId (ID!)

Identifier of the service which functionality the service instance provides.

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.

status (ServiceInstanceStatus)

The current status of the service instance.

supportTeamId (ID)

Identifier of the team that will, by default, be selected in the Team field of a request when the service instance is manually selected in the Service instance field of the request, or when the service instance is applied from the Service Hierarchy Browser.

uiExtensionId (ID)

UI extension that is to be applied to the record.

Return Fields

clientMutationId (String)

A unique identifier for the client performing the mutation.

errors ([ValidationError!])

Errors encountered during the mutation.

serviceInstance (ServiceInstance)

Record after mutation.