Перейти к содержимому
R-Service R-Service
Руководство разработчика RR Tech Service Management

Holiday Object

Эта документация пока недоступна на вашем языке, поэтому показана английская версия.

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

holidays ( HolidayConnection! )

Root connection for retrieving Holiday records.

ArgumentTypeDescription
afterStringReturns the elements in the list that come after the specified cursor.
beforeStringReturns the elements in the list that come before the specified cursor.
filterHolidayFilterFilter to determine which Holiday records are returned.
firstIntReturns the first n elements from the list.
lastIntReturns the last n elements from the list.

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

account ( Account )

The account this record belongs to.

createdAt ( ISO8601Timestamp )

The date and time at which the record was created.

endAt ( ISO8601DateTime )

End of the holiday.

id ( ID! )

Unique identifier of the record.

name ( String )

Name of the holiday.

pictureUri ( String )

The hyperlink to the image file for the record.

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.

startAt ( ISO8601DateTime )

Start of the holiday.

updatedAt ( ISO8601Timestamp )

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

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

calendars ( CalendarConnection )

Calendars of the holiday.

ArgumentTypeDescription
afterStringReturns the elements in the list that come after the specified cursor.
beforeStringReturns the elements in the list that come before the specified cursor.
firstIntReturns the first n elements from the list.
lastIntReturns the last n elements from the list.

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