Schedules
Navixy Repository API is a work in progress. This documentation is published for preview purposes only and doesn't reflect a stable release. Structure, field names, and behaviors are subject to change.
Schedules define time-based rules using iCalendar (RFC 5545) format for recurring events, working hours, and time-triggered automation.
Queries
schedule
Retrieves a schedule by its ID.
schedule(id: ID!): ScheduleArguments
id
ID!
The ID of the schedule to retrieve.
Output types:
Schedule
A schedule definition for work hours, maintenance windows, or other time-based rules.
Implements: Node, Titled, Customizable, Versioned
id
ID!
A globally unique identifier. This ID is opaque and should not be parsed by clients.
version
Int!
The version number for optimistic locking. Incremented on each update. Can be provided in update/delete mutations to prevent lost updates. If omitted, the update proceeds without stale-read protection.
title
String!
The human-readable display name.
scheduleData
ScheduleData!
The calendar and time interval definitions for this schedule.
customFields
JSON!
Custom field values as a key-value map. Keys are CustomFieldDefinition codes. System-reserved codes (geojson_data, schedule_data, device) are excluded from this map and exposed through dedicated typed fields on the entity instead.
Organization (entity)
An organization in the hierarchy that owns entities and users.
Implements: Node, Versioned, Titled
id
ID!
A globally unique identifier. This ID is opaque and should not be parsed by clients.
version
Int!
The version number for optimistic locking. Incremented on each update. Can be provided in update/delete mutations to prevent lost updates. If omitted, the update proceeds without stale-read protection.
title
String!
The human-readable display name.
externalId
String
An external system identifier for integration purposes.
isActive
Boolean!
Whether this organization is active.
schedules
Lists schedules for an organization.
Arguments
organizationId
ID!
The organization to retrieve schedules for.
filter
ScheduleFilter
Filtering options for the returned schedules.
orderBy
ScheduleOrder
The ordering options for the returned schedules.
Input types:
ScheduleFilter
Filtering options for schedules.
titleContains
String
Partial match on title (case-insensitive contains).
CustomFieldFilter
A filter condition for a custom field value.
code
Code!
The custom field code to filter by.
value
The value to compare against. Null for IS_NULL and IS_NOT_NULL operators.
CustomFieldFilterValue
Typed filter value for custom fields. Exactly one field must be set (@oneOf). Choose the variant that matches the custom field's data type:
STRING, TEXT
string
{ string: "hello" }
NUMBER
number
{ number: 42.0 }
BOOLEAN
boolean
{ boolean: true }
DATE
date
{ date: "2024-01-15" }
DATETIME
datetime
{ datetime: "2024-01-15T10:30:00Z" }
OPTIONS, CATALOG, TAG
string
{ string: "option_code" }
DEVICE, REFERENCE
id
{ id: "019a6a3f-..." }
(IN operator)
stringList
{ stringList: ["a", "b"] }
(IN operator)
idList
{ idList: ["uuid1", "uuid2"] }
This input type uses @oneOf - exactly one field must be provided.
string
String
String value — for STRING, TEXT, OPTIONS, CATALOG, TAG fields.
number
Float
Numeric value — for NUMBER fields.
boolean
Boolean
Boolean value — for BOOLEAN fields.
date
Date
Date value — for DATE fields.
datetime
DateTime
Date-time value — for DATETIME fields.
id
ID
ID value — for DEVICE, REFERENCE fields.
stringList
[String!]
List of strings — for IN operator on string-based fields.
idList
[ID!]
List of IDs — for IN operator on reference fields.
ScheduleOrder
Ordering options for schedules.
customFieldCode
Code
The custom field code to order by. Mutually exclusive with field.
Output types:
ScheduleConnection
PageInfo (entity)
Information about the current page in a paginated connection.
hasNextPage
Boolean!
Whether more items exist after the current page.
hasPreviousPage
Boolean!
Whether more items exist before the current page.
startCursor
String
The cursor pointing to the first item in the current page.
endCursor
String
The cursor pointing to the last item in the current page.
Mutations
scheduleCreate
Creates a new schedule.
Arguments
input
ScheduleCreateInput!
The input fields for creating the schedule.
Input types:
ScheduleCreateInput
Input for creating a new schedule.
organizationId
ID!
The organization that will own the schedule.
title
String!
The schedule display name.
scheduleData
ScheduleData!
The schedule data.
CustomFieldsPatchInput
Input for updating custom field values using a patch model.
set
JSON
Fields to set or update as a key-value map.
unset
[Code!]
Field codes to remove.
Output types:
Schedule (entity)
A schedule definition for work hours, maintenance windows, or other time-based rules.
Implements: Node, Titled, Customizable, Versioned
id
ID!
A globally unique identifier. This ID is opaque and should not be parsed by clients.
version
Int!
The version number for optimistic locking. Incremented on each update. Can be provided in update/delete mutations to prevent lost updates. If omitted, the update proceeds without stale-read protection.
title
String!
The human-readable display name.
scheduleData
ScheduleData!
The calendar and time interval definitions for this schedule.
customFields
JSON!
Custom field values as a key-value map. Keys are CustomFieldDefinition codes. System-reserved codes (geojson_data, schedule_data, device) are excluded from this map and exposed through dedicated typed fields on the entity instead.
scheduleUpdate
Updates an existing schedule.
Arguments
input
ScheduleUpdateInput!
The input fields for updating the schedule.
Input types:
ScheduleUpdateInput
Input for updating an existing schedule.
id
ID!
The schedule ID to update.
version
Int
The current version for optimistic locking. If omitted, auto-increments without conflict check.
title
String
The new display name.
scheduleData
ScheduleData
The new schedule data.
CustomFieldsPatchInput
Input for updating custom field values using a patch model.
set
JSON
Fields to set or update as a key-value map.
unset
[Code!]
Field codes to remove.
Output types:
Schedule (entity)
A schedule definition for work hours, maintenance windows, or other time-based rules.
Implements: Node, Titled, Customizable, Versioned
id
ID!
A globally unique identifier. This ID is opaque and should not be parsed by clients.
version
Int!
The version number for optimistic locking. Incremented on each update. Can be provided in update/delete mutations to prevent lost updates. If omitted, the update proceeds without stale-read protection.
title
String!
The human-readable display name.
scheduleData
ScheduleData!
The calendar and time interval definitions for this schedule.
customFields
JSON!
Custom field values as a key-value map. Keys are CustomFieldDefinition codes. System-reserved codes (geojson_data, schedule_data, device) are excluded from this map and exposed through dedicated typed fields on the entity instead.
scheduleDelete
Deletes a schedule.
Arguments
input
ScheduleDeleteInput!
The input fields for deleting the schedule.
Input types:
ScheduleDeleteInput
Input for deleting a schedule.
id
ID!
The schedule ID to delete.
version
Int
The current version for optimistic locking. If omitted, auto-increments without conflict check.
Output types:
DeletePayload
The result of a delete mutation.
deletedId
ID!
The ID of the deleted entity.
Objects
Schedule
A schedule definition for work hours, maintenance windows, or other time-based rules.
Implements: Node, Titled, Customizable, Versioned
id
ID!
A globally unique identifier. This ID is opaque and should not be parsed by clients.
version
Int!
The version number for optimistic locking. Incremented on each update. Can be provided in update/delete mutations to prevent lost updates. If omitted, the update proceeds without stale-read protection.
title
String!
The human-readable display name.
scheduleData
ScheduleData!
The calendar and time interval definitions for this schedule.
customFields
JSON!
Custom field values as a key-value map. Keys are CustomFieldDefinition codes. System-reserved codes (geojson_data, schedule_data, device) are excluded from this map and exposed through dedicated typed fields on the entity instead.
SchedulePayload
The result of a schedule mutation.
Inputs
ScheduleFilter
Filtering options for schedules.
titleContains
String
Partial match on title (case-insensitive contains).
ScheduleOrder
Ordering options for schedules.
customFieldCode
Code
The custom field code to order by. Mutually exclusive with field.
ScheduleCreateInput
Input for creating a new schedule.
organizationId
ID!
The organization that will own the schedule.
title
String!
The schedule display name.
scheduleData
ScheduleData!
The schedule data.
ScheduleUpdateInput
Input for updating an existing schedule.
id
ID!
The schedule ID to update.
version
Int
The current version for optimistic locking. If omitted, auto-increments without conflict check.
title
String
The new display name.
scheduleData
ScheduleData
The new schedule data.
ScheduleDeleteInput
Input for deleting a schedule.
id
ID!
The schedule ID to delete.
version
Int
The current version for optimistic locking. If omitted, auto-increments without conflict check.
Enums
ScheduleOrderField
Fields available for ordering schedules.
TITLE
Order by title.
Scalars
ScheduleData
A schedule data structure containing time intervals and recurrence rules.
Format
iCalendar-compatible JSON
Example
{"intervals": [...], "rrule": "FREQ=WEEKLY;BYDAY=MO,WE,FR"}
Specification
Pagination types
ScheduleConnection
A paginated list of Schedule items.
Implements: Connection
ScheduleEdge
An edge in the Schedule connection.
Implements: Edge
cursor
String!
An opaque cursor for this edge.
Last updated
Was this helpful?