Site Object

Root Connection

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

sites (SiteConnection!)

Root connection for retrieving Site 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 SiteFilter

Filter to determine which Site records are returned.

first Int

Returns the first n elements from the list.

last Int

Returns the last n elements from the list.

order [SiteOrder!]

Order of the Site records returned.

view SiteView

View name.

The default value is current_account.

Fields

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

account (Account)

The account this record belongs to.

createdAt (ISO8601Timestamp)

The date and time at which the record was created.

customFields ([CustomField!])

Values of custom fields.

disabled (Boolean)

Whether the site may no longer be related to other records.

id (ID!)

Unique identifier of the record.

name (String)

The name of the site or facility.

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.

uiExtension (UiExtension)

UI extension that is linked to the record.

updatedAt (ISO8601Timestamp)

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

Connections

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

addresses (AddressConnection)

Addresses of the 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.

customFieldsAttachments (AttachmentConnection)

Inline images linked to one of the custom fields.

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.

people (PersonConnection)

People of the site.

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.

remarksAttachments (AttachmentConnection)

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

Implements

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