siteCreate Mutation

Creates a new site.

Input Argument

siteCreate 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.

customFields ([CustomFieldInput!])

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

disabled (Boolean)

Default: false — Whether the site may no longer be related to other records.

name (String!)

The name of the site or facility.

newAddresses ([AddressInput!])

New or updated addresses of the site.

pictureUri (String)

The hyperlink to the image file for the record.

remarks (String)

Any additional information about the site that might prove useful.

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

timeZone (TimeZone)

The time zone in which the site is located.

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.

site (Site)

Record after mutation.