siteUpdate Mutation
Updates an existing site.
Input Argument
Section titled “Input Argument”siteUpdate accepts a single
input
argument, an
input type
,
which contains the values it uses.
The fields inside
input
are:
addressesToDelete (
ID
)
Identifiers of addresses to remove from the site.
clientMutationId (
String
)
A unique identifier for the client performing the mutation.
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.
disabled (
Boolean
)
Default:
false
— Whether the site may no longer be related to other records.
id (
ID!
)
The node ID of the record to update.
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.
remarksAttachments (
AttachmentInput
)
The attachments used in the
remarks
field.
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
Section titled “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.