ToolSense GraphQL API Documentation
Queries
OTAUpdate
Description
Retrieve OTA firmware updates, optionally filtered by IDs
Response
Returns [OTAUpdate!]
Arguments
| Name | Description |
|---|---|
id - [HashedId!]
|
Filter by specific OTA update IDs, returns all if omitted |
Example
Query
query OTAUpdate($id: [HashedId!]) {
OTAUpdate(id: $id) {
assetIntegration {
...AssetIntegrationFragment
}
assetIntegrationId
created
description {
...TranslationFragment
}
descriptionId
fileName
id
updated
versionName
}
}
Variables
{"id": [HashedId]}
Response
{
"data": {
"OTAUpdate": [
{
"assetIntegration": AssetIntegration,
"assetIntegrationId": HashedId,
"created": 1592577642,
"description": Translation,
"descriptionId": HashedId,
"fileName": "abc123",
"id": HashedId,
"updated": 1592577642,
"versionName": "xyz789"
}
]
}
}
allowedDocumentFileTypes
Description
List allowed document file types
Response
Returns [String!]!
Example
Query
query allowedDocumentFileTypes {
allowedDocumentFileTypes
}
Response
{
"data": {
"allowedDocumentFileTypes": ["abc123"]
}
}
asset
Description
Legacy asset query, use assetList or assetV2 instead
Response
Returns [Asset!]!
Arguments
| Name | Description |
|---|---|
availableBetween - [Timestamp!]
|
Date range to check asset availability within |
exceptForReservationId - HashedId
|
Exclude assets booked under this reservation ID |
externalId - [String!]
|
Filter by external system identifiers |
id - [HashedId!]
|
Asset IDs to query |
imei - [String!]
|
Filter by IoT module IMEI numbers |
includeOperationalCost - Boolean
|
Include operational cost |
make - [String!]
|
Filter by asset manufacturer names |
partsNumber - [String!]
|
Filter by asset part numbers |
serial - [String!]
|
Serial number of the asset |
Example
Query
query asset(
$availableBetween: [Timestamp!],
$exceptForReservationId: HashedId,
$externalId: [String!],
$id: [HashedId!],
$imei: [String!],
$includeOperationalCost: Boolean,
$make: [String!],
$partsNumber: [String!],
$serial: [String!]
) {
asset(
availableBetween: $availableBetween,
exceptForReservationId: $exceptForReservationId,
externalId: $externalId,
id: $id,
imei: $imei,
includeOperationalCost: $includeOperationalCost,
make: $make,
partsNumber: $partsNumber,
serial: $serial
) {
BLE
activeCustomFields {
...CustomFieldFragment
}
activity {
...AssetActivityFragment
}
allowReservations
archivedCustomFields {
...CustomFieldFragment
}
assetCategory {
...AssetCategoryFragment
}
assetCategoryId
assetPackageAsset {
...AssetPackageAssetFragment
}
assetSiteAssignments {
...AssetSiteAssignmentFragment
}
assetType {
...AssetTypeFragment
}
assetTypeId
assignedSiteLocation {
...SiteLocationFragment
}
assignedToGroup {
...GroupFragment
}
assignedToGroupId
assignedToPreviousSite {
...SiteFragment
}
assignedToSite {
...SiteFragment
}
assignedToSiteId
assignment
availability
availabilityId
batteryLevel
canEdit
checkSchedule {
...AssetCheckScheduleFragment
}
checkScheduleRule {
...AssetCheckScheduleRuleFragment
}
classification
client
commissionDate
costCenter
costLines {
...CostLineFragment
}
costs {
...CostLineFragment
}
costsSum
costsSumBattery
costsSumCertification
costsSumConsumables
costsSumFuel
costsSumLabor
costsSumLogistics
costsSumMaintenance
costsSumOther
costsSumParts
costsSumRepair
costsSumTaxes
countNonArchivedSiteAssignments
created
createdByGroup {
...GroupFragment
}
createdByGroupId
currency
currentAlerts {
...EventFragment
}
customer
customerEditable
dailyRate
deleted
deletedBy
description {
...TranslationFragment
}
descriptionId
displayParameters {
...DisplayParameterFragment
}
documents {
...DocumentFragment
}
eventIds
events {
...EventFragment
}
externalId
firmwareVersion
firstTripDate
fixedAssetNumber
floorRoom
gatewayAsset {
...AssetFragment
}
geofence {
...AssetGeofenceFragment
}
group {
...GroupFragment
}
groupId
groupTimezone
id
image
imei
initialValue
inlineImage {
...DocumentInlineFileFragment
}
integrationId
integrationSummary {
...AssetIntegrationSummaryFragment
}
inventoryNumber
inventoryPrefix
inventorySequence
iot {
...IotAssetDataFragment
}
iotIntegrationProvider
iotRuleEntryEvents {
...RuleEntryEventFragment
}
isCommodity
isInStationaryGateway
isIntegrationSyncPaused
isLocked
isUsedPrivately
lastContactInfo {
...AssetLastContactInfoFragment
}
lastContacted
lastContactedSource
lastIntegrationRun {
...AssetIntegrationRunFragment
}
lastTicketDate
latestAssetData
latestTrip {
...AssetTripLatestFragment
}
leasingCostTermination
leasingEnd
leasingLevel
leasingMonthlyCost
leasingPartner
leasingPartnerContractNumber
leasingPartnerContractPositionNumber
leasingRenewalDate
leasingRenewalRate
leasingStart
location {
...LocationFragment
}
locationHiddenReason
locationV2 {
... on Location {
...LocationFragment
}
... on SiteLocation {
...SiteLocationFragment
}
... on TripLocation {
...TripLocationFragment
}
}
maintenanceSchedule {
...AssetMaintenanceScheduleFragment
}
manuals {
...DocumentFragment
}
manufacturer {
...ManufacturerFragment
}
manufacturerId
minDaysBilled
module {
...ModuleFragment
}
moduleConnectionStatus
moduleId
nextService
nonWorkingDays {
...AssetNonWorkingDaysFragment
}
operationalCosts {
...CostFragment
}
optionalAssetID
ownership
ownershipId
parameterOffsetIds
parameterOffsets {
...AssetParameterOffsetFragment
}
parameterSets {
...ParameterSetFragment
}
partsNumber
plateNumber
previousSiteId
primaryServicePackage {
...ServicePackageWithSourceTypeFragment
}
projectNumber
publicId
purchaseCost
purchaseCurrentBookValue
purchaseDepreciation
purchaseDepreciationMonths
purchaseDepreciationRemainingMonths
purchaseDepriciation
purchaseInvoiceNumber
purchaseLowValueAsset
purchaseMonthlyCost
purchaseStart
purchaseWarrantyEnd
purchaseWarrantyPeriod
purchaseWarrantyStart
qrAttached
quantity
relatedGroups {
...RelatedGroupFragment
}
rentalCostTermination
rentalEnd
rentalMonthlyCost
rentalRenewalDate
rentalRenewalRate
rentalStart
reservationLineItemIssues {
...ReservationLineItemIssueFragment
}
reservations {
...LegacyAssetReservationFragment
}
resolvedCurrency
responsiblePerson
responsiblePersonUpdatedAt
responsiblePersonUpdatedByUser {
...UserFragment
}
responsiblePersonUpdatedByUserId
restoreBlockers
runtimeWithOffsetInSeconds
scanTime
serial
serviceContract
serviceContractCostPerYear
serviceContractDocuments {
...DocumentFragment
}
serviceContractEmail
serviceContractEnd
serviceContractFrom
serviceContractLevel
serviceContractPartner
serviceContractStart
serviceContractTo
services {
...ServiceFragment
}
shouldShowLastSeenByGateway
shouldUpdateActiveAssetSiteAssignment
site {
...SiteFragment
}
siteId
state {
...AssetStateFragment
}
stateV2 {
...AssetStateItemFragment
}
status {
...StatusItemFragment
}
subscription
supplier
tickets {
...TicketFragment
}
ticketsCount
totalUtilization
totalWorkDone
trips {
...TripFragment
}
unavailability {
...AssetUnavailabilityFragment
}
updated
utilization {
...AssetUtilizationFragment
}
uuid
vncTunnelUrl
workOrders {
...WorkOrderV2Fragment
}
workingHours {
...AssetWorkingHoursFragment
}
workingHoursNotification {
...RuleNotificationRelationFragment
}
workingHoursSettings
}
}
Variables
{
"availableBetween": [1592577642],
"exceptForReservationId": HashedId,
"externalId": ["xyz789"],
"id": [HashedId],
"imei": ["abc123"],
"includeOperationalCost": true,
"make": ["xyz789"],
"partsNumber": ["xyz789"],
"serial": ["xyz789"]
}
Response
{
"data": {
"asset": [
{
"BLE": "xyz789",
"activeCustomFields": [CustomField],
"activity": AssetActivity,
"allowReservations": true,
"archivedCustomFields": [CustomField],
"assetCategory": AssetCategory,
"assetCategoryId": HashedId,
"assetPackageAsset": AssetPackageAsset,
"assetSiteAssignments": [AssetSiteAssignment],
"assetType": AssetType,
"assetTypeId": HashedId,
"assignedSiteLocation": SiteLocation,
"assignedToGroup": Group,
"assignedToGroupId": HashedId,
"assignedToPreviousSite": Site,
"assignedToSite": Site,
"assignedToSiteId": HashedId,
"assignment": "xyz789",
"availability": "BORROWED",
"availabilityId": HashedId,
"batteryLevel": "xyz789",
"canEdit": false,
"checkSchedule": AssetCheckSchedule,
"checkScheduleRule": AssetCheckScheduleRule,
"classification": "GENERIC",
"client": "abc123",
"commissionDate": "2007-12-03",
"costCenter": "xyz789",
"costLines": [CostLine],
"costs": [CostLine],
"costsSum": 987.65,
"costsSumBattery": 987.65,
"costsSumCertification": 123.45,
"costsSumConsumables": 987.65,
"costsSumFuel": 987.65,
"costsSumLabor": 123.45,
"costsSumLogistics": 123.45,
"costsSumMaintenance": 123.45,
"costsSumOther": 123.45,
"costsSumParts": 123.45,
"costsSumRepair": 123.45,
"costsSumTaxes": 987.65,
"countNonArchivedSiteAssignments": 123,
"created": 1592577642,
"createdByGroup": Group,
"createdByGroupId": HashedId,
"currency": "abc123",
"currentAlerts": [Event],
"customer": "xyz789",
"customerEditable": false,
"dailyRate": 987.65,
"deleted": 1592577642,
"deletedBy": "abc123",
"description": Translation,
"descriptionId": HashedId,
"displayParameters": [DisplayParameter],
"documents": [Document],
"eventIds": [HashedId],
"events": [Event],
"externalId": "abc123",
"firmwareVersion": "xyz789",
"firstTripDate": 123.45,
"fixedAssetNumber": "abc123",
"floorRoom": "xyz789",
"gatewayAsset": Asset,
"geofence": AssetGeofence,
"group": Group,
"groupId": HashedId,
"groupTimezone": "xyz789",
"id": HashedId,
"image": "xyz789",
"imei": "abc123",
"initialValue": "abc123",
"inlineImage": DocumentInlineFile,
"integrationId": HashedId,
"integrationSummary": AssetIntegrationSummary,
"inventoryNumber": "abc123",
"inventoryPrefix": "abc123",
"inventorySequence": 123,
"iot": IotAssetData,
"iotIntegrationProvider": "ACHELIS_PROVIDER",
"iotRuleEntryEvents": [RuleEntryEvent],
"isCommodity": false,
"isInStationaryGateway": true,
"isIntegrationSyncPaused": false,
"isLocked": true,
"isUsedPrivately": true,
"lastContactInfo": AssetLastContactInfo,
"lastContacted": 1592577642,
"lastContactedSource": "BLE",
"lastIntegrationRun": AssetIntegrationRun,
"lastTicketDate": "2007-12-03T10:15:30Z",
"latestAssetData": {},
"latestTrip": AssetTripLatest,
"leasingCostTermination": "abc123",
"leasingEnd": "2007-12-03",
"leasingLevel": "xyz789",
"leasingMonthlyCost": "xyz789",
"leasingPartner": "abc123",
"leasingPartnerContractNumber": "xyz789",
"leasingPartnerContractPositionNumber": "xyz789",
"leasingRenewalDate": "2007-12-03",
"leasingRenewalRate": "xyz789",
"leasingStart": "2007-12-03",
"location": Location,
"locationHiddenReason": "PRIVATE_USE",
"locationV2": Location,
"maintenanceSchedule": AssetMaintenanceSchedule,
"manuals": [Document],
"manufacturer": Manufacturer,
"manufacturerId": HashedId,
"minDaysBilled": 987,
"module": Module,
"moduleConnectionStatus": "disconnected",
"moduleId": HashedId,
"nextService": 123,
"nonWorkingDays": [AssetNonWorkingDays],
"operationalCosts": [Cost],
"optionalAssetID": "abc123",
"ownership": "CUSTOMER_MACHINE",
"ownershipId": HashedId,
"parameterOffsetIds": [HashedId],
"parameterOffsets": [AssetParameterOffset],
"parameterSets": [ParameterSet],
"partsNumber": "abc123",
"plateNumber": "abc123",
"previousSiteId": HashedId,
"primaryServicePackage": ServicePackageWithSourceType,
"projectNumber": "xyz789",
"publicId": 987,
"purchaseCost": "xyz789",
"purchaseCurrentBookValue": "abc123",
"purchaseDepreciation": 123.45,
"purchaseDepreciationMonths": 987,
"purchaseDepreciationRemainingMonths": 123,
"purchaseDepriciation": 987,
"purchaseInvoiceNumber": "xyz789",
"purchaseLowValueAsset": true,
"purchaseMonthlyCost": "abc123",
"purchaseStart": "2007-12-03",
"purchaseWarrantyEnd": "2007-12-03",
"purchaseWarrantyPeriod": 987,
"purchaseWarrantyStart": "2007-12-03",
"qrAttached": true,
"quantity": 987,
"relatedGroups": [RelatedGroup],
"rentalCostTermination": "abc123",
"rentalEnd": "2007-12-03",
"rentalMonthlyCost": "xyz789",
"rentalRenewalDate": "2007-12-03",
"rentalRenewalRate": "xyz789",
"rentalStart": "2007-12-03",
"reservationLineItemIssues": [
ReservationLineItemIssue
],
"reservations": [LegacyAssetReservation],
"resolvedCurrency": "AED",
"responsiblePerson": "abc123",
"responsiblePersonUpdatedAt": 1592577642,
"responsiblePersonUpdatedByUser": User,
"responsiblePersonUpdatedByUserId": HashedId,
"restoreBlockers": ["PARENT_ASSET_CATEGORY_DELETED"],
"runtimeWithOffsetInSeconds": 123,
"scanTime": "2007-12-03",
"serial": "abc123",
"serviceContract": false,
"serviceContractCostPerYear": "xyz789",
"serviceContractDocuments": [Document],
"serviceContractEmail": "abc123",
"serviceContractEnd": "2007-12-03",
"serviceContractFrom": 1592577642,
"serviceContractLevel": "xyz789",
"serviceContractPartner": "abc123",
"serviceContractStart": "2007-12-03",
"serviceContractTo": 1592577642,
"services": [Service],
"shouldShowLastSeenByGateway": true,
"shouldUpdateActiveAssetSiteAssignment": false,
"site": Site,
"siteId": HashedId,
"state": AssetState,
"stateV2": [AssetStateItem],
"status": [StatusItem],
"subscription": "abc123",
"supplier": "abc123",
"tickets": [Ticket],
"ticketsCount": "abc123",
"totalUtilization": "abc123",
"totalWorkDone": "xyz789",
"trips": [Trip],
"unavailability": [AssetUnavailability],
"updated": 1592577642,
"utilization": AssetUtilization,
"uuid": "xyz789",
"vncTunnelUrl": "xyz789",
"workOrders": [WorkOrderV2],
"workingHours": AssetWorkingHours,
"workingHoursNotification": [
RuleNotificationRelation
],
"workingHoursSettings": {}
}
]
}
}
assetActivityDetails
Description
Retrieve activity details
Response
Returns a JSON!
Example
Query
query assetActivityDetails(
$assetDataId: HashedId!,
$from: Timestamp,
$parameterSetId: HashedId,
$savedName: String,
$to: Timestamp
) {
assetActivityDetails(
assetDataId: $assetDataId,
from: $from,
parameterSetId: $parameterSetId,
savedName: $savedName,
to: $to
)
}
Variables
{
"assetDataId": HashedId,
"from": 1592577642,
"parameterSetId": HashedId,
"savedName": "abc123",
"to": 1592577642
}
Response
{"data": {"assetActivityDetails": {}}}
assetActivityLog
Description
Retrieve a activity log
Response
Returns a String!
Arguments
| Name | Description |
|---|---|
assetId - HashedId!
|
Asset identifier |
from - Timestamp
|
Start timestamp of the date range |
parameterId - [HashedId!]!
|
Parameter identifier |
to - Timestamp
|
End timestamp of the date range |
Example
Query
query assetActivityLog(
$assetId: HashedId!,
$from: Timestamp,
$parameterId: [HashedId!]!,
$to: Timestamp
) {
assetActivityLog(
assetId: $assetId,
from: $from,
parameterId: $parameterId,
to: $to
)
}
Variables
{
"assetId": HashedId,
"from": 1592577642,
"parameterId": [HashedId],
"to": 1592577642
}
Response
{"data": {"assetActivityLog": "xyz789"}}
assetApiData
Description
Raw provider fields fetched for the asset, grouped by dataset, with their mapping status
Response
Returns an AssetApiData!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Unique identifier of the entity |
Example
Query
query assetApiData($id: HashedId!) {
assetApiData(id: $id) {
hasDeclaration
integrationName
sections {
...AssetApiDataSectionFragment
}
}
}
Variables
{"id": HashedId}
Response
{
"data": {
"assetApiData": {
"hasDeclaration": true,
"integrationName": "xyz789",
"sections": [AssetApiDataSection]
}
}
}
assetBLEChecker
Description
Check if a BLE identifier is already assigned to an asset
Response
Returns an AssetBLEChecker!
Example
Query
query assetBLEChecker(
$BLE: String,
$assetId: HashedId
) {
assetBLEChecker(
BLE: $BLE,
assetId: $assetId
) {
duplicateAsset {
...AssetFragment
}
msg
}
}
Variables
{
"BLE": "abc123",
"assetId": HashedId
}
Response
{
"data": {
"assetBLEChecker": {
"duplicateAsset": Asset,
"msg": "DUPLICATE"
}
}
}
assetBarCodeSearch
Description
Search assets by barcode fields like asset ID or supplier
Response
Returns [Asset!]!
Arguments
| Name | Description |
|---|---|
filterInput - AssetBarCodeFilterInput
|
Barcode search filter criteria |
paginationInput - PaginationInput
|
Pagination settings for barcode search results |
Example
Query
query assetBarCodeSearch(
$filterInput: AssetBarCodeFilterInput,
$paginationInput: PaginationInput
) {
assetBarCodeSearch(
filterInput: $filterInput,
paginationInput: $paginationInput
) {
BLE
activeCustomFields {
...CustomFieldFragment
}
activity {
...AssetActivityFragment
}
allowReservations
archivedCustomFields {
...CustomFieldFragment
}
assetCategory {
...AssetCategoryFragment
}
assetCategoryId
assetPackageAsset {
...AssetPackageAssetFragment
}
assetSiteAssignments {
...AssetSiteAssignmentFragment
}
assetType {
...AssetTypeFragment
}
assetTypeId
assignedSiteLocation {
...SiteLocationFragment
}
assignedToGroup {
...GroupFragment
}
assignedToGroupId
assignedToPreviousSite {
...SiteFragment
}
assignedToSite {
...SiteFragment
}
assignedToSiteId
assignment
availability
availabilityId
batteryLevel
canEdit
checkSchedule {
...AssetCheckScheduleFragment
}
checkScheduleRule {
...AssetCheckScheduleRuleFragment
}
classification
client
commissionDate
costCenter
costLines {
...CostLineFragment
}
costs {
...CostLineFragment
}
costsSum
costsSumBattery
costsSumCertification
costsSumConsumables
costsSumFuel
costsSumLabor
costsSumLogistics
costsSumMaintenance
costsSumOther
costsSumParts
costsSumRepair
costsSumTaxes
countNonArchivedSiteAssignments
created
createdByGroup {
...GroupFragment
}
createdByGroupId
currency
currentAlerts {
...EventFragment
}
customer
customerEditable
dailyRate
deleted
deletedBy
description {
...TranslationFragment
}
descriptionId
displayParameters {
...DisplayParameterFragment
}
documents {
...DocumentFragment
}
eventIds
events {
...EventFragment
}
externalId
firmwareVersion
firstTripDate
fixedAssetNumber
floorRoom
gatewayAsset {
...AssetFragment
}
geofence {
...AssetGeofenceFragment
}
group {
...GroupFragment
}
groupId
groupTimezone
id
image
imei
initialValue
inlineImage {
...DocumentInlineFileFragment
}
integrationId
integrationSummary {
...AssetIntegrationSummaryFragment
}
inventoryNumber
inventoryPrefix
inventorySequence
iot {
...IotAssetDataFragment
}
iotIntegrationProvider
iotRuleEntryEvents {
...RuleEntryEventFragment
}
isCommodity
isInStationaryGateway
isIntegrationSyncPaused
isLocked
isUsedPrivately
lastContactInfo {
...AssetLastContactInfoFragment
}
lastContacted
lastContactedSource
lastIntegrationRun {
...AssetIntegrationRunFragment
}
lastTicketDate
latestAssetData
latestTrip {
...AssetTripLatestFragment
}
leasingCostTermination
leasingEnd
leasingLevel
leasingMonthlyCost
leasingPartner
leasingPartnerContractNumber
leasingPartnerContractPositionNumber
leasingRenewalDate
leasingRenewalRate
leasingStart
location {
...LocationFragment
}
locationHiddenReason
locationV2 {
... on Location {
...LocationFragment
}
... on SiteLocation {
...SiteLocationFragment
}
... on TripLocation {
...TripLocationFragment
}
}
maintenanceSchedule {
...AssetMaintenanceScheduleFragment
}
manuals {
...DocumentFragment
}
manufacturer {
...ManufacturerFragment
}
manufacturerId
minDaysBilled
module {
...ModuleFragment
}
moduleConnectionStatus
moduleId
nextService
nonWorkingDays {
...AssetNonWorkingDaysFragment
}
operationalCosts {
...CostFragment
}
optionalAssetID
ownership
ownershipId
parameterOffsetIds
parameterOffsets {
...AssetParameterOffsetFragment
}
parameterSets {
...ParameterSetFragment
}
partsNumber
plateNumber
previousSiteId
primaryServicePackage {
...ServicePackageWithSourceTypeFragment
}
projectNumber
publicId
purchaseCost
purchaseCurrentBookValue
purchaseDepreciation
purchaseDepreciationMonths
purchaseDepreciationRemainingMonths
purchaseDepriciation
purchaseInvoiceNumber
purchaseLowValueAsset
purchaseMonthlyCost
purchaseStart
purchaseWarrantyEnd
purchaseWarrantyPeriod
purchaseWarrantyStart
qrAttached
quantity
relatedGroups {
...RelatedGroupFragment
}
rentalCostTermination
rentalEnd
rentalMonthlyCost
rentalRenewalDate
rentalRenewalRate
rentalStart
reservationLineItemIssues {
...ReservationLineItemIssueFragment
}
reservations {
...LegacyAssetReservationFragment
}
resolvedCurrency
responsiblePerson
responsiblePersonUpdatedAt
responsiblePersonUpdatedByUser {
...UserFragment
}
responsiblePersonUpdatedByUserId
restoreBlockers
runtimeWithOffsetInSeconds
scanTime
serial
serviceContract
serviceContractCostPerYear
serviceContractDocuments {
...DocumentFragment
}
serviceContractEmail
serviceContractEnd
serviceContractFrom
serviceContractLevel
serviceContractPartner
serviceContractStart
serviceContractTo
services {
...ServiceFragment
}
shouldShowLastSeenByGateway
shouldUpdateActiveAssetSiteAssignment
site {
...SiteFragment
}
siteId
state {
...AssetStateFragment
}
stateV2 {
...AssetStateItemFragment
}
status {
...StatusItemFragment
}
subscription
supplier
tickets {
...TicketFragment
}
ticketsCount
totalUtilization
totalWorkDone
trips {
...TripFragment
}
unavailability {
...AssetUnavailabilityFragment
}
updated
utilization {
...AssetUtilizationFragment
}
uuid
vncTunnelUrl
workOrders {
...WorkOrderV2Fragment
}
workingHours {
...AssetWorkingHoursFragment
}
workingHoursNotification {
...RuleNotificationRelationFragment
}
workingHoursSettings
}
}
Variables
{
"filterInput": AssetBarCodeFilterInput,
"paginationInput": PaginationInput
}
Response
{
"data": {
"assetBarCodeSearch": [
{
"BLE": "xyz789",
"activeCustomFields": [CustomField],
"activity": AssetActivity,
"allowReservations": false,
"archivedCustomFields": [CustomField],
"assetCategory": AssetCategory,
"assetCategoryId": HashedId,
"assetPackageAsset": AssetPackageAsset,
"assetSiteAssignments": [AssetSiteAssignment],
"assetType": AssetType,
"assetTypeId": HashedId,
"assignedSiteLocation": SiteLocation,
"assignedToGroup": Group,
"assignedToGroupId": HashedId,
"assignedToPreviousSite": Site,
"assignedToSite": Site,
"assignedToSiteId": HashedId,
"assignment": "abc123",
"availability": "BORROWED",
"availabilityId": HashedId,
"batteryLevel": "xyz789",
"canEdit": true,
"checkSchedule": AssetCheckSchedule,
"checkScheduleRule": AssetCheckScheduleRule,
"classification": "GENERIC",
"client": "xyz789",
"commissionDate": "2007-12-03",
"costCenter": "abc123",
"costLines": [CostLine],
"costs": [CostLine],
"costsSum": 123.45,
"costsSumBattery": 123.45,
"costsSumCertification": 123.45,
"costsSumConsumables": 987.65,
"costsSumFuel": 123.45,
"costsSumLabor": 123.45,
"costsSumLogistics": 987.65,
"costsSumMaintenance": 987.65,
"costsSumOther": 987.65,
"costsSumParts": 123.45,
"costsSumRepair": 123.45,
"costsSumTaxes": 123.45,
"countNonArchivedSiteAssignments": 987,
"created": 1592577642,
"createdByGroup": Group,
"createdByGroupId": HashedId,
"currency": "xyz789",
"currentAlerts": [Event],
"customer": "abc123",
"customerEditable": true,
"dailyRate": 987.65,
"deleted": 1592577642,
"deletedBy": "abc123",
"description": Translation,
"descriptionId": HashedId,
"displayParameters": [DisplayParameter],
"documents": [Document],
"eventIds": [HashedId],
"events": [Event],
"externalId": "abc123",
"firmwareVersion": "xyz789",
"firstTripDate": 123.45,
"fixedAssetNumber": "xyz789",
"floorRoom": "xyz789",
"gatewayAsset": Asset,
"geofence": AssetGeofence,
"group": Group,
"groupId": HashedId,
"groupTimezone": "xyz789",
"id": HashedId,
"image": "abc123",
"imei": "xyz789",
"initialValue": "abc123",
"inlineImage": DocumentInlineFile,
"integrationId": HashedId,
"integrationSummary": AssetIntegrationSummary,
"inventoryNumber": "abc123",
"inventoryPrefix": "abc123",
"inventorySequence": 123,
"iot": IotAssetData,
"iotIntegrationProvider": "ACHELIS_PROVIDER",
"iotRuleEntryEvents": [RuleEntryEvent],
"isCommodity": false,
"isInStationaryGateway": true,
"isIntegrationSyncPaused": false,
"isLocked": false,
"isUsedPrivately": false,
"lastContactInfo": AssetLastContactInfo,
"lastContacted": 1592577642,
"lastContactedSource": "BLE",
"lastIntegrationRun": AssetIntegrationRun,
"lastTicketDate": "2007-12-03T10:15:30Z",
"latestAssetData": {},
"latestTrip": AssetTripLatest,
"leasingCostTermination": "xyz789",
"leasingEnd": "2007-12-03",
"leasingLevel": "abc123",
"leasingMonthlyCost": "xyz789",
"leasingPartner": "abc123",
"leasingPartnerContractNumber": "xyz789",
"leasingPartnerContractPositionNumber": "xyz789",
"leasingRenewalDate": "2007-12-03",
"leasingRenewalRate": "xyz789",
"leasingStart": "2007-12-03",
"location": Location,
"locationHiddenReason": "PRIVATE_USE",
"locationV2": Location,
"maintenanceSchedule": AssetMaintenanceSchedule,
"manuals": [Document],
"manufacturer": Manufacturer,
"manufacturerId": HashedId,
"minDaysBilled": 987,
"module": Module,
"moduleConnectionStatus": "disconnected",
"moduleId": HashedId,
"nextService": 987,
"nonWorkingDays": [AssetNonWorkingDays],
"operationalCosts": [Cost],
"optionalAssetID": "xyz789",
"ownership": "CUSTOMER_MACHINE",
"ownershipId": HashedId,
"parameterOffsetIds": [HashedId],
"parameterOffsets": [AssetParameterOffset],
"parameterSets": [ParameterSet],
"partsNumber": "xyz789",
"plateNumber": "abc123",
"previousSiteId": HashedId,
"primaryServicePackage": ServicePackageWithSourceType,
"projectNumber": "abc123",
"publicId": 123,
"purchaseCost": "abc123",
"purchaseCurrentBookValue": "xyz789",
"purchaseDepreciation": 987.65,
"purchaseDepreciationMonths": 987,
"purchaseDepreciationRemainingMonths": 987,
"purchaseDepriciation": 123,
"purchaseInvoiceNumber": "abc123",
"purchaseLowValueAsset": true,
"purchaseMonthlyCost": "xyz789",
"purchaseStart": "2007-12-03",
"purchaseWarrantyEnd": "2007-12-03",
"purchaseWarrantyPeriod": 987,
"purchaseWarrantyStart": "2007-12-03",
"qrAttached": true,
"quantity": 987,
"relatedGroups": [RelatedGroup],
"rentalCostTermination": "xyz789",
"rentalEnd": "2007-12-03",
"rentalMonthlyCost": "xyz789",
"rentalRenewalDate": "2007-12-03",
"rentalRenewalRate": "xyz789",
"rentalStart": "2007-12-03",
"reservationLineItemIssues": [
ReservationLineItemIssue
],
"reservations": [LegacyAssetReservation],
"resolvedCurrency": "AED",
"responsiblePerson": "abc123",
"responsiblePersonUpdatedAt": 1592577642,
"responsiblePersonUpdatedByUser": User,
"responsiblePersonUpdatedByUserId": HashedId,
"restoreBlockers": ["PARENT_ASSET_CATEGORY_DELETED"],
"runtimeWithOffsetInSeconds": 123,
"scanTime": "2007-12-03",
"serial": "abc123",
"serviceContract": true,
"serviceContractCostPerYear": "abc123",
"serviceContractDocuments": [Document],
"serviceContractEmail": "xyz789",
"serviceContractEnd": "2007-12-03",
"serviceContractFrom": 1592577642,
"serviceContractLevel": "abc123",
"serviceContractPartner": "abc123",
"serviceContractStart": "2007-12-03",
"serviceContractTo": 1592577642,
"services": [Service],
"shouldShowLastSeenByGateway": false,
"shouldUpdateActiveAssetSiteAssignment": false,
"site": Site,
"siteId": HashedId,
"state": AssetState,
"stateV2": [AssetStateItem],
"status": [StatusItem],
"subscription": "abc123",
"supplier": "abc123",
"tickets": [Ticket],
"ticketsCount": "abc123",
"totalUtilization": "xyz789",
"totalWorkDone": "xyz789",
"trips": [Trip],
"unavailability": [AssetUnavailability],
"updated": 1592577642,
"utilization": AssetUtilization,
"uuid": "xyz789",
"vncTunnelUrl": "xyz789",
"workOrders": [WorkOrderV2],
"workingHours": AssetWorkingHours,
"workingHoursNotification": [
RuleNotificationRelation
],
"workingHoursSettings": {}
}
]
}
}
assetCategoriesDiscoverable
Description
Retrieve discoverable asset categories available for use with pagination
Response
Returns [AssetCategory!]!
Arguments
| Name | Description |
|---|---|
pagination - PaginationParams!
|
Pagination |
search - String
|
Text search query for filtering results |
Example
Query
query assetCategoriesDiscoverable(
$pagination: PaginationParams!,
$search: String
) {
assetCategoriesDiscoverable(
pagination: $pagination,
search: $search
) {
assetsCount
canEdit
created
deleted
deletedAssetTypesCount
deletedAssetsCount
deletedBy
externalId
forManufacturer {
...ManufacturerFragment
}
forManufacturerId
group {
...GroupFragment
}
groupId
id
image
isPrivate
manufacturer {
...ManufacturerFragment
}
minimalBatteryVoltage
name {
...TranslationFragment
}
nameId
nominalBatteryVoltage
optimalBatteryVoltage
optimalRuntime
parentParameterKey
publicId
restoreBlockers
servicePackage {
...ServicePackageFragment
}
servicePackageId
updated
workUnitId
workUnits {
...TranslationFragment
}
workUnitsPerHour
}
}
Variables
{
"pagination": PaginationParams,
"search": "xyz789"
}
Response
{
"data": {
"assetCategoriesDiscoverable": [
{
"assetsCount": 123,
"canEdit": false,
"created": 1592577642,
"deleted": 1592577642,
"deletedAssetTypesCount": 987,
"deletedAssetsCount": 987,
"deletedBy": "xyz789",
"externalId": "abc123",
"forManufacturer": Manufacturer,
"forManufacturerId": HashedId,
"group": Group,
"groupId": HashedId,
"id": HashedId,
"image": "xyz789",
"isPrivate": true,
"manufacturer": Manufacturer,
"minimalBatteryVoltage": 987.65,
"name": Translation,
"nameId": HashedId,
"nominalBatteryVoltage": 123.45,
"optimalBatteryVoltage": 123.45,
"optimalRuntime": 987.65,
"parentParameterKey": "input2",
"publicId": 123,
"restoreBlockers": ["PARENT_ASSET_CATEGORY_DELETED"],
"servicePackage": ServicePackage,
"servicePackageId": HashedId,
"updated": 1592577642,
"workUnitId": HashedId,
"workUnits": Translation,
"workUnitsPerHour": 123.45
}
]
}
}
assetCategoriesMainGroupPaginated
Description
Retrieve editable asset categories from main group with pagination
Response
Returns an AssetCategoryPaginatedDto!
Arguments
| Name | Description |
|---|---|
filters - [FilterParamsInput]
|
Filter criteria |
pagination - PaginationParams!
|
Pagination |
search - String
|
Text search query for filtering results |
Example
Query
query assetCategoriesMainGroupPaginated(
$filters: [FilterParamsInput],
$pagination: PaginationParams!,
$search: String
) {
assetCategoriesMainGroupPaginated(
filters: $filters,
pagination: $pagination,
search: $search
) {
meta {
...PaginationMetaFragment
}
rows {
...AssetCategoryFragment
}
total
}
}
Variables
{
"filters": [FilterParamsInput],
"pagination": PaginationParams,
"search": "abc123"
}
Response
{
"data": {
"assetCategoriesMainGroupPaginated": {
"meta": PaginationMeta,
"rows": [AssetCategory],
"total": 123
}
}
}
assetCategoriesPaginated
Description
Retrieve editable asset categories with pagination
Response
Returns an AssetCategoryPaginatedDto!
Arguments
| Name | Description |
|---|---|
filters - [FilterParamsInput]
|
Filter criteria |
pagination - PaginationParams!
|
Pagination |
search - String
|
Text search query for filtering results |
Example
Query
query assetCategoriesPaginated(
$filters: [FilterParamsInput],
$pagination: PaginationParams!,
$search: String
) {
assetCategoriesPaginated(
filters: $filters,
pagination: $pagination,
search: $search
) {
meta {
...PaginationMetaFragment
}
rows {
...AssetCategoryFragment
}
total
}
}
Variables
{
"filters": [FilterParamsInput],
"pagination": PaginationParams,
"search": "xyz789"
}
Response
{
"data": {
"assetCategoriesPaginated": {
"meta": PaginationMeta,
"rows": [AssetCategory],
"total": 987
}
}
}
assetCategory
Description
List asset categories, optionally filtered by IDs (legacy)
Response
Returns [AssetCategory!]
Arguments
| Name | Description |
|---|---|
id - [HashedId]
|
Filter by asset category IDs |
Example
Query
query assetCategory($id: [HashedId]) {
assetCategory(id: $id) {
assetsCount
canEdit
created
deleted
deletedAssetTypesCount
deletedAssetsCount
deletedBy
externalId
forManufacturer {
...ManufacturerFragment
}
forManufacturerId
group {
...GroupFragment
}
groupId
id
image
isPrivate
manufacturer {
...ManufacturerFragment
}
minimalBatteryVoltage
name {
...TranslationFragment
}
nameId
nominalBatteryVoltage
optimalBatteryVoltage
optimalRuntime
parentParameterKey
publicId
restoreBlockers
servicePackage {
...ServicePackageFragment
}
servicePackageId
updated
workUnitId
workUnits {
...TranslationFragment
}
workUnitsPerHour
}
}
Variables
{"id": [HashedId]}
Response
{
"data": {
"assetCategory": [
{
"assetsCount": 987,
"canEdit": false,
"created": 1592577642,
"deleted": 1592577642,
"deletedAssetTypesCount": 123,
"deletedAssetsCount": 987,
"deletedBy": "xyz789",
"externalId": "xyz789",
"forManufacturer": Manufacturer,
"forManufacturerId": HashedId,
"group": Group,
"groupId": HashedId,
"id": HashedId,
"image": "xyz789",
"isPrivate": true,
"manufacturer": Manufacturer,
"minimalBatteryVoltage": 123.45,
"name": Translation,
"nameId": HashedId,
"nominalBatteryVoltage": 987.65,
"optimalBatteryVoltage": 123.45,
"optimalRuntime": 123.45,
"parentParameterKey": "input2",
"publicId": 987,
"restoreBlockers": ["PARENT_ASSET_CATEGORY_DELETED"],
"servicePackage": ServicePackage,
"servicePackageId": HashedId,
"updated": 1592577642,
"workUnitId": HashedId,
"workUnits": Translation,
"workUnitsPerHour": 987.65
}
]
}
}
assetCategoryById
Description
Fetch a single asset category by its ID
Response
Returns an AssetCategory
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Unique identifier of the entity |
Example
Query
query assetCategoryById($id: HashedId!) {
assetCategoryById(id: $id) {
assetsCount
canEdit
created
deleted
deletedAssetTypesCount
deletedAssetsCount
deletedBy
externalId
forManufacturer {
...ManufacturerFragment
}
forManufacturerId
group {
...GroupFragment
}
groupId
id
image
isPrivate
manufacturer {
...ManufacturerFragment
}
minimalBatteryVoltage
name {
...TranslationFragment
}
nameId
nominalBatteryVoltage
optimalBatteryVoltage
optimalRuntime
parentParameterKey
publicId
restoreBlockers
servicePackage {
...ServicePackageFragment
}
servicePackageId
updated
workUnitId
workUnits {
...TranslationFragment
}
workUnitsPerHour
}
}
Variables
{"id": HashedId}
Response
{
"data": {
"assetCategoryById": {
"assetsCount": 987,
"canEdit": false,
"created": 1592577642,
"deleted": 1592577642,
"deletedAssetTypesCount": 123,
"deletedAssetsCount": 987,
"deletedBy": "xyz789",
"externalId": "abc123",
"forManufacturer": Manufacturer,
"forManufacturerId": HashedId,
"group": Group,
"groupId": HashedId,
"id": HashedId,
"image": "xyz789",
"isPrivate": false,
"manufacturer": Manufacturer,
"minimalBatteryVoltage": 987.65,
"name": Translation,
"nameId": HashedId,
"nominalBatteryVoltage": 123.45,
"optimalBatteryVoltage": 987.65,
"optimalRuntime": 987.65,
"parentParameterKey": "input2",
"publicId": 987,
"restoreBlockers": ["PARENT_ASSET_CATEGORY_DELETED"],
"servicePackage": ServicePackage,
"servicePackageId": HashedId,
"updated": 1592577642,
"workUnitId": HashedId,
"workUnits": Translation,
"workUnitsPerHour": 123.45
}
}
}
assetData
Description
List asset telemetry data with optional date filtering
Response
Returns [AssetDataNew!]!
Example
Query
query assetData(
$assetId: HashedId!,
$closest: DateTime,
$closestQuery: Boolean,
$from: DateTime,
$to: DateTime
) {
assetData(
assetId: $assetId,
closest: $closest,
closestQuery: $closestQuery,
from: $from,
to: $to
) {
created
createdByAsset {
...AssetFragment
}
createdByAssetId
createdByModule {
...ModuleFragment
}
createdByModuleId
createdByModuleImei
data
id
moduleTimestamp
updated
}
}
Variables
{
"assetId": HashedId,
"closest": "2007-12-03T10:15:30Z",
"closestQuery": true,
"from": "2007-12-03T10:15:30Z",
"to": "2007-12-03T10:15:30Z"
}
Response
{
"data": {
"assetData": [
{
"created": 1592577642,
"createdByAsset": Asset,
"createdByAssetId": HashedId,
"createdByModule": Module,
"createdByModuleId": HashedId,
"createdByModuleImei": "xyz789",
"data": {},
"id": HashedId,
"moduleTimestamp": 1592577642,
"updated": 1592577642
}
]
}
}
assetEventsPaginated
Description
Paginated asset events
Response
Returns an AssetEventPaginatedDto!
Arguments
| Name | Description |
|---|---|
filters - [FilterParamsInput]
|
Filter criteria |
pagination - PaginationParams!
|
Pagination |
search - String
|
Text search query for filtering results |
Example
Query
query assetEventsPaginated(
$filters: [FilterParamsInput],
$pagination: PaginationParams!,
$search: String
) {
assetEventsPaginated(
filters: $filters,
pagination: $pagination,
search: $search
) {
meta {
...PaginationMetaFragment
}
rows {
...EventFragment
}
total
}
}
Variables
{
"filters": [FilterParamsInput],
"pagination": PaginationParams,
"search": "xyz789"
}
Response
{
"data": {
"assetEventsPaginated": {
"meta": PaginationMeta,
"rows": [Event],
"total": 123
}
}
}
assetFilterStats
Description
Counts and breakdowns for asset filter sidebar options
Response
Returns an AssetFilterStats!
Example
Query
query assetFilterStats {
assetFilterStats {
leasingEnd {
...AssetFilterPeriodFilterFragment
}
leasingRemainingMonths
rentalEnd {
...AssetFilterPeriodFilterFragment
}
rentalRemainingMonths
serviceContractRemainingMonths
}
}
Response
{
"data": {
"assetFilterStats": {
"leasingEnd": [AssetFilterPeriodFilter],
"leasingRemainingMonths": ["xyz789"],
"rentalEnd": [AssetFilterPeriodFilter],
"rentalRemainingMonths": ["xyz789"],
"serviceContractRemainingMonths": [
"abc123"
]
}
}
}
assetImportColumnSchema
Description
Returns the column schema (with translations, dropdown options, and validation rules) used by the asset importer wizard.
Response
Returns [ImporterSchemaColumn!]!
Arguments
| Name | Description |
|---|---|
mode - ImporterMode!
|
Importer mode: CREATE returns the create-only column schema; UPDATE returns the update-only column schema with identity columns. |
Example
Query
query assetImportColumnSchema($mode: ImporterMode!) {
assetImportColumnSchema(mode: $mode) {
allowCustomOptions
alternativeMatches
columnType
dropdownOptions {
...ImporterSchemaColumnDropdownOptionFragment
}
example
isReadOnly
key
label
labelSuffix
originalKey
type
validations {
...ImporterSchemaColumnValidationFragment
}
}
}
Variables
{"mode": "CREATE"}
Response
{
"data": {
"assetImportColumnSchema": [
{
"allowCustomOptions": true,
"alternativeMatches": ["xyz789"],
"columnType": "BOOLEAN",
"dropdownOptions": [
ImporterSchemaColumnDropdownOption
],
"example": "xyz789",
"isReadOnly": true,
"key": "abc123",
"label": "xyz789",
"labelSuffix": "abc123",
"originalKey": "xyz789",
"type": "abc123",
"validations": [ImporterSchemaColumnValidation]
}
]
}
}
assetImportResult
Description
Returns the job, the created and updated counts and, for a file with invalid rows, a page of its invalid rows.
Response
Returns an ImporterImportResult!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Identifier of the importer background job |
pagination - PaginationParams!
|
Pagination params input data |
Example
Query
query assetImportResult(
$id: HashedId!,
$pagination: PaginationParams!
) {
assetImportResult(
id: $id,
pagination: $pagination
) {
createdCount
entryCount
job {
...BackgroundJobFragment
}
rows {
...ImporterValidationRowFragment
}
updatedCount
validationErrorCount
}
}
Variables
{
"id": HashedId,
"pagination": PaginationParams
}
Response
{
"data": {
"assetImportResult": {
"createdCount": 123,
"entryCount": 987,
"job": BackgroundJob,
"rows": [ImporterValidationRow],
"updatedCount": 123,
"validationErrorCount": 123
}
}
}
assetImportValidationResult
Description
Returns the job and a page of rows validated by an asset import validation job.
Response
Returns an ImporterValidationResult!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Identifier of the importer background job |
pagination - PaginationParams!
|
Pagination params input data |
Example
Query
query assetImportValidationResult(
$id: HashedId!,
$pagination: PaginationParams!
) {
assetImportValidationResult(
id: $id,
pagination: $pagination
) {
entryCount
job {
...BackgroundJobFragment
}
rows {
...ImporterValidationRowFragment
}
}
}
Variables
{
"id": HashedId,
"pagination": PaginationParams
}
Response
{
"data": {
"assetImportValidationResult": {
"entryCount": 123,
"job": BackgroundJob,
"rows": [ImporterValidationRow]
}
}
}
assetIntegration
Description
Find asset integrations by ID or name
Response
Returns [AssetIntegration!]!
Arguments
| Name | Description |
|---|---|
id - [HashedId!]
|
Filter by one or more integration IDs |
name - String
|
Filter by exact integration name |
Example
Query
query assetIntegration(
$id: [HashedId!],
$name: String
) {
assetIntegration(
id: $id,
name: $name
) {
assetCategory {
...AssetCategoryFragment
}
assetCategoryId
created
id
iotParameters {
...IotParameterFragment
}
manufacturer {
...ManufacturerFragment
}
manufacturerId
name
updated
}
}
Variables
{
"id": [HashedId],
"name": "abc123"
}
Response
{
"data": {
"assetIntegration": [
{
"assetCategory": AssetCategory,
"assetCategoryId": HashedId,
"created": 1592577642,
"id": HashedId,
"iotParameters": [IotParameter],
"manufacturer": Manufacturer,
"manufacturerId": HashedId,
"name": "xyz789",
"updated": 1592577642
}
]
}
}
assetList
Description
Paginated asset list with filtering and sorting
Response
Returns a PaginatedAssets
Arguments
| Name | Description |
|---|---|
extraId - HashedId
|
ID of an extra field to include in results |
filter - AssetFilterInput
|
Asset list filter criteria |
first - Int
|
The number of items to return. Has name "first", but used as limit |
offset - Int
|
Number of results to skip |
Example
Query
query assetList(
$extraId: HashedId,
$filter: AssetFilterInput,
$first: Int,
$offset: Int
) {
assetList(
extraId: $extraId,
filter: $filter,
first: $first,
offset: $offset
) {
assets {
...AssetFragment
}
meta {
...PaginationMetaFragment
}
rows {
...AssetFragment
}
total
}
}
Variables
{
"extraId": HashedId,
"filter": AssetFilterInput,
"first": 123,
"offset": 123
}
Response
{
"data": {
"assetList": {
"assets": [Asset],
"meta": PaginationMeta,
"rows": [Asset],
"total": 987
}
}
}
assetListMainGroup
Description
Paginated asset list scoped to the main group only
Response
Returns a PaginatedAssets
Arguments
| Name | Description |
|---|---|
extraId - HashedId
|
ID of an extra field to include in results |
filter - AssetFilterInput
|
Asset list filter criteria |
first - Int
|
The number of items to return. Has name "first", but used as limit |
offset - Int
|
Number of results to skip |
Example
Query
query assetListMainGroup(
$extraId: HashedId,
$filter: AssetFilterInput,
$first: Int,
$offset: Int
) {
assetListMainGroup(
extraId: $extraId,
filter: $filter,
first: $first,
offset: $offset
) {
assets {
...AssetFragment
}
meta {
...PaginationMetaFragment
}
rows {
...AssetFragment
}
total
}
}
Variables
{
"extraId": HashedId,
"filter": AssetFilterInput,
"first": 123,
"offset": 123
}
Response
{
"data": {
"assetListMainGroup": {
"assets": [Asset],
"meta": PaginationMeta,
"rows": [Asset],
"total": 987
}
}
}
assetLocationHistory
Description
Might be deprecated! Endpoint to get historical location in Location type format.
Response
Returns [Location!]!
Arguments
| Name | Description |
|---|---|
assetId - HashedId!
|
Asset identifier |
closest - Timestamp
|
Results in a single dataset closest to the given date, ignoring properties from and to |
from - Timestamp
|
Can be used in conjunction with to - defines start for query range |
to - Timestamp
|
Can be used in conjunction with from - defines end for query range |
Example
Query
query assetLocationHistory(
$assetId: HashedId!,
$closest: Timestamp,
$from: Timestamp,
$to: Timestamp
) {
assetLocationHistory(
assetId: $assetId,
closest: $closest,
from: $from,
to: $to
) {
gatewayAsset {
...AssetFragment
}
gatewayAssetId
id
latitude
locationSource
longitude
status
timestamp
uncertainty
}
}
Variables
{
"assetId": HashedId,
"closest": 1592577642,
"from": 1592577642,
"to": 1592577642
}
Response
{
"data": {
"assetLocationHistory": [
{
"gatewayAsset": Asset,
"gatewayAssetId": HashedId,
"id": HashedId,
"latitude": "xyz789",
"locationSource": "GPS",
"longitude": "xyz789",
"status": "HIDDEN",
"timestamp": 1592577642,
"uncertainty": 987.65
}
]
}
}
assetLocationHistoryDates
Description
Might be deprecated! Endpoint to get a list of dates containing location data in an array of Y-c-d strings
Response
Returns [String!]!
Example
Query
query assetLocationHistoryDates(
$assetId: HashedId!,
$tz: String
) {
assetLocationHistoryDates(
assetId: $assetId,
tz: $tz
)
}
Variables
{
"assetId": HashedId,
"tz": "abc123"
}
Response
{
"data": {
"assetLocationHistoryDates": ["abc123"]
}
}
assetMapLocations
Description
Paginated asset list with pre-resolved locations for map rendering
Response
Returns a PaginatedAssetMapLocations
Arguments
| Name | Description |
|---|---|
extraId - HashedId
|
ID of an extra field to include in results |
filter - AssetFilterInput
|
Asset list filter criteria |
first - Int
|
The number of items to return. Has name "first", but used as limit |
offset - Int
|
Number of results to skip |
Example
Query
query assetMapLocations(
$extraId: HashedId,
$filter: AssetFilterInput,
$first: Int,
$offset: Int
) {
assetMapLocations(
extraId: $extraId,
filter: $filter,
first: $first,
offset: $offset
) {
meta {
...PaginationMetaFragment
}
rows {
...AssetMapLocationFragment
}
}
}
Variables
{
"extraId": HashedId,
"filter": AssetFilterInput,
"first": 123,
"offset": 987
}
Response
{
"data": {
"assetMapLocations": {
"meta": PaginationMeta,
"rows": [AssetMapLocation]
}
}
}
assetPackage
Description
Retrieve a single asset package by ID
Response
Returns an AssetPackage!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Unique identifier of the entity |
Example
Query
query assetPackage($id: HashedId!) {
assetPackage(id: $id) {
assetCount
assets {
...AssetPackageAssetFragment
}
created
group {
...GroupFragment
}
groupId
id
isDeleted
name {
...TranslationFragment
}
primaryAsset {
...AssetFragment
}
primaryAssetId
publicId
site {
...SiteFragment
}
siteId
siteInheritance
siteMismatchCount
updated
}
}
Variables
{"id": HashedId}
Response
{
"data": {
"assetPackage": {
"assetCount": 987,
"assets": [AssetPackageAsset],
"created": 1592577642,
"group": Group,
"groupId": HashedId,
"id": HashedId,
"isDeleted": false,
"name": Translation,
"primaryAsset": Asset,
"primaryAssetId": HashedId,
"publicId": 987,
"site": Site,
"siteId": HashedId,
"siteInheritance": "CUSTOM",
"siteMismatchCount": 987,
"updated": 1592577642
}
}
}
assetPackageHistoryPaginated
Description
Retrieve the paginated history of an asset package
Response
Returns an AssetPackageHistoryPaginatedResult!
Arguments
| Name | Description |
|---|---|
assetPackageId - HashedId!
|
ID of the asset package whose history is requested |
filters - [FilterParamsInput]
|
Filter criteria |
pagination - PaginationParams!
|
Pagination |
search - String
|
Text search query for filtering results |
Example
Query
query assetPackageHistoryPaginated(
$assetPackageId: HashedId!,
$filters: [FilterParamsInput],
$pagination: PaginationParams!,
$search: String
) {
assetPackageHistoryPaginated(
assetPackageId: $assetPackageId,
filters: $filters,
pagination: $pagination,
search: $search
) {
meta {
...PaginationMetaFragment
}
rows {
...AssetPackageHistoryFragment
}
total
}
}
Variables
{
"assetPackageId": HashedId,
"filters": [FilterParamsInput],
"pagination": PaginationParams,
"search": "xyz789"
}
Response
{
"data": {
"assetPackageHistoryPaginated": {
"meta": PaginationMeta,
"rows": [AssetPackageHistory],
"total": 123
}
}
}
assetPackagePaginated
Description
Retrieve a paginated list of asset packages
Response
Returns an AssetPackagePaginatedResult!
Arguments
| Name | Description |
|---|---|
filters - [FilterParamsInput]
|
Filter criteria |
pagination - PaginationParams!
|
Pagination |
search - String
|
Text search query for filtering results |
Example
Query
query assetPackagePaginated(
$filters: [FilterParamsInput],
$pagination: PaginationParams!,
$search: String
) {
assetPackagePaginated(
filters: $filters,
pagination: $pagination,
search: $search
) {
meta {
...PaginationMetaFragment
}
rows {
...AssetPackageFragment
}
total
}
}
Variables
{
"filters": [FilterParamsInput],
"pagination": PaginationParams,
"search": "abc123"
}
Response
{
"data": {
"assetPackagePaginated": {
"meta": PaginationMeta,
"rows": [AssetPackage],
"total": 123
}
}
}
assetPackageSiteMoveRemovalCount
Description
Count how many of the given assets would be removed from their asset packages by moving them to the site
Response
Returns an Int!
Arguments
| Name | Description |
|---|---|
assetIds - [HashedId!]!
|
IDs of the assets that would be moved |
siteId - HashedId!
|
ID of the site the assets would be moved to |
Example
Query
query assetPackageSiteMoveRemovalCount(
$assetIds: [HashedId!]!,
$siteId: HashedId!
) {
assetPackageSiteMoveRemovalCount(
assetIds: $assetIds,
siteId: $siteId
)
}
Variables
{
"assetIds": [HashedId],
"siteId": HashedId
}
Response
{"data": {"assetPackageSiteMoveRemovalCount": 123}}
assetRequest
Description
Retrieve asset requests by IDs or registration request
Response
Returns [AssetRequest!]!
Arguments
| Name | Description |
|---|---|
byRegistrationRequestId - [HashedId!]
|
Filter by registration request IDs |
id - [HashedId!]
|
List of unique identifiers |
Example
Query
query assetRequest(
$byRegistrationRequestId: [HashedId!],
$id: [HashedId!]
) {
assetRequest(
byRegistrationRequestId: $byRegistrationRequestId,
id: $id
) {
asset {
...AssetFragment
}
assetId
byRegistrationRequest {
...RegistrationRequestFragment
}
byRegistrationRequestId
created
denialMessage
forGroup {
...GroupFragment
}
forGroupId
id
isDenied
isProcessed
permalinkUrl
processedByUser {
...UserFragment
}
processedByUserId
requestedByGroup {
...GroupFragment
}
requestedByGroupId
requestedByUser {
...UserFragment
}
requestedByUserId
serial
updated
verificationDocument {
...DocumentFragment
}
verificationDocumentId
}
}
Variables
{
"byRegistrationRequestId": [HashedId],
"id": [HashedId]
}
Response
{
"data": {
"assetRequest": [
{
"asset": Asset,
"assetId": HashedId,
"byRegistrationRequest": RegistrationRequest,
"byRegistrationRequestId": HashedId,
"created": 1592577642,
"denialMessage": "abc123",
"forGroup": Group,
"forGroupId": HashedId,
"id": HashedId,
"isDenied": false,
"isProcessed": true,
"permalinkUrl": "xyz789",
"processedByUser": User,
"processedByUserId": HashedId,
"requestedByGroup": Group,
"requestedByGroupId": HashedId,
"requestedByUser": User,
"requestedByUserId": HashedId,
"serial": "xyz789",
"updated": 1592577642,
"verificationDocument": Document,
"verificationDocumentId": HashedId
}
]
}
}
assetSiteAssignment
Description
Retrieve a single asset site assignment by ID
Response
Returns an AssetSiteAssignment!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Unique identifier of the entity |
Example
Query
query assetSiteAssignment($id: HashedId!) {
assetSiteAssignment(id: $id) {
asset {
...AssetFragment
}
assetId
averageDailyRate
costCenter
costCenterResolved
costCenterSelected
costCenterSource
costCenterSourceResolved
costs {
...AssetSiteAssignmentCostDtoFragment
}
created
dailyRateInPeriod
externalId
id
notes
onSiteFrom
onSiteUntil
publicId
site {
...SiteFragment
}
siteId
status
totalCosts
totalCostsInPeriod
totalDaysBilled
totalDaysBilledInPeriod
totalDaysPlanned
totalDaysPlannedInPeriod
totalDaysUntilNow
totalDaysUntilNowInPeriod
updated
}
}
Variables
{"id": HashedId}
Response
{
"data": {
"assetSiteAssignment": {
"asset": Asset,
"assetId": HashedId,
"averageDailyRate": 123.45,
"costCenter": "abc123",
"costCenterResolved": "abc123",
"costCenterSelected": "xyz789",
"costCenterSource": "ASSET",
"costCenterSourceResolved": "ASSET",
"costs": [AssetSiteAssignmentCostDto],
"created": 1592577642,
"dailyRateInPeriod": 123.45,
"externalId": "abc123",
"id": HashedId,
"notes": "abc123",
"onSiteFrom": "2007-12-03T10:15:30Z",
"onSiteUntil": "2007-12-03T10:15:30Z",
"publicId": 123,
"site": Site,
"siteId": HashedId,
"status": "ACTIVE",
"totalCosts": 987.65,
"totalCostsInPeriod": 987.65,
"totalDaysBilled": 123,
"totalDaysBilledInPeriod": 987,
"totalDaysPlanned": 987,
"totalDaysPlannedInPeriod": 987,
"totalDaysUntilNow": 123,
"totalDaysUntilNowInPeriod": 987,
"updated": 1592577642
}
}
}
assetSiteAssignmentPaginated
Description
Retrieve a paginated list of asset site assignments
Response
Returns an AssetSiteAssignmentPaginatedResult!
Arguments
| Name | Description |
|---|---|
dateRange - AssetSiteAssignmentDateRangeFilterInput
|
Date range to filter site assignments |
filters - [FilterParamsInput]
|
Filter criteria |
isArchivedShown - Boolean
|
Whether to include archived assignments in results |
pagination - PaginationParams!
|
Pagination |
search - String
|
Text search query for filtering results |
Example
Query
query assetSiteAssignmentPaginated(
$dateRange: AssetSiteAssignmentDateRangeFilterInput,
$filters: [FilterParamsInput],
$isArchivedShown: Boolean,
$pagination: PaginationParams!,
$search: String
) {
assetSiteAssignmentPaginated(
dateRange: $dateRange,
filters: $filters,
isArchivedShown: $isArchivedShown,
pagination: $pagination,
search: $search
) {
meta {
...PaginationMetaFragment
}
rows {
...AssetSiteAssignmentFragment
}
}
}
Variables
{
"dateRange": AssetSiteAssignmentDateRangeFilterInput,
"filters": [FilterParamsInput],
"isArchivedShown": true,
"pagination": PaginationParams,
"search": "xyz789"
}
Response
{
"data": {
"assetSiteAssignmentPaginated": {
"meta": PaginationMeta,
"rows": [AssetSiteAssignment]
}
}
}
assetSiteTotals
Description
Counts across the full filtered asset list, independent of pagination
Response
Returns an AssetSiteTotals!
Arguments
| Name | Description |
|---|---|
filter - AssetFilterInput
|
Example
Query
query assetSiteTotals($filter: AssetFilterInput) {
assetSiteTotals(filter: $filter) {
assignmentsEndingNext30Days
byAvailability {
...AssetSiteAvailabilityCountFragment
}
byCategory {
...AssetSiteCategoryCountFragment
}
byCategoryTruncated
count
}
}
Variables
{"filter": AssetFilterInput}
Response
{
"data": {
"assetSiteTotals": {
"assignmentsEndingNext30Days": 123,
"byAvailability": [AssetSiteAvailabilityCount],
"byCategory": [AssetSiteCategoryCount],
"byCategoryTruncated": false,
"count": 987
}
}
}
assetType
Description
List asset types with optional name and ID filters (deprecated)
Response
Returns [AssetType!]
Arguments
| Name | Description |
|---|---|
id - [HashedId!]
|
Asset type IDs to filter by |
name - String
|
Asset type name to search for |
Example
Query
query assetType(
$id: [HashedId!],
$name: String
) {
assetType(
id: $id,
name: $name
) {
assetsCount
canEdit
chargingVoltageThreshold
created
customFields {
...CustomFieldFragment
}
dailyRate
defaultClassification
deleted
deletedAssetsCount
deletedBy
displayedRuntimeCode
documents {
...DocumentFragment
}
externalId
forManufacturer {
...ManufacturerFragment
}
forManufacturerId
group {
...GroupFragment
}
groupId
hasAssortmentList
hasVNC
id
image
inAssetCategory {
...AssetCategoryFragment
}
inAssetCategoryId
inAssetIntegration {
...AssetIntegrationFragment
}
inAssetIntegrationId
isApprovedAssetType
isLockable
isLockedState
isPollingAvailable
isPrivate
isRoom
isVehicle
lockAssetType {
...AssetTypeFragment
}
lockAssetTypeId
make
minDaysBilled
minimalBatteryVoltage
name {
...TranslationFragment
}
nameId
namespace
nominalBatteryVoltage
optimalBatteryVoltage
optimalRuntime
parentParameterKey
preset
presetInitialValue
presetLeasingCostTermination
presetLeasingLevel
presetLeasingMonthlyCost
presetLeasingPartner
presetLeasingPartnerContractNumber
presetLeasingPartnerContractPositionNumber
presetLeasingRenewalRate
presetLowValueAsset
presetMachineCheckInterval
presetMachineCheckLastCreated
presetMachineCheckName
presetOwnership
presetPurchaseCost
presetPurchaseDepreciationMonths
presetPurchaseDepriciation
presetRentalCostTermination
presetRentalMonthlyCost
presetRentalRenewalRate
presetServiceContractCostPerYear
presetServiceContractEmail
presetServiceContractLevel
presetServiceContractPartner
presetSupplier
presetWarrantyPeriod
publicId
reclassifiedAssetsCount
restoreBlockers
restrictedType
rules {
...RuleFragment
}
servicePackage {
...ServicePackageFragment
}
servicePackageId
suggestedPartner {
...AvailableHandlerFragment
}
suggestedServicePartner
ticketContentFields {
...TicketContentFieldFragment
}
updated
userManual
workUnitId
workUnits {
...TranslationFragment
}
workUnitsPerHour
}
}
Variables
{
"id": [HashedId],
"name": "abc123"
}
Response
{
"data": {
"assetType": [
{
"assetsCount": 987,
"canEdit": true,
"chargingVoltageThreshold": 987.65,
"created": 1592577642,
"customFields": [CustomField],
"dailyRate": 987.65,
"defaultClassification": "GENERIC",
"deleted": 1592577642,
"deletedAssetsCount": 987,
"deletedBy": "abc123",
"displayedRuntimeCode": "RUNTIME",
"documents": [Document],
"externalId": "xyz789",
"forManufacturer": Manufacturer,
"forManufacturerId": HashedId,
"group": Group,
"groupId": HashedId,
"hasAssortmentList": true,
"hasVNC": false,
"id": HashedId,
"image": "xyz789",
"inAssetCategory": AssetCategory,
"inAssetCategoryId": HashedId,
"inAssetIntegration": AssetIntegration,
"inAssetIntegrationId": HashedId,
"isApprovedAssetType": true,
"isLockable": false,
"isLockedState": true,
"isPollingAvailable": false,
"isPrivate": false,
"isRoom": true,
"isVehicle": false,
"lockAssetType": AssetType,
"lockAssetTypeId": HashedId,
"make": "xyz789",
"minDaysBilled": 987,
"minimalBatteryVoltage": 123.45,
"name": Translation,
"nameId": HashedId,
"namespace": "xyz789",
"nominalBatteryVoltage": 987.65,
"optimalBatteryVoltage": 123.45,
"optimalRuntime": 123.45,
"parentParameterKey": "input2",
"preset": false,
"presetInitialValue": "xyz789",
"presetLeasingCostTermination": "xyz789",
"presetLeasingLevel": "abc123",
"presetLeasingMonthlyCost": "xyz789",
"presetLeasingPartner": "xyz789",
"presetLeasingPartnerContractNumber": "xyz789",
"presetLeasingPartnerContractPositionNumber": "abc123",
"presetLeasingRenewalRate": "xyz789",
"presetLowValueAsset": true,
"presetMachineCheckInterval": 123,
"presetMachineCheckLastCreated": false,
"presetMachineCheckName": "abc123",
"presetOwnership": "CUSTOMER_MACHINE",
"presetPurchaseCost": "xyz789",
"presetPurchaseDepreciationMonths": 123,
"presetPurchaseDepriciation": 987,
"presetRentalCostTermination": "xyz789",
"presetRentalMonthlyCost": "abc123",
"presetRentalRenewalRate": "xyz789",
"presetServiceContractCostPerYear": "xyz789",
"presetServiceContractEmail": "abc123",
"presetServiceContractLevel": "xyz789",
"presetServiceContractPartner": "xyz789",
"presetSupplier": "xyz789",
"presetWarrantyPeriod": 123,
"publicId": 987,
"reclassifiedAssetsCount": 123,
"restoreBlockers": ["PARENT_ASSET_CATEGORY_DELETED"],
"restrictedType": false,
"rules": [Rule],
"servicePackage": ServicePackage,
"servicePackageId": HashedId,
"suggestedPartner": AvailableHandler,
"suggestedServicePartner": "xyz789",
"ticketContentFields": [TicketContentField],
"updated": 1592577642,
"userManual": "abc123",
"workUnitId": HashedId,
"workUnits": Translation,
"workUnitsPerHour": 123.45
}
]
}
}
assetTypeById
Description
Retrieve asset type by id
Response
Returns an AssetType
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Unique identifier of the entity |
Example
Query
query assetTypeById($id: HashedId!) {
assetTypeById(id: $id) {
assetsCount
canEdit
chargingVoltageThreshold
created
customFields {
...CustomFieldFragment
}
dailyRate
defaultClassification
deleted
deletedAssetsCount
deletedBy
displayedRuntimeCode
documents {
...DocumentFragment
}
externalId
forManufacturer {
...ManufacturerFragment
}
forManufacturerId
group {
...GroupFragment
}
groupId
hasAssortmentList
hasVNC
id
image
inAssetCategory {
...AssetCategoryFragment
}
inAssetCategoryId
inAssetIntegration {
...AssetIntegrationFragment
}
inAssetIntegrationId
isApprovedAssetType
isLockable
isLockedState
isPollingAvailable
isPrivate
isRoom
isVehicle
lockAssetType {
...AssetTypeFragment
}
lockAssetTypeId
make
minDaysBilled
minimalBatteryVoltage
name {
...TranslationFragment
}
nameId
namespace
nominalBatteryVoltage
optimalBatteryVoltage
optimalRuntime
parentParameterKey
preset
presetInitialValue
presetLeasingCostTermination
presetLeasingLevel
presetLeasingMonthlyCost
presetLeasingPartner
presetLeasingPartnerContractNumber
presetLeasingPartnerContractPositionNumber
presetLeasingRenewalRate
presetLowValueAsset
presetMachineCheckInterval
presetMachineCheckLastCreated
presetMachineCheckName
presetOwnership
presetPurchaseCost
presetPurchaseDepreciationMonths
presetPurchaseDepriciation
presetRentalCostTermination
presetRentalMonthlyCost
presetRentalRenewalRate
presetServiceContractCostPerYear
presetServiceContractEmail
presetServiceContractLevel
presetServiceContractPartner
presetSupplier
presetWarrantyPeriod
publicId
reclassifiedAssetsCount
restoreBlockers
restrictedType
rules {
...RuleFragment
}
servicePackage {
...ServicePackageFragment
}
servicePackageId
suggestedPartner {
...AvailableHandlerFragment
}
suggestedServicePartner
ticketContentFields {
...TicketContentFieldFragment
}
updated
userManual
workUnitId
workUnits {
...TranslationFragment
}
workUnitsPerHour
}
}
Variables
{"id": HashedId}
Response
{
"data": {
"assetTypeById": {
"assetsCount": 987,
"canEdit": true,
"chargingVoltageThreshold": 123.45,
"created": 1592577642,
"customFields": [CustomField],
"dailyRate": 987.65,
"defaultClassification": "GENERIC",
"deleted": 1592577642,
"deletedAssetsCount": 987,
"deletedBy": "xyz789",
"displayedRuntimeCode": "RUNTIME",
"documents": [Document],
"externalId": "abc123",
"forManufacturer": Manufacturer,
"forManufacturerId": HashedId,
"group": Group,
"groupId": HashedId,
"hasAssortmentList": true,
"hasVNC": true,
"id": HashedId,
"image": "abc123",
"inAssetCategory": AssetCategory,
"inAssetCategoryId": HashedId,
"inAssetIntegration": AssetIntegration,
"inAssetIntegrationId": HashedId,
"isApprovedAssetType": false,
"isLockable": true,
"isLockedState": false,
"isPollingAvailable": true,
"isPrivate": true,
"isRoom": false,
"isVehicle": false,
"lockAssetType": AssetType,
"lockAssetTypeId": HashedId,
"make": "abc123",
"minDaysBilled": 987,
"minimalBatteryVoltage": 123.45,
"name": Translation,
"nameId": HashedId,
"namespace": "xyz789",
"nominalBatteryVoltage": 123.45,
"optimalBatteryVoltage": 123.45,
"optimalRuntime": 987.65,
"parentParameterKey": "input2",
"preset": true,
"presetInitialValue": "xyz789",
"presetLeasingCostTermination": "abc123",
"presetLeasingLevel": "xyz789",
"presetLeasingMonthlyCost": "abc123",
"presetLeasingPartner": "xyz789",
"presetLeasingPartnerContractNumber": "abc123",
"presetLeasingPartnerContractPositionNumber": "xyz789",
"presetLeasingRenewalRate": "xyz789",
"presetLowValueAsset": false,
"presetMachineCheckInterval": 123,
"presetMachineCheckLastCreated": false,
"presetMachineCheckName": "xyz789",
"presetOwnership": "CUSTOMER_MACHINE",
"presetPurchaseCost": "abc123",
"presetPurchaseDepreciationMonths": 987,
"presetPurchaseDepriciation": 123,
"presetRentalCostTermination": "xyz789",
"presetRentalMonthlyCost": "xyz789",
"presetRentalRenewalRate": "xyz789",
"presetServiceContractCostPerYear": "abc123",
"presetServiceContractEmail": "xyz789",
"presetServiceContractLevel": "xyz789",
"presetServiceContractPartner": "abc123",
"presetSupplier": "xyz789",
"presetWarrantyPeriod": 123,
"publicId": 123,
"reclassifiedAssetsCount": 987,
"restoreBlockers": ["PARENT_ASSET_CATEGORY_DELETED"],
"restrictedType": false,
"rules": [Rule],
"servicePackage": ServicePackage,
"servicePackageId": HashedId,
"suggestedPartner": AvailableHandler,
"suggestedServicePartner": "abc123",
"ticketContentFields": [TicketContentField],
"updated": 1592577642,
"userManual": "xyz789",
"workUnitId": HashedId,
"workUnits": Translation,
"workUnitsPerHour": 987.65
}
}
}
assetTypesDiscoverable
Description
Paginated list of discoverable asset types available for use
Response
Returns an AssetTypePaginatedDto!
Arguments
| Name | Description |
|---|---|
filters - [FilterParamsInput]
|
Filter criteria |
pagination - PaginationParams!
|
Pagination |
search - String
|
Text search query for filtering results |
Example
Query
query assetTypesDiscoverable(
$filters: [FilterParamsInput],
$pagination: PaginationParams!,
$search: String
) {
assetTypesDiscoverable(
filters: $filters,
pagination: $pagination,
search: $search
) {
meta {
...PaginationMetaFragment
}
rows {
...AssetTypeFragment
}
total
}
}
Variables
{
"filters": [FilterParamsInput],
"pagination": PaginationParams,
"search": "xyz789"
}
Response
{
"data": {
"assetTypesDiscoverable": {
"meta": PaginationMeta,
"rows": [AssetType],
"total": 123
}
}
}
assetTypesMainGroupPaginated
Description
Paginated list of editable asset types from main group only
Response
Returns an AssetTypePaginatedDto!
Arguments
| Name | Description |
|---|---|
filters - [FilterParamsInput]
|
Filter criteria |
pagination - PaginationParams!
|
Pagination |
search - String
|
Text search query for filtering results |
Example
Query
query assetTypesMainGroupPaginated(
$filters: [FilterParamsInput],
$pagination: PaginationParams!,
$search: String
) {
assetTypesMainGroupPaginated(
filters: $filters,
pagination: $pagination,
search: $search
) {
meta {
...PaginationMetaFragment
}
rows {
...AssetTypeFragment
}
total
}
}
Variables
{
"filters": [FilterParamsInput],
"pagination": PaginationParams,
"search": "xyz789"
}
Response
{
"data": {
"assetTypesMainGroupPaginated": {
"meta": PaginationMeta,
"rows": [AssetType],
"total": 987
}
}
}
assetTypesPaginated
Description
Paginated list of editable asset types for management
Response
Returns an AssetTypePaginatedDto!
Arguments
| Name | Description |
|---|---|
filters - [FilterParamsInput]
|
Filter criteria |
pagination - PaginationParams!
|
Pagination |
search - String
|
Text search query for filtering results |
Example
Query
query assetTypesPaginated(
$filters: [FilterParamsInput],
$pagination: PaginationParams!,
$search: String
) {
assetTypesPaginated(
filters: $filters,
pagination: $pagination,
search: $search
) {
meta {
...PaginationMetaFragment
}
rows {
...AssetTypeFragment
}
total
}
}
Variables
{
"filters": [FilterParamsInput],
"pagination": PaginationParams,
"search": "abc123"
}
Response
{
"data": {
"assetTypesPaginated": {
"meta": PaginationMeta,
"rows": [AssetType],
"total": 987
}
}
}
assetV2
Description
Fetch a single asset by its ID
Example
Query
query assetV2($id: HashedId!) {
assetV2(id: $id) {
BLE
activeCustomFields {
...CustomFieldFragment
}
activity {
...AssetActivityFragment
}
allowReservations
archivedCustomFields {
...CustomFieldFragment
}
assetCategory {
...AssetCategoryFragment
}
assetCategoryId
assetPackageAsset {
...AssetPackageAssetFragment
}
assetSiteAssignments {
...AssetSiteAssignmentFragment
}
assetType {
...AssetTypeFragment
}
assetTypeId
assignedSiteLocation {
...SiteLocationFragment
}
assignedToGroup {
...GroupFragment
}
assignedToGroupId
assignedToPreviousSite {
...SiteFragment
}
assignedToSite {
...SiteFragment
}
assignedToSiteId
assignment
availability
availabilityId
batteryLevel
canEdit
checkSchedule {
...AssetCheckScheduleFragment
}
checkScheduleRule {
...AssetCheckScheduleRuleFragment
}
classification
client
commissionDate
costCenter
costLines {
...CostLineFragment
}
costs {
...CostLineFragment
}
costsSum
costsSumBattery
costsSumCertification
costsSumConsumables
costsSumFuel
costsSumLabor
costsSumLogistics
costsSumMaintenance
costsSumOther
costsSumParts
costsSumRepair
costsSumTaxes
countNonArchivedSiteAssignments
created
createdByGroup {
...GroupFragment
}
createdByGroupId
currency
currentAlerts {
...EventFragment
}
customer
customerEditable
dailyRate
deleted
deletedBy
description {
...TranslationFragment
}
descriptionId
displayParameters {
...DisplayParameterFragment
}
documents {
...DocumentFragment
}
eventIds
events {
...EventFragment
}
externalId
firmwareVersion
firstTripDate
fixedAssetNumber
floorRoom
gatewayAsset {
...AssetFragment
}
geofence {
...AssetGeofenceFragment
}
group {
...GroupFragment
}
groupId
groupTimezone
id
image
imei
initialValue
inlineImage {
...DocumentInlineFileFragment
}
integrationId
integrationSummary {
...AssetIntegrationSummaryFragment
}
inventoryNumber
inventoryPrefix
inventorySequence
iot {
...IotAssetDataFragment
}
iotIntegrationProvider
iotRuleEntryEvents {
...RuleEntryEventFragment
}
isCommodity
isInStationaryGateway
isIntegrationSyncPaused
isLocked
isUsedPrivately
lastContactInfo {
...AssetLastContactInfoFragment
}
lastContacted
lastContactedSource
lastIntegrationRun {
...AssetIntegrationRunFragment
}
lastTicketDate
latestAssetData
latestTrip {
...AssetTripLatestFragment
}
leasingCostTermination
leasingEnd
leasingLevel
leasingMonthlyCost
leasingPartner
leasingPartnerContractNumber
leasingPartnerContractPositionNumber
leasingRenewalDate
leasingRenewalRate
leasingStart
location {
...LocationFragment
}
locationHiddenReason
locationV2 {
... on Location {
...LocationFragment
}
... on SiteLocation {
...SiteLocationFragment
}
... on TripLocation {
...TripLocationFragment
}
}
maintenanceSchedule {
...AssetMaintenanceScheduleFragment
}
manuals {
...DocumentFragment
}
manufacturer {
...ManufacturerFragment
}
manufacturerId
minDaysBilled
module {
...ModuleFragment
}
moduleConnectionStatus
moduleId
nextService
nonWorkingDays {
...AssetNonWorkingDaysFragment
}
operationalCosts {
...CostFragment
}
optionalAssetID
ownership
ownershipId
parameterOffsetIds
parameterOffsets {
...AssetParameterOffsetFragment
}
parameterSets {
...ParameterSetFragment
}
partsNumber
plateNumber
previousSiteId
primaryServicePackage {
...ServicePackageWithSourceTypeFragment
}
projectNumber
publicId
purchaseCost
purchaseCurrentBookValue
purchaseDepreciation
purchaseDepreciationMonths
purchaseDepreciationRemainingMonths
purchaseDepriciation
purchaseInvoiceNumber
purchaseLowValueAsset
purchaseMonthlyCost
purchaseStart
purchaseWarrantyEnd
purchaseWarrantyPeriod
purchaseWarrantyStart
qrAttached
quantity
relatedGroups {
...RelatedGroupFragment
}
rentalCostTermination
rentalEnd
rentalMonthlyCost
rentalRenewalDate
rentalRenewalRate
rentalStart
reservationLineItemIssues {
...ReservationLineItemIssueFragment
}
reservations {
...LegacyAssetReservationFragment
}
resolvedCurrency
responsiblePerson
responsiblePersonUpdatedAt
responsiblePersonUpdatedByUser {
...UserFragment
}
responsiblePersonUpdatedByUserId
restoreBlockers
runtimeWithOffsetInSeconds
scanTime
serial
serviceContract
serviceContractCostPerYear
serviceContractDocuments {
...DocumentFragment
}
serviceContractEmail
serviceContractEnd
serviceContractFrom
serviceContractLevel
serviceContractPartner
serviceContractStart
serviceContractTo
services {
...ServiceFragment
}
shouldShowLastSeenByGateway
shouldUpdateActiveAssetSiteAssignment
site {
...SiteFragment
}
siteId
state {
...AssetStateFragment
}
stateV2 {
...AssetStateItemFragment
}
status {
...StatusItemFragment
}
subscription
supplier
tickets {
...TicketFragment
}
ticketsCount
totalUtilization
totalWorkDone
trips {
...TripFragment
}
unavailability {
...AssetUnavailabilityFragment
}
updated
utilization {
...AssetUtilizationFragment
}
uuid
vncTunnelUrl
workOrders {
...WorkOrderV2Fragment
}
workingHours {
...AssetWorkingHoursFragment
}
workingHoursNotification {
...RuleNotificationRelationFragment
}
workingHoursSettings
}
}
Variables
{"id": HashedId}
Response
{
"data": {
"assetV2": {
"BLE": "abc123",
"activeCustomFields": [CustomField],
"activity": AssetActivity,
"allowReservations": true,
"archivedCustomFields": [CustomField],
"assetCategory": AssetCategory,
"assetCategoryId": HashedId,
"assetPackageAsset": AssetPackageAsset,
"assetSiteAssignments": [AssetSiteAssignment],
"assetType": AssetType,
"assetTypeId": HashedId,
"assignedSiteLocation": SiteLocation,
"assignedToGroup": Group,
"assignedToGroupId": HashedId,
"assignedToPreviousSite": Site,
"assignedToSite": Site,
"assignedToSiteId": HashedId,
"assignment": "abc123",
"availability": "BORROWED",
"availabilityId": HashedId,
"batteryLevel": "xyz789",
"canEdit": false,
"checkSchedule": AssetCheckSchedule,
"checkScheduleRule": AssetCheckScheduleRule,
"classification": "GENERIC",
"client": "abc123",
"commissionDate": "2007-12-03",
"costCenter": "abc123",
"costLines": [CostLine],
"costs": [CostLine],
"costsSum": 987.65,
"costsSumBattery": 123.45,
"costsSumCertification": 987.65,
"costsSumConsumables": 123.45,
"costsSumFuel": 987.65,
"costsSumLabor": 987.65,
"costsSumLogistics": 123.45,
"costsSumMaintenance": 987.65,
"costsSumOther": 123.45,
"costsSumParts": 123.45,
"costsSumRepair": 123.45,
"costsSumTaxes": 987.65,
"countNonArchivedSiteAssignments": 123,
"created": 1592577642,
"createdByGroup": Group,
"createdByGroupId": HashedId,
"currency": "xyz789",
"currentAlerts": [Event],
"customer": "xyz789",
"customerEditable": true,
"dailyRate": 987.65,
"deleted": 1592577642,
"deletedBy": "xyz789",
"description": Translation,
"descriptionId": HashedId,
"displayParameters": [DisplayParameter],
"documents": [Document],
"eventIds": [HashedId],
"events": [Event],
"externalId": "xyz789",
"firmwareVersion": "abc123",
"firstTripDate": 987.65,
"fixedAssetNumber": "xyz789",
"floorRoom": "xyz789",
"gatewayAsset": Asset,
"geofence": AssetGeofence,
"group": Group,
"groupId": HashedId,
"groupTimezone": "xyz789",
"id": HashedId,
"image": "xyz789",
"imei": "abc123",
"initialValue": "abc123",
"inlineImage": DocumentInlineFile,
"integrationId": HashedId,
"integrationSummary": AssetIntegrationSummary,
"inventoryNumber": "abc123",
"inventoryPrefix": "abc123",
"inventorySequence": 123,
"iot": IotAssetData,
"iotIntegrationProvider": "ACHELIS_PROVIDER",
"iotRuleEntryEvents": [RuleEntryEvent],
"isCommodity": true,
"isInStationaryGateway": false,
"isIntegrationSyncPaused": false,
"isLocked": false,
"isUsedPrivately": false,
"lastContactInfo": AssetLastContactInfo,
"lastContacted": 1592577642,
"lastContactedSource": "BLE",
"lastIntegrationRun": AssetIntegrationRun,
"lastTicketDate": "2007-12-03T10:15:30Z",
"latestAssetData": {},
"latestTrip": AssetTripLatest,
"leasingCostTermination": "abc123",
"leasingEnd": "2007-12-03",
"leasingLevel": "abc123",
"leasingMonthlyCost": "xyz789",
"leasingPartner": "xyz789",
"leasingPartnerContractNumber": "xyz789",
"leasingPartnerContractPositionNumber": "abc123",
"leasingRenewalDate": "2007-12-03",
"leasingRenewalRate": "xyz789",
"leasingStart": "2007-12-03",
"location": Location,
"locationHiddenReason": "PRIVATE_USE",
"locationV2": Location,
"maintenanceSchedule": AssetMaintenanceSchedule,
"manuals": [Document],
"manufacturer": Manufacturer,
"manufacturerId": HashedId,
"minDaysBilled": 123,
"module": Module,
"moduleConnectionStatus": "disconnected",
"moduleId": HashedId,
"nextService": 987,
"nonWorkingDays": [AssetNonWorkingDays],
"operationalCosts": [Cost],
"optionalAssetID": "xyz789",
"ownership": "CUSTOMER_MACHINE",
"ownershipId": HashedId,
"parameterOffsetIds": [HashedId],
"parameterOffsets": [AssetParameterOffset],
"parameterSets": [ParameterSet],
"partsNumber": "xyz789",
"plateNumber": "xyz789",
"previousSiteId": HashedId,
"primaryServicePackage": ServicePackageWithSourceType,
"projectNumber": "xyz789",
"publicId": 123,
"purchaseCost": "abc123",
"purchaseCurrentBookValue": "abc123",
"purchaseDepreciation": 987.65,
"purchaseDepreciationMonths": 987,
"purchaseDepreciationRemainingMonths": 123,
"purchaseDepriciation": 987,
"purchaseInvoiceNumber": "xyz789",
"purchaseLowValueAsset": false,
"purchaseMonthlyCost": "xyz789",
"purchaseStart": "2007-12-03",
"purchaseWarrantyEnd": "2007-12-03",
"purchaseWarrantyPeriod": 123,
"purchaseWarrantyStart": "2007-12-03",
"qrAttached": true,
"quantity": 987,
"relatedGroups": [RelatedGroup],
"rentalCostTermination": "xyz789",
"rentalEnd": "2007-12-03",
"rentalMonthlyCost": "abc123",
"rentalRenewalDate": "2007-12-03",
"rentalRenewalRate": "abc123",
"rentalStart": "2007-12-03",
"reservationLineItemIssues": [
ReservationLineItemIssue
],
"reservations": [LegacyAssetReservation],
"resolvedCurrency": "AED",
"responsiblePerson": "abc123",
"responsiblePersonUpdatedAt": 1592577642,
"responsiblePersonUpdatedByUser": User,
"responsiblePersonUpdatedByUserId": HashedId,
"restoreBlockers": ["PARENT_ASSET_CATEGORY_DELETED"],
"runtimeWithOffsetInSeconds": 123,
"scanTime": "2007-12-03",
"serial": "xyz789",
"serviceContract": true,
"serviceContractCostPerYear": "abc123",
"serviceContractDocuments": [Document],
"serviceContractEmail": "abc123",
"serviceContractEnd": "2007-12-03",
"serviceContractFrom": 1592577642,
"serviceContractLevel": "xyz789",
"serviceContractPartner": "xyz789",
"serviceContractStart": "2007-12-03",
"serviceContractTo": 1592577642,
"services": [Service],
"shouldShowLastSeenByGateway": true,
"shouldUpdateActiveAssetSiteAssignment": true,
"site": Site,
"siteId": HashedId,
"state": AssetState,
"stateV2": [AssetStateItem],
"status": [StatusItem],
"subscription": "abc123",
"supplier": "abc123",
"tickets": [Ticket],
"ticketsCount": "xyz789",
"totalUtilization": "abc123",
"totalWorkDone": "abc123",
"trips": [Trip],
"unavailability": [AssetUnavailability],
"updated": 1592577642,
"utilization": AssetUtilization,
"uuid": "abc123",
"vncTunnelUrl": "abc123",
"workOrders": [WorkOrderV2],
"workingHours": AssetWorkingHours,
"workingHoursNotification": [
RuleNotificationRelation
],
"workingHoursSettings": {}
}
}
}
assets
Description
Fetch multiple assets by their IDs or UUIDs
Response
Returns [Asset!]!
Arguments
| Name | Description |
|---|---|
filters - [FilterParamsInput!]
|
Dynamic filter parameters for asset query |
ids - [HashedId!]
|
List of unique identifiers |
uuids - [String!]
|
Filter assets by their UUIDs |
Example
Query
query assets(
$filters: [FilterParamsInput!],
$ids: [HashedId!],
$uuids: [String!]
) {
assets(
filters: $filters,
ids: $ids,
uuids: $uuids
) {
BLE
activeCustomFields {
...CustomFieldFragment
}
activity {
...AssetActivityFragment
}
allowReservations
archivedCustomFields {
...CustomFieldFragment
}
assetCategory {
...AssetCategoryFragment
}
assetCategoryId
assetPackageAsset {
...AssetPackageAssetFragment
}
assetSiteAssignments {
...AssetSiteAssignmentFragment
}
assetType {
...AssetTypeFragment
}
assetTypeId
assignedSiteLocation {
...SiteLocationFragment
}
assignedToGroup {
...GroupFragment
}
assignedToGroupId
assignedToPreviousSite {
...SiteFragment
}
assignedToSite {
...SiteFragment
}
assignedToSiteId
assignment
availability
availabilityId
batteryLevel
canEdit
checkSchedule {
...AssetCheckScheduleFragment
}
checkScheduleRule {
...AssetCheckScheduleRuleFragment
}
classification
client
commissionDate
costCenter
costLines {
...CostLineFragment
}
costs {
...CostLineFragment
}
costsSum
costsSumBattery
costsSumCertification
costsSumConsumables
costsSumFuel
costsSumLabor
costsSumLogistics
costsSumMaintenance
costsSumOther
costsSumParts
costsSumRepair
costsSumTaxes
countNonArchivedSiteAssignments
created
createdByGroup {
...GroupFragment
}
createdByGroupId
currency
currentAlerts {
...EventFragment
}
customer
customerEditable
dailyRate
deleted
deletedBy
description {
...TranslationFragment
}
descriptionId
displayParameters {
...DisplayParameterFragment
}
documents {
...DocumentFragment
}
eventIds
events {
...EventFragment
}
externalId
firmwareVersion
firstTripDate
fixedAssetNumber
floorRoom
gatewayAsset {
...AssetFragment
}
geofence {
...AssetGeofenceFragment
}
group {
...GroupFragment
}
groupId
groupTimezone
id
image
imei
initialValue
inlineImage {
...DocumentInlineFileFragment
}
integrationId
integrationSummary {
...AssetIntegrationSummaryFragment
}
inventoryNumber
inventoryPrefix
inventorySequence
iot {
...IotAssetDataFragment
}
iotIntegrationProvider
iotRuleEntryEvents {
...RuleEntryEventFragment
}
isCommodity
isInStationaryGateway
isIntegrationSyncPaused
isLocked
isUsedPrivately
lastContactInfo {
...AssetLastContactInfoFragment
}
lastContacted
lastContactedSource
lastIntegrationRun {
...AssetIntegrationRunFragment
}
lastTicketDate
latestAssetData
latestTrip {
...AssetTripLatestFragment
}
leasingCostTermination
leasingEnd
leasingLevel
leasingMonthlyCost
leasingPartner
leasingPartnerContractNumber
leasingPartnerContractPositionNumber
leasingRenewalDate
leasingRenewalRate
leasingStart
location {
...LocationFragment
}
locationHiddenReason
locationV2 {
... on Location {
...LocationFragment
}
... on SiteLocation {
...SiteLocationFragment
}
... on TripLocation {
...TripLocationFragment
}
}
maintenanceSchedule {
...AssetMaintenanceScheduleFragment
}
manuals {
...DocumentFragment
}
manufacturer {
...ManufacturerFragment
}
manufacturerId
minDaysBilled
module {
...ModuleFragment
}
moduleConnectionStatus
moduleId
nextService
nonWorkingDays {
...AssetNonWorkingDaysFragment
}
operationalCosts {
...CostFragment
}
optionalAssetID
ownership
ownershipId
parameterOffsetIds
parameterOffsets {
...AssetParameterOffsetFragment
}
parameterSets {
...ParameterSetFragment
}
partsNumber
plateNumber
previousSiteId
primaryServicePackage {
...ServicePackageWithSourceTypeFragment
}
projectNumber
publicId
purchaseCost
purchaseCurrentBookValue
purchaseDepreciation
purchaseDepreciationMonths
purchaseDepreciationRemainingMonths
purchaseDepriciation
purchaseInvoiceNumber
purchaseLowValueAsset
purchaseMonthlyCost
purchaseStart
purchaseWarrantyEnd
purchaseWarrantyPeriod
purchaseWarrantyStart
qrAttached
quantity
relatedGroups {
...RelatedGroupFragment
}
rentalCostTermination
rentalEnd
rentalMonthlyCost
rentalRenewalDate
rentalRenewalRate
rentalStart
reservationLineItemIssues {
...ReservationLineItemIssueFragment
}
reservations {
...LegacyAssetReservationFragment
}
resolvedCurrency
responsiblePerson
responsiblePersonUpdatedAt
responsiblePersonUpdatedByUser {
...UserFragment
}
responsiblePersonUpdatedByUserId
restoreBlockers
runtimeWithOffsetInSeconds
scanTime
serial
serviceContract
serviceContractCostPerYear
serviceContractDocuments {
...DocumentFragment
}
serviceContractEmail
serviceContractEnd
serviceContractFrom
serviceContractLevel
serviceContractPartner
serviceContractStart
serviceContractTo
services {
...ServiceFragment
}
shouldShowLastSeenByGateway
shouldUpdateActiveAssetSiteAssignment
site {
...SiteFragment
}
siteId
state {
...AssetStateFragment
}
stateV2 {
...AssetStateItemFragment
}
status {
...StatusItemFragment
}
subscription
supplier
tickets {
...TicketFragment
}
ticketsCount
totalUtilization
totalWorkDone
trips {
...TripFragment
}
unavailability {
...AssetUnavailabilityFragment
}
updated
utilization {
...AssetUtilizationFragment
}
uuid
vncTunnelUrl
workOrders {
...WorkOrderV2Fragment
}
workingHours {
...AssetWorkingHoursFragment
}
workingHoursNotification {
...RuleNotificationRelationFragment
}
workingHoursSettings
}
}
Variables
{
"filters": [FilterParamsInput],
"ids": [HashedId],
"uuids": ["abc123"]
}
Response
{
"data": {
"assets": [
{
"BLE": "xyz789",
"activeCustomFields": [CustomField],
"activity": AssetActivity,
"allowReservations": true,
"archivedCustomFields": [CustomField],
"assetCategory": AssetCategory,
"assetCategoryId": HashedId,
"assetPackageAsset": AssetPackageAsset,
"assetSiteAssignments": [AssetSiteAssignment],
"assetType": AssetType,
"assetTypeId": HashedId,
"assignedSiteLocation": SiteLocation,
"assignedToGroup": Group,
"assignedToGroupId": HashedId,
"assignedToPreviousSite": Site,
"assignedToSite": Site,
"assignedToSiteId": HashedId,
"assignment": "abc123",
"availability": "BORROWED",
"availabilityId": HashedId,
"batteryLevel": "abc123",
"canEdit": true,
"checkSchedule": AssetCheckSchedule,
"checkScheduleRule": AssetCheckScheduleRule,
"classification": "GENERIC",
"client": "abc123",
"commissionDate": "2007-12-03",
"costCenter": "abc123",
"costLines": [CostLine],
"costs": [CostLine],
"costsSum": 987.65,
"costsSumBattery": 987.65,
"costsSumCertification": 123.45,
"costsSumConsumables": 987.65,
"costsSumFuel": 123.45,
"costsSumLabor": 123.45,
"costsSumLogistics": 123.45,
"costsSumMaintenance": 123.45,
"costsSumOther": 987.65,
"costsSumParts": 987.65,
"costsSumRepair": 987.65,
"costsSumTaxes": 123.45,
"countNonArchivedSiteAssignments": 123,
"created": 1592577642,
"createdByGroup": Group,
"createdByGroupId": HashedId,
"currency": "xyz789",
"currentAlerts": [Event],
"customer": "xyz789",
"customerEditable": true,
"dailyRate": 123.45,
"deleted": 1592577642,
"deletedBy": "abc123",
"description": Translation,
"descriptionId": HashedId,
"displayParameters": [DisplayParameter],
"documents": [Document],
"eventIds": [HashedId],
"events": [Event],
"externalId": "abc123",
"firmwareVersion": "xyz789",
"firstTripDate": 123.45,
"fixedAssetNumber": "abc123",
"floorRoom": "abc123",
"gatewayAsset": Asset,
"geofence": AssetGeofence,
"group": Group,
"groupId": HashedId,
"groupTimezone": "xyz789",
"id": HashedId,
"image": "xyz789",
"imei": "xyz789",
"initialValue": "abc123",
"inlineImage": DocumentInlineFile,
"integrationId": HashedId,
"integrationSummary": AssetIntegrationSummary,
"inventoryNumber": "xyz789",
"inventoryPrefix": "xyz789",
"inventorySequence": 123,
"iot": IotAssetData,
"iotIntegrationProvider": "ACHELIS_PROVIDER",
"iotRuleEntryEvents": [RuleEntryEvent],
"isCommodity": false,
"isInStationaryGateway": false,
"isIntegrationSyncPaused": false,
"isLocked": false,
"isUsedPrivately": true,
"lastContactInfo": AssetLastContactInfo,
"lastContacted": 1592577642,
"lastContactedSource": "BLE",
"lastIntegrationRun": AssetIntegrationRun,
"lastTicketDate": "2007-12-03T10:15:30Z",
"latestAssetData": {},
"latestTrip": AssetTripLatest,
"leasingCostTermination": "xyz789",
"leasingEnd": "2007-12-03",
"leasingLevel": "xyz789",
"leasingMonthlyCost": "xyz789",
"leasingPartner": "abc123",
"leasingPartnerContractNumber": "abc123",
"leasingPartnerContractPositionNumber": "xyz789",
"leasingRenewalDate": "2007-12-03",
"leasingRenewalRate": "abc123",
"leasingStart": "2007-12-03",
"location": Location,
"locationHiddenReason": "PRIVATE_USE",
"locationV2": Location,
"maintenanceSchedule": AssetMaintenanceSchedule,
"manuals": [Document],
"manufacturer": Manufacturer,
"manufacturerId": HashedId,
"minDaysBilled": 987,
"module": Module,
"moduleConnectionStatus": "disconnected",
"moduleId": HashedId,
"nextService": 987,
"nonWorkingDays": [AssetNonWorkingDays],
"operationalCosts": [Cost],
"optionalAssetID": "xyz789",
"ownership": "CUSTOMER_MACHINE",
"ownershipId": HashedId,
"parameterOffsetIds": [HashedId],
"parameterOffsets": [AssetParameterOffset],
"parameterSets": [ParameterSet],
"partsNumber": "xyz789",
"plateNumber": "abc123",
"previousSiteId": HashedId,
"primaryServicePackage": ServicePackageWithSourceType,
"projectNumber": "abc123",
"publicId": 123,
"purchaseCost": "abc123",
"purchaseCurrentBookValue": "abc123",
"purchaseDepreciation": 987.65,
"purchaseDepreciationMonths": 123,
"purchaseDepreciationRemainingMonths": 987,
"purchaseDepriciation": 123,
"purchaseInvoiceNumber": "abc123",
"purchaseLowValueAsset": true,
"purchaseMonthlyCost": "abc123",
"purchaseStart": "2007-12-03",
"purchaseWarrantyEnd": "2007-12-03",
"purchaseWarrantyPeriod": 987,
"purchaseWarrantyStart": "2007-12-03",
"qrAttached": true,
"quantity": 123,
"relatedGroups": [RelatedGroup],
"rentalCostTermination": "abc123",
"rentalEnd": "2007-12-03",
"rentalMonthlyCost": "abc123",
"rentalRenewalDate": "2007-12-03",
"rentalRenewalRate": "abc123",
"rentalStart": "2007-12-03",
"reservationLineItemIssues": [
ReservationLineItemIssue
],
"reservations": [LegacyAssetReservation],
"resolvedCurrency": "AED",
"responsiblePerson": "abc123",
"responsiblePersonUpdatedAt": 1592577642,
"responsiblePersonUpdatedByUser": User,
"responsiblePersonUpdatedByUserId": HashedId,
"restoreBlockers": ["PARENT_ASSET_CATEGORY_DELETED"],
"runtimeWithOffsetInSeconds": 987,
"scanTime": "2007-12-03",
"serial": "abc123",
"serviceContract": true,
"serviceContractCostPerYear": "abc123",
"serviceContractDocuments": [Document],
"serviceContractEmail": "abc123",
"serviceContractEnd": "2007-12-03",
"serviceContractFrom": 1592577642,
"serviceContractLevel": "xyz789",
"serviceContractPartner": "abc123",
"serviceContractStart": "2007-12-03",
"serviceContractTo": 1592577642,
"services": [Service],
"shouldShowLastSeenByGateway": false,
"shouldUpdateActiveAssetSiteAssignment": true,
"site": Site,
"siteId": HashedId,
"state": AssetState,
"stateV2": [AssetStateItem],
"status": [StatusItem],
"subscription": "abc123",
"supplier": "abc123",
"tickets": [Ticket],
"ticketsCount": "xyz789",
"totalUtilization": "abc123",
"totalWorkDone": "xyz789",
"trips": [Trip],
"unavailability": [AssetUnavailability],
"updated": 1592577642,
"utilization": AssetUtilization,
"uuid": "xyz789",
"vncTunnelUrl": "xyz789",
"workOrders": [WorkOrderV2],
"workingHours": AssetWorkingHours,
"workingHoursNotification": [
RuleNotificationRelation
],
"workingHoursSettings": {}
}
]
}
}
attention
Description
What needs attention across tickets, checks, work orders, assets, robots and parts: ranked items with the facts to judge severity, a suggested action each, counts per tier and the busiest sites
Response
Returns an Attention!
Arguments
| Name | Description |
|---|---|
assetIds - [HashedId!]
|
Assets to rank attention for, every asset in scope by default |
criticalAlertsOnly - Boolean
|
Include only unhandled critical errors from alerts, false by default |
kinds - [AttentionItemKind!]
|
Signals to include, all by default |
limit - Int
|
Items to return, 30 by default, at most 200 |
scope - AttentionScope
|
MINE (default): the sites the user manages and the sites of their tickets and work orders; ALL: every accessible site; SITES: the given sites |
siteIds - [HashedId!]
|
Sites of the SITES scope |
tiers - [AttentionTier!]
|
Tiers to return items for, ACT_TODAY and THIS_WEEK by default |
Example
Query
query attention(
$assetIds: [HashedId!],
$criticalAlertsOnly: Boolean,
$kinds: [AttentionItemKind!],
$limit: Int,
$scope: AttentionScope,
$siteIds: [HashedId!],
$tiers: [AttentionTier!]
) {
attention(
assetIds: $assetIds,
criticalAlertsOnly: $criticalAlertsOnly,
kinds: $kinds,
limit: $limit,
scope: $scope,
siteIds: $siteIds,
tiers: $tiers
) {
items {
...AttentionItemFragment
}
moneyAtStake {
...MoneyAtStakeFragment
}
scope
sites {
...AttentionSiteFragment
}
tierCounts {
...AttentionTierCountsFragment
}
urgencyInflatedSites {
...AttentionUrgencyInflationFragment
}
}
}
Variables
{
"assetIds": [HashedId],
"criticalAlertsOnly": true,
"kinds": ["ALERT"],
"limit": 123,
"scope": "ALL",
"siteIds": [HashedId],
"tiers": ["ACT_TODAY"]
}
Response
{
"data": {
"attention": {
"items": [AttentionItem],
"moneyAtStake": [MoneyAtStake],
"scope": "ALL",
"sites": [AttentionSite],
"tierCounts": AttentionTierCounts,
"urgencyInflatedSites": [AttentionUrgencyInflation]
}
}
}
availabilityEnum
Description
Legacy endpoint for asset availability statuses
Response
Returns an AvailabilityValArray
Example
Query
query availabilityEnum {
availabilityEnum {
data
}
}
Response
{"data": {"availabilityEnum": {"data": ["BORROWED"]}}}
availabilityEnumList
Description
List all possible asset availability statuses
Response
Returns [AssetAvailability!]!
Example
Query
query availabilityEnumList {
availabilityEnumList
}
Response
{"data": {"availabilityEnumList": ["BORROWED"]}}
availableHandlers
Description
List all users, teams, and groups that can be assigned to tickets for the current user
Response
Returns [AvailableHandler!]!
Example
Query
query availableHandlers {
availableHandlers {
displayName
handlerType
id
maskedEmail
publicId
subLabel
}
}
Response
{
"data": {
"availableHandlers": [
{
"displayName": "abc123",
"handlerType": "EXTERNALEMAIL",
"id": "xyz789",
"maskedEmail": "xyz789",
"publicId": 123,
"subLabel": "abc123"
}
]
}
}
availableTicketHandlers
availableHandlers
Description
List handlers available to process tickets
Response
Returns [AvailableHandler!]!
Example
Query
query availableTicketHandlers {
availableTicketHandlers {
displayName
handlerType
id
maskedEmail
publicId
subLabel
}
}
Response
{
"data": {
"availableTicketHandlers": [
{
"displayName": "abc123",
"handlerType": "EXTERNALEMAIL",
"id": "abc123",
"maskedEmail": "xyz789",
"publicId": 987,
"subLabel": "xyz789"
}
]
}
}
availableUserLabels
Description
Retrieve available user labels
Response
Returns [String!]!
Example
Query
query availableUserLabels {
availableUserLabels
}
Response
{
"data": {
"availableUserLabels": ["abc123"]
}
}
backgroundJobDownloadUrl
Description
Resolve a freshly presigned download URL for a ready background job owned by the current user (or any job when admin)
backgroundJobsPaginated
Description
List paginated background jobs, scoped to own jobs unless admin
Response
Returns a PaginatedBackgroundJobs!
Arguments
| Name | Description |
|---|---|
filters - [FilterParamsInput]
|
Filter criteria |
pagination - PaginationParams!
|
Pagination params |
search - String
|
Text search query for filtering results |
Example
Query
query backgroundJobsPaginated(
$filters: [FilterParamsInput],
$pagination: PaginationParams!,
$search: String
) {
backgroundJobsPaginated(
filters: $filters,
pagination: $pagination,
search: $search
) {
meta {
...PaginationMetaFragment
}
rows {
...BackgroundJobFragment
}
}
}
Variables
{
"filters": [FilterParamsInput],
"pagination": PaginationParams,
"search": "xyz789"
}
Response
{
"data": {
"backgroundJobsPaginated": {
"meta": PaginationMeta,
"rows": [BackgroundJob]
}
}
}
brand
Description
Retrieve brands by group, key, or ID (deprecated)
Response
Returns [Brand!]!
Arguments
| Name | Description |
|---|---|
groupId - [HashedId!]
|
Filter brands by specific organization groups |
id - [HashedId!]
|
Filter brands by specific IDs |
key - String
|
Unique string key identifying a brand |
Example
Query
query brand(
$groupId: [HashedId!],
$id: [HashedId!],
$key: String
) {
brand(
groupId: $groupId,
id: $id,
key: $key
) {
activationMailVideo
appUrlAndroid
appUrlIos
color
colorDark
colorLight
cornerStyle
created
faviconUrl
fontFamily
group {
...GroupFragment
}
groupId
hasSso
id
isSenderVerified
key
loginBackground
loginLanguageFallback
logo
logoIsSquare
logoWidth
name
ownURL
projects
sectionStyle
supportEmail
surfaceStyle
symbol
systemName
updated
}
}
Variables
{
"groupId": [HashedId],
"id": [HashedId],
"key": "abc123"
}
Response
{
"data": {
"brand": [
{
"activationMailVideo": "abc123",
"appUrlAndroid": "xyz789",
"appUrlIos": "abc123",
"color": "xyz789",
"colorDark": "xyz789",
"colorLight": "xyz789",
"cornerStyle": "ROUND",
"created": 1592577642,
"faviconUrl": "xyz789",
"fontFamily": "IBM_PLEX_SANS",
"group": Group,
"groupId": HashedId,
"hasSso": true,
"id": HashedId,
"isSenderVerified": false,
"key": "abc123",
"loginBackground": "xyz789",
"loginLanguageFallback": HashedId,
"logo": "abc123",
"logoIsSquare": false,
"logoWidth": 987,
"name": "abc123",
"ownURL": "abc123",
"projects": "abc123",
"sectionStyle": "CARDS",
"supportEmail": "xyz789",
"surfaceStyle": "ELEVATED",
"symbol": "abc123",
"systemName": "abc123",
"updated": 1592577642
}
]
}
}
brandByKey
Description
Find a brand by its unique string key
Example
Query
query brandByKey($key: String!) {
brandByKey(key: $key) {
activationMailVideo
appUrlAndroid
appUrlIos
color
colorDark
colorLight
cornerStyle
created
faviconUrl
fontFamily
group {
...GroupFragment
}
groupId
hasSso
id
isSenderVerified
key
loginBackground
loginLanguageFallback
logo
logoIsSquare
logoWidth
name
ownURL
projects
sectionStyle
supportEmail
surfaceStyle
symbol
systemName
updated
}
}
Variables
{"key": "abc123"}
Response
{
"data": {
"brandByKey": {
"activationMailVideo": "abc123",
"appUrlAndroid": "abc123",
"appUrlIos": "abc123",
"color": "xyz789",
"colorDark": "xyz789",
"colorLight": "abc123",
"cornerStyle": "ROUND",
"created": 1592577642,
"faviconUrl": "abc123",
"fontFamily": "IBM_PLEX_SANS",
"group": Group,
"groupId": HashedId,
"hasSso": false,
"id": HashedId,
"isSenderVerified": false,
"key": "abc123",
"loginBackground": "xyz789",
"loginLanguageFallback": HashedId,
"logo": "xyz789",
"logoIsSquare": false,
"logoWidth": 123,
"name": "xyz789",
"ownURL": "xyz789",
"projects": "abc123",
"sectionStyle": "CARDS",
"supportEmail": "abc123",
"surfaceStyle": "ELEVATED",
"symbol": "xyz789",
"systemName": "abc123",
"updated": 1592577642
}
}
}
brandsByGroupIds
Description
Retrieve brands belonging to specific organization groups
Response
Returns [Brand!]!
Arguments
| Name | Description |
|---|---|
groupIds - [HashedId!]!
|
Group identifiers |
Example
Query
query brandsByGroupIds($groupIds: [HashedId!]!) {
brandsByGroupIds(groupIds: $groupIds) {
activationMailVideo
appUrlAndroid
appUrlIos
color
colorDark
colorLight
cornerStyle
created
faviconUrl
fontFamily
group {
...GroupFragment
}
groupId
hasSso
id
isSenderVerified
key
loginBackground
loginLanguageFallback
logo
logoIsSquare
logoWidth
name
ownURL
projects
sectionStyle
supportEmail
surfaceStyle
symbol
systemName
updated
}
}
Variables
{"groupIds": [HashedId]}
Response
{
"data": {
"brandsByGroupIds": [
{
"activationMailVideo": "xyz789",
"appUrlAndroid": "xyz789",
"appUrlIos": "xyz789",
"color": "abc123",
"colorDark": "abc123",
"colorLight": "abc123",
"cornerStyle": "ROUND",
"created": 1592577642,
"faviconUrl": "xyz789",
"fontFamily": "IBM_PLEX_SANS",
"group": Group,
"groupId": HashedId,
"hasSso": false,
"id": HashedId,
"isSenderVerified": true,
"key": "abc123",
"loginBackground": "abc123",
"loginLanguageFallback": HashedId,
"logo": "abc123",
"logoIsSquare": true,
"logoWidth": 123,
"name": "xyz789",
"ownURL": "xyz789",
"projects": "xyz789",
"sectionStyle": "CARDS",
"supportEmail": "xyz789",
"surfaceStyle": "ELEVATED",
"symbol": "xyz789",
"systemName": "xyz789",
"updated": 1592577642
}
]
}
}
brandsByIds
Description
Retrieve specific brands by their IDs
Response
Returns [Brand!]!
Arguments
| Name | Description |
|---|---|
ids - [HashedId!]!
|
Brand identifiers to look up |
Example
Query
query brandsByIds($ids: [HashedId!]!) {
brandsByIds(ids: $ids) {
activationMailVideo
appUrlAndroid
appUrlIos
color
colorDark
colorLight
cornerStyle
created
faviconUrl
fontFamily
group {
...GroupFragment
}
groupId
hasSso
id
isSenderVerified
key
loginBackground
loginLanguageFallback
logo
logoIsSquare
logoWidth
name
ownURL
projects
sectionStyle
supportEmail
surfaceStyle
symbol
systemName
updated
}
}
Variables
{"ids": [HashedId]}
Response
{
"data": {
"brandsByIds": [
{
"activationMailVideo": "abc123",
"appUrlAndroid": "abc123",
"appUrlIos": "xyz789",
"color": "xyz789",
"colorDark": "abc123",
"colorLight": "abc123",
"cornerStyle": "ROUND",
"created": 1592577642,
"faviconUrl": "abc123",
"fontFamily": "IBM_PLEX_SANS",
"group": Group,
"groupId": HashedId,
"hasSso": false,
"id": HashedId,
"isSenderVerified": false,
"key": "abc123",
"loginBackground": "abc123",
"loginLanguageFallback": HashedId,
"logo": "abc123",
"logoIsSquare": true,
"logoWidth": 987,
"name": "abc123",
"ownURL": "abc123",
"projects": "abc123",
"sectionStyle": "CARDS",
"supportEmail": "abc123",
"surfaceStyle": "ELEVATED",
"symbol": "xyz789",
"systemName": "xyz789",
"updated": 1592577642
}
]
}
}
checkIfAssetsMatchFilters
Description
Verify all given asset UUIDs match the specified filters
Response
Returns a Boolean!
Arguments
| Name | Description |
|---|---|
filters - [FilterParamsInput!]
|
Dynamic filter parameters for asset query |
ids - [HashedId!]
|
List of unique identifiers |
uuids - [String!]
|
Filter assets by their UUIDs |
Example
Query
query checkIfAssetsMatchFilters(
$filters: [FilterParamsInput!],
$ids: [HashedId!],
$uuids: [String!]
) {
checkIfAssetsMatchFilters(
filters: $filters,
ids: $ids,
uuids: $uuids
)
}
Variables
{
"filters": [FilterParamsInput],
"ids": [HashedId],
"uuids": ["abc123"]
}
Response
{"data": {"checkIfAssetsMatchFilters": true}}
checkQr
Description
Retrieve a details by uuid
Response
Returns a QrCheckResponseUnion!
Arguments
| Name | Description |
|---|---|
uuid - String!
|
Universally unique identifier |
Example
Query
query checkQr($uuid: String!) {
checkQr(uuid: $uuid) {
... on QrCheckAssetData {
...QrCheckAssetDataFragment
}
... on QrCheckBlankData {
...QrCheckBlankDataFragment
}
... on QrCheckPartData {
...QrCheckPartDataFragment
}
... on QrCheckSiteData {
...QrCheckSiteDataFragment
}
}
}
Variables
{"uuid": "abc123"}
Response
{"data": {"checkQr": QrCheckAssetData}}
commentsByTicketId
Description
List comments for a ticket with optional filtering
Response
Returns [TicketComment!]
Arguments
| Name | Description |
|---|---|
filters - TicketCommentFiltersInput
|
Filters to narrow down returned ticket comments |
id - HashedId!
|
Unique identifier of the entity |
Example
Query
query commentsByTicketId(
$filters: TicketCommentFiltersInput,
$id: HashedId!
) {
commentsByTicketId(
filters: $filters,
id: $id
) {
attachments {
...DocumentFragment
}
authorEmail
connectedEvent {
...EventFragment
}
connectedEventId
content {
...TicketCommentContentFragment
}
costs {
...CostLineFragment
}
created
createdByUser {
...TicketUserFragment
}
createdByUserId
deleted
history {
...TicketCommentContentFragment
}
id
internal
isAutomated
itemsEvent {
...TicketItemsChangeFragment
}
stateEvent {
...TicketStateFragment
}
ticketHistory {
...TicketHistoryFragment
}
ticketId
ticketStatus
updated
}
}
Variables
{
"filters": TicketCommentFiltersInput,
"id": HashedId
}
Response
{
"data": {
"commentsByTicketId": [
{
"attachments": [Document],
"authorEmail": "abc123",
"connectedEvent": Event,
"connectedEventId": HashedId,
"content": TicketCommentContent,
"costs": [CostLine],
"created": 1592577642,
"createdByUser": TicketUser,
"createdByUserId": HashedId,
"deleted": 1592577642,
"history": [TicketCommentContent],
"id": HashedId,
"internal": false,
"isAutomated": true,
"itemsEvent": TicketItemsChange,
"stateEvent": TicketState,
"ticketHistory": TicketHistory,
"ticketId": HashedId,
"ticketStatus": "approvalNeeded",
"updated": 1592577642
}
]
}
}
connectedAssetsByIMEI
Description
Retrieve connected assets by i m e i
cost
Description
Retrieve a cost by id
Response
Returns a CostLine
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Unique identifier of the entity |
Example
Query
query cost($id: HashedId!) {
cost(id: $id) {
asset {
...AssetFragment
}
assetId
costId
costLines {
...CostLineFragment
}
costType {
...CostTypeFragment
}
costTypeId
created
createdByUserId
currency
id
name
originatingFromCommentId
originatingFromEventId
quantity
type
updated
value
}
}
Variables
{"id": HashedId}
Response
{
"data": {
"cost": {
"asset": Asset,
"assetId": HashedId,
"costId": HashedId,
"costLines": [CostLine],
"costType": CostType,
"costTypeId": HashedId,
"created": 1592577642,
"createdByUserId": HashedId,
"currency": "abc123",
"id": HashedId,
"name": "abc123",
"originatingFromCommentId": HashedId,
"originatingFromEventId": HashedId,
"quantity": 123,
"type": "abc123",
"updated": 1592577642,
"value": 123.45
}
}
}
costById
Description
Retrieve a cost by id
Example
Query
query costById($id: HashedId!) {
costById(id: $id) {
asset {
...AssetFragment
}
assetId
canEdit
costCenter
costLines {
...CostLineFragment
}
created
createdByUser {
...UserFragment
}
createdByUserId
deleted
description
documents {
...DocumentFragment
}
history {
...CostHistoryFragment
}
id
invoiceDate
invoiceDay
invoiceNumber
label {
...CostLabelFragment
}
labelId
operatingCosts
provider
site {
...SiteFragment
}
siteId
ticketId
title
updated
workOrderId
}
}
Variables
{"id": HashedId}
Response
{
"data": {
"costById": {
"asset": Asset,
"assetId": HashedId,
"canEdit": false,
"costCenter": "xyz789",
"costLines": [CostLine],
"created": 1592577642,
"createdByUser": User,
"createdByUserId": HashedId,
"deleted": 1592577642,
"description": "xyz789",
"documents": [Document],
"history": [CostHistory],
"id": HashedId,
"invoiceDate": "2007-12-03T10:15:30Z",
"invoiceDay": "2007-12-03",
"invoiceNumber": "xyz789",
"label": CostLabel,
"labelId": HashedId,
"operatingCosts": 987.65,
"provider": "xyz789",
"site": Site,
"siteId": HashedId,
"ticketId": HashedId,
"title": "abc123",
"updated": 1592577642,
"workOrderId": HashedId
}
}
}
costLabelList
Description
List cost labels with pagination
Response
Returns [CostLabel!]!
Example
Query
query costLabelList {
costLabelList {
created
id
label
updated
}
}
Response
{
"data": {
"costLabelList": [
{
"created": 1592577642,
"id": HashedId,
"label": "xyz789",
"updated": 1592577642
}
]
}
}
costType
Description
Retrieve a cost type by id
Response
Returns a CostType
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Unique identifier of the entity |
Example
Query
query costType($id: HashedId!) {
costType(id: $id) {
created
id
key
keyV2
translation {
...TranslationFragment
}
translationId
updated
}
}
Variables
{"id": HashedId}
Response
{
"data": {
"costType": {
"created": 1592577642,
"id": HashedId,
"key": "abc123",
"keyV2": "BATTERY",
"translation": Translation,
"translationId": "xyz789",
"updated": 1592577642
}
}
}
costTypeList
Description
Retrieve a cost type list
Response
Returns [CostType!]!
Example
Query
query costTypeList {
costTypeList {
created
id
key
keyV2
translation {
...TranslationFragment
}
translationId
updated
}
}
Response
{
"data": {
"costTypeList": [
{
"created": 1592577642,
"id": HashedId,
"key": "abc123",
"keyV2": "BATTERY",
"translation": Translation,
"translationId": "abc123",
"updated": 1592577642
}
]
}
}
costsForAsset
Description
Retrieve a costs for asset
Response
Returns [CostLine!]!
Arguments
| Name | Description |
|---|---|
assetId - HashedId!
|
Asset identifier |
Example
Query
query costsForAsset($assetId: HashedId!) {
costsForAsset(assetId: $assetId) {
asset {
...AssetFragment
}
assetId
costId
costLines {
...CostLineFragment
}
costType {
...CostTypeFragment
}
costTypeId
created
createdByUserId
currency
id
name
originatingFromCommentId
originatingFromEventId
quantity
type
updated
value
}
}
Variables
{"assetId": HashedId}
Response
{
"data": {
"costsForAsset": [
{
"asset": Asset,
"assetId": HashedId,
"costId": HashedId,
"costLines": [CostLine],
"costType": CostType,
"costTypeId": HashedId,
"created": 1592577642,
"createdByUserId": HashedId,
"currency": "abc123",
"id": HashedId,
"name": "abc123",
"originatingFromCommentId": HashedId,
"originatingFromEventId": HashedId,
"quantity": 987,
"type": "xyz789",
"updated": 1592577642,
"value": 123.45
}
]
}
}
costsPaginated
Description
Retrieve a costs paginated
Response
Returns a CostPaginatedDto!
Arguments
| Name | Description |
|---|---|
filters - [FilterParamsInput]
|
Filter criteria |
pagination - PaginationParams!
|
Pagination |
search - String
|
Text search query for filtering results |
Example
Query
query costsPaginated(
$filters: [FilterParamsInput],
$pagination: PaginationParams!,
$search: String
) {
costsPaginated(
filters: $filters,
pagination: $pagination,
search: $search
) {
meta {
...PaginationMetaFragment
}
rows {
...CostFragment
}
total
}
}
Variables
{
"filters": [FilterParamsInput],
"pagination": PaginationParams,
"search": "abc123"
}
Response
{
"data": {
"costsPaginated": {
"meta": PaginationMeta,
"rows": [Cost],
"total": 123
}
}
}
currentGroupChildrenWithinOEMOrCustomer
Description
Retrieve child groups within the current OEM or customer scope
Response
Returns [Group!]!
Example
Query
query currentGroupChildrenWithinOEMOrCustomer {
currentGroupChildrenWithinOEMOrCustomer {
activeCustomFields {
...CustomFieldFragment
}
archivedCustomFields {
...CustomFieldFragment
}
assetIds
assetLocationsHidden
assets {
...AssetFragment
}
belongsToCurrentGroup
brand {
...BrandFragment
}
canGrantJotformConversion
childGroupIds
childGroups {
...GroupFragment
}
costSettings {
...GroupCostSettingsFragment
}
costSettingsId
created
customerName
customerRootGroup {
...GroupFragment
}
deleted
deletedAssetCategoriesCount
deletedAssetTypesCount
deletedAssetsCount
deletedBy
deletedGroupsCount
deletedSitesCount
effectiveTimezone
flow {
...ServicePackageFragment
}
flowId
flowMaintainers {
...NotificationRelationFragment
}
groupType {
...ServicePackageFragment
}
groupTypeId
handlerAlias
hasTicketHandling
id
identificationNumber
image
internalSettings
isCustomer
isRoot
maintainedManufacturer {
...ManufacturerFragment
}
maintainedManufacturerId
name
nonCustomerParentGroup {
...GroupFragment
}
ownSettings
parentGroup {
...GroupFragment
}
parentGroupId
parentName
resolvedCurrency
restoreBlockers
roleIds
rootBrand {
...BrandFragment
}
rootGroupId
rootGroupName
servicePackage {
...ServicePackageFragment
}
servicePackageId
servicePackageV2 {
... on RestrictedServicePackage {
...RestrictedServicePackageFragment
}
... on ServicePackage {
...ServicePackageFragment
}
}
services {
...ServiceFragment
}
servicesV2 {
...ServiceFragment
}
settings
ticketAfterApprovalAssigneeTeam {
...TeamFragment
}
ticketAfterApprovalAssigneeUser {
...UserFragment
}
ticketDefaultAssignee {
...UserFragment
}
ticketHandler {
...GroupTicketHandlerFragment
}
treeRootId
updated
userIds
userRequestNotifiers {
...NotificationRelationFragment
}
users {
...UserFragment
}
vatNumber
workingHours {
...GroupWorkingHoursFragment
}
}
}
Response
{
"data": {
"currentGroupChildrenWithinOEMOrCustomer": [
{
"activeCustomFields": [CustomField],
"archivedCustomFields": [CustomField],
"assetIds": [HashedId],
"assetLocationsHidden": false,
"assets": [Asset],
"belongsToCurrentGroup": false,
"brand": Brand,
"canGrantJotformConversion": true,
"childGroupIds": [HashedId],
"childGroups": [Group],
"costSettings": GroupCostSettings,
"costSettingsId": HashedId,
"created": 1592577642,
"customerName": "xyz789",
"customerRootGroup": Group,
"deleted": 1592577642,
"deletedAssetCategoriesCount": 123,
"deletedAssetTypesCount": 987,
"deletedAssetsCount": 123,
"deletedBy": "abc123",
"deletedGroupsCount": 987,
"deletedSitesCount": 123,
"effectiveTimezone": "xyz789",
"flow": ServicePackage,
"flowId": HashedId,
"flowMaintainers": [NotificationRelation],
"groupType": ServicePackage,
"groupTypeId": HashedId,
"handlerAlias": "abc123",
"hasTicketHandling": false,
"id": HashedId,
"identificationNumber": "abc123",
"image": "abc123",
"internalSettings": {},
"isCustomer": false,
"isRoot": false,
"maintainedManufacturer": [Manufacturer],
"maintainedManufacturerId": [HashedId],
"name": "xyz789",
"nonCustomerParentGroup": Group,
"ownSettings": {},
"parentGroup": Group,
"parentGroupId": HashedId,
"parentName": "abc123",
"resolvedCurrency": "AED",
"restoreBlockers": ["PARENT_ASSET_CATEGORY_DELETED"],
"roleIds": [HashedId],
"rootBrand": Brand,
"rootGroupId": HashedId,
"rootGroupName": "xyz789",
"servicePackage": ServicePackage,
"servicePackageId": HashedId,
"servicePackageV2": RestrictedServicePackage,
"services": [Service],
"servicesV2": [Service],
"settings": {},
"ticketAfterApprovalAssigneeTeam": Team,
"ticketAfterApprovalAssigneeUser": User,
"ticketDefaultAssignee": User,
"ticketHandler": GroupTicketHandler,
"treeRootId": HashedId,
"updated": 1592577642,
"userIds": [HashedId],
"userRequestNotifiers": [NotificationRelation],
"users": [User],
"vatNumber": "xyz789",
"workingHours": GroupWorkingHours
}
]
}
}
currentUserSettings
Description
Settings of the current user with internal secrets masked, resolved for the current group of JWT-authenticated callers and for the home group of API-key and MCP callers
Response
Returns a JSON!
Example
Query
query currentUserSettings {
currentUserSettings
}
Response
{"data": {"currentUserSettings": {}}}
customFieldById
Description
Retrieve a single custom field by its ID
Response
Returns a CustomField!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Unique identifier of the entity |
Example
Query
query customFieldById($id: HashedId!) {
customFieldById(id: $id) {
addToAllAssetsInGroupAndBelow
assetCategories {
...AssetCategoryFragment
}
assetTypes {
...AssetTypeFragment
}
assets {
...AssetFragment
}
availableCustomerVisibilityRights
created
createdByGroup {
...GroupFragment
}
createdByGroupId
createdByUser {
...UserFragment
}
createdByUserId
customerVisibilityRights
deleted
dropdownOptions {
...CustomFieldDropdownOptionFragment
}
group {
...GroupFragment
}
groupId
id
isRequired
multiselect
name {
...TranslationFragment
}
nameId
publicId
showInEmail
showInPdf
showOnQrLandingPage
showToNonLoggedInUsers
type
updated
values {
...CustomFieldValueFragment
}
}
}
Variables
{"id": HashedId}
Response
{
"data": {
"customFieldById": {
"addToAllAssetsInGroupAndBelow": true,
"assetCategories": [AssetCategory],
"assetTypes": [AssetType],
"assets": [Asset],
"availableCustomerVisibilityRights": ["editor"],
"created": 1592577642,
"createdByGroup": Group,
"createdByGroupId": HashedId,
"createdByUser": User,
"createdByUserId": HashedId,
"customerVisibilityRights": "editor",
"deleted": 1592577642,
"dropdownOptions": [CustomFieldDropdownOption],
"group": Group,
"groupId": HashedId,
"id": HashedId,
"isRequired": true,
"multiselect": true,
"name": Translation,
"nameId": HashedId,
"publicId": 123,
"showInEmail": true,
"showInPdf": true,
"showOnQrLandingPage": true,
"showToNonLoggedInUsers": false,
"type": "currency",
"updated": 1592577642,
"values": [CustomFieldValue]
}
}
}
customFieldsPaginated
Description
Retrieve a paginated list of custom fields with filtering
Response
Returns a CustomFieldPaginatedResult!
Arguments
| Name | Description |
|---|---|
filters - [FilterParamsInput]
|
Filter criteria |
includeArchived - Boolean
|
Whether to include archived custom fields in results |
pagination - PaginationParams!
|
Pagination |
search - String
|
Text search query for filtering results |
Example
Query
query customFieldsPaginated(
$filters: [FilterParamsInput],
$includeArchived: Boolean,
$pagination: PaginationParams!,
$search: String
) {
customFieldsPaginated(
filters: $filters,
includeArchived: $includeArchived,
pagination: $pagination,
search: $search
) {
meta {
...PaginationMetaFragment
}
rows {
...CustomFieldFragment
}
}
}
Variables
{
"filters": [FilterParamsInput],
"includeArchived": false,
"pagination": PaginationParams,
"search": "xyz789"
}
Response
{
"data": {
"customFieldsPaginated": {
"meta": PaginationMeta,
"rows": [CustomField]
}
}
}
dashboard
Description
Retrieve dashboard by id
Response
Returns a Dashboard!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Unique identifier of the entity |
Example
Query
query dashboard($id: HashedId!) {
dashboard(id: $id) {
created
createdByGroup {
...GroupFragment
}
createdByGroupId
createdByUser {
...UserFragment
}
createdByUserId
default
filters {
...DashboardFilterFragment
}
grafanaDashboardUID
grafanaDashboardURL
id
order
revision
source
title {
...TranslationFragment
}
titleId
updated
}
}
Variables
{"id": HashedId}
Response
{
"data": {
"dashboard": {
"created": 1592577642,
"createdByGroup": Group,
"createdByGroupId": HashedId,
"createdByUser": User,
"createdByUserId": HashedId,
"default": false,
"filters": [DashboardFilter],
"grafanaDashboardUID": "xyz789",
"grafanaDashboardURL": "xyz789",
"id": HashedId,
"order": 123,
"revision": 123,
"source": "LEGACY_GRAFANA",
"title": Translation,
"titleId": HashedId,
"updated": 1592577642
}
}
}
dashboardBoard
Description
Read a single dashboard owned by the calling tenant
Response
Returns a DashboardBoard!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Unique identifier of the entity |
Example
Query
query dashboardBoard($id: HashedId!) {
dashboardBoard(id: $id) {
boardFilters {
...DashboardBoardFilterFragment
}
canEdit
created
createdByGroup {
...GroupFragment
}
createdByGroupId
createdByUser {
...UserFragment
}
createdByUserId
displayId
grafanaDashboardUID
hiddenColumnCount
hiddenFeatures
hiddenWidgetCount
icon
id
isHiddenByCostAccess
missingAccess
revision
title {
...TranslationFragment
}
titleId
updated
widgets {
...DashboardWidgetFragment
}
}
}
Variables
{"id": HashedId}
Response
{
"data": {
"dashboardBoard": {
"boardFilters": [DashboardBoardFilter],
"canEdit": true,
"created": "2007-12-03T10:15:30Z",
"createdByGroup": Group,
"createdByGroupId": HashedId,
"createdByUser": User,
"createdByUserId": HashedId,
"displayId": 123,
"grafanaDashboardUID": "abc123",
"hiddenColumnCount": 123,
"hiddenFeatures": ["ASSET_LOCATIONS"],
"hiddenWidgetCount": 123,
"icon": "ALARM",
"id": HashedId,
"isHiddenByCostAccess": false,
"missingAccess": ["COSTS"],
"revision": 123,
"title": Translation,
"titleId": HashedId,
"updated": "2007-12-03T10:15:30Z",
"widgets": [DashboardWidget]
}
}
}
dashboardBoardDataExportPreview
Description
Preview widgets left out of a whole-dashboard CSV or XLSX export
Response
Returns a DashboardPdfExportPreview!
Arguments
| Name | Description |
|---|---|
input - DashboardPdfExportPreviewInput!
|
Example
Query
query dashboardBoardDataExportPreview($input: DashboardPdfExportPreviewInput!) {
dashboardBoardDataExportPreview(input: $input) {
hasExportableWidgets
requiresConfirmation
warnings {
...DashboardPdfExportWarningFragment
}
}
}
Variables
{"input": DashboardPdfExportPreviewInput}
Response
{
"data": {
"dashboardBoardDataExportPreview": {
"hasExportableWidgets": false,
"requiresConfirmation": false,
"warnings": [DashboardPdfExportWarning]
}
}
}
dashboardBoardWidgetData
Description
Execute the stored query of a widget saved on a dashboard the caller can read
Response
Returns a DashboardWidgetResult!
Arguments
| Name | Description |
|---|---|
boardId - HashedId!
|
Dashboard board the widget is saved on |
filters - [DashboardBoardFilterValueInput!]
|
Board-level filter selections applied to the spec before planning |
orderBy - DashboardOrderByInput
|
Reader sort replacing the ordering stored with the widget |
pagination - DashboardPaginationInput
|
Page of rows to return, honoured by table payloads only |
timezone - String
|
IANA timezone of the viewer, used only when the user has no timezone configured |
widgetId - HashedId!
|
Saved widget whose stored query is executed |
Example
Query
query dashboardBoardWidgetData(
$boardId: HashedId!,
$filters: [DashboardBoardFilterValueInput!],
$orderBy: DashboardOrderByInput,
$pagination: DashboardPaginationInput,
$timezone: String,
$widgetId: HashedId!
) {
dashboardBoardWidgetData(
boardId: $boardId,
filters: $filters,
orderBy: $orderBy,
pagination: $pagination,
timezone: $timezone,
widgetId: $widgetId
) {
appliedFilters
compatibleChartTypes
coverage {
...DashboardMeasureCoverageFragment
}
crossFilter {
...DashboardWidgetCrossFilterFragment
}
fixedFilters {
...DashboardWidgetFixedFilterFragment
}
ignoredFilters
observedAt
payload {
... on DashboardCategoricalPayload {
...DashboardCategoricalPayloadFragment
}
... on DashboardScalarPayload {
...DashboardScalarPayloadFragment
}
... on DashboardSeriesPayload {
...DashboardSeriesPayloadFragment
}
... on DashboardTablePayload {
...DashboardTablePayloadFragment
}
}
resolvedCurrencies {
...DashboardResolvedMeasureCurrencyFragment
}
resolvedUnits {
...DashboardResolvedMeasureUnitDtoFragment
}
sparkline {
...DashboardSparklinePointFragment
}
totals {
...DashboardNamedValueFragment
}
totalsStatus
truncated
}
}
Variables
{
"boardId": HashedId,
"filters": [DashboardBoardFilterValueInput],
"orderBy": DashboardOrderByInput,
"pagination": DashboardPaginationInput,
"timezone": "xyz789",
"widgetId": HashedId
}
Response
{
"data": {
"dashboardBoardWidgetData": {
"appliedFilters": ["ASSET"],
"compatibleChartTypes": ["BAR"],
"coverage": [DashboardMeasureCoverage],
"crossFilter": DashboardWidgetCrossFilter,
"fixedFilters": [DashboardWidgetFixedFilter],
"ignoredFilters": ["ASSET"],
"observedAt": "2007-12-03T10:15:30Z",
"payload": DashboardCategoricalPayload,
"resolvedCurrencies": [
DashboardResolvedMeasureCurrency
],
"resolvedUnits": [DashboardResolvedMeasureUnitDto],
"sparkline": [DashboardSparklinePoint],
"totals": [DashboardNamedValue],
"totalsStatus": "ALL_RECORDS",
"truncated": true
}
}
}
dashboardBoardsPaginated
Description
Retrieve dashboards visible to the caller, paginated
Response
Returns a DashboardBoardPaginatedResult!
Arguments
| Name | Description |
|---|---|
filters - [FilterParamsInput]
|
Filter criteria |
pagination - PaginationParams!
|
Pagination |
search - String
|
Text search query for filtering results |
Example
Query
query dashboardBoardsPaginated(
$filters: [FilterParamsInput],
$pagination: PaginationParams!,
$search: String
) {
dashboardBoardsPaginated(
filters: $filters,
pagination: $pagination,
search: $search
) {
meta {
...PaginationMetaFragment
}
rows {
...DashboardBoardFragment
}
total
}
}
Variables
{
"filters": [FilterParamsInput],
"pagination": PaginationParams,
"search": "abc123"
}
Response
{
"data": {
"dashboardBoardsPaginated": {
"meta": PaginationMeta,
"rows": [DashboardBoard],
"total": 123
}
}
}
dashboardCatalog
Description
Entities the user can query, with the dimensions, filters and measures each exposes
Response
Returns [DashboardCatalogEntry!]!
Example
Query
query dashboardCatalog {
dashboardCatalog {
appliesBoardTimeRange
concepts
dateOnlyTimeAnchors
dimensions
dueTimeAnchors
entity
fields {
...DashboardCatalogFieldFragment
}
filterConcepts {
...DashboardCatalogFilterConceptFragment
}
filters
isOneRowPerRecord
isSelectableInBuilder
measures {
...DashboardCatalogMeasureFragment
}
rangeBoundFields
rowsAreOccurrences
timeAnchors
}
}
Response
{
"data": {
"dashboardCatalog": [
{
"appliesBoardTimeRange": true,
"concepts": ["ASSET"],
"dateOnlyTimeAnchors": ["xyz789"],
"dimensions": ["abc123"],
"dueTimeAnchors": ["xyz789"],
"entity": "ASSET",
"fields": [DashboardCatalogField],
"filterConcepts": [DashboardCatalogFilterConcept],
"filters": ["xyz789"],
"isOneRowPerRecord": true,
"isSelectableInBuilder": true,
"measures": [DashboardCatalogMeasure],
"rangeBoundFields": ["xyz789"],
"rowsAreOccurrences": false,
"timeAnchors": ["xyz789"]
}
]
}
}
dashboardCheckRules
Description
Check rules a board check-rule filter can pick: every check rule visible in the group tree, archived ones included and flagged by isArchived
Response
Returns [Rule!]!
Example
Query
query dashboardCheckRules {
dashboardCheckRules {
assetBlacklist {
...AssetFragment
}
assignedToGroup {
...GroupFragment
}
assignedToGroupId
checkAssetsPaginated {
...PaginatedRuleCheckAssetsFragment
}
created
createdByGroup {
...GroupFragment
}
createdByGroupId
createdByUser {
...UserFragment
}
createdByUserId
definition
description {
...TranslationFragment
}
descriptionId
enabled
eventStyle {
...EventStyleFragment
}
eventStyleId
eventType
eventsConfigs {
...EventConfigFragment
}
id
isActive
isArchived
isCheckAllowedForUnauthorizedUsers
isCritical
isGlobalRule
isImmediateNotification
isOneshot
isOnetime
manualDeactivation
publicId
purpose
relations {
...RuleRelationFragment
}
relationsV2 {
...RuleRelationFragment
}
sendNotificationsTo {
...RuleNotificationRelationFragment
}
services {
...ServiceFragment
}
servicesV2 {
...ServiceFragment
}
source
title {
...TranslationFragment
}
titleId
updated
}
}
Response
{
"data": {
"dashboardCheckRules": [
{
"assetBlacklist": [Asset],
"assignedToGroup": Group,
"assignedToGroupId": HashedId,
"checkAssetsPaginated": PaginatedRuleCheckAssets,
"created": 1592577642,
"createdByGroup": Group,
"createdByGroupId": HashedId,
"createdByUser": User,
"createdByUserId": HashedId,
"definition": {},
"description": Translation,
"descriptionId": HashedId,
"enabled": false,
"eventStyle": EventStyle,
"eventStyleId": HashedId,
"eventType": "COST",
"eventsConfigs": [EventConfig],
"id": HashedId,
"isActive": true,
"isArchived": true,
"isCheckAllowedForUnauthorizedUsers": false,
"isCritical": true,
"isGlobalRule": false,
"isImmediateNotification": false,
"isOneshot": true,
"isOnetime": false,
"manualDeactivation": true,
"publicId": "abc123",
"purpose": "GEOFENCE",
"relations": [RuleRelation],
"relationsV2": [RuleRelation],
"sendNotificationsTo": [RuleNotificationRelation],
"services": [Service],
"servicesV2": [Service],
"source": "BLE",
"title": Translation,
"titleId": HashedId,
"updated": 1592577642
}
]
}
}
dashboardEntityDescription
Description
Plain-text description of one queryable entity: its time anchors, dimensions, measures with their aggregations, filterable paths and allowed filter values
Response
Returns a String!
Arguments
| Name | Description |
|---|---|
entity - DashboardEntityKind!
|
Entity kind |
Example
Query
query dashboardEntityDescription($entity: DashboardEntityKind!) {
dashboardEntityDescription(entity: $entity)
}
Variables
{"entity": "ASSET"}
Response
{
"data": {
"dashboardEntityDescription": "xyz789"
}
}
dashboardFilterValueLabels
Description
Display labels of saved board filter values, limited to values the caller can see
Response
Returns [DashboardFilterValueLabel!]!
Arguments
| Name | Description |
|---|---|
input - DashboardFilterValueLabelsInput!
|
Example
Query
query dashboardFilterValueLabels($input: DashboardFilterValueLabelsInput!) {
dashboardFilterValueLabels(input: $input) {
isAvailable
label
value
}
}
Variables
{"input": DashboardFilterValueLabelsInput}
Response
{
"data": {
"dashboardFilterValueLabels": [
{
"isAvailable": false,
"label": "abc123",
"value": "abc123"
}
]
}
}
dashboardPdfExportPreview
Description
Preview incomplete widgets before requesting a dashboard PDF export
Response
Returns a DashboardPdfExportPreview!
Arguments
| Name | Description |
|---|---|
input - DashboardPdfExportPreviewInput!
|
Example
Query
query dashboardPdfExportPreview($input: DashboardPdfExportPreviewInput!) {
dashboardPdfExportPreview(input: $input) {
hasExportableWidgets
requiresConfirmation
warnings {
...DashboardPdfExportWarningFragment
}
}
}
Variables
{"input": DashboardPdfExportPreviewInput}
Response
{
"data": {
"dashboardPdfExportPreview": {
"hasExportableWidgets": true,
"requiresConfirmation": false,
"warnings": [DashboardPdfExportWarning]
}
}
}
dashboardReportDownloadUrl
dashboardReportEligibleRecipientIds
Response
Returns [HashedId!]!
Arguments
| Name | Description |
|---|---|
applyToChildGroups - Boolean
|
|
dashboardId - HashedId!
|
|
format - DashboardExportFormat
|
|
originScheduleId - HashedId
|
|
targetGroupId - HashedId!
|
|
userIds - [HashedId!]!
|
Example
Query
query dashboardReportEligibleRecipientIds(
$applyToChildGroups: Boolean,
$dashboardId: HashedId!,
$format: DashboardExportFormat,
$originScheduleId: HashedId,
$targetGroupId: HashedId!,
$userIds: [HashedId!]!
) {
dashboardReportEligibleRecipientIds(
applyToChildGroups: $applyToChildGroups,
dashboardId: $dashboardId,
format: $format,
originScheduleId: $originScheduleId,
targetGroupId: $targetGroupId,
userIds: $userIds
)
}
Variables
{
"applyToChildGroups": true,
"dashboardId": HashedId,
"format": "CSV",
"originScheduleId": HashedId,
"targetGroupId": HashedId,
"userIds": [HashedId]
}
Response
{
"data": {
"dashboardReportEligibleRecipientIds": [HashedId]
}
}
dashboardReportRecipientLabels
Description
Names of the given report recipients; a name is null when the viewer may not see the recipient
Response
Arguments
| Name | Description |
|---|---|
dashboardId - HashedId!
|
|
groupIds - [HashedId!]!
|
|
originScheduleId - HashedId
|
|
targetGroupId - HashedId!
|
|
teamIds - [HashedId!]!
|
|
userIds - [HashedId!]!
|
Example
Query
query dashboardReportRecipientLabels(
$dashboardId: HashedId!,
$groupIds: [HashedId!]!,
$originScheduleId: HashedId,
$targetGroupId: HashedId!,
$teamIds: [HashedId!]!,
$userIds: [HashedId!]!
) {
dashboardReportRecipientLabels(
dashboardId: $dashboardId,
groupIds: $groupIds,
originScheduleId: $originScheduleId,
targetGroupId: $targetGroupId,
teamIds: $teamIds,
userIds: $userIds
) {
id
label
removed
type
}
}
Variables
{
"dashboardId": HashedId,
"groupIds": [HashedId],
"originScheduleId": HashedId,
"targetGroupId": HashedId,
"teamIds": [HashedId],
"userIds": [HashedId]
}
Response
{
"data": {
"dashboardReportRecipientLabels": [
{
"id": HashedId,
"label": "abc123",
"removed": false,
"type": "GROUP"
}
]
}
}
dashboardReportRunView
Description
Reads a sent report run with the filters it ran with, leaving out filters for features the group has since switched off
Response
Returns a DashboardReportRunView!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Unique identifier of the entity |
Example
Query
query dashboardReportRunView($id: HashedId!) {
dashboardReportRunView(id: $id) {
dashboardId
filters {
...DashboardBoardFilterValueFragment
}
id
scheduleName
scheduledAt
timezone
}
}
Variables
{"id": HashedId}
Response
{
"data": {
"dashboardReportRunView": {
"dashboardId": HashedId,
"filters": [DashboardBoardFilterValue],
"id": HashedId,
"scheduleName": "xyz789",
"scheduledAt": "2007-12-03T10:15:30Z",
"timezone": "xyz789"
}
}
}
dashboardReportRuns
Response
Returns [DashboardReportRun!]!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Unique identifier of the entity |
Example
Query
query dashboardReportRuns($id: HashedId!) {
dashboardReportRuns(id: $id) {
completedAt
deliveries {
...DashboardReportDeliveryFragment
}
errorCode
id
isLate
isTest
rootScheduleId
scheduleName
scheduledAt
startedAt
status
targetGroupId
targetGroupName
}
}
Variables
{"id": HashedId}
Response
{
"data": {
"dashboardReportRuns": [
{
"completedAt": "2007-12-03T10:15:30Z",
"deliveries": [DashboardReportDelivery],
"errorCode": "abc123",
"id": HashedId,
"isLate": true,
"isTest": false,
"rootScheduleId": HashedId,
"scheduleName": "xyz789",
"scheduledAt": "2007-12-03T10:15:30Z",
"startedAt": "2007-12-03T10:15:30Z",
"status": "COMPLETED",
"targetGroupId": HashedId,
"targetGroupName": "xyz789"
}
]
}
}
dashboardReportSchedulePreview
Response
Returns a DashboardReportSchedulePreview!
Arguments
| Name | Description |
|---|---|
input - DashboardReportScheduleInput!
|
|
scheduleId - HashedId
|
Example
Query
query dashboardReportSchedulePreview(
$input: DashboardReportScheduleInput!,
$scheduleId: HashedId
) {
dashboardReportSchedulePreview(
input: $input,
scheduleId: $scheduleId
) {
droppedRecipients {
...DashboardReportDroppedRecipientFragment
}
groups {
...DashboardReportSchedulePreviewGroupFragment
}
nextSendAt
recipientCount
}
}
Variables
{
"input": DashboardReportScheduleInput,
"scheduleId": HashedId
}
Response
{
"data": {
"dashboardReportSchedulePreview": {
"droppedRecipients": [
DashboardReportDroppedRecipient
],
"groups": [DashboardReportSchedulePreviewGroup],
"nextSendAt": "2007-12-03T10:15:30Z",
"recipientCount": 987
}
}
}
dashboardReportSchedules
Response
Returns [DashboardReportSchedule!]!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Unique identifier of the entity |
Example
Query
query dashboardReportSchedules($id: HashedId!) {
dashboardReportSchedules(id: $id) {
applyToChildGroups
created
createdByUserId
dashboardId
effectiveTargetGroupId
filterOverrides {
...DashboardBoardFilterValueFragment
}
format
frequency
id
inherited
localSendTime
monthDay
name
nextSendAt
originScheduleId
paused
recipientGroupIds
recipientTeamIds
recipientUserIds
resolvedRecipients {
...DashboardReportScheduleResolvedRecipientFragment
}
targetGroupId
timezone
updated
weekday
}
}
Variables
{"id": HashedId}
Response
{
"data": {
"dashboardReportSchedules": [
{
"applyToChildGroups": true,
"created": "2007-12-03T10:15:30Z",
"createdByUserId": HashedId,
"dashboardId": HashedId,
"effectiveTargetGroupId": HashedId,
"filterOverrides": [DashboardBoardFilterValue],
"format": "CSV",
"frequency": "DAILY",
"id": HashedId,
"inherited": true,
"localSendTime": "abc123",
"monthDay": 987,
"name": "abc123",
"nextSendAt": "2007-12-03T10:15:30Z",
"originScheduleId": HashedId,
"paused": false,
"recipientGroupIds": [HashedId],
"recipientTeamIds": [HashedId],
"recipientUserIds": [HashedId],
"resolvedRecipients": [
DashboardReportScheduleResolvedRecipient
],
"targetGroupId": HashedId,
"timezone": "xyz789",
"updated": "2007-12-03T10:15:30Z",
"weekday": 987
}
]
}
}
dashboardViews
Description
Retrieve the saved filter views of a dashboard visible to the current user, in their personal order
Response
Returns [DashboardView!]!
Arguments
| Name | Description |
|---|---|
dashboardId - HashedId!
|
Dashboard whose filter views are being managed |
Example
Query
query dashboardViews($dashboardId: HashedId!) {
dashboardViews(dashboardId: $dashboardId) {
created
forEntity
id
isActive
isDefault
isDeletable
isEditable
isShareable
isShared
isSystemView
isUnsharedByParentGroup
options {
...DashboardViewOptionsFragment
}
title {
...TranslationFragment
}
titleId
updated
}
}
Variables
{"dashboardId": HashedId}
Response
{
"data": {
"dashboardViews": [
{
"created": 1592577642,
"forEntity": "ASSET",
"id": HashedId,
"isActive": true,
"isDefault": false,
"isDeletable": false,
"isEditable": false,
"isShareable": false,
"isShared": false,
"isSystemView": true,
"isUnsharedByParentGroup": true,
"options": DashboardViewOptions,
"title": Translation,
"titleId": HashedId,
"updated": 1592577642
}
]
}
}
dashboardWidgetPreview
Description
Execute a dashboards query specification without persisting a widget
Response
Returns a DashboardWidgetResult!
Arguments
| Name | Description |
|---|---|
asTable - Boolean
|
Return the rows as a paginated table whatever the dimensions, with the record id behind each label; a comparison without dimensions stays a stat |
chartType - DashboardWidgetType
|
Chart the result is drawn as; bar charts keep only their leading categories |
displayUnits - [DashboardMeasureDisplayUnitInput!]
|
|
filters - [DashboardBoardFilterValueInput!]
|
Board-level filter selections applied to the spec before planning |
pagination - DashboardPaginationInput
|
Page of rows to return, honoured by table payloads only |
spec - DashboardQuerySpecInput!
|
Query specification to execute without persisting a widget |
timezone - String
|
IANA timezone of the viewer, used only when the user has no timezone configured |
Example
Query
query dashboardWidgetPreview(
$asTable: Boolean,
$chartType: DashboardWidgetType,
$displayUnits: [DashboardMeasureDisplayUnitInput!],
$filters: [DashboardBoardFilterValueInput!],
$pagination: DashboardPaginationInput,
$spec: DashboardQuerySpecInput!,
$timezone: String
) {
dashboardWidgetPreview(
asTable: $asTable,
chartType: $chartType,
displayUnits: $displayUnits,
filters: $filters,
pagination: $pagination,
spec: $spec,
timezone: $timezone
) {
appliedFilters
compatibleChartTypes
coverage {
...DashboardMeasureCoverageFragment
}
crossFilter {
...DashboardWidgetCrossFilterFragment
}
fixedFilters {
...DashboardWidgetFixedFilterFragment
}
ignoredFilters
observedAt
payload {
... on DashboardCategoricalPayload {
...DashboardCategoricalPayloadFragment
}
... on DashboardScalarPayload {
...DashboardScalarPayloadFragment
}
... on DashboardSeriesPayload {
...DashboardSeriesPayloadFragment
}
... on DashboardTablePayload {
...DashboardTablePayloadFragment
}
}
resolvedCurrencies {
...DashboardResolvedMeasureCurrencyFragment
}
resolvedUnits {
...DashboardResolvedMeasureUnitDtoFragment
}
sparkline {
...DashboardSparklinePointFragment
}
totals {
...DashboardNamedValueFragment
}
totalsStatus
truncated
}
}
Variables
{
"asTable": false,
"chartType": "BAR",
"displayUnits": [DashboardMeasureDisplayUnitInput],
"filters": [DashboardBoardFilterValueInput],
"pagination": DashboardPaginationInput,
"spec": DashboardQuerySpecInput,
"timezone": "xyz789"
}
Response
{
"data": {
"dashboardWidgetPreview": {
"appliedFilters": ["ASSET"],
"compatibleChartTypes": ["BAR"],
"coverage": [DashboardMeasureCoverage],
"crossFilter": DashboardWidgetCrossFilter,
"fixedFilters": [DashboardWidgetFixedFilter],
"ignoredFilters": ["ASSET"],
"observedAt": "2007-12-03T10:15:30Z",
"payload": DashboardCategoricalPayload,
"resolvedCurrencies": [
DashboardResolvedMeasureCurrency
],
"resolvedUnits": [DashboardResolvedMeasureUnitDto],
"sparkline": [DashboardSparklinePoint],
"totals": [DashboardNamedValue],
"totalsStatus": "ALL_RECORDS",
"truncated": false
}
}
}
dashboards
Description
Retrieve all dashboards
Response
Returns [Dashboard!]!
Example
Query
query dashboards {
dashboards {
created
createdByGroup {
...GroupFragment
}
createdByGroupId
createdByUser {
...UserFragment
}
createdByUserId
default
filters {
...DashboardFilterFragment
}
grafanaDashboardUID
grafanaDashboardURL
id
order
revision
source
title {
...TranslationFragment
}
titleId
updated
}
}
Response
{
"data": {
"dashboards": [
{
"created": 1592577642,
"createdByGroup": Group,
"createdByGroupId": HashedId,
"createdByUser": User,
"createdByUserId": HashedId,
"default": false,
"filters": [DashboardFilter],
"grafanaDashboardUID": "xyz789",
"grafanaDashboardURL": "xyz789",
"id": HashedId,
"order": 987,
"revision": 987,
"source": "LEGACY_GRAFANA",
"title": Translation,
"titleId": HashedId,
"updated": 1592577642
}
]
}
}
deletedAssetCategoriesPaginated
Description
Paginated list of soft-deleted asset categories in the current group tree, for ToolSense admins only
Response
Returns an AssetCategoryPaginatedDto!
Arguments
| Name | Description |
|---|---|
filters - [FilterParamsInput]
|
Filter criteria |
pagination - PaginationParams!
|
Pagination |
search - String
|
Text search query for filtering results |
Example
Query
query deletedAssetCategoriesPaginated(
$filters: [FilterParamsInput],
$pagination: PaginationParams!,
$search: String
) {
deletedAssetCategoriesPaginated(
filters: $filters,
pagination: $pagination,
search: $search
) {
meta {
...PaginationMetaFragment
}
rows {
...AssetCategoryFragment
}
total
}
}
Variables
{
"filters": [FilterParamsInput],
"pagination": PaginationParams,
"search": "abc123"
}
Response
{
"data": {
"deletedAssetCategoriesPaginated": {
"meta": PaginationMeta,
"rows": [AssetCategory],
"total": 123
}
}
}
deletedAssetTypesPaginated
Description
Paginated list of soft-deleted asset types in the current group tree, for ToolSense admins only
Response
Returns an AssetTypePaginatedDto!
Arguments
| Name | Description |
|---|---|
filters - [FilterParamsInput]
|
Filter criteria |
pagination - PaginationParams!
|
Pagination |
search - String
|
Text search query for filtering results |
Example
Query
query deletedAssetTypesPaginated(
$filters: [FilterParamsInput],
$pagination: PaginationParams!,
$search: String
) {
deletedAssetTypesPaginated(
filters: $filters,
pagination: $pagination,
search: $search
) {
meta {
...PaginationMetaFragment
}
rows {
...AssetTypeFragment
}
total
}
}
Variables
{
"filters": [FilterParamsInput],
"pagination": PaginationParams,
"search": "abc123"
}
Response
{
"data": {
"deletedAssetTypesPaginated": {
"meta": PaginationMeta,
"rows": [AssetType],
"total": 123
}
}
}
deletedAssetsPaginated
Description
Paginated list of soft-deleted assets in the current group tree, for ToolSense admins only
Response
Returns a PaginatedAssets!
Arguments
| Name | Description |
|---|---|
filters - [FilterParamsInput]
|
Filter criteria |
pagination - PaginationParams!
|
Pagination |
search - String
|
Text search query for filtering results |
Example
Query
query deletedAssetsPaginated(
$filters: [FilterParamsInput],
$pagination: PaginationParams!,
$search: String
) {
deletedAssetsPaginated(
filters: $filters,
pagination: $pagination,
search: $search
) {
assets {
...AssetFragment
}
meta {
...PaginationMetaFragment
}
rows {
...AssetFragment
}
total
}
}
Variables
{
"filters": [FilterParamsInput],
"pagination": PaginationParams,
"search": "xyz789"
}
Response
{
"data": {
"deletedAssetsPaginated": {
"assets": [Asset],
"meta": PaginationMeta,
"rows": [Asset],
"total": 123
}
}
}
deletedGroupsPaginated
Description
Paginated list of soft-deleted groups in the current group tree, for ToolSense admins only
Response
Returns a GroupsPaginatedResult!
Arguments
| Name | Description |
|---|---|
filters - [FilterParamsInput]
|
Filter criteria |
pagination - PaginationParams!
|
Pagination |
search - String
|
Text search query for filtering results |
Example
Query
query deletedGroupsPaginated(
$filters: [FilterParamsInput],
$pagination: PaginationParams!,
$search: String
) {
deletedGroupsPaginated(
filters: $filters,
pagination: $pagination,
search: $search
) {
meta {
...PaginationMetaFragment
}
rows {
...GroupFragment
}
total
}
}
Variables
{
"filters": [FilterParamsInput],
"pagination": PaginationParams,
"search": "abc123"
}
Response
{
"data": {
"deletedGroupsPaginated": {
"meta": PaginationMeta,
"rows": [Group],
"total": 987
}
}
}
deletedSitesPaginated
Description
Paginated list of soft-deleted sites in the current group tree, for ToolSense admins only
Response
Returns a SitesPaginatedResult!
Arguments
| Name | Description |
|---|---|
filters - [FilterParamsInput]
|
Filter criteria |
pagination - PaginationParams!
|
Pagination |
search - String
|
Text search query for filtering results |
Example
Query
query deletedSitesPaginated(
$filters: [FilterParamsInput],
$pagination: PaginationParams!,
$search: String
) {
deletedSitesPaginated(
filters: $filters,
pagination: $pagination,
search: $search
) {
meta {
...PaginationMetaFragment
}
rows {
...SiteFragment
}
}
}
Variables
{
"filters": [FilterParamsInput],
"pagination": PaginationParams,
"search": "xyz789"
}
Response
{
"data": {
"deletedSitesPaginated": {
"meta": PaginationMeta,
"rows": [Site]
}
}
}
displayAssetData
Description
Returns an array of the most important parameters in certain order. These parameters can be used in a client application to display the most important information of an Asset.
Response
Returns [DisplayParameter!]!
Arguments
| Name | Description |
|---|---|
assetId - HashedId!
|
Asset identifier |
Example
Query
query displayAssetData($assetId: HashedId!) {
displayAssetData(assetId: $assetId) {
displayName {
...TranslationFragment
}
displayText
displayType
displayValue
id
iotParameter {
...IotParameterFragment
}
origin
originalValue
parameter {
...ParameterFragment
}
stackedIotParameters {
...IotParameterFragment
}
stackedParameters {
...ParameterFragment
}
syntheticParameter
visibility {
...DisplayParameterVisibilityFragment
}
}
}
Variables
{"assetId": HashedId}
Response
{
"data": {
"displayAssetData": [
{
"displayName": Translation,
"displayText": "xyz789",
"displayType": "DEFAULT",
"displayValue": 987.65,
"id": HashedId,
"iotParameter": IotParameter,
"origin": "DERIVED",
"originalValue": 123.45,
"parameter": Parameter,
"stackedIotParameters": [IotParameter],
"stackedParameters": [Parameter],
"syntheticParameter": "BATTERY",
"visibility": DisplayParameterVisibility
}
]
}
}
displayMultipleAssetData
Description
Returns an array of the most important parameters in certain order. These parameters can be used in a client application to display the most important information of an Asset.
Response
Returns [DisplayParameter!]!
Arguments
| Name | Description |
|---|---|
assetId - [HashedId!]!
|
Asset identifier |
visibilityFilter - [String!]
|
Visibility filter |
Example
Query
query displayMultipleAssetData(
$assetId: [HashedId!]!,
$visibilityFilter: [String!]
) {
displayMultipleAssetData(
assetId: $assetId,
visibilityFilter: $visibilityFilter
) {
displayName {
...TranslationFragment
}
displayText
displayType
displayValue
id
iotParameter {
...IotParameterFragment
}
origin
originalValue
parameter {
...ParameterFragment
}
stackedIotParameters {
...IotParameterFragment
}
stackedParameters {
...ParameterFragment
}
syntheticParameter
visibility {
...DisplayParameterVisibilityFragment
}
}
}
Variables
{
"assetId": [HashedId],
"visibilityFilter": ["xyz789"]
}
Response
{
"data": {
"displayMultipleAssetData": [
{
"displayName": Translation,
"displayText": "xyz789",
"displayType": "DEFAULT",
"displayValue": 123.45,
"id": HashedId,
"iotParameter": IotParameter,
"origin": "DERIVED",
"originalValue": 987.65,
"parameter": Parameter,
"stackedIotParameters": [IotParameter],
"stackedParameters": [Parameter],
"syntheticParameter": "BATTERY",
"visibility": DisplayParameterVisibility
}
]
}
}
displayParameterInfo
Description
Retrieve display parameter info
Response
Returns [DisplayParameterInfo!]!
Arguments
| Name | Description |
|---|---|
assetIntegrationId - [HashedId!]
|
Asset integration identifier |
assetTypeId - [HashedId!]
|
Asset type identifier |
id - [HashedId!]
|
Unique identifier |
Example
Query
query displayParameterInfo(
$assetIntegrationId: [HashedId!],
$assetTypeId: [HashedId!],
$id: [HashedId!]
) {
displayParameterInfo(
assetIntegrationId: $assetIntegrationId,
assetTypeId: $assetTypeId,
id: $id
) {
assetIntegration {
...AssetIntegrationFragment
}
assetIntegrationId
assetType {
...AssetTypeFragment
}
assetTypeId
displayType
displayUnit
domainValue
id
iotParameter {
...IotParameterFragment
}
iotParameterId
key
parameter {
...ParameterFragment
}
parameterId
parameterSetId
sortPosition
title {
...TranslationFragment
}
titleId
}
}
Variables
{
"assetIntegrationId": [HashedId],
"assetTypeId": [HashedId],
"id": [HashedId]
}
Response
{
"data": {
"displayParameterInfo": [
{
"assetIntegration": AssetIntegration,
"assetIntegrationId": HashedId,
"assetType": [AssetType],
"assetTypeId": [HashedId],
"displayType": "xyz789",
"displayUnit": "xyz789",
"domainValue": 987,
"id": HashedId,
"iotParameter": IotParameter,
"iotParameterId": HashedId,
"key": "abc123",
"parameter": Parameter,
"parameterId": HashedId,
"parameterSetId": HashedId,
"sortPosition": 987,
"title": Translation,
"titleId": HashedId
}
]
}
}
dispositionAssigneesPaginated
Description
List disposition assignees having at least one assigned work order in the given statuses
Response
Returns a PersonnelPaginatedResult
Arguments
| Name | Description |
|---|---|
filters - [FilterParamsInput]
|
Filter criteria |
pagination - PaginationParams!
|
Pagination |
search - String
|
Text search query for filtering results |
workOrderFilter - DispositionWorkOrderFilterInput
|
Restricts the list to assignees having a matching work order; omit for all personnel |
Example
Query
query dispositionAssigneesPaginated(
$filters: [FilterParamsInput],
$pagination: PaginationParams!,
$search: String,
$workOrderFilter: DispositionWorkOrderFilterInput
) {
dispositionAssigneesPaginated(
filters: $filters,
pagination: $pagination,
search: $search,
workOrderFilter: $workOrderFilter
) {
meta {
...PaginationMetaFragment
}
rows {
...PersonnelFragment
}
total
}
}
Variables
{
"filters": [FilterParamsInput],
"pagination": PaginationParams,
"search": "xyz789",
"workOrderFilter": DispositionWorkOrderFilterInput
}
Response
{
"data": {
"dispositionAssigneesPaginated": {
"meta": PaginationMeta,
"rows": [Personnel],
"total": 123
}
}
}
document
Description
List documents with optional filtering
Response
Returns [Document!]!
Arguments
| Name | Description |
|---|---|
id - [HashedId!]!
|
List of unique identifiers |
Example
Query
query document($id: [HashedId!]!) {
document(id: $id) {
assetId
assetTypeId
commentId
costId
created
documentTicketContentFieldId
editable
eventId
externalId
fileSize
id
inlineFile {
...DocumentInlineFileFragment
}
isExternal
isInherited
isVisibleToCustomer
name
partId
procedureTemplateComponentId
purpose
typeKey
updated
uploadedByCustomer
uploadedByUser {
...UserFragment
}
uploadedByUserId
uploadedDocumentTicketContentFieldId
url
useForChatbot
workOrderCommentId
}
}
Variables
{"id": [HashedId]}
Response
{
"data": {
"document": [
{
"assetId": HashedId,
"assetTypeId": HashedId,
"commentId": HashedId,
"costId": HashedId,
"created": 1592577642,
"documentTicketContentFieldId": HashedId,
"editable": false,
"eventId": HashedId,
"externalId": "xyz789",
"fileSize": 123,
"id": HashedId,
"inlineFile": DocumentInlineFile,
"isExternal": true,
"isInherited": true,
"isVisibleToCustomer": true,
"name": "abc123",
"partId": HashedId,
"procedureTemplateComponentId": HashedId,
"purpose": "abc123",
"typeKey": "xyz789",
"updated": 1592577642,
"uploadedByCustomer": true,
"uploadedByUser": User,
"uploadedByUserId": HashedId,
"uploadedDocumentTicketContentFieldId": HashedId,
"url": "abc123",
"useForChatbot": false,
"workOrderCommentId": HashedId
}
]
}
}
elasticsearchIndexes
Description
List asset Elasticsearch index stats for FF-enabled tree-root groups (ToolSense staff only)
Response
Returns [EsIndex!]!
Example
Query
query elasticsearchIndexes {
elasticsearchIndexes {
createdAt
currentReindexRunId
docCount
drift
entityCount
indexHealth
indexName
indexType
queueBackfillDepth
queueIndexDepth
reindexProgress
schemaVersion
treeRootGroupId
treeRootGroupName
}
}
Response
{
"data": {
"elasticsearchIndexes": [
{
"createdAt": "2007-12-03T10:15:30Z",
"currentReindexRunId": "xyz789",
"docCount": 987.65,
"drift": 123.45,
"entityCount": 987.65,
"indexHealth": "GREEN",
"indexName": "abc123",
"indexType": "ASSET",
"queueBackfillDepth": 123.45,
"queueIndexDepth": 987.65,
"reindexProgress": 987.65,
"schemaVersion": 987,
"treeRootGroupId": HashedId,
"treeRootGroupName": "abc123"
}
]
}
}
event
Description
Retrieve event by filters
Response
Returns [Event!]!
Arguments
| Name | Description |
|---|---|
assetId - [HashedId!]
|
Asset identifier |
createdByRuleId - [HashedId!]
|
Created by rule identifier |
createdByTicketId - [HashedId!]
|
Created by ticket identifier |
createdByUserId - [HashedId!]
|
Created by user identifier |
createdByWorkOrderId - [HashedId!]
|
Created by work order identifier |
createdDateFilter - EventDateFilter
|
Created date filter |
currentlyActive - Boolean
|
Currently active |
endDateFilter - EventDateFilter
|
End date filter |
eventStyleKey - EventTypeEnum
|
Event style key |
id - [HashedId!]
|
List of unique identifiers |
partId - [HashedId!]
|
Part identifier |
startDateFilter - EventDateFilter
|
Start date filter |
tag - [EventEntityTagEnum!]
|
Classification tag or label |
Example
Query
query event(
$assetId: [HashedId!],
$createdByRuleId: [HashedId!],
$createdByTicketId: [HashedId!],
$createdByUserId: [HashedId!],
$createdByWorkOrderId: [HashedId!],
$createdDateFilter: EventDateFilter,
$currentlyActive: Boolean,
$endDateFilter: EventDateFilter,
$eventStyleKey: EventTypeEnum,
$id: [HashedId!],
$partId: [HashedId!],
$startDateFilter: EventDateFilter,
$tag: [EventEntityTagEnum!]
) {
event(
assetId: $assetId,
createdByRuleId: $createdByRuleId,
createdByTicketId: $createdByTicketId,
createdByUserId: $createdByUserId,
createdByWorkOrderId: $createdByWorkOrderId,
createdDateFilter: $createdDateFilter,
currentlyActive: $currentlyActive,
endDateFilter: $endDateFilter,
eventStyleKey: $eventStyleKey,
id: $id,
partId: $partId,
startDateFilter: $startDateFilter,
tag: $tag
) {
authorEmail
connectedComment {
...TicketCommentFragment
}
costs {
...CostLineFragment
}
created
createdByIntegrationName
createdByPart {
...PartFragment
}
createdByPartId
createdByRule {
...RuleFragment
}
createdByRuleId
createdBySite {
...SiteFragment
}
createdBySiteId
createdByTicket {
...TicketFragment
}
createdByTicketId
createdByUser {
...UserFragment
}
createdByUserId
createdByWorkOrder {
...WorkOrderSummaryFragment
}
createdByWorkOrderId
data {
...EventEntityDataDtoFragment
}
description {
...TranslationFragment
}
descriptionId
documents {
...DocumentFragment
}
endTime
eventMeta
eventStyle {
...EventStyleFragment
}
eventStyleId
id
isCritical
isImmediateNotification
isOngoing
lastEvent
manualDeactivation
originatingFromAsset {
...AssetFragment
}
originatingFromAssetId
originatingFromModule {
...ModuleFragment
}
originatingFromModuleId
publicId
responseState {
...TicketStateFragment
}
serviceName {
...TranslationFragment
}
shouldNotify
site {
...SiteFragment
}
siteId
startTime
stoppedByUser {
...UserFragment
}
stoppedByUserId
tag
ticketId
ticketStatus
title {
...TranslationFragment
}
titleId
type
updated
workOrderNotifications {
...WorkOrderNotificationsFragment
}
}
}
Variables
{
"assetId": [HashedId],
"createdByRuleId": [HashedId],
"createdByTicketId": [HashedId],
"createdByUserId": [HashedId],
"createdByWorkOrderId": [HashedId],
"createdDateFilter": EventDateFilter,
"currentlyActive": true,
"endDateFilter": EventDateFilter,
"eventStyleKey": "COST",
"id": [HashedId],
"partId": [HashedId],
"startDateFilter": EventDateFilter,
"tag": ["RESPONSIBLE_UPDATE"]
}
Response
{
"data": {
"event": [
{
"authorEmail": "xyz789",
"connectedComment": TicketComment,
"costs": [CostLine],
"created": 1592577642,
"createdByIntegrationName": "abc123",
"createdByPart": Part,
"createdByPartId": HashedId,
"createdByRule": Rule,
"createdByRuleId": HashedId,
"createdBySite": Site,
"createdBySiteId": HashedId,
"createdByTicket": Ticket,
"createdByTicketId": HashedId,
"createdByUser": User,
"createdByUserId": HashedId,
"createdByWorkOrder": WorkOrderSummary,
"createdByWorkOrderId": HashedId,
"data": EventEntityDataDto,
"description": Translation,
"descriptionId": HashedId,
"documents": [Document],
"endTime": 1592577642,
"eventMeta": {},
"eventStyle": EventStyle,
"eventStyleId": "xyz789",
"id": HashedId,
"isCritical": true,
"isImmediateNotification": true,
"isOngoing": true,
"lastEvent": 1592577642,
"manualDeactivation": false,
"originatingFromAsset": Asset,
"originatingFromAssetId": HashedId,
"originatingFromModule": Module,
"originatingFromModuleId": HashedId,
"publicId": 987,
"responseState": TicketState,
"serviceName": Translation,
"shouldNotify": true,
"site": Site,
"siteId": HashedId,
"startTime": 1592577642,
"stoppedByUser": User,
"stoppedByUserId": HashedId,
"tag": ["RESPONSIBLE_UPDATE"],
"ticketId": 123,
"ticketStatus": "approvalNeeded",
"title": Translation,
"titleId": HashedId,
"type": "COST",
"updated": 1592577642,
"workOrderNotifications": WorkOrderNotifications
}
]
}
}
eventById
Description
Retrieve a event by id
Response
Returns an Event!
Example
Query
query eventById(
$id: HashedId!,
$uuid: String
) {
eventById(
id: $id,
uuid: $uuid
) {
authorEmail
connectedComment {
...TicketCommentFragment
}
costs {
...CostLineFragment
}
created
createdByIntegrationName
createdByPart {
...PartFragment
}
createdByPartId
createdByRule {
...RuleFragment
}
createdByRuleId
createdBySite {
...SiteFragment
}
createdBySiteId
createdByTicket {
...TicketFragment
}
createdByTicketId
createdByUser {
...UserFragment
}
createdByUserId
createdByWorkOrder {
...WorkOrderSummaryFragment
}
createdByWorkOrderId
data {
...EventEntityDataDtoFragment
}
description {
...TranslationFragment
}
descriptionId
documents {
...DocumentFragment
}
endTime
eventMeta
eventStyle {
...EventStyleFragment
}
eventStyleId
id
isCritical
isImmediateNotification
isOngoing
lastEvent
manualDeactivation
originatingFromAsset {
...AssetFragment
}
originatingFromAssetId
originatingFromModule {
...ModuleFragment
}
originatingFromModuleId
publicId
responseState {
...TicketStateFragment
}
serviceName {
...TranslationFragment
}
shouldNotify
site {
...SiteFragment
}
siteId
startTime
stoppedByUser {
...UserFragment
}
stoppedByUserId
tag
ticketId
ticketStatus
title {
...TranslationFragment
}
titleId
type
updated
workOrderNotifications {
...WorkOrderNotificationsFragment
}
}
}
Variables
{
"id": HashedId,
"uuid": "xyz789"
}
Response
{
"data": {
"eventById": {
"authorEmail": "xyz789",
"connectedComment": TicketComment,
"costs": [CostLine],
"created": 1592577642,
"createdByIntegrationName": "xyz789",
"createdByPart": Part,
"createdByPartId": HashedId,
"createdByRule": Rule,
"createdByRuleId": HashedId,
"createdBySite": Site,
"createdBySiteId": HashedId,
"createdByTicket": Ticket,
"createdByTicketId": HashedId,
"createdByUser": User,
"createdByUserId": HashedId,
"createdByWorkOrder": WorkOrderSummary,
"createdByWorkOrderId": HashedId,
"data": EventEntityDataDto,
"description": Translation,
"descriptionId": HashedId,
"documents": [Document],
"endTime": 1592577642,
"eventMeta": {},
"eventStyle": EventStyle,
"eventStyleId": "abc123",
"id": HashedId,
"isCritical": true,
"isImmediateNotification": false,
"isOngoing": false,
"lastEvent": 1592577642,
"manualDeactivation": false,
"originatingFromAsset": Asset,
"originatingFromAssetId": HashedId,
"originatingFromModule": Module,
"originatingFromModuleId": HashedId,
"publicId": 123,
"responseState": TicketState,
"serviceName": Translation,
"shouldNotify": false,
"site": Site,
"siteId": HashedId,
"startTime": 1592577642,
"stoppedByUser": User,
"stoppedByUserId": HashedId,
"tag": ["RESPONSIBLE_UPDATE"],
"ticketId": 987,
"ticketStatus": "approvalNeeded",
"title": Translation,
"titleId": HashedId,
"type": "COST",
"updated": 1592577642,
"workOrderNotifications": WorkOrderNotifications
}
}
}
eventStyle
Description
Retrieve a event style
Response
Returns [EventStyle!]!
Arguments
| Name | Description |
|---|---|
id - [HashedId!]
|
|
key - [EventTypeEnum!]
|
Example
Query
query eventStyle(
$id: [HashedId!],
$key: [EventTypeEnum!]
) {
eventStyle(
id: $id,
key: $key
) {
color
createdByGroupId
icon
id
key
name {
...TranslationFragment
}
nameId
}
}
Variables
{"id": [HashedId], "key": ["COST"]}
Response
{
"data": {
"eventStyle": [
{
"color": "abc123",
"createdByGroupId": HashedId,
"icon": "abc123",
"id": HashedId,
"key": "COST",
"name": Translation,
"nameId": HashedId
}
]
}
}
extensionsWithFileTypes
Description
Map of file extensions to file types
Response
Returns a JSON!
Example
Query
query extensionsWithFileTypes {
extensionsWithFileTypes
}
Response
{"data": {"extensionsWithFileTypes": {}}}
filterList
Description
Available filter configurations
Response
Returns [ColumnConfig!]!
Arguments
| Name | Description |
|---|---|
entityName - EntityEnum!
|
Entity name |
Example
Query
query filterList($entityName: EntityEnum!) {
filterList(entityName: $entityName) {
columnName
dataType
dependsOnFlags
disableFilter
disableSort
hashId
isNullable
label
}
}
Variables
{"entityName": "ASSET"}
Response
{
"data": {
"filterList": [
{
"columnName": "xyz789",
"dataType": "BOOLEAN",
"dependsOnFlags": ["abc123"],
"disableFilter": false,
"disableSort": false,
"hashId": true,
"isNullable": true,
"label": "xyz789"
}
]
}
}
filterOptions
Description
Query filtering option
Response
Returns [FilterOption!]!
Arguments
| Name | Description |
|---|---|
columnName - String!
|
Column name |
deleted - Boolean
|
Resolve options against soft-deleted rows, for ToolSense admins only |
entityName - EntityEnum!
|
Entity name |
filters - [FilterParamsInput]
|
Filter criteria |
search - String
|
Text search query for filtering results |
Example
Query
query filterOptions(
$columnName: String!,
$deleted: Boolean,
$entityName: EntityEnum!,
$filters: [FilterParamsInput],
$search: String
) {
filterOptions(
columnName: $columnName,
deleted: $deleted,
entityName: $entityName,
filters: $filters,
search: $search
) {
count
deleted
id
label
source
value
}
}
Variables
{
"columnName": "xyz789",
"deleted": false,
"entityName": "ASSET",
"filters": [FilterParamsInput],
"search": "abc123"
}
Response
{
"data": {
"filterOptions": [
{
"count": 987,
"deleted": 1592577642,
"id": "xyz789",
"label": "xyz789",
"source": "xyz789",
"value": "abc123"
}
]
}
}
findAllProcedureTemplates
Description
Returns all procedure templates accessible to the current user groups
Response
Returns [ProcedureTemplate!]!
Example
Query
query findAllProcedureTemplates {
findAllProcedureTemplates {
accessLevel
automations {
...ProcedureTemplateAutomationFragment
}
componentCount
components {
...ProcedureTemplateComponentFragment
}
conditions {
...ProcedureConditionFragment
}
created
createdByGroup {
...GroupFragment
}
createdByGroupId
createdByUser {
...UserFragment
}
createdByUserId
deleted
description {
...TranslationFragment
}
descriptionId
hasAutomations
hasConditions
iconUrl
id
itemType
parent {
...ProcedureTemplateFragment
}
parentId
preset
publicId
publicRootId
rootId
servicePackageCount
servicePackages {
...ServicePackageFragment
}
ticketCount
title {
...TranslationFragment
}
titleId
type
updated
updatedByUser {
...UserFragment
}
updatedByUserId
}
}
Response
{
"data": {
"findAllProcedureTemplates": [
{
"accessLevel": "branch",
"automations": [ProcedureTemplateAutomation],
"componentCount": 987,
"components": [ProcedureTemplateComponent],
"conditions": [ProcedureCondition],
"created": 1592577642,
"createdByGroup": Group,
"createdByGroupId": HashedId,
"createdByUser": User,
"createdByUserId": HashedId,
"deleted": 1592577642,
"description": Translation,
"descriptionId": HashedId,
"hasAutomations": false,
"hasConditions": true,
"iconUrl": "abc123",
"id": HashedId,
"itemType": "asset",
"parent": ProcedureTemplate,
"parentId": HashedId,
"preset": "check",
"publicId": 123,
"publicRootId": 987,
"rootId": HashedId,
"servicePackageCount": 987,
"servicePackages": [ServicePackage],
"ticketCount": 987,
"title": Translation,
"titleId": HashedId,
"type": "tickets",
"updated": 1592577642,
"updatedByUser": User,
"updatedByUserId": HashedId
}
]
}
}
findAssetIntegrationById
Description
Find a single asset integration by its ID
Response
Returns an AssetIntegration
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
ID of the asset integration to find |
Example
Query
query findAssetIntegrationById($id: HashedId!) {
findAssetIntegrationById(id: $id) {
assetCategory {
...AssetCategoryFragment
}
assetCategoryId
created
id
iotParameters {
...IotParameterFragment
}
manufacturer {
...ManufacturerFragment
}
manufacturerId
name
updated
}
}
Variables
{"id": HashedId}
Response
{
"data": {
"findAssetIntegrationById": {
"assetCategory": AssetCategory,
"assetCategoryId": HashedId,
"created": 1592577642,
"id": HashedId,
"iotParameters": [IotParameter],
"manufacturer": Manufacturer,
"manufacturerId": HashedId,
"name": "xyz789",
"updated": 1592577642
}
}
}
findAssetIntegrationByName
Description
Find a single asset integration by its name
Response
Returns an AssetIntegration
Arguments
| Name | Description |
|---|---|
name - String!
|
Exact name of the integration to look up |
Example
Query
query findAssetIntegrationByName($name: String!) {
findAssetIntegrationByName(name: $name) {
assetCategory {
...AssetCategoryFragment
}
assetCategoryId
created
id
iotParameters {
...IotParameterFragment
}
manufacturer {
...ManufacturerFragment
}
manufacturerId
name
updated
}
}
Variables
{"name": "xyz789"}
Response
{
"data": {
"findAssetIntegrationByName": {
"assetCategory": AssetCategory,
"assetCategoryId": HashedId,
"created": 1592577642,
"id": HashedId,
"iotParameters": [IotParameter],
"manufacturer": Manufacturer,
"manufacturerId": HashedId,
"name": "abc123",
"updated": 1592577642
}
}
}
findManufacturerByName
Description
Find a manufacturer by its display name
Response
Returns a Manufacturer
Arguments
| Name | Description |
|---|---|
name - String!
|
Display name |
Example
Query
query findManufacturerByName($name: String!) {
findManufacturerByName(name: $name) {
assetIntegrationIds
assetIntegrations {
...AssetIntegrationFragment
}
created
id
maintainedByGroup {
...GroupFragment
}
maintainedByGroupId
name
nameKey
notificationsEnabled
updated
}
}
Variables
{"name": "abc123"}
Response
{
"data": {
"findManufacturerByName": {
"assetIntegrationIds": [HashedId],
"assetIntegrations": [AssetIntegration],
"created": 1592577642,
"id": HashedId,
"maintainedByGroup": Group,
"maintainedByGroupId": 123,
"name": "abc123",
"nameKey": "abc123",
"notificationsEnabled": false,
"updated": 1592577642
}
}
}
findManufacturerByNameKey
Description
Find a manufacturer by its unique name key
Response
Returns a Manufacturer
Arguments
| Name | Description |
|---|---|
nameKey - String!
|
Normalized uppercase lookup key |
Example
Query
query findManufacturerByNameKey($nameKey: String!) {
findManufacturerByNameKey(nameKey: $nameKey) {
assetIntegrationIds
assetIntegrations {
...AssetIntegrationFragment
}
created
id
maintainedByGroup {
...GroupFragment
}
maintainedByGroupId
name
nameKey
notificationsEnabled
updated
}
}
Variables
{"nameKey": "abc123"}
Response
{
"data": {
"findManufacturerByNameKey": {
"assetIntegrationIds": [HashedId],
"assetIntegrations": [AssetIntegration],
"created": 1592577642,
"id": HashedId,
"maintainedByGroup": Group,
"maintainedByGroupId": 987,
"name": "abc123",
"nameKey": "abc123",
"notificationsEnabled": false,
"updated": 1592577642
}
}
}
findManufacturersByGroupIds
Description
Retrieve manufacturers by group ids
Response
Returns [Manufacturer!]!
Arguments
| Name | Description |
|---|---|
groupIds - [HashedId!]!
|
Group identifiers |
Example
Query
query findManufacturersByGroupIds($groupIds: [HashedId!]!) {
findManufacturersByGroupIds(groupIds: $groupIds) {
assetIntegrationIds
assetIntegrations {
...AssetIntegrationFragment
}
created
id
maintainedByGroup {
...GroupFragment
}
maintainedByGroupId
name
nameKey
notificationsEnabled
updated
}
}
Variables
{"groupIds": [HashedId]}
Response
{
"data": {
"findManufacturersByGroupIds": [
{
"assetIntegrationIds": [HashedId],
"assetIntegrations": [AssetIntegration],
"created": 1592577642,
"id": HashedId,
"maintainedByGroup": Group,
"maintainedByGroupId": 987,
"name": "xyz789",
"nameKey": "xyz789",
"notificationsEnabled": false,
"updated": 1592577642
}
]
}
}
findManufacturersByIds
Description
Retrieve manufacturers by ids
Response
Returns [Manufacturer!]!
Arguments
| Name | Description |
|---|---|
ids - [HashedId!]!
|
Manufacturer identifiers to look up |
Example
Query
query findManufacturersByIds($ids: [HashedId!]!) {
findManufacturersByIds(ids: $ids) {
assetIntegrationIds
assetIntegrations {
...AssetIntegrationFragment
}
created
id
maintainedByGroup {
...GroupFragment
}
maintainedByGroupId
name
nameKey
notificationsEnabled
updated
}
}
Variables
{"ids": [HashedId]}
Response
{
"data": {
"findManufacturersByIds": [
{
"assetIntegrationIds": [HashedId],
"assetIntegrations": [AssetIntegration],
"created": 1592577642,
"id": HashedId,
"maintainedByGroup": Group,
"maintainedByGroupId": 987,
"name": "abc123",
"nameKey": "xyz789",
"notificationsEnabled": false,
"updated": 1592577642
}
]
}
}
findProcedureTemplateById
Description
Returns a single procedure template by hashed ID, or null if not found
Response
Returns a ProcedureTemplate
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Unique identifier of the entity |
Example
Query
query findProcedureTemplateById($id: HashedId!) {
findProcedureTemplateById(id: $id) {
accessLevel
automations {
...ProcedureTemplateAutomationFragment
}
componentCount
components {
...ProcedureTemplateComponentFragment
}
conditions {
...ProcedureConditionFragment
}
created
createdByGroup {
...GroupFragment
}
createdByGroupId
createdByUser {
...UserFragment
}
createdByUserId
deleted
description {
...TranslationFragment
}
descriptionId
hasAutomations
hasConditions
iconUrl
id
itemType
parent {
...ProcedureTemplateFragment
}
parentId
preset
publicId
publicRootId
rootId
servicePackageCount
servicePackages {
...ServicePackageFragment
}
ticketCount
title {
...TranslationFragment
}
titleId
type
updated
updatedByUser {
...UserFragment
}
updatedByUserId
}
}
Variables
{"id": HashedId}
Response
{
"data": {
"findProcedureTemplateById": {
"accessLevel": "branch",
"automations": [ProcedureTemplateAutomation],
"componentCount": 987,
"components": [ProcedureTemplateComponent],
"conditions": [ProcedureCondition],
"created": 1592577642,
"createdByGroup": Group,
"createdByGroupId": HashedId,
"createdByUser": User,
"createdByUserId": HashedId,
"deleted": 1592577642,
"description": Translation,
"descriptionId": HashedId,
"hasAutomations": true,
"hasConditions": false,
"iconUrl": "xyz789",
"id": HashedId,
"itemType": "asset",
"parent": ProcedureTemplate,
"parentId": HashedId,
"preset": "check",
"publicId": 987,
"publicRootId": 123,
"rootId": HashedId,
"servicePackageCount": 123,
"servicePackages": [ServicePackage],
"ticketCount": 987,
"title": Translation,
"titleId": HashedId,
"type": "tickets",
"updated": 1592577642,
"updatedByUser": User,
"updatedByUserId": HashedId
}
}
}
findProcedureTemplateByIds
Description
Returns procedure templates matching the provided list of hashed IDs
Response
Returns [ProcedureTemplate!]!
Arguments
| Name | Description |
|---|---|
ids - [HashedId!]!
|
List of unique identifiers |
Example
Query
query findProcedureTemplateByIds($ids: [HashedId!]!) {
findProcedureTemplateByIds(ids: $ids) {
accessLevel
automations {
...ProcedureTemplateAutomationFragment
}
componentCount
components {
...ProcedureTemplateComponentFragment
}
conditions {
...ProcedureConditionFragment
}
created
createdByGroup {
...GroupFragment
}
createdByGroupId
createdByUser {
...UserFragment
}
createdByUserId
deleted
description {
...TranslationFragment
}
descriptionId
hasAutomations
hasConditions
iconUrl
id
itemType
parent {
...ProcedureTemplateFragment
}
parentId
preset
publicId
publicRootId
rootId
servicePackageCount
servicePackages {
...ServicePackageFragment
}
ticketCount
title {
...TranslationFragment
}
titleId
type
updated
updatedByUser {
...UserFragment
}
updatedByUserId
}
}
Variables
{"ids": [HashedId]}
Response
{
"data": {
"findProcedureTemplateByIds": [
{
"accessLevel": "branch",
"automations": [ProcedureTemplateAutomation],
"componentCount": 987,
"components": [ProcedureTemplateComponent],
"conditions": [ProcedureCondition],
"created": 1592577642,
"createdByGroup": Group,
"createdByGroupId": HashedId,
"createdByUser": User,
"createdByUserId": HashedId,
"deleted": 1592577642,
"description": Translation,
"descriptionId": HashedId,
"hasAutomations": true,
"hasConditions": false,
"iconUrl": "abc123",
"id": HashedId,
"itemType": "asset",
"parent": ProcedureTemplate,
"parentId": HashedId,
"preset": "check",
"publicId": 123,
"publicRootId": 987,
"rootId": HashedId,
"servicePackageCount": 123,
"servicePackages": [ServicePackage],
"ticketCount": 123,
"title": Translation,
"titleId": HashedId,
"type": "tickets",
"updated": 1592577642,
"updatedByUser": User,
"updatedByUserId": HashedId
}
]
}
}
findProcedureTemplatesPaginated
Description
List templates paginated with optional filtering
Response
Returns a ProcedureTemplatePaginatedDto!
Arguments
| Name | Description |
|---|---|
filters - [FilterParamsInput]
|
Filter criteria |
pagination - PaginationParams!
|
Pagination |
search - String
|
Text search query for filtering results |
Example
Query
query findProcedureTemplatesPaginated(
$filters: [FilterParamsInput],
$pagination: PaginationParams!,
$search: String
) {
findProcedureTemplatesPaginated(
filters: $filters,
pagination: $pagination,
search: $search
) {
meta {
...PaginationMetaFragment
}
rows {
...ProcedureTemplateFragment
}
total
}
}
Variables
{
"filters": [FilterParamsInput],
"pagination": PaginationParams,
"search": "xyz789"
}
Response
{
"data": {
"findProcedureTemplatesPaginated": {
"meta": PaginationMeta,
"rows": [ProcedureTemplate],
"total": 123
}
}
}
findRuleById
Description
List rule by id with optional filtering
Example
Query
query findRuleById($id: HashedId!) {
findRuleById(id: $id) {
assetBlacklist {
...AssetFragment
}
assignedToGroup {
...GroupFragment
}
assignedToGroupId
checkAssetsPaginated {
...PaginatedRuleCheckAssetsFragment
}
created
createdByGroup {
...GroupFragment
}
createdByGroupId
createdByUser {
...UserFragment
}
createdByUserId
definition
description {
...TranslationFragment
}
descriptionId
enabled
eventStyle {
...EventStyleFragment
}
eventStyleId
eventType
eventsConfigs {
...EventConfigFragment
}
id
isActive
isArchived
isCheckAllowedForUnauthorizedUsers
isCritical
isGlobalRule
isImmediateNotification
isOneshot
isOnetime
manualDeactivation
publicId
purpose
relations {
...RuleRelationFragment
}
relationsV2 {
...RuleRelationFragment
}
sendNotificationsTo {
...RuleNotificationRelationFragment
}
services {
...ServiceFragment
}
servicesV2 {
...ServiceFragment
}
source
title {
...TranslationFragment
}
titleId
updated
}
}
Variables
{"id": HashedId}
Response
{
"data": {
"findRuleById": {
"assetBlacklist": [Asset],
"assignedToGroup": Group,
"assignedToGroupId": HashedId,
"checkAssetsPaginated": PaginatedRuleCheckAssets,
"created": 1592577642,
"createdByGroup": Group,
"createdByGroupId": HashedId,
"createdByUser": User,
"createdByUserId": HashedId,
"definition": {},
"description": Translation,
"descriptionId": HashedId,
"enabled": true,
"eventStyle": EventStyle,
"eventStyleId": HashedId,
"eventType": "COST",
"eventsConfigs": [EventConfig],
"id": HashedId,
"isActive": false,
"isArchived": false,
"isCheckAllowedForUnauthorizedUsers": true,
"isCritical": true,
"isGlobalRule": false,
"isImmediateNotification": false,
"isOneshot": false,
"isOnetime": false,
"manualDeactivation": false,
"publicId": "xyz789",
"purpose": "GEOFENCE",
"relations": [RuleRelation],
"relationsV2": [RuleRelation],
"sendNotificationsTo": [RuleNotificationRelation],
"services": [Service],
"servicesV2": [Service],
"source": "BLE",
"title": Translation,
"titleId": HashedId,
"updated": 1592577642
}
}
}
findRulesBySource
Description
List rules by source with optional filtering
Response
Returns [Rule!]!
Arguments
| Name | Description |
|---|---|
assetId - HashedId
|
Asset identifier |
source - RuleSource!
|
Evaluation source to filter rules by |
Example
Query
query findRulesBySource(
$assetId: HashedId,
$source: RuleSource!
) {
findRulesBySource(
assetId: $assetId,
source: $source
) {
assetBlacklist {
...AssetFragment
}
assignedToGroup {
...GroupFragment
}
assignedToGroupId
checkAssetsPaginated {
...PaginatedRuleCheckAssetsFragment
}
created
createdByGroup {
...GroupFragment
}
createdByGroupId
createdByUser {
...UserFragment
}
createdByUserId
definition
description {
...TranslationFragment
}
descriptionId
enabled
eventStyle {
...EventStyleFragment
}
eventStyleId
eventType
eventsConfigs {
...EventConfigFragment
}
id
isActive
isArchived
isCheckAllowedForUnauthorizedUsers
isCritical
isGlobalRule
isImmediateNotification
isOneshot
isOnetime
manualDeactivation
publicId
purpose
relations {
...RuleRelationFragment
}
relationsV2 {
...RuleRelationFragment
}
sendNotificationsTo {
...RuleNotificationRelationFragment
}
services {
...ServiceFragment
}
servicesV2 {
...ServiceFragment
}
source
title {
...TranslationFragment
}
titleId
updated
}
}
Variables
{"assetId": HashedId, "source": "BLE"}
Response
{
"data": {
"findRulesBySource": [
{
"assetBlacklist": [Asset],
"assignedToGroup": Group,
"assignedToGroupId": HashedId,
"checkAssetsPaginated": PaginatedRuleCheckAssets,
"created": 1592577642,
"createdByGroup": Group,
"createdByGroupId": HashedId,
"createdByUser": User,
"createdByUserId": HashedId,
"definition": {},
"description": Translation,
"descriptionId": HashedId,
"enabled": true,
"eventStyle": EventStyle,
"eventStyleId": HashedId,
"eventType": "COST",
"eventsConfigs": [EventConfig],
"id": HashedId,
"isActive": false,
"isArchived": false,
"isCheckAllowedForUnauthorizedUsers": true,
"isCritical": true,
"isGlobalRule": false,
"isImmediateNotification": false,
"isOneshot": true,
"isOnetime": false,
"manualDeactivation": false,
"publicId": "xyz789",
"purpose": "GEOFENCE",
"relations": [RuleRelation],
"relationsV2": [RuleRelation],
"sendNotificationsTo": [RuleNotificationRelation],
"services": [Service],
"servicesV2": [Service],
"source": "BLE",
"title": Translation,
"titleId": HashedId,
"updated": 1592577642
}
]
}
}
generateGrafanaSnapshot
Description
Generate Grafana snapshot URL
Response
Returns a String
Arguments
| Name | Description |
|---|---|
input - DashboardGenerateSnapshotUrlInput!
|
Dashboard generate snapshot url input fields |
Example
Query
query generateGrafanaSnapshot($input: DashboardGenerateSnapshotUrlInput!) {
generateGrafanaSnapshot(input: $input)
}
Variables
{"input": DashboardGenerateSnapshotUrlInput}
Response
{
"data": {
"generateGrafanaSnapshot": "xyz789"
}
}
getAllObservation
Description
List integration observations
Response
Returns [IntegrationObservation!]!
Example
Query
query getAllObservation {
getAllObservation {
created
deferredUntil
duration
error
id
integrationId
lastEndAt
lastIotEventAt
lastStartAt
lastSuccessAt
records {
...IntegrationObservationRecordFragment
}
status
updated
}
}
Response
{
"data": {
"getAllObservation": [
{
"created": 1592577642,
"deferredUntil": "2007-12-03T10:15:30Z",
"duration": 123,
"error": "xyz789",
"id": HashedId,
"integrationId": HashedId,
"lastEndAt": "2007-12-03T10:15:30Z",
"lastIotEventAt": "2007-12-03T10:15:30Z",
"lastStartAt": "2007-12-03T10:15:30Z",
"lastSuccessAt": "2007-12-03T10:15:30Z",
"records": [IntegrationObservationRecord],
"status": "CANCELLED",
"updated": 1592577642
}
]
}
}
getAllUserGroups
Description
Retrieve all groups accessible to the current user across the organization hierarchy
Response
Returns [Group!]!
Example
Query
query getAllUserGroups {
getAllUserGroups {
activeCustomFields {
...CustomFieldFragment
}
archivedCustomFields {
...CustomFieldFragment
}
assetIds
assetLocationsHidden
assets {
...AssetFragment
}
belongsToCurrentGroup
brand {
...BrandFragment
}
canGrantJotformConversion
childGroupIds
childGroups {
...GroupFragment
}
costSettings {
...GroupCostSettingsFragment
}
costSettingsId
created
customerName
customerRootGroup {
...GroupFragment
}
deleted
deletedAssetCategoriesCount
deletedAssetTypesCount
deletedAssetsCount
deletedBy
deletedGroupsCount
deletedSitesCount
effectiveTimezone
flow {
...ServicePackageFragment
}
flowId
flowMaintainers {
...NotificationRelationFragment
}
groupType {
...ServicePackageFragment
}
groupTypeId
handlerAlias
hasTicketHandling
id
identificationNumber
image
internalSettings
isCustomer
isRoot
maintainedManufacturer {
...ManufacturerFragment
}
maintainedManufacturerId
name
nonCustomerParentGroup {
...GroupFragment
}
ownSettings
parentGroup {
...GroupFragment
}
parentGroupId
parentName
resolvedCurrency
restoreBlockers
roleIds
rootBrand {
...BrandFragment
}
rootGroupId
rootGroupName
servicePackage {
...ServicePackageFragment
}
servicePackageId
servicePackageV2 {
... on RestrictedServicePackage {
...RestrictedServicePackageFragment
}
... on ServicePackage {
...ServicePackageFragment
}
}
services {
...ServiceFragment
}
servicesV2 {
...ServiceFragment
}
settings
ticketAfterApprovalAssigneeTeam {
...TeamFragment
}
ticketAfterApprovalAssigneeUser {
...UserFragment
}
ticketDefaultAssignee {
...UserFragment
}
ticketHandler {
...GroupTicketHandlerFragment
}
treeRootId
updated
userIds
userRequestNotifiers {
...NotificationRelationFragment
}
users {
...UserFragment
}
vatNumber
workingHours {
...GroupWorkingHoursFragment
}
}
}
Response
{
"data": {
"getAllUserGroups": [
{
"activeCustomFields": [CustomField],
"archivedCustomFields": [CustomField],
"assetIds": [HashedId],
"assetLocationsHidden": false,
"assets": [Asset],
"belongsToCurrentGroup": false,
"brand": Brand,
"canGrantJotformConversion": true,
"childGroupIds": [HashedId],
"childGroups": [Group],
"costSettings": GroupCostSettings,
"costSettingsId": HashedId,
"created": 1592577642,
"customerName": "abc123",
"customerRootGroup": Group,
"deleted": 1592577642,
"deletedAssetCategoriesCount": 123,
"deletedAssetTypesCount": 987,
"deletedAssetsCount": 123,
"deletedBy": "abc123",
"deletedGroupsCount": 123,
"deletedSitesCount": 123,
"effectiveTimezone": "abc123",
"flow": ServicePackage,
"flowId": HashedId,
"flowMaintainers": [NotificationRelation],
"groupType": ServicePackage,
"groupTypeId": HashedId,
"handlerAlias": "abc123",
"hasTicketHandling": true,
"id": HashedId,
"identificationNumber": "xyz789",
"image": "abc123",
"internalSettings": {},
"isCustomer": true,
"isRoot": false,
"maintainedManufacturer": [Manufacturer],
"maintainedManufacturerId": [HashedId],
"name": "abc123",
"nonCustomerParentGroup": Group,
"ownSettings": {},
"parentGroup": Group,
"parentGroupId": HashedId,
"parentName": "abc123",
"resolvedCurrency": "AED",
"restoreBlockers": ["PARENT_ASSET_CATEGORY_DELETED"],
"roleIds": [HashedId],
"rootBrand": Brand,
"rootGroupId": HashedId,
"rootGroupName": "abc123",
"servicePackage": ServicePackage,
"servicePackageId": HashedId,
"servicePackageV2": RestrictedServicePackage,
"services": [Service],
"servicesV2": [Service],
"settings": {},
"ticketAfterApprovalAssigneeTeam": Team,
"ticketAfterApprovalAssigneeUser": User,
"ticketDefaultAssignee": User,
"ticketHandler": GroupTicketHandler,
"treeRootId": HashedId,
"updated": 1592577642,
"userIds": [HashedId],
"userRequestNotifiers": [NotificationRelation],
"users": [User],
"vatNumber": "xyz789",
"workingHours": GroupWorkingHours
}
]
}
}
getAssetsAffectedByGroupChange
Description
Count assets impacted by a site group reassignment
Response
Returns an Int!
Example
Query
query getAssetsAffectedByGroupChange(
$groupId: HashedId!,
$id: HashedId!
) {
getAssetsAffectedByGroupChange(
groupId: $groupId,
id: $id
)
}
Variables
{
"groupId": HashedId,
"id": HashedId
}
Response
{"data": {"getAssetsAffectedByGroupChange": 987}}
getCurrentGroupChildren
Description
Retrieve direct child groups of the current user primary group
Response
Returns [Group!]!
Example
Query
query getCurrentGroupChildren {
getCurrentGroupChildren {
activeCustomFields {
...CustomFieldFragment
}
archivedCustomFields {
...CustomFieldFragment
}
assetIds
assetLocationsHidden
assets {
...AssetFragment
}
belongsToCurrentGroup
brand {
...BrandFragment
}
canGrantJotformConversion
childGroupIds
childGroups {
...GroupFragment
}
costSettings {
...GroupCostSettingsFragment
}
costSettingsId
created
customerName
customerRootGroup {
...GroupFragment
}
deleted
deletedAssetCategoriesCount
deletedAssetTypesCount
deletedAssetsCount
deletedBy
deletedGroupsCount
deletedSitesCount
effectiveTimezone
flow {
...ServicePackageFragment
}
flowId
flowMaintainers {
...NotificationRelationFragment
}
groupType {
...ServicePackageFragment
}
groupTypeId
handlerAlias
hasTicketHandling
id
identificationNumber
image
internalSettings
isCustomer
isRoot
maintainedManufacturer {
...ManufacturerFragment
}
maintainedManufacturerId
name
nonCustomerParentGroup {
...GroupFragment
}
ownSettings
parentGroup {
...GroupFragment
}
parentGroupId
parentName
resolvedCurrency
restoreBlockers
roleIds
rootBrand {
...BrandFragment
}
rootGroupId
rootGroupName
servicePackage {
...ServicePackageFragment
}
servicePackageId
servicePackageV2 {
... on RestrictedServicePackage {
...RestrictedServicePackageFragment
}
... on ServicePackage {
...ServicePackageFragment
}
}
services {
...ServiceFragment
}
servicesV2 {
...ServiceFragment
}
settings
ticketAfterApprovalAssigneeTeam {
...TeamFragment
}
ticketAfterApprovalAssigneeUser {
...UserFragment
}
ticketDefaultAssignee {
...UserFragment
}
ticketHandler {
...GroupTicketHandlerFragment
}
treeRootId
updated
userIds
userRequestNotifiers {
...NotificationRelationFragment
}
users {
...UserFragment
}
vatNumber
workingHours {
...GroupWorkingHoursFragment
}
}
}
Response
{
"data": {
"getCurrentGroupChildren": [
{
"activeCustomFields": [CustomField],
"archivedCustomFields": [CustomField],
"assetIds": [HashedId],
"assetLocationsHidden": false,
"assets": [Asset],
"belongsToCurrentGroup": true,
"brand": Brand,
"canGrantJotformConversion": false,
"childGroupIds": [HashedId],
"childGroups": [Group],
"costSettings": GroupCostSettings,
"costSettingsId": HashedId,
"created": 1592577642,
"customerName": "abc123",
"customerRootGroup": Group,
"deleted": 1592577642,
"deletedAssetCategoriesCount": 123,
"deletedAssetTypesCount": 987,
"deletedAssetsCount": 987,
"deletedBy": "xyz789",
"deletedGroupsCount": 123,
"deletedSitesCount": 987,
"effectiveTimezone": "xyz789",
"flow": ServicePackage,
"flowId": HashedId,
"flowMaintainers": [NotificationRelation],
"groupType": ServicePackage,
"groupTypeId": HashedId,
"handlerAlias": "abc123",
"hasTicketHandling": true,
"id": HashedId,
"identificationNumber": "xyz789",
"image": "abc123",
"internalSettings": {},
"isCustomer": false,
"isRoot": false,
"maintainedManufacturer": [Manufacturer],
"maintainedManufacturerId": [HashedId],
"name": "xyz789",
"nonCustomerParentGroup": Group,
"ownSettings": {},
"parentGroup": Group,
"parentGroupId": HashedId,
"parentName": "xyz789",
"resolvedCurrency": "AED",
"restoreBlockers": ["PARENT_ASSET_CATEGORY_DELETED"],
"roleIds": [HashedId],
"rootBrand": Brand,
"rootGroupId": HashedId,
"rootGroupName": "abc123",
"servicePackage": ServicePackage,
"servicePackageId": HashedId,
"servicePackageV2": RestrictedServicePackage,
"services": [Service],
"servicesV2": [Service],
"settings": {},
"ticketAfterApprovalAssigneeTeam": Team,
"ticketAfterApprovalAssigneeUser": User,
"ticketDefaultAssignee": User,
"ticketHandler": GroupTicketHandler,
"treeRootId": HashedId,
"updated": 1592577642,
"userIds": [HashedId],
"userRequestNotifiers": [NotificationRelation],
"users": [User],
"vatNumber": "abc123",
"workingHours": GroupWorkingHours
}
]
}
}
getGroupById
Description
Retrieve a single group by its unique identifier including settings and hierarchy information
Example
Query
query getGroupById($id: HashedId!) {
getGroupById(id: $id) {
activeCustomFields {
...CustomFieldFragment
}
archivedCustomFields {
...CustomFieldFragment
}
assetIds
assetLocationsHidden
assets {
...AssetFragment
}
belongsToCurrentGroup
brand {
...BrandFragment
}
canGrantJotformConversion
childGroupIds
childGroups {
...GroupFragment
}
costSettings {
...GroupCostSettingsFragment
}
costSettingsId
created
customerName
customerRootGroup {
...GroupFragment
}
deleted
deletedAssetCategoriesCount
deletedAssetTypesCount
deletedAssetsCount
deletedBy
deletedGroupsCount
deletedSitesCount
effectiveTimezone
flow {
...ServicePackageFragment
}
flowId
flowMaintainers {
...NotificationRelationFragment
}
groupType {
...ServicePackageFragment
}
groupTypeId
handlerAlias
hasTicketHandling
id
identificationNumber
image
internalSettings
isCustomer
isRoot
maintainedManufacturer {
...ManufacturerFragment
}
maintainedManufacturerId
name
nonCustomerParentGroup {
...GroupFragment
}
ownSettings
parentGroup {
...GroupFragment
}
parentGroupId
parentName
resolvedCurrency
restoreBlockers
roleIds
rootBrand {
...BrandFragment
}
rootGroupId
rootGroupName
servicePackage {
...ServicePackageFragment
}
servicePackageId
servicePackageV2 {
... on RestrictedServicePackage {
...RestrictedServicePackageFragment
}
... on ServicePackage {
...ServicePackageFragment
}
}
services {
...ServiceFragment
}
servicesV2 {
...ServiceFragment
}
settings
ticketAfterApprovalAssigneeTeam {
...TeamFragment
}
ticketAfterApprovalAssigneeUser {
...UserFragment
}
ticketDefaultAssignee {
...UserFragment
}
ticketHandler {
...GroupTicketHandlerFragment
}
treeRootId
updated
userIds
userRequestNotifiers {
...NotificationRelationFragment
}
users {
...UserFragment
}
vatNumber
workingHours {
...GroupWorkingHoursFragment
}
}
}
Variables
{"id": HashedId}
Response
{
"data": {
"getGroupById": {
"activeCustomFields": [CustomField],
"archivedCustomFields": [CustomField],
"assetIds": [HashedId],
"assetLocationsHidden": false,
"assets": [Asset],
"belongsToCurrentGroup": false,
"brand": Brand,
"canGrantJotformConversion": false,
"childGroupIds": [HashedId],
"childGroups": [Group],
"costSettings": GroupCostSettings,
"costSettingsId": HashedId,
"created": 1592577642,
"customerName": "xyz789",
"customerRootGroup": Group,
"deleted": 1592577642,
"deletedAssetCategoriesCount": 123,
"deletedAssetTypesCount": 987,
"deletedAssetsCount": 123,
"deletedBy": "xyz789",
"deletedGroupsCount": 123,
"deletedSitesCount": 987,
"effectiveTimezone": "xyz789",
"flow": ServicePackage,
"flowId": HashedId,
"flowMaintainers": [NotificationRelation],
"groupType": ServicePackage,
"groupTypeId": HashedId,
"handlerAlias": "xyz789",
"hasTicketHandling": false,
"id": HashedId,
"identificationNumber": "abc123",
"image": "xyz789",
"internalSettings": {},
"isCustomer": true,
"isRoot": true,
"maintainedManufacturer": [Manufacturer],
"maintainedManufacturerId": [HashedId],
"name": "xyz789",
"nonCustomerParentGroup": Group,
"ownSettings": {},
"parentGroup": Group,
"parentGroupId": HashedId,
"parentName": "abc123",
"resolvedCurrency": "AED",
"restoreBlockers": ["PARENT_ASSET_CATEGORY_DELETED"],
"roleIds": [HashedId],
"rootBrand": Brand,
"rootGroupId": HashedId,
"rootGroupName": "abc123",
"servicePackage": ServicePackage,
"servicePackageId": HashedId,
"servicePackageV2": RestrictedServicePackage,
"services": [Service],
"servicesV2": [Service],
"settings": {},
"ticketAfterApprovalAssigneeTeam": Team,
"ticketAfterApprovalAssigneeUser": User,
"ticketDefaultAssignee": User,
"ticketHandler": GroupTicketHandler,
"treeRootId": HashedId,
"updated": 1592577642,
"userIds": [HashedId],
"userRequestNotifiers": [NotificationRelation],
"users": [User],
"vatNumber": "abc123",
"workingHours": GroupWorkingHours
}
}
}
getGroupByIds
Description
Retrieve multiple groups by their identifiers in a single batch request
Response
Returns [Group!]!
Arguments
| Name | Description |
|---|---|
ids - [HashedId!]!
|
List of unique identifiers |
Example
Query
query getGroupByIds($ids: [HashedId!]!) {
getGroupByIds(ids: $ids) {
activeCustomFields {
...CustomFieldFragment
}
archivedCustomFields {
...CustomFieldFragment
}
assetIds
assetLocationsHidden
assets {
...AssetFragment
}
belongsToCurrentGroup
brand {
...BrandFragment
}
canGrantJotformConversion
childGroupIds
childGroups {
...GroupFragment
}
costSettings {
...GroupCostSettingsFragment
}
costSettingsId
created
customerName
customerRootGroup {
...GroupFragment
}
deleted
deletedAssetCategoriesCount
deletedAssetTypesCount
deletedAssetsCount
deletedBy
deletedGroupsCount
deletedSitesCount
effectiveTimezone
flow {
...ServicePackageFragment
}
flowId
flowMaintainers {
...NotificationRelationFragment
}
groupType {
...ServicePackageFragment
}
groupTypeId
handlerAlias
hasTicketHandling
id
identificationNumber
image
internalSettings
isCustomer
isRoot
maintainedManufacturer {
...ManufacturerFragment
}
maintainedManufacturerId
name
nonCustomerParentGroup {
...GroupFragment
}
ownSettings
parentGroup {
...GroupFragment
}
parentGroupId
parentName
resolvedCurrency
restoreBlockers
roleIds
rootBrand {
...BrandFragment
}
rootGroupId
rootGroupName
servicePackage {
...ServicePackageFragment
}
servicePackageId
servicePackageV2 {
... on RestrictedServicePackage {
...RestrictedServicePackageFragment
}
... on ServicePackage {
...ServicePackageFragment
}
}
services {
...ServiceFragment
}
servicesV2 {
...ServiceFragment
}
settings
ticketAfterApprovalAssigneeTeam {
...TeamFragment
}
ticketAfterApprovalAssigneeUser {
...UserFragment
}
ticketDefaultAssignee {
...UserFragment
}
ticketHandler {
...GroupTicketHandlerFragment
}
treeRootId
updated
userIds
userRequestNotifiers {
...NotificationRelationFragment
}
users {
...UserFragment
}
vatNumber
workingHours {
...GroupWorkingHoursFragment
}
}
}
Variables
{"ids": [HashedId]}
Response
{
"data": {
"getGroupByIds": [
{
"activeCustomFields": [CustomField],
"archivedCustomFields": [CustomField],
"assetIds": [HashedId],
"assetLocationsHidden": true,
"assets": [Asset],
"belongsToCurrentGroup": false,
"brand": Brand,
"canGrantJotformConversion": true,
"childGroupIds": [HashedId],
"childGroups": [Group],
"costSettings": GroupCostSettings,
"costSettingsId": HashedId,
"created": 1592577642,
"customerName": "xyz789",
"customerRootGroup": Group,
"deleted": 1592577642,
"deletedAssetCategoriesCount": 123,
"deletedAssetTypesCount": 123,
"deletedAssetsCount": 987,
"deletedBy": "abc123",
"deletedGroupsCount": 987,
"deletedSitesCount": 987,
"effectiveTimezone": "xyz789",
"flow": ServicePackage,
"flowId": HashedId,
"flowMaintainers": [NotificationRelation],
"groupType": ServicePackage,
"groupTypeId": HashedId,
"handlerAlias": "xyz789",
"hasTicketHandling": true,
"id": HashedId,
"identificationNumber": "abc123",
"image": "xyz789",
"internalSettings": {},
"isCustomer": false,
"isRoot": true,
"maintainedManufacturer": [Manufacturer],
"maintainedManufacturerId": [HashedId],
"name": "abc123",
"nonCustomerParentGroup": Group,
"ownSettings": {},
"parentGroup": Group,
"parentGroupId": HashedId,
"parentName": "abc123",
"resolvedCurrency": "AED",
"restoreBlockers": ["PARENT_ASSET_CATEGORY_DELETED"],
"roleIds": [HashedId],
"rootBrand": Brand,
"rootGroupId": HashedId,
"rootGroupName": "abc123",
"servicePackage": ServicePackage,
"servicePackageId": HashedId,
"servicePackageV2": RestrictedServicePackage,
"services": [Service],
"servicesV2": [Service],
"settings": {},
"ticketAfterApprovalAssigneeTeam": Team,
"ticketAfterApprovalAssigneeUser": User,
"ticketDefaultAssignee": User,
"ticketHandler": GroupTicketHandler,
"treeRootId": HashedId,
"updated": 1592577642,
"userIds": [HashedId],
"userRequestNotifiers": [NotificationRelation],
"users": [User],
"vatNumber": "abc123",
"workingHours": GroupWorkingHours
}
]
}
}
getIntegrationBaseProviders
Description
List integration providers that serve as base configurations using string-based names
Response
Returns [IntegrationProviderNewDto!]!
Example
Query
query getIntegrationBaseProviders {
getIntegrationBaseProviders {
config {
...IntegrationConfigKeyFragment
}
created
cronTime
groupId
id
isBase
isCronActive
isScheduled
name
provider
supportsExplorer
treeRootGroupId
updated
userId
}
}
Response
{
"data": {
"getIntegrationBaseProviders": [
{
"config": [IntegrationConfigKey],
"created": 1592577642,
"cronTime": "xyz789",
"groupId": HashedId,
"id": HashedId,
"isBase": true,
"isCronActive": true,
"isScheduled": false,
"name": "xyz789",
"provider": "ACHELIS_PROVIDER",
"supportsExplorer": true,
"treeRootGroupId": HashedId,
"updated": 1592577642,
"userId": HashedId
}
]
}
}
getIntegrationExplorerAssetOptions
Description
List the ToolSense asset options selectable in integration explorer asset fields, loaded on demand from the integration vendor
Response
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Unique identifier of the entity |
Example
Query
query getIntegrationExplorerAssetOptions($id: HashedId!) {
getIntegrationExplorerAssetOptions(id: $id) {
asset {
...AssetFragment
}
assetId
label
value
}
}
Variables
{"id": HashedId}
Response
{
"data": {
"getIntegrationExplorerAssetOptions": [
{
"asset": Asset,
"assetId": HashedId,
"label": "xyz789",
"value": "xyz789"
}
]
}
}
getIntegrationExplorerRequests
Description
List available integration explorer requests and the dynamic fields required to execute each request
Response
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Unique identifier of the entity |
Example
Query
query getIntegrationExplorerRequests($id: HashedId!) {
getIntegrationExplorerRequests(id: $id) {
fields {
...IntegrationExplorerFieldDtoFragment
}
key
label
}
}
Variables
{"id": HashedId}
Response
{
"data": {
"getIntegrationExplorerRequests": [
{
"fields": [IntegrationExplorerFieldDto],
"key": "abc123",
"label": "xyz789"
}
]
}
}
getIntegrationProvidersWithoutBase
Description
List integration providers excluding base configurations using string-based names
Response
Returns [IntegrationProviderNewDto!]!
Example
Query
query getIntegrationProvidersWithoutBase {
getIntegrationProvidersWithoutBase {
config {
...IntegrationConfigKeyFragment
}
created
cronTime
groupId
id
isBase
isCronActive
isScheduled
name
provider
supportsExplorer
treeRootGroupId
updated
userId
}
}
Response
{
"data": {
"getIntegrationProvidersWithoutBase": [
{
"config": [IntegrationConfigKey],
"created": 1592577642,
"cronTime": "xyz789",
"groupId": HashedId,
"id": HashedId,
"isBase": false,
"isCronActive": true,
"isScheduled": false,
"name": "xyz789",
"provider": "ACHELIS_PROVIDER",
"supportsExplorer": false,
"treeRootGroupId": HashedId,
"updated": 1592577642,
"userId": HashedId
}
]
}
}
getIntegrationUsersByGroup
Description
List users belonging to the group associated with a specific integration for sync authentication
Response
Returns [User!]!
Arguments
| Name | Description |
|---|---|
groupId - HashedId!
|
Group to retrieve integration users for |
Example
Query
query getIntegrationUsersByGroup($groupId: HashedId!) {
getIntegrationUsersByGroup(groupId: $groupId) {
activated
additionalGroups {
...GroupFragment
}
apiKey
belongsToGroup {
...GroupFragment
}
belongsToGroupId
canConvertServiceJotforms
canEditInspectionsAssignee
canEditOnlyOwnDocuments
canEditTicketTags
canManageIntegrations
canScheduleDisposition
canShareViews
checkPassword
created
dashboard
dashboardId
deleted
email
firstname
fullName
group {
...GroupFragment
}
groupId
groups {
...GroupFragment
}
hasAccessToPersonnelManagement
hasApiKey
hasMultipleGroups
id
image
info
isAnyAdmin
isCostEnabled
isSSOEnabled
isServicing
isSupportAdmin
label
language
languageCode
languageId
lastLogin
lastname
locale
loginInterruptIds
loginInterrupts
notificationIds
notifications
password
personnel {
...PersonnelFragment
}
phone
publicId
resolvedLocale
resolvedTimezone
role {
...RoleFragment
}
roleId
roleKey
services
settings
stripeSubscriptionId
subscription {
...StripeSubscriptionPlanFragment
}
supportAdmin
teams {
...TeamFragment
}
timezone
toolsenseAdmin
unavailability {
...UserUnavailabilityFragment
}
updated
username
}
}
Variables
{"groupId": HashedId}
Response
{
"data": {
"getIntegrationUsersByGroup": [
{
"activated": 1592577642,
"additionalGroups": [Group],
"apiKey": "abc123",
"belongsToGroup": Group,
"belongsToGroupId": HashedId,
"canConvertServiceJotforms": true,
"canEditInspectionsAssignee": false,
"canEditOnlyOwnDocuments": true,
"canEditTicketTags": false,
"canManageIntegrations": true,
"canScheduleDisposition": false,
"canShareViews": false,
"checkPassword": true,
"created": 1592577642,
"dashboard": {},
"dashboardId": HashedId,
"deleted": 1592577642,
"email": "abc123",
"firstname": "xyz789",
"fullName": "xyz789",
"group": Group,
"groupId": HashedId,
"groups": [Group],
"hasAccessToPersonnelManagement": false,
"hasApiKey": true,
"hasMultipleGroups": false,
"id": HashedId,
"image": "abc123",
"info": {},
"isAnyAdmin": false,
"isCostEnabled": false,
"isSSOEnabled": true,
"isServicing": true,
"isSupportAdmin": false,
"label": "abc123",
"language": HashedId,
"languageCode": "ar_ar",
"languageId": HashedId,
"lastLogin": "2007-12-03T10:15:30Z",
"lastname": "abc123",
"locale": LanguageTag,
"loginInterruptIds": [HashedId],
"loginInterrupts": {},
"notificationIds": [HashedId],
"notifications": [{}],
"password": "xyz789",
"personnel": Personnel,
"phone": "xyz789",
"publicId": 123,
"resolvedLocale": LanguageTag,
"resolvedTimezone": "xyz789",
"role": Role,
"roleId": HashedId,
"roleKey": "EditorUser",
"services": [{}],
"settings": {},
"stripeSubscriptionId": "abc123",
"subscription": StripeSubscriptionPlan,
"supportAdmin": true,
"teams": [Team],
"timezone": "xyz789",
"toolsenseAdmin": true,
"unavailability": [UserUnavailability],
"updated": 1592577642,
"username": "xyz789"
}
]
}
}
getObservationRecordEvents
Description
Retrieve individual record events for a specific entity type within an observation run
Response
Arguments
| Name | Description |
|---|---|
observationId - HashedId!
|
Observation run to retrieve events from |
operation - IntegrationObservationRecordEventOperationEnum
|
|
recordName - IntegrationObservationRecordNamesEnum!
|
Entity type this record applies to |
status - IntegrationObservationRecordEventStatusEnum
|
Example
Query
query getObservationRecordEvents(
$observationId: HashedId!,
$operation: IntegrationObservationRecordEventOperationEnum,
$recordName: IntegrationObservationRecordNamesEnum!,
$status: IntegrationObservationRecordEventStatusEnum
) {
getObservationRecordEvents(
observationId: $observationId,
operation: $operation,
recordName: $recordName,
status: $status
) {
changedFields
created
errorMessage
externalKey
id
internalEntityId
operation
recordName
status
updated
}
}
Variables
{
"observationId": HashedId,
"operation": "CREATE",
"recordName": "ASSET",
"status": "FAILED"
}
Response
{
"data": {
"getObservationRecordEvents": [
{
"changedFields": ["xyz789"],
"created": 1592577642,
"errorMessage": "abc123",
"externalKey": "xyz789",
"id": HashedId,
"internalEntityId": HashedId,
"operation": "CREATE",
"recordName": "ASSET",
"status": "FAILED",
"updated": 1592577642
}
]
}
}
getObservationRecords
Description
Retrieve per-entity sync results for a specific observation run
Response
Returns [IntegrationObservationRecord!]!
Arguments
| Name | Description |
|---|---|
observationId - HashedId!
|
Observation run to retrieve records from |
Example
Query
query getObservationRecords($observationId: HashedId!) {
getObservationRecords(observationId: $observationId) {
created
createdCount
deletedCount
failedCount
id
name
receivedCount
skippedCount
unchangedCount
updated
updatedCount
}
}
Variables
{"observationId": HashedId}
Response
{
"data": {
"getObservationRecords": [
{
"created": 1592577642,
"createdCount": 123,
"deletedCount": 987,
"failedCount": 123,
"id": HashedId,
"name": "ASSET",
"receivedCount": 123,
"skippedCount": 987,
"unchangedCount": 123,
"updated": 1592577642,
"updatedCount": 123
}
]
}
}
getQRCodeURLPrefix
Description
Retrieve q r code u r l prefix
Response
Returns a String!
Example
Query
query getQRCodeURLPrefix {
getQRCodeURLPrefix
}
Response
{"data": {"getQRCodeURLPrefix": "abc123"}}
getServiceContent
Description
Retrieve content configuration and form fields for a specific service
Response
Returns a ServiceContent
Example
Query
query getServiceContent {
getServiceContent {
content
contentType
}
}
Response
{
"data": {
"getServiceContent": {
"content": "abc123",
"contentType": "xyz789"
}
}
}
getSiteManagerTodos
Description
Retrieve site manager to-do summaries (deprecated, use siteManagerTodos)
Response
Returns [SiteManagerTodos!]!
Example
Query
query getSiteManagerTodos(
$emails: [String!],
$userIds: [Int!]
) {
getSiteManagerTodos(
emails: $emails,
userIds: $userIds
) {
checkRequired {
...AssetFragment
}
checkRequiredCount
checkRequiredFilterLink
checkThisMonth {
...AssetFragment
}
checkThisMonthCount
checkThisMonthFilterLink
checkThisWeek {
...AssetFragment
}
checkThisWeekCount
checkThisWeekFilterLink
checkUpcoming {
...AssetFragment
}
checkUpcomingCount
checkUpcomingFilterLink
created
damaged {
...AssetFragment
}
damagedCount
damagedFilterLink
id
inRepair {
...AssetFragment
}
inRepairCount
inRepairFilterLink
leasingEndExceeded {
...AssetFragment
}
leasingEndExceededCount
leasingEndExceededFilterLink
leasingEndThisMonth {
...AssetFragment
}
leasingEndThisMonthCount
leasingEndThisMonthFilterLink
leasingEndThisWeek {
...AssetFragment
}
leasingEndThisWeekCount
leasingEndThisWeekFilterLink
leasingEndUpcoming {
...AssetFragment
}
leasingEndUpcomingCount
leasingEndUpcomingFilterLink
maintenanceRequired {
...AssetFragment
}
maintenanceRequiredCount
maintenanceRequiredFilterLink
maintenanceThisMonth {
...AssetFragment
}
maintenanceThisMonthCount
maintenanceThisMonthFilterLink
maintenanceThisWeek {
...AssetFragment
}
maintenanceThisWeekCount
maintenanceThisWeekFilterLink
maintenanceUpcoming {
...AssetFragment
}
maintenanceUpcomingCount
maintenanceUpcomingFilterLink
noAction {
...AssetFragment
}
noActionCount
noActionFilterLink
noCheckPlanned {
...AssetFragment
}
noCheckPlannedCount
noCheckPlannedFilterLink
noLeasingEnd {
...AssetFragment
}
noLeasingEndCount
noLeasingEndFilterLink
noMaintenancePlanned {
...AssetFragment
}
noMaintenancePlannedCount
noMaintenancePlannedFilterLink
noRentalEnd {
...AssetFragment
}
noRentalEndCount
noRentalEndFilterLink
noServiceContractEnd {
...AssetFragment
}
noServiceContractEndCount
noServiceContractEndFilterLink
noWarrantyEnd {
...AssetFragment
}
noWarrantyEndCount
noWarrantyEndFilterLink
ordered {
...AssetFragment
}
orderedCount
orderedFilterLink
readyToUse {
...AssetFragment
}
readyToUseCount
readyToUseFilterLink
rentalEndExceeded {
...AssetFragment
}
rentalEndExceededCount
rentalEndExceededFilterLink
rentalEndThisMonth {
...AssetFragment
}
rentalEndThisMonthCount
rentalEndThisMonthFilterLink
rentalEndThisWeek {
...AssetFragment
}
rentalEndThisWeekCount
rentalEndThisWeekFilterLink
rentalEndUpcoming {
...AssetFragment
}
rentalEndUpcomingCount
rentalEndUpcomingFilterLink
retired {
...AssetFragment
}
retiredCount
retiredFilterLink
serviceContractEndExceeded {
...AssetFragment
}
serviceContractEndExceededCount
serviceContractEndExceededFilterLink
serviceContractEndThisMonth {
...AssetFragment
}
serviceContractEndThisMonthCount
serviceContractEndThisMonthFilterLink
serviceContractEndThisWeek {
...AssetFragment
}
serviceContractEndThisWeekCount
serviceContractEndThisWeekFilterLink
serviceContractEndUpcoming {
...AssetFragment
}
serviceContractEndUpcomingCount
serviceContractEndUpcomingFilterLink
siteManagerEmail
updated
warehouse {
...AssetFragment
}
warehouseCount
warehouseFilterLink
warrantyEndExceeded {
...AssetFragment
}
warrantyEndExceededCount
warrantyEndExceededFilterLink
warrantyEndThisMonth {
...AssetFragment
}
warrantyEndThisMonthCount
warrantyEndThisMonthFilterLink
warrantyEndThisWeek {
...AssetFragment
}
warrantyEndThisWeekCount
warrantyEndThisWeekFilterLink
warrantyEndUpcoming {
...AssetFragment
}
warrantyEndUpcomingCount
warrantyEndUpcomingFilterLink
}
}
Variables
{"emails": ["abc123"], "userIds": [987]}
Response
{
"data": {
"getSiteManagerTodos": [
{
"checkRequired": [Asset],
"checkRequiredCount": 987,
"checkRequiredFilterLink": "xyz789",
"checkThisMonth": [Asset],
"checkThisMonthCount": 987,
"checkThisMonthFilterLink": "xyz789",
"checkThisWeek": [Asset],
"checkThisWeekCount": 987,
"checkThisWeekFilterLink": "abc123",
"checkUpcoming": [Asset],
"checkUpcomingCount": 123,
"checkUpcomingFilterLink": "xyz789",
"created": 1592577642,
"damaged": [Asset],
"damagedCount": 123,
"damagedFilterLink": "xyz789",
"id": "abc123",
"inRepair": [Asset],
"inRepairCount": 987,
"inRepairFilterLink": "xyz789",
"leasingEndExceeded": [Asset],
"leasingEndExceededCount": 987,
"leasingEndExceededFilterLink": "abc123",
"leasingEndThisMonth": [Asset],
"leasingEndThisMonthCount": 987,
"leasingEndThisMonthFilterLink": "abc123",
"leasingEndThisWeek": [Asset],
"leasingEndThisWeekCount": 987,
"leasingEndThisWeekFilterLink": "abc123",
"leasingEndUpcoming": [Asset],
"leasingEndUpcomingCount": 123,
"leasingEndUpcomingFilterLink": "xyz789",
"maintenanceRequired": [Asset],
"maintenanceRequiredCount": 123,
"maintenanceRequiredFilterLink": "abc123",
"maintenanceThisMonth": [Asset],
"maintenanceThisMonthCount": 987,
"maintenanceThisMonthFilterLink": "abc123",
"maintenanceThisWeek": [Asset],
"maintenanceThisWeekCount": 123,
"maintenanceThisWeekFilterLink": "xyz789",
"maintenanceUpcoming": [Asset],
"maintenanceUpcomingCount": 123,
"maintenanceUpcomingFilterLink": "abc123",
"noAction": [Asset],
"noActionCount": 123,
"noActionFilterLink": "abc123",
"noCheckPlanned": [Asset],
"noCheckPlannedCount": 123,
"noCheckPlannedFilterLink": "xyz789",
"noLeasingEnd": [Asset],
"noLeasingEndCount": 123,
"noLeasingEndFilterLink": "xyz789",
"noMaintenancePlanned": [Asset],
"noMaintenancePlannedCount": 123,
"noMaintenancePlannedFilterLink": "abc123",
"noRentalEnd": [Asset],
"noRentalEndCount": 987,
"noRentalEndFilterLink": "abc123",
"noServiceContractEnd": [Asset],
"noServiceContractEndCount": 987,
"noServiceContractEndFilterLink": "abc123",
"noWarrantyEnd": [Asset],
"noWarrantyEndCount": 987,
"noWarrantyEndFilterLink": "abc123",
"ordered": [Asset],
"orderedCount": 123,
"orderedFilterLink": "abc123",
"readyToUse": [Asset],
"readyToUseCount": 987,
"readyToUseFilterLink": "xyz789",
"rentalEndExceeded": [Asset],
"rentalEndExceededCount": 987,
"rentalEndExceededFilterLink": "abc123",
"rentalEndThisMonth": [Asset],
"rentalEndThisMonthCount": 123,
"rentalEndThisMonthFilterLink": "abc123",
"rentalEndThisWeek": [Asset],
"rentalEndThisWeekCount": 987,
"rentalEndThisWeekFilterLink": "abc123",
"rentalEndUpcoming": [Asset],
"rentalEndUpcomingCount": 987,
"rentalEndUpcomingFilterLink": "xyz789",
"retired": [Asset],
"retiredCount": 123,
"retiredFilterLink": "abc123",
"serviceContractEndExceeded": [Asset],
"serviceContractEndExceededCount": 987,
"serviceContractEndExceededFilterLink": "abc123",
"serviceContractEndThisMonth": [Asset],
"serviceContractEndThisMonthCount": 987,
"serviceContractEndThisMonthFilterLink": "xyz789",
"serviceContractEndThisWeek": [Asset],
"serviceContractEndThisWeekCount": 123,
"serviceContractEndThisWeekFilterLink": "abc123",
"serviceContractEndUpcoming": [Asset],
"serviceContractEndUpcomingCount": 123,
"serviceContractEndUpcomingFilterLink": "xyz789",
"siteManagerEmail": "abc123",
"updated": 1592577642,
"warehouse": [Asset],
"warehouseCount": 123,
"warehouseFilterLink": "xyz789",
"warrantyEndExceeded": [Asset],
"warrantyEndExceededCount": 123,
"warrantyEndExceededFilterLink": "abc123",
"warrantyEndThisMonth": [Asset],
"warrantyEndThisMonthCount": 987,
"warrantyEndThisMonthFilterLink": "xyz789",
"warrantyEndThisWeek": [Asset],
"warrantyEndThisWeekCount": 123,
"warrantyEndThisWeekFilterLink": "xyz789",
"warrantyEndUpcoming": [Asset],
"warrantyEndUpcomingCount": 987,
"warrantyEndUpcomingFilterLink": "xyz789"
}
]
}
}
getViews
Description
Retrieve saved views accessible to the current user, filtered by entity type
Response
Returns [AssetView!]!
Arguments
| Name | Description |
|---|---|
forEntity - ViewEntityEnum!
|
Entity type to retrieve views for (e.g. asset, ticket) |
Example
Query
query getViews($forEntity: ViewEntityEnum!) {
getViews(forEntity: $forEntity) {
created
displayMode
forEntity
id
isActive
isDeletable
isEditable
isShareable
isShared
isSystemView
isUnsharedByParentGroup
options {
...AssetViewOptionsFragment
}
title {
...TranslationFragment
}
titleId
updated
}
}
Variables
{"forEntity": "ASSET"}
Response
{
"data": {
"getViews": [
{
"created": 1592577642,
"displayMode": "GANTT",
"forEntity": "ASSET",
"id": HashedId,
"isActive": true,
"isDeletable": true,
"isEditable": true,
"isShareable": false,
"isShared": false,
"isSystemView": false,
"isUnsharedByParentGroup": false,
"options": AssetViewOptions,
"title": Translation,
"titleId": HashedId,
"updated": 1592577642
}
]
}
}
group
Description
Retrieve a group
Response
Returns [Group!]!
Arguments
| Name | Description |
|---|---|
getAll - Boolean
|
Returns the full group tree for the user, regardless of the custom view group settings (see docs intro) |
getAllChildren - Boolean
|
Return all descendents of this group in addition to the group |
getRawFlow - Boolean
|
Returns raw flow without parsing if set true (default false) |
id - [HashedId!]
|
List of unique identifiers |
related - Boolean
|
Return all related groups of this group (all groups which have an asset which also belongs to this group) |
Example
Query
query group(
$getAll: Boolean,
$getAllChildren: Boolean,
$getRawFlow: Boolean,
$id: [HashedId!],
$related: Boolean
) {
group(
getAll: $getAll,
getAllChildren: $getAllChildren,
getRawFlow: $getRawFlow,
id: $id,
related: $related
) {
activeCustomFields {
...CustomFieldFragment
}
archivedCustomFields {
...CustomFieldFragment
}
assetIds
assetLocationsHidden
assets {
...AssetFragment
}
belongsToCurrentGroup
brand {
...BrandFragment
}
canGrantJotformConversion
childGroupIds
childGroups {
...GroupFragment
}
costSettings {
...GroupCostSettingsFragment
}
costSettingsId
created
customerName
customerRootGroup {
...GroupFragment
}
deleted
deletedAssetCategoriesCount
deletedAssetTypesCount
deletedAssetsCount
deletedBy
deletedGroupsCount
deletedSitesCount
effectiveTimezone
flow {
...ServicePackageFragment
}
flowId
flowMaintainers {
...NotificationRelationFragment
}
groupType {
...ServicePackageFragment
}
groupTypeId
handlerAlias
hasTicketHandling
id
identificationNumber
image
internalSettings
isCustomer
isRoot
maintainedManufacturer {
...ManufacturerFragment
}
maintainedManufacturerId
name
nonCustomerParentGroup {
...GroupFragment
}
ownSettings
parentGroup {
...GroupFragment
}
parentGroupId
parentName
resolvedCurrency
restoreBlockers
roleIds
rootBrand {
...BrandFragment
}
rootGroupId
rootGroupName
servicePackage {
...ServicePackageFragment
}
servicePackageId
servicePackageV2 {
... on RestrictedServicePackage {
...RestrictedServicePackageFragment
}
... on ServicePackage {
...ServicePackageFragment
}
}
services {
...ServiceFragment
}
servicesV2 {
...ServiceFragment
}
settings
ticketAfterApprovalAssigneeTeam {
...TeamFragment
}
ticketAfterApprovalAssigneeUser {
...UserFragment
}
ticketDefaultAssignee {
...UserFragment
}
ticketHandler {
...GroupTicketHandlerFragment
}
treeRootId
updated
userIds
userRequestNotifiers {
...NotificationRelationFragment
}
users {
...UserFragment
}
vatNumber
workingHours {
...GroupWorkingHoursFragment
}
}
}
Variables
{
"getAll": true,
"getAllChildren": true,
"getRawFlow": true,
"id": [HashedId],
"related": true
}
Response
{
"data": {
"group": [
{
"activeCustomFields": [CustomField],
"archivedCustomFields": [CustomField],
"assetIds": [HashedId],
"assetLocationsHidden": false,
"assets": [Asset],
"belongsToCurrentGroup": false,
"brand": Brand,
"canGrantJotformConversion": false,
"childGroupIds": [HashedId],
"childGroups": [Group],
"costSettings": GroupCostSettings,
"costSettingsId": HashedId,
"created": 1592577642,
"customerName": "xyz789",
"customerRootGroup": Group,
"deleted": 1592577642,
"deletedAssetCategoriesCount": 123,
"deletedAssetTypesCount": 123,
"deletedAssetsCount": 123,
"deletedBy": "xyz789",
"deletedGroupsCount": 987,
"deletedSitesCount": 123,
"effectiveTimezone": "xyz789",
"flow": ServicePackage,
"flowId": HashedId,
"flowMaintainers": [NotificationRelation],
"groupType": ServicePackage,
"groupTypeId": HashedId,
"handlerAlias": "xyz789",
"hasTicketHandling": true,
"id": HashedId,
"identificationNumber": "abc123",
"image": "abc123",
"internalSettings": {},
"isCustomer": false,
"isRoot": true,
"maintainedManufacturer": [Manufacturer],
"maintainedManufacturerId": [HashedId],
"name": "xyz789",
"nonCustomerParentGroup": Group,
"ownSettings": {},
"parentGroup": Group,
"parentGroupId": HashedId,
"parentName": "abc123",
"resolvedCurrency": "AED",
"restoreBlockers": ["PARENT_ASSET_CATEGORY_DELETED"],
"roleIds": [HashedId],
"rootBrand": Brand,
"rootGroupId": HashedId,
"rootGroupName": "abc123",
"servicePackage": ServicePackage,
"servicePackageId": HashedId,
"servicePackageV2": RestrictedServicePackage,
"services": [Service],
"servicesV2": [Service],
"settings": {},
"ticketAfterApprovalAssigneeTeam": Team,
"ticketAfterApprovalAssigneeUser": User,
"ticketDefaultAssignee": User,
"ticketHandler": GroupTicketHandler,
"treeRootId": HashedId,
"updated": 1592577642,
"userIds": [HashedId],
"userRequestNotifiers": [NotificationRelation],
"users": [User],
"vatNumber": "xyz789",
"workingHours": GroupWorkingHours
}
]
}
}
groupSettingsSource
Description
Find the ancestor group from which a given settings property is inherited
Response
Returns a Group
Example
Query
query groupSettingsSource(
$groupId: HashedId!,
$property: String!
) {
groupSettingsSource(
groupId: $groupId,
property: $property
) {
activeCustomFields {
...CustomFieldFragment
}
archivedCustomFields {
...CustomFieldFragment
}
assetIds
assetLocationsHidden
assets {
...AssetFragment
}
belongsToCurrentGroup
brand {
...BrandFragment
}
canGrantJotformConversion
childGroupIds
childGroups {
...GroupFragment
}
costSettings {
...GroupCostSettingsFragment
}
costSettingsId
created
customerName
customerRootGroup {
...GroupFragment
}
deleted
deletedAssetCategoriesCount
deletedAssetTypesCount
deletedAssetsCount
deletedBy
deletedGroupsCount
deletedSitesCount
effectiveTimezone
flow {
...ServicePackageFragment
}
flowId
flowMaintainers {
...NotificationRelationFragment
}
groupType {
...ServicePackageFragment
}
groupTypeId
handlerAlias
hasTicketHandling
id
identificationNumber
image
internalSettings
isCustomer
isRoot
maintainedManufacturer {
...ManufacturerFragment
}
maintainedManufacturerId
name
nonCustomerParentGroup {
...GroupFragment
}
ownSettings
parentGroup {
...GroupFragment
}
parentGroupId
parentName
resolvedCurrency
restoreBlockers
roleIds
rootBrand {
...BrandFragment
}
rootGroupId
rootGroupName
servicePackage {
...ServicePackageFragment
}
servicePackageId
servicePackageV2 {
... on RestrictedServicePackage {
...RestrictedServicePackageFragment
}
... on ServicePackage {
...ServicePackageFragment
}
}
services {
...ServiceFragment
}
servicesV2 {
...ServiceFragment
}
settings
ticketAfterApprovalAssigneeTeam {
...TeamFragment
}
ticketAfterApprovalAssigneeUser {
...UserFragment
}
ticketDefaultAssignee {
...UserFragment
}
ticketHandler {
...GroupTicketHandlerFragment
}
treeRootId
updated
userIds
userRequestNotifiers {
...NotificationRelationFragment
}
users {
...UserFragment
}
vatNumber
workingHours {
...GroupWorkingHoursFragment
}
}
}
Variables
{
"groupId": HashedId,
"property": "abc123"
}
Response
{
"data": {
"groupSettingsSource": {
"activeCustomFields": [CustomField],
"archivedCustomFields": [CustomField],
"assetIds": [HashedId],
"assetLocationsHidden": false,
"assets": [Asset],
"belongsToCurrentGroup": true,
"brand": Brand,
"canGrantJotformConversion": false,
"childGroupIds": [HashedId],
"childGroups": [Group],
"costSettings": GroupCostSettings,
"costSettingsId": HashedId,
"created": 1592577642,
"customerName": "abc123",
"customerRootGroup": Group,
"deleted": 1592577642,
"deletedAssetCategoriesCount": 987,
"deletedAssetTypesCount": 123,
"deletedAssetsCount": 987,
"deletedBy": "abc123",
"deletedGroupsCount": 123,
"deletedSitesCount": 123,
"effectiveTimezone": "xyz789",
"flow": ServicePackage,
"flowId": HashedId,
"flowMaintainers": [NotificationRelation],
"groupType": ServicePackage,
"groupTypeId": HashedId,
"handlerAlias": "abc123",
"hasTicketHandling": false,
"id": HashedId,
"identificationNumber": "abc123",
"image": "xyz789",
"internalSettings": {},
"isCustomer": false,
"isRoot": true,
"maintainedManufacturer": [Manufacturer],
"maintainedManufacturerId": [HashedId],
"name": "xyz789",
"nonCustomerParentGroup": Group,
"ownSettings": {},
"parentGroup": Group,
"parentGroupId": HashedId,
"parentName": "abc123",
"resolvedCurrency": "AED",
"restoreBlockers": ["PARENT_ASSET_CATEGORY_DELETED"],
"roleIds": [HashedId],
"rootBrand": Brand,
"rootGroupId": HashedId,
"rootGroupName": "xyz789",
"servicePackage": ServicePackage,
"servicePackageId": HashedId,
"servicePackageV2": RestrictedServicePackage,
"services": [Service],
"servicesV2": [Service],
"settings": {},
"ticketAfterApprovalAssigneeTeam": Team,
"ticketAfterApprovalAssigneeUser": User,
"ticketDefaultAssignee": User,
"ticketHandler": GroupTicketHandler,
"treeRootId": HashedId,
"updated": 1592577642,
"userIds": [HashedId],
"userRequestNotifiers": [NotificationRelation],
"users": [User],
"vatNumber": "abc123",
"workingHours": GroupWorkingHours
}
}
}
groupTicketHandlers
Description
Retrieve group ticket handlers
Response
Returns [GroupTicketHandler!]!
Example
Query
query groupTicketHandlers {
groupTicketHandlers {
created
deleted
externalEmailTicketHandlers {
...GroupTicketHandlerExternalEmailFragment
}
group {
...GroupFragment
}
groupId
groupTicketHandlers {
...GroupTicketHandlerGroupFragment
}
hasSiteManagerTicketHandler
id
isActive
publicId
teamTicketHandlers {
...GroupTicketHandlerTeamFragment
}
updated
userTicketHandlers {
...GroupTicketHandlerUserFragment
}
}
}
Response
{
"data": {
"groupTicketHandlers": [
{
"created": 1592577642,
"deleted": 1592577642,
"externalEmailTicketHandlers": [
GroupTicketHandlerExternalEmail
],
"group": Group,
"groupId": HashedId,
"groupTicketHandlers": [GroupTicketHandlerGroup],
"hasSiteManagerTicketHandler": false,
"id": HashedId,
"isActive": true,
"publicId": 987,
"teamTicketHandlers": [GroupTicketHandlerTeam],
"updated": 1592577642,
"userTicketHandlers": [GroupTicketHandlerUser]
}
]
}
}
groupTicketHandlersPaginated
Description
Retrieve a paginated list of group ticket handlers with filtering
Response
Returns a GroupTicketHandlerPaginatedResult!
Arguments
| Name | Description |
|---|---|
filters - [FilterParamsInput]
|
Filter criteria |
pagination - PaginationParams!
|
Pagination |
search - String
|
Text search query for filtering results |
Example
Query
query groupTicketHandlersPaginated(
$filters: [FilterParamsInput],
$pagination: PaginationParams!,
$search: String
) {
groupTicketHandlersPaginated(
filters: $filters,
pagination: $pagination,
search: $search
) {
meta {
...PaginationMetaFragment
}
rows {
...GroupTicketHandlerFragment
}
}
}
Variables
{
"filters": [FilterParamsInput],
"pagination": PaginationParams,
"search": "xyz789"
}
Response
{
"data": {
"groupTicketHandlersPaginated": {
"meta": PaginationMeta,
"rows": [GroupTicketHandler]
}
}
}
groups
Description
List groups with optional filtering
Response
Returns a GroupPaginatedDto!
Arguments
| Name | Description |
|---|---|
filters - [FilterParamsInput]
|
Filter criteria |
pagination - PaginationParams!
|
Pagination |
search - String
|
Text search query for filtering results |
Example
Query
query groups(
$filters: [FilterParamsInput],
$pagination: PaginationParams!,
$search: String
) {
groups(
filters: $filters,
pagination: $pagination,
search: $search
) {
meta {
...PaginationMetaFragment
}
rows {
...GroupFragment
}
total
}
}
Variables
{
"filters": [FilterParamsInput],
"pagination": PaginationParams,
"search": "abc123"
}
Response
{
"data": {
"groups": {
"meta": PaginationMeta,
"rows": [Group],
"total": 123
}
}
}
groupsPaginated
Description
Retrieve groups paginated
Response
Returns a GroupsPaginatedResult!
Arguments
| Name | Description |
|---|---|
filters - [FilterParamsInput]
|
Filter criteria |
pagination - PaginationParams!
|
Pagination |
search - String
|
Text search query for filtering results |
Example
Query
query groupsPaginated(
$filters: [FilterParamsInput],
$pagination: PaginationParams!,
$search: String
) {
groupsPaginated(
filters: $filters,
pagination: $pagination,
search: $search
) {
meta {
...PaginationMetaFragment
}
rows {
...GroupFragment
}
total
}
}
Variables
{
"filters": [FilterParamsInput],
"pagination": PaginationParams,
"search": "xyz789"
}
Response
{
"data": {
"groupsPaginated": {
"meta": PaginationMeta,
"rows": [Group],
"total": 987
}
}
}
handlers
Description
Search users, teams, and groups eligible for ticket assignment by name or email
Response
Returns [AvailableHandler!]!
Arguments
| Name | Description |
|---|---|
additionalHandlers - [FindHandlersAdditionalHandlerInput!]
|
Handlers to include in the result by type and numeric public id, when the caller may assign them |
additionalItemId - String
|
Identifier of an additional item to include in search scope |
query - String
|
Text to search handlers by name or email |
Example
Query
query handlers(
$additionalHandlers: [FindHandlersAdditionalHandlerInput!],
$additionalItemId: String,
$query: String
) {
handlers(
additionalHandlers: $additionalHandlers,
additionalItemId: $additionalItemId,
query: $query
) {
displayName
handlerType
id
maskedEmail
publicId
subLabel
}
}
Variables
{
"additionalHandlers": [
FindHandlersAdditionalHandlerInput
],
"additionalItemId": "abc123",
"query": "abc123"
}
Response
{
"data": {
"handlers": [
{
"displayName": "abc123",
"handlerType": "EXTERNALEMAIL",
"id": "abc123",
"maskedEmail": "abc123",
"publicId": 987,
"subLabel": "xyz789"
}
]
}
}
hasCheckResponsibilities
Description
Whether the current user manages a site or, where inspections are enabled, is the assignee of an inspection or is notified by a rule entry directly, by email, through a team or through a group ticket handler
Response
Returns a Boolean!
Example
Query
query hasCheckResponsibilities {
hasCheckResponsibilities
}
Response
{"data": {"hasCheckResponsibilities": false}}
hasResponsibilities
Description
Whether the current user manages a site, belongs to a team or group ticket handler, is a worker or assignee of a work order, or is the assignee of a ticket
Response
Returns a Boolean!
Example
Query
query hasResponsibilities {
hasResponsibilities
}
Response
{"data": {"hasResponsibilities": false}}
integrationConfigHistoryPaginated
Description
List the config changes saved for an integration, newest first
Response
Returns an IntegrationConfigKeyHistoryPaginatedResult!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Unique identifier of the entity |
pagination - PaginationParams!
|
Pagination |
Example
Query
query integrationConfigHistoryPaginated(
$id: HashedId!,
$pagination: PaginationParams!
) {
integrationConfigHistoryPaginated(
id: $id,
pagination: $pagination
) {
meta {
...PaginationMetaFragment
}
rows {
...IntegrationConfigKeyHistoryFragment
}
total
}
}
Variables
{
"id": HashedId,
"pagination": PaginationParams
}
Response
{
"data": {
"integrationConfigHistoryPaginated": {
"meta": PaginationMeta,
"rows": [IntegrationConfigKeyHistory],
"total": 987
}
}
}
integrationConfigsList
Description
Retrieve all integration configurations using string-based names
Response
Returns [IntegrationNew!]!
Example
Query
query integrationConfigsList {
integrationConfigsList {
config {
...IntegrationConfigKeyFragment
}
created
cronTime
group {
...GroupFragment
}
groupId
id
isBase
isScheduled
name
provider
treeRootGroup {
...GroupFragment
}
treeRootGroupId
updated
userId
}
}
Response
{
"data": {
"integrationConfigsList": [
{
"config": [IntegrationConfigKey],
"created": 1592577642,
"cronTime": "abc123",
"group": Group,
"groupId": HashedId,
"id": HashedId,
"isBase": true,
"isScheduled": true,
"name": "xyz789",
"provider": "ACHELIS_PROVIDER",
"treeRootGroup": Group,
"treeRootGroupId": HashedId,
"updated": 1592577642,
"userId": HashedId
}
]
}
}
integrationsPaginated
Description
Retrieve a page of integrations with their latest sync run
Response
Returns an IntegrationPaginated!
Arguments
| Name | Description |
|---|---|
filters - [FilterParamsInput]
|
Filter criteria |
pagination - PaginationParams!
|
Pagination |
search - String
|
Text search query for filtering results |
Example
Query
query integrationsPaginated(
$filters: [FilterParamsInput],
$pagination: PaginationParams!,
$search: String
) {
integrationsPaginated(
filters: $filters,
pagination: $pagination,
search: $search
) {
meta {
...PaginationMetaFragment
}
rows {
...IntegrationListRowFragment
}
total
}
}
Variables
{
"filters": [FilterParamsInput],
"pagination": PaginationParams,
"search": "abc123"
}
Response
{
"data": {
"integrationsPaginated": {
"meta": PaginationMeta,
"rows": [IntegrationListRow],
"total": 987
}
}
}
iotDataHistory
Response
Returns an IotDataHistory!
Arguments
| Name | Description |
|---|---|
assetId - HashedId!
|
|
from - Timestamp!
|
|
parameterIds - [HashedId!]!
|
|
to - Timestamp!
|
Example
Query
query iotDataHistory(
$assetId: HashedId!,
$from: Timestamp!,
$parameterIds: [HashedId!]!,
$to: Timestamp!
) {
iotDataHistory(
assetId: $assetId,
from: $from,
parameterIds: $parameterIds,
to: $to
) {
asset {
...AssetFragment
}
assetId
parameters {
...IotParameterFragment
}
timestamps
values
}
}
Variables
{
"assetId": HashedId,
"from": 1592577642,
"parameterIds": [HashedId],
"to": 1592577642
}
Response
{
"data": {
"iotDataHistory": {
"asset": Asset,
"assetId": HashedId,
"parameters": [IotParameter],
"timestamps": [1592577642],
"values": [123.45]
}
}
}
iotDataHistoryActivity
Response
Returns an IotDataHistoryActivity!
Arguments
| Name | Description |
|---|---|
assetId - HashedId!
|
|
from - Timestamp!
|
|
parameterId - HashedId!
|
|
timezone - String
|
|
to - Timestamp!
|
Example
Query
query iotDataHistoryActivity(
$assetId: HashedId!,
$from: Timestamp!,
$parameterId: HashedId!,
$timezone: String,
$to: Timestamp!
) {
iotDataHistoryActivity(
assetId: $assetId,
from: $from,
parameterId: $parameterId,
timezone: $timezone,
to: $to
) {
logs {
...IotDataHistoryActivityLogFragment
}
parameterId
}
}
Variables
{
"assetId": HashedId,
"from": 1592577642,
"parameterId": HashedId,
"timezone": "abc123",
"to": 1592577642
}
Response
{
"data": {
"iotDataHistoryActivity": {
"logs": [IotDataHistoryActivityLog],
"parameterId": HashedId
}
}
}
iotDataHistoryAggregated
Response
Returns an IotDataHistory!
Arguments
| Name | Description |
|---|---|
assetId - HashedId!
|
|
from - Timestamp!
|
|
parameterIds - [HashedId!]!
|
|
period - IotDataAggregationPeriod!
|
|
timezone - String!
|
|
to - Timestamp!
|
Example
Query
query iotDataHistoryAggregated(
$assetId: HashedId!,
$from: Timestamp!,
$parameterIds: [HashedId!]!,
$period: IotDataAggregationPeriod!,
$timezone: String!,
$to: Timestamp!
) {
iotDataHistoryAggregated(
assetId: $assetId,
from: $from,
parameterIds: $parameterIds,
period: $period,
timezone: $timezone,
to: $to
) {
asset {
...AssetFragment
}
assetId
parameters {
...IotParameterFragment
}
timestamps
values
}
}
Variables
{
"assetId": HashedId,
"from": 1592577642,
"parameterIds": [HashedId],
"period": "DAY",
"timezone": "xyz789",
"to": 1592577642
}
Response
{
"data": {
"iotDataHistoryAggregated": {
"asset": Asset,
"assetId": HashedId,
"parameters": [IotParameter],
"timestamps": [1592577642],
"values": [123.45]
}
}
}
iotParameters
Description
List displayable, non-synthetic IoT parameters available for an asset group
Response
Returns [IotParameter!]!
Arguments
| Name | Description |
|---|---|
assetFilters - [FilterParamsInput!]
|
Asset filters to scope parameters by |
assetGroupId - HashedId!
|
Asset group identifier |
isForAllAssets - Boolean
|
Whether the rule targets all assets in the group |
manuallyAddedAssetIds - [HashedId!]
|
Manually selected asset identifiers to scope parameters by |
onlyRuleCompatibleUnits - Boolean
|
Whether to return only parameters with units usable by rule triggers |
Example
Query
query iotParameters(
$assetFilters: [FilterParamsInput!],
$assetGroupId: HashedId!,
$isForAllAssets: Boolean,
$manuallyAddedAssetIds: [HashedId!],
$onlyRuleCompatibleUnits: Boolean
) {
iotParameters(
assetFilters: $assetFilters,
assetGroupId: $assetGroupId,
isForAllAssets: $isForAllAssets,
manuallyAddedAssetIds: $manuallyAddedAssetIds,
onlyRuleCompatibleUnits: $onlyRuleCompatibleUnits
) {
code
config {
...IotConfigFragment
}
created
displayUnit
id
integrationId
integrationName
isAverageValue
isCalculatedValue
isNegativeAllowed
legacyParameterId
parameterSetId
units
updated
}
}
Variables
{
"assetFilters": [FilterParamsInput],
"assetGroupId": HashedId,
"isForAllAssets": true,
"manuallyAddedAssetIds": [HashedId],
"onlyRuleCompatibleUnits": true
}
Response
{
"data": {
"iotParameters": [
{
"code": "xyz789",
"config": IotConfig,
"created": 1592577642,
"displayUnit": "abc123",
"id": HashedId,
"integrationId": HashedId,
"integrationName": "abc123",
"isAverageValue": true,
"isCalculatedValue": true,
"isNegativeAllowed": false,
"legacyParameterId": HashedId,
"parameterSetId": HashedId,
"units": "xyz789",
"updated": 1592577642
}
]
}
}
language
Description
Retrieve a language
Response
Returns [LanguageV2!]!
Arguments
| Name | Description |
|---|---|
id - [HashedId]
|
Unique identifier |
Example
Query
query language($id: [HashedId]) {
language(id: $id) {
code
created
id
name
nameNative
updated
}
}
Variables
{"id": [HashedId]}
Response
{
"data": {
"language": [
{
"code": "ar_ar",
"created": 1592577642,
"id": HashedId,
"name": "Arabic",
"nameNative": "xyz789",
"updated": 1592577642
}
]
}
}
loginInterrupt
Description
Retrieve login interrupt messages, optionally filtered by IDs
Response
Returns [LoginInterrupt!]!
Arguments
| Name | Description |
|---|---|
id - [HashedId!]
|
Filter by specific login interrupt IDs, returns all if omitted |
Example
Query
query loginInterrupt($id: [HashedId!]) {
loginInterrupt(id: $id) {
content {
...TranslationFragment
}
contentId
created
id
isActive
title {
...TranslationFragment
}
titleId
updated
visibleToGroupIds
visibleToGroups {
...GroupFragment
}
}
}
Variables
{"id": [HashedId]}
Response
{
"data": {
"loginInterrupt": [
{
"content": Translation,
"contentId": HashedId,
"created": 1592577642,
"id": HashedId,
"isActive": true,
"title": Translation,
"titleId": HashedId,
"updated": 1592577642,
"visibleToGroupIds": [HashedId],
"visibleToGroups": [Group]
}
]
}
}
machineChecksStats
Description
Aggregated check schedule completion statistics per asset
Response
Returns [MachineCheckStat!]!
Example
Query
query machineChecksStats {
machineChecksStats {
period
quantity
}
}
Response
{
"data": {
"machineChecksStats": [
{"period": "abc123", "quantity": 987}
]
}
}
managesSites
Description
Whether the current user manages a site
Response
Returns a Boolean!
Example
Query
query managesSites {
managesSites
}
Response
{"data": {"managesSites": false}}
manufacturer
Description
Retrieve manufacturers by ID, group, name, or name key (deprecated)
Response
Returns [Manufacturer!]!
Arguments
| Name | Description |
|---|---|
id - [HashedId!]
|
List of unique identifiers |
maintainedByGroupId - [HashedId!]
|
manufacturers can be queried against a specific group |
name - String
|
Display name |
nameKey - String
|
normalized single-word ansi name in all caps |
Example
Query
query manufacturer(
$id: [HashedId!],
$maintainedByGroupId: [HashedId!],
$name: String,
$nameKey: String
) {
manufacturer(
id: $id,
maintainedByGroupId: $maintainedByGroupId,
name: $name,
nameKey: $nameKey
) {
assetIntegrationIds
assetIntegrations {
...AssetIntegrationFragment
}
created
id
maintainedByGroup {
...GroupFragment
}
maintainedByGroupId
name
nameKey
notificationsEnabled
updated
}
}
Variables
{
"id": [HashedId],
"maintainedByGroupId": [HashedId],
"name": "xyz789",
"nameKey": "xyz789"
}
Response
{
"data": {
"manufacturer": [
{
"assetIntegrationIds": [HashedId],
"assetIntegrations": [AssetIntegration],
"created": 1592577642,
"id": HashedId,
"maintainedByGroup": Group,
"maintainedByGroupId": 123,
"name": "abc123",
"nameKey": "xyz789",
"notificationsEnabled": false,
"updated": 1592577642
}
]
}
}
manufacturers
Description
Get manufacturers list, belong to users root group (filtered results if search key is provided)
module
Description
List by filters with optional filtering
Response
Returns [Module!]!
Arguments
| Name | Description |
|---|---|
id - [HashedId!]
|
Unique identifier |
imei - [String!]
|
Imei |
stripeCustomerIdDefined - Boolean
|
Stripe customer id defined |
Example
Query
query module(
$id: [HashedId!],
$imei: [String!],
$stripeCustomerIdDefined: Boolean
) {
module(
id: $id,
imei: $imei,
stripeCustomerIdDefined: $stripeCustomerIdDefined
) {
assetVersionNr
assignedToAsset {
...AssetFragment
}
assignedToAssetId
assignedToAssetIds
assignedToAssets {
...AssetFragment
}
controlId
created
currentPrice
externalId
id
imei
isFake
moduleRevision
moduleType {
...ModuleTypeFragment
}
moduleTypeId
moduleVersionNr
price {
...StripePriceFragment
}
stripeCustomerId
stripePriceId
updated
}
}
Variables
{
"id": [HashedId],
"imei": ["xyz789"],
"stripeCustomerIdDefined": false
}
Response
{
"data": {
"module": [
{
"assetVersionNr": "abc123",
"assignedToAsset": Asset,
"assignedToAssetId": HashedId,
"assignedToAssetIds": [HashedId],
"assignedToAssets": [Asset],
"controlId": "abc123",
"created": 1592577642,
"currentPrice": 123.45,
"externalId": "abc123",
"id": HashedId,
"imei": "abc123",
"isFake": false,
"moduleRevision": "abc123",
"moduleType": ModuleType,
"moduleTypeId": HashedId,
"moduleVersionNr": "xyz789",
"price": StripePrice,
"stripeCustomerId": "abc123",
"stripePriceId": "abc123",
"updated": 1592577642
}
]
}
}
moduleByExternalIds
Description
List by external ids with optional filtering
Response
Returns [Module!]!
Arguments
| Name | Description |
|---|---|
externalIds - [String!]!
|
External identifiers |
Example
Query
query moduleByExternalIds($externalIds: [String!]!) {
moduleByExternalIds(externalIds: $externalIds) {
assetVersionNr
assignedToAsset {
...AssetFragment
}
assignedToAssetId
assignedToAssetIds
assignedToAssets {
...AssetFragment
}
controlId
created
currentPrice
externalId
id
imei
isFake
moduleRevision
moduleType {
...ModuleTypeFragment
}
moduleTypeId
moduleVersionNr
price {
...StripePriceFragment
}
stripeCustomerId
stripePriceId
updated
}
}
Variables
{"externalIds": ["xyz789"]}
Response
{
"data": {
"moduleByExternalIds": [
{
"assetVersionNr": "abc123",
"assignedToAsset": Asset,
"assignedToAssetId": HashedId,
"assignedToAssetIds": [HashedId],
"assignedToAssets": [Asset],
"controlId": "xyz789",
"created": 1592577642,
"currentPrice": 987.65,
"externalId": "abc123",
"id": HashedId,
"imei": "abc123",
"isFake": false,
"moduleRevision": "xyz789",
"moduleType": ModuleType,
"moduleTypeId": HashedId,
"moduleVersionNr": "xyz789",
"price": StripePrice,
"stripeCustomerId": "xyz789",
"stripePriceId": "xyz789",
"updated": 1592577642
}
]
}
}
moduleHistory
Description
List module asset lifecycle history by IMEI
Response
Returns [IotModuleHistory!]!
Arguments
| Name | Description |
|---|---|
imei - String!
|
IMEI of the module |
Example
Query
query moduleHistory($imei: String!) {
moduleHistory(imei: $imei) {
assetId
endTime
id
moduleId
startTime
}
}
Variables
{"imei": "abc123"}
Response
{
"data": {
"moduleHistory": [
{
"assetId": HashedId,
"endTime": "2007-12-03T10:15:30Z",
"id": HashedId,
"moduleId": HashedId,
"startTime": "2007-12-03T10:15:30Z"
}
]
}
}
moduleUsageInfo
Description
Retrieve module usage info
Response
Returns a ModuleUsageInfo!
Example
Query
query moduleUsageInfo(
$assetId: HashedId,
$imei: String!
) {
moduleUsageInfo(
assetId: $assetId,
imei: $imei
) {
canBeReused
canBeTransferred
hasConnectedAssets
id
primarySerial
}
}
Variables
{
"assetId": HashedId,
"imei": "abc123"
}
Response
{
"data": {
"moduleUsageInfo": {
"canBeReused": false,
"canBeTransferred": false,
"hasConnectedAssets": false,
"id": HashedId,
"primarySerial": "abc123"
}
}
}
modulesSubscriptions
Description
Retrieve modules subscriptions
Response
Returns a ModuleSubscriptionsPaginatedResult!
Arguments
| Name | Description |
|---|---|
filters - [FilterParamsInput]
|
Filter criteria |
pagination - PaginationParams!
|
Pagination |
search - String
|
Text search query for filtering results |
Example
Query
query modulesSubscriptions(
$filters: [FilterParamsInput],
$pagination: PaginationParams!,
$search: String
) {
modulesSubscriptions(
filters: $filters,
pagination: $pagination,
search: $search
) {
meta {
...PaginationMetaFragment
}
rows {
...ModuleSubscriptionFragment
}
}
}
Variables
{
"filters": [FilterParamsInput],
"pagination": PaginationParams,
"search": "xyz789"
}
Response
{
"data": {
"modulesSubscriptions": {
"meta": PaginationMeta,
"rows": [ModuleSubscription]
}
}
}
notificationConfig
Description
Retrieve notification config
Response
Returns a NotificationConfigDto!
Example
Query
query notificationConfig {
notificationConfig {
maintenanceEmail
maintenancePush
ticketEmail
ticketPush
workOrderEmail
workOrderPush
}
}
Response
{
"data": {
"notificationConfig": {
"maintenanceEmail": false,
"maintenancePush": true,
"ticketEmail": true,
"ticketPush": false,
"workOrderEmail": false,
"workOrderPush": true
}
}
}
ownershipEnum
Description
List all possible asset ownership types
Response
Returns an OwnershipValArray
Example
Query
query ownershipEnum {
ownershipEnum {
data
}
}
Response
{"data": {"ownershipEnum": {"data": ["CUSTOMER_MACHINE"]}}}
parameter
Description
@assetId: specify an asset to list all the parameters associated with it
@assetIntegrationId: specify an integration to list all the parameters associated with it
@onlyGraphValues: filter out parameters for which values can't be displayed on a graph (eg. imei, id, or latitude)
@onlyOffsetParams: filter out parameters that are not offset parameters
@historicalParameters (deprecated): by default only currently associated parameters are selected. When set to true,
all parameters ever associated will be listed.
Response
Returns [ParameterResult!]
Arguments
| Name | Description |
|---|---|
assetId - [HashedId!]
|
Asset identifier |
assetIntegrationId - HashedId
|
Asset integration identifier |
id - [HashedId!]
|
Unique identifier |
onlyGraphValues - Boolean
|
Only graph values |
onlyOffsetParams - Boolean
|
Only offset params |
Example
Query
query parameter(
$assetId: [HashedId!],
$assetIntegrationId: HashedId,
$id: [HashedId!],
$onlyGraphValues: Boolean,
$onlyOffsetParams: Boolean
) {
parameter(
assetId: $assetId,
assetIntegrationId: $assetIntegrationId,
id: $id,
onlyGraphValues: $onlyGraphValues,
onlyOffsetParams: $onlyOffsetParams
) {
assetId
parameter {
...ParameterFragment
}
}
}
Variables
{
"assetId": [HashedId],
"assetIntegrationId": HashedId,
"id": [HashedId],
"onlyGraphValues": false,
"onlyOffsetParams": false
}
Response
{
"data": {
"parameter": [
{
"assetId": HashedId,
"parameter": [Parameter]
}
]
}
}
parameterSet
Description
Retrieve parameter sets
Response
Returns [ParameterSet!]!
Arguments
| Name | Description |
|---|---|
graphableParameters - Boolean
|
only list parameters which can be displayed on a graph (eg. hide values like imei, id, or latitude) |
id - [HashedId!]
|
Ids |
Example
Query
query parameterSet(
$graphableParameters: Boolean,
$id: [HashedId!]
) {
parameterSet(
graphableParameters: $graphableParameters,
id: $id
) {
description {
...TranslationFragment
}
descriptionId
id
iotParameters {
...IotParameterFragment
}
parameters {
...ParameterFragment
}
title {
...TranslationFragment
}
titleId
}
}
Variables
{"graphableParameters": false, "id": [HashedId]}
Response
{
"data": {
"parameterSet": [
{
"description": Translation,
"descriptionId": HashedId,
"id": HashedId,
"iotParameters": [IotParameter],
"parameters": [Parameter],
"title": Translation,
"titleId": HashedId
}
]
}
}
part
Description
Retrieve a single spare part by ID
Example
Query
query part($id: HashedId!) {
part(id: $id) {
area
availableQuantity
brand
created
createdByGroup {
...GroupFragment
}
createdByGroupId
createdByUser {
...UserFragment
}
createdByUserId
currency
customer {
...GroupFragment
}
customerId
description {
...TranslationFragment
}
descriptionId
documents {
...DocumentFragment
}
events {
...EventFragment
}
externalId
group {
...GroupFragment
}
groupId
id
image
isCurrencyLocked
maxQuantity
minQuantity
name {
...TranslationFragment
}
nameId
previousQuantity
publicId
qrAttached
responsiblePerson
sendNotificationsTo {
...RuleNotificationRelationFragment
}
shouldNotifyCriticalStockLevel
site {
...SiteFragment
}
siteId
totalStockValue
type
unitCost
unitOfMeasure
updated
uuid
vendor
}
}
Variables
{"id": HashedId}
Response
{
"data": {
"part": {
"area": "xyz789",
"availableQuantity": 987.65,
"brand": "xyz789",
"created": 1592577642,
"createdByGroup": Group,
"createdByGroupId": HashedId,
"createdByUser": User,
"createdByUserId": HashedId,
"currency": "xyz789",
"customer": Group,
"customerId": HashedId,
"description": Translation,
"descriptionId": HashedId,
"documents": [Document],
"events": [Event],
"externalId": "xyz789",
"group": Group,
"groupId": HashedId,
"id": HashedId,
"image": "xyz789",
"isCurrencyLocked": true,
"maxQuantity": 123.45,
"minQuantity": 123.45,
"name": Translation,
"nameId": HashedId,
"previousQuantity": 987.65,
"publicId": 987,
"qrAttached": false,
"responsiblePerson": "xyz789",
"sendNotificationsTo": [RuleNotificationRelation],
"shouldNotifyCriticalStockLevel": false,
"site": Site,
"siteId": HashedId,
"totalStockValue": 987.65,
"type": "abc123",
"unitCost": 987.65,
"unitOfMeasure": "abc123",
"updated": 1592577642,
"uuid": "xyz789",
"vendor": "abc123"
}
}
}
partImportColumnSchema
Description
Returns the column schema (with translations, dropdown options, and validation rules) used by the part importer wizard. CREATE returns the create-only columns; UPDATE additionally includes the Part ID identity column.
Response
Returns [ImporterSchemaColumn!]!
Arguments
| Name | Description |
|---|---|
mode - ImporterMode!
|
Importer mode: CREATE returns the create-only column schema; UPDATE returns the update-only column schema with identity columns. |
Example
Query
query partImportColumnSchema($mode: ImporterMode!) {
partImportColumnSchema(mode: $mode) {
allowCustomOptions
alternativeMatches
columnType
dropdownOptions {
...ImporterSchemaColumnDropdownOptionFragment
}
example
isReadOnly
key
label
labelSuffix
originalKey
type
validations {
...ImporterSchemaColumnValidationFragment
}
}
}
Variables
{"mode": "CREATE"}
Response
{
"data": {
"partImportColumnSchema": [
{
"allowCustomOptions": false,
"alternativeMatches": ["abc123"],
"columnType": "BOOLEAN",
"dropdownOptions": [
ImporterSchemaColumnDropdownOption
],
"example": "abc123",
"isReadOnly": false,
"key": "abc123",
"label": "abc123",
"labelSuffix": "xyz789",
"originalKey": "xyz789",
"type": "abc123",
"validations": [ImporterSchemaColumnValidation]
}
]
}
}
partImportResult
Description
Returns the job, the created and updated counts and, for a file with invalid rows, a page of its invalid rows.
Response
Returns an ImporterImportResult!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Identifier of the importer background job |
pagination - PaginationParams!
|
Pagination params input data |
Example
Query
query partImportResult(
$id: HashedId!,
$pagination: PaginationParams!
) {
partImportResult(
id: $id,
pagination: $pagination
) {
createdCount
entryCount
job {
...BackgroundJobFragment
}
rows {
...ImporterValidationRowFragment
}
updatedCount
validationErrorCount
}
}
Variables
{
"id": HashedId,
"pagination": PaginationParams
}
Response
{
"data": {
"partImportResult": {
"createdCount": 123,
"entryCount": 987,
"job": BackgroundJob,
"rows": [ImporterValidationRow],
"updatedCount": 987,
"validationErrorCount": 987
}
}
}
partImportValidationResult
Description
Returns the job and a page of rows validated by a part import validation job.
Response
Returns an ImporterValidationResult!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Identifier of the importer background job |
pagination - PaginationParams!
|
Pagination params input data |
Example
Query
query partImportValidationResult(
$id: HashedId!,
$pagination: PaginationParams!
) {
partImportValidationResult(
id: $id,
pagination: $pagination
) {
entryCount
job {
...BackgroundJobFragment
}
rows {
...ImporterValidationRowFragment
}
}
}
Variables
{
"id": HashedId,
"pagination": PaginationParams
}
Response
{
"data": {
"partImportValidationResult": {
"entryCount": 123,
"job": BackgroundJob,
"rows": [ImporterValidationRow]
}
}
}
partList
Description
Retrieve all spare parts for the current group
Response
Returns a PartPaginatedResult!
Arguments
| Name | Description |
|---|---|
filters - [FilterParamsInput]
|
Filter criteria |
search - String
|
Text search query for filtering results |
Example
Query
query partList(
$filters: [FilterParamsInput],
$search: String
) {
partList(
filters: $filters,
search: $search
) {
meta {
...PaginationMetaFragment
}
rows {
...PartFragment
}
}
}
Variables
{
"filters": [FilterParamsInput],
"search": "abc123"
}
Response
{
"data": {
"partList": {
"meta": PaginationMeta,
"rows": [Part]
}
}
}
partPaginated
Description
Retrieve a paginated list of spare parts with filtering
Response
Returns a PartPaginatedResult!
Arguments
| Name | Description |
|---|---|
filters - [FilterParamsInput]
|
Filter criteria |
pagination - PaginationParams!
|
Pagination |
search - String
|
Text search query for filtering results |
Example
Query
query partPaginated(
$filters: [FilterParamsInput],
$pagination: PaginationParams!,
$search: String
) {
partPaginated(
filters: $filters,
pagination: $pagination,
search: $search
) {
meta {
...PaginationMetaFragment
}
rows {
...PartFragment
}
}
}
Variables
{
"filters": [FilterParamsInput],
"pagination": PaginationParams,
"search": "abc123"
}
Response
{
"data": {
"partPaginated": {
"meta": PaginationMeta,
"rows": [Part]
}
}
}
partStatisticData
Description
Retrieve stock statistics for a spare part
Response
Returns a PartStatisticData!
Example
Query
query partStatisticData(
$parameterId: HashedId,
$partId: HashedId!,
$siteId: HashedId!
) {
partStatisticData(
parameterId: $parameterId,
partId: $partId,
siteId: $siteId
) {
parameters {
...PartParameterFragment
}
part {
...PartFragment
}
timestamps
values
}
}
Variables
{
"parameterId": HashedId,
"partId": HashedId,
"siteId": HashedId
}
Response
{
"data": {
"partStatisticData": {
"parameters": [PartParameter],
"part": Part,
"timestamps": [1592577642],
"values": [123.45]
}
}
}
personnel
Description
Fetch a single personnel
Response
Returns a Personnel!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Unique identifier of the entity |
Example
Query
query personnel($id: HashedId!) {
personnel(id: $id) {
certificationCount
certifications {
...PersonnelCertificationFragment
}
city
contractType
contractWorkCategory
country
countryOfBirth
created
createdByGroupId
createdByUser {
...UserFragment
}
createdByUserId
customFieldValues {
...CustomFieldValueFragment
}
dateOfBirth
dependentChildren
dependentHandicappedChildren
dependentPersonsOver65
dependentPersonsUnder65
dependentPersonsUnder65Income
driversLicenceNumber
email
email2
employmentEndDate
employmentSchedule
employmentStartDate
externalErpId
firstName
fullName
gender
group {
...GroupFragment
}
groupId
homeBase
id
jobFunction
jointCommitteeNumber
languageId
lastName
licenceCategory
licenceExpiryDate
maritalStatus
marriageDate
nationalInsuranceNumber
nationality
notes
personnelNumber
personnelNumberPrefix
personnelNumberSequence
phone {
...PhoneFragment
}
photoDocument {
...DocumentFragment
}
photoDocumentId
placeOfBirth
postalCode
publicId
salaryIBAN
salaryPaymentType
salaryScaleStartDate
seniorityStartDate
shownOnDispositionPage
specializationLevel
spouseBirthDate
spousePartnerName
street
studyLevel
updated
updatedByUser {
...UserFragment
}
updatedByUserId
usedInCustomFieldCount
user {
...UserFragment
}
userId
workOrders {
...WorkOrderV2Fragment
}
workingHours {
...PersonnelWorkingHoursFragment
}
}
}
Variables
{"id": HashedId}
Response
{
"data": {
"personnel": {
"certificationCount": 123,
"certifications": [PersonnelCertification],
"city": "abc123",
"contractType": "APPRENTICE_WHITE_COLLAR",
"contractWorkCategory": "MANAGING_DIRECTOR",
"country": "xyz789",
"countryOfBirth": "abc123",
"created": 1592577642,
"createdByGroupId": HashedId,
"createdByUser": User,
"createdByUserId": HashedId,
"customFieldValues": [CustomFieldValue],
"dateOfBirth": "2007-12-03",
"dependentChildren": 123,
"dependentHandicappedChildren": 123,
"dependentPersonsOver65": 123,
"dependentPersonsUnder65": 123,
"dependentPersonsUnder65Income": 123.45,
"driversLicenceNumber": "abc123",
"email": "xyz789",
"email2": "abc123",
"employmentEndDate": "2007-12-03",
"employmentSchedule": "FULL_TIME",
"employmentStartDate": "2007-12-03",
"externalErpId": "abc123",
"firstName": "xyz789",
"fullName": "xyz789",
"gender": "FEMALE",
"group": Group,
"groupId": HashedId,
"homeBase": "abc123",
"id": HashedId,
"jobFunction": "xyz789",
"jointCommitteeNumber": "xyz789",
"languageId": HashedId,
"lastName": "abc123",
"licenceCategory": "abc123",
"licenceExpiryDate": "2007-12-03",
"maritalStatus": "COHABITING_LEGALLY",
"marriageDate": "2007-12-03",
"nationalInsuranceNumber": "xyz789",
"nationality": "xyz789",
"notes": "xyz789",
"personnelNumber": "xyz789",
"personnelNumberPrefix": "abc123",
"personnelNumberSequence": 123,
"phone": Phone,
"photoDocument": Document,
"photoDocumentId": HashedId,
"placeOfBirth": "abc123",
"postalCode": "abc123",
"publicId": 123,
"salaryIBAN": "abc123",
"salaryPaymentType": "HOUR",
"salaryScaleStartDate": "2007-12-03",
"seniorityStartDate": "2007-12-03",
"shownOnDispositionPage": false,
"specializationLevel": "FIRST_LEVEL",
"spouseBirthDate": "2007-12-03",
"spousePartnerName": "xyz789",
"street": "abc123",
"studyLevel": "EXECUTIVE_STAFF",
"updated": 1592577642,
"updatedByUser": User,
"updatedByUserId": HashedId,
"usedInCustomFieldCount": 123,
"user": User,
"userId": HashedId,
"workOrders": [WorkOrderV2],
"workingHours": PersonnelWorkingHours
}
}
}
personnelHistoryPaginated
Description
List personnel history entries
Response
Returns a PersonnelHistoryPaginatedResult!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Unique identifier of the entity |
pagination - PaginationParams!
|
Pagination |
Example
Query
query personnelHistoryPaginated(
$id: HashedId!,
$pagination: PaginationParams!
) {
personnelHistoryPaginated(
id: $id,
pagination: $pagination
) {
meta {
...PaginationMetaFragment
}
rows {
...PersonnelHistoryFragment
}
total
}
}
Variables
{
"id": HashedId,
"pagination": PaginationParams
}
Response
{
"data": {
"personnelHistoryPaginated": {
"meta": PaginationMeta,
"rows": [PersonnelHistory],
"total": 123
}
}
}
personnelImportColumnSchema
Description
Returns the column schema (with translations, dropdown options, and validation rules) used by the personnel importer wizard. CREATE returns the create-only columns; UPDATE additionally includes the Personnel ID identity column.
Response
Returns [ImporterSchemaColumn!]!
Arguments
| Name | Description |
|---|---|
mode - ImporterMode!
|
Importer mode: CREATE returns the create-only column schema; UPDATE additionally includes the Personnel ID identity column. |
Example
Query
query personnelImportColumnSchema($mode: ImporterMode!) {
personnelImportColumnSchema(mode: $mode) {
allowCustomOptions
alternativeMatches
columnType
dropdownOptions {
...ImporterSchemaColumnDropdownOptionFragment
}
example
isReadOnly
key
label
labelSuffix
originalKey
type
validations {
...ImporterSchemaColumnValidationFragment
}
}
}
Variables
{"mode": "CREATE"}
Response
{
"data": {
"personnelImportColumnSchema": [
{
"allowCustomOptions": false,
"alternativeMatches": ["xyz789"],
"columnType": "BOOLEAN",
"dropdownOptions": [
ImporterSchemaColumnDropdownOption
],
"example": "abc123",
"isReadOnly": false,
"key": "abc123",
"label": "abc123",
"labelSuffix": "xyz789",
"originalKey": "abc123",
"type": "xyz789",
"validations": [ImporterSchemaColumnValidation]
}
]
}
}
personnelPaginated
Description
List personnel with filtering and pagination
Response
Returns a PersonnelPaginatedResult
Arguments
| Name | Description |
|---|---|
filters - [FilterParamsInput]
|
Filter criteria |
pagination - PaginationParams!
|
Pagination |
search - String
|
Text search query for filtering results |
Example
Query
query personnelPaginated(
$filters: [FilterParamsInput],
$pagination: PaginationParams!,
$search: String
) {
personnelPaginated(
filters: $filters,
pagination: $pagination,
search: $search
) {
meta {
...PaginationMetaFragment
}
rows {
...PersonnelFragment
}
total
}
}
Variables
{
"filters": [FilterParamsInput],
"pagination": PaginationParams,
"search": "xyz789"
}
Response
{
"data": {
"personnelPaginated": {
"meta": PaginationMeta,
"rows": [Personnel],
"total": 123
}
}
}
personnelSearch
Description
Search personnel for the picker
Response
Returns a PersonnelSearchPaginatedResult!
Arguments
| Name | Description |
|---|---|
isWithoutUser - Boolean
|
Return only personnel without a linked user |
limit - Int
|
Maximum number of results |
scope - PersonnelSearchScopeEnum
|
Personnel scope to search, EDITABLE when omitted |
search - String
|
Search query |
Example
Query
query personnelSearch(
$isWithoutUser: Boolean,
$limit: Int,
$scope: PersonnelSearchScopeEnum,
$search: String
) {
personnelSearch(
isWithoutUser: $isWithoutUser,
limit: $limit,
scope: $scope,
search: $search
) {
meta {
...PaginationMetaFragment
}
rows {
...PersonnelValueFragment
}
total
}
}
Variables
{
"isWithoutUser": true,
"limit": 987,
"scope": "DISCOVERABLE",
"search": "abc123"
}
Response
{
"data": {
"personnelSearch": {
"meta": PaginationMeta,
"rows": [PersonnelValue],
"total": 987
}
}
}
preCheckBulkArchiveCustomFields
Response
Returns a MassEditAssetCountPreCheck!
Arguments
| Name | Description |
|---|---|
input - CustomFieldMassEditSelectionInput!
|
Example
Query
query preCheckBulkArchiveCustomFields($input: CustomFieldMassEditSelectionInput!) {
preCheckBulkArchiveCustomFields(input: $input) {
affected
assetCounts {
...MassEditAssetCountFragment
}
failureBreakdown {
...MassEditReasonCountFragment
}
totalSelected
}
}
Variables
{"input": CustomFieldMassEditSelectionInput}
Response
{
"data": {
"preCheckBulkArchiveCustomFields": {
"affected": 123,
"assetCounts": [MassEditAssetCount],
"failureBreakdown": [MassEditReasonCount],
"totalSelected": 987
}
}
}
preCheckBulkArchiveRules
Response
Returns a MassEditAssetCountPreCheck!
Arguments
| Name | Description |
|---|---|
input - RuleMassEditSelectionInput!
|
Example
Query
query preCheckBulkArchiveRules($input: RuleMassEditSelectionInput!) {
preCheckBulkArchiveRules(input: $input) {
affected
assetCounts {
...MassEditAssetCountFragment
}
failureBreakdown {
...MassEditReasonCountFragment
}
totalSelected
}
}
Variables
{"input": RuleMassEditSelectionInput}
Response
{
"data": {
"preCheckBulkArchiveRules": {
"affected": 123,
"assetCounts": [MassEditAssetCount],
"failureBreakdown": [MassEditReasonCount],
"totalSelected": 987
}
}
}
preCheckBulkAssignAdditionalGroupsUsers
Response
Returns a MassEditPreCheck!
Arguments
| Name | Description |
|---|---|
input - UserBulkAssignAdditionalGroupsInput!
|
Example
Query
query preCheckBulkAssignAdditionalGroupsUsers($input: UserBulkAssignAdditionalGroupsInput!) {
preCheckBulkAssignAdditionalGroupsUsers(input: $input) {
affected
failed {
...TicketMassEditFailureFragment
}
failureBreakdown {
...MassEditReasonCountFragment
}
totalSelected
}
}
Variables
{"input": UserBulkAssignAdditionalGroupsInput}
Response
{
"data": {
"preCheckBulkAssignAdditionalGroupsUsers": {
"affected": 123,
"failed": [TicketMassEditFailure],
"failureBreakdown": [MassEditReasonCount],
"totalSelected": 123
}
}
}
preCheckBulkAssignAssetType
Response
Returns a MassEditPreCheck!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
ID of the target asset type to assign |
input - AssetMassEditSelectionInput!
|
Selection criteria for the assets to reassign |
Example
Query
query preCheckBulkAssignAssetType(
$id: HashedId!,
$input: AssetMassEditSelectionInput!
) {
preCheckBulkAssignAssetType(
id: $id,
input: $input
) {
affected
failed {
...TicketMassEditFailureFragment
}
failureBreakdown {
...MassEditReasonCountFragment
}
totalSelected
}
}
Variables
{
"id": HashedId,
"input": AssetMassEditSelectionInput
}
Response
{
"data": {
"preCheckBulkAssignAssetType": {
"affected": 123,
"failed": [TicketMassEditFailure],
"failureBreakdown": [MassEditReasonCount],
"totalSelected": 987
}
}
}
preCheckBulkAssignAssetTypeReclassifiedCounts
Description
Number of selected vehicles and robots whose classification changes when they move to the asset type
Response
Returns a MassEditReclassifiedCounts!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
ID of the target asset type to assign |
input - AssetMassEditSelectionInput!
|
Selection criteria for the assets to reassign |
Example
Query
query preCheckBulkAssignAssetTypeReclassifiedCounts(
$id: HashedId!,
$input: AssetMassEditSelectionInput!
) {
preCheckBulkAssignAssetTypeReclassifiedCounts(
id: $id,
input: $input
) {
reclassifiedRobotCount
reclassifiedVehicleCount
}
}
Variables
{
"id": HashedId,
"input": AssetMassEditSelectionInput
}
Response
{
"data": {
"preCheckBulkAssignAssetTypeReclassifiedCounts": {
"reclassifiedRobotCount": 987,
"reclassifiedVehicleCount": 987
}
}
}
preCheckBulkAssignAssigneeTickets
Response
Returns a MassEditPreCheck!
Arguments
| Name | Description |
|---|---|
input - TicketBulkAssignAssigneeInput!
|
Ticket selection and user assignee, or null to clear the assignee |
Example
Query
query preCheckBulkAssignAssigneeTickets($input: TicketBulkAssignAssigneeInput!) {
preCheckBulkAssignAssigneeTickets(input: $input) {
affected
failed {
...TicketMassEditFailureFragment
}
failureBreakdown {
...MassEditReasonCountFragment
}
totalSelected
}
}
Variables
{"input": TicketBulkAssignAssigneeInput}
Response
{
"data": {
"preCheckBulkAssignAssigneeTickets": {
"affected": 987,
"failed": [TicketMassEditFailure],
"failureBreakdown": [MassEditReasonCount],
"totalSelected": 123
}
}
}
preCheckBulkAssignGroupRules
Response
Returns a MassEditPreCheck!
Arguments
| Name | Description |
|---|---|
input - RuleBulkAssignGroupInput!
|
Example
Query
query preCheckBulkAssignGroupRules($input: RuleBulkAssignGroupInput!) {
preCheckBulkAssignGroupRules(input: $input) {
affected
failed {
...TicketMassEditFailureFragment
}
failureBreakdown {
...MassEditReasonCountFragment
}
totalSelected
}
}
Variables
{"input": RuleBulkAssignGroupInput}
Response
{
"data": {
"preCheckBulkAssignGroupRules": {
"affected": 987,
"failed": [TicketMassEditFailure],
"failureBreakdown": [MassEditReasonCount],
"totalSelected": 123
}
}
}
preCheckBulkAssignRoleUsers
Response
Returns a MassEditPreCheck!
Arguments
| Name | Description |
|---|---|
input - UserBulkAssignRoleInput!
|
Example
Query
query preCheckBulkAssignRoleUsers($input: UserBulkAssignRoleInput!) {
preCheckBulkAssignRoleUsers(input: $input) {
affected
failed {
...TicketMassEditFailureFragment
}
failureBreakdown {
...MassEditReasonCountFragment
}
totalSelected
}
}
Variables
{"input": UserBulkAssignRoleInput}
Response
{
"data": {
"preCheckBulkAssignRoleUsers": {
"affected": 987,
"failed": [TicketMassEditFailure],
"failureBreakdown": [MassEditReasonCount],
"totalSelected": 123
}
}
}
preCheckBulkAttachDocumentAssetTypes
Response
Returns a MassEditPreCheck!
Arguments
| Name | Description |
|---|---|
documentId - HashedId!
|
|
input - AssetTypeMassEditSelectionInput!
|
Selection criteria for asset type mass edit operations |
Example
Query
query preCheckBulkAttachDocumentAssetTypes(
$documentId: HashedId!,
$input: AssetTypeMassEditSelectionInput!
) {
preCheckBulkAttachDocumentAssetTypes(
documentId: $documentId,
input: $input
) {
affected
failed {
...TicketMassEditFailureFragment
}
failureBreakdown {
...MassEditReasonCountFragment
}
totalSelected
}
}
Variables
{
"documentId": HashedId,
"input": AssetTypeMassEditSelectionInput
}
Response
{
"data": {
"preCheckBulkAttachDocumentAssetTypes": {
"affected": 987,
"failed": [TicketMassEditFailure],
"failureBreakdown": [MassEditReasonCount],
"totalSelected": 123
}
}
}
preCheckBulkAttachDocumentAssets
Response
Returns a MassEditPreCheck!
Arguments
| Name | Description |
|---|---|
documentId - HashedId!
|
|
input - AssetMassEditSelectionInput!
|
Selection criteria for asset mass edit operations |
Example
Query
query preCheckBulkAttachDocumentAssets(
$documentId: HashedId!,
$input: AssetMassEditSelectionInput!
) {
preCheckBulkAttachDocumentAssets(
documentId: $documentId,
input: $input
) {
affected
failed {
...TicketMassEditFailureFragment
}
failureBreakdown {
...MassEditReasonCountFragment
}
totalSelected
}
}
Variables
{
"documentId": HashedId,
"input": AssetMassEditSelectionInput
}
Response
{
"data": {
"preCheckBulkAttachDocumentAssets": {
"affected": 987,
"failed": [TicketMassEditFailure],
"failureBreakdown": [MassEditReasonCount],
"totalSelected": 987
}
}
}
preCheckBulkChangeParentGroups
Response
Returns a MassEditPreCheck!
Arguments
| Name | Description |
|---|---|
input - GroupBulkChangeParentInput!
|
Example
Query
query preCheckBulkChangeParentGroups($input: GroupBulkChangeParentInput!) {
preCheckBulkChangeParentGroups(input: $input) {
affected
failed {
...TicketMassEditFailureFragment
}
failureBreakdown {
...MassEditReasonCountFragment
}
totalSelected
}
}
Variables
{"input": GroupBulkChangeParentInput}
Response
{
"data": {
"preCheckBulkChangeParentGroups": {
"affected": 987,
"failed": [TicketMassEditFailure],
"failureBreakdown": [MassEditReasonCount],
"totalSelected": 987
}
}
}
preCheckBulkChangeServicePackageGroups
Response
Returns a MassEditPreCheck!
Arguments
| Name | Description |
|---|---|
input - GroupBulkChangeServicePackageInput!
|
Example
Query
query preCheckBulkChangeServicePackageGroups($input: GroupBulkChangeServicePackageInput!) {
preCheckBulkChangeServicePackageGroups(input: $input) {
affected
failed {
...TicketMassEditFailureFragment
}
failureBreakdown {
...MassEditReasonCountFragment
}
totalSelected
}
}
Variables
{"input": GroupBulkChangeServicePackageInput}
Response
{
"data": {
"preCheckBulkChangeServicePackageGroups": {
"affected": 987,
"failed": [TicketMassEditFailure],
"failureBreakdown": [MassEditReasonCount],
"totalSelected": 987
}
}
}
preCheckBulkChangeStatusTickets
Response
Returns a MassEditPreCheck!
Arguments
| Name | Description |
|---|---|
input - TicketBulkChangeStatusInput!
|
Ticket selection and the new status |
Example
Query
query preCheckBulkChangeStatusTickets($input: TicketBulkChangeStatusInput!) {
preCheckBulkChangeStatusTickets(input: $input) {
affected
failed {
...TicketMassEditFailureFragment
}
failureBreakdown {
...MassEditReasonCountFragment
}
totalSelected
}
}
Variables
{"input": TicketBulkChangeStatusInput}
Response
{
"data": {
"preCheckBulkChangeStatusTickets": {
"affected": 987,
"failed": [TicketMassEditFailure],
"failureBreakdown": [MassEditReasonCount],
"totalSelected": 123
}
}
}
preCheckBulkChangeUrgencyTickets
Response
Returns a MassEditPreCheck!
Arguments
| Name | Description |
|---|---|
input - TicketBulkChangeUrgencyInput!
|
Ticket selection and the new urgency |
Example
Query
query preCheckBulkChangeUrgencyTickets($input: TicketBulkChangeUrgencyInput!) {
preCheckBulkChangeUrgencyTickets(input: $input) {
affected
failed {
...TicketMassEditFailureFragment
}
failureBreakdown {
...MassEditReasonCountFragment
}
totalSelected
}
}
Variables
{"input": TicketBulkChangeUrgencyInput}
Response
{
"data": {
"preCheckBulkChangeUrgencyTickets": {
"affected": 123,
"failed": [TicketMassEditFailure],
"failureBreakdown": [MassEditReasonCount],
"totalSelected": 987
}
}
}
preCheckBulkSetCustomerGroups
Response
Returns a MassEditPreCheck!
Arguments
| Name | Description |
|---|---|
input - GroupBulkSetCustomerInput!
|
Example
Query
query preCheckBulkSetCustomerGroups($input: GroupBulkSetCustomerInput!) {
preCheckBulkSetCustomerGroups(input: $input) {
affected
failed {
...TicketMassEditFailureFragment
}
failureBreakdown {
...MassEditReasonCountFragment
}
totalSelected
}
}
Variables
{"input": GroupBulkSetCustomerInput}
Response
{
"data": {
"preCheckBulkSetCustomerGroups": {
"affected": 123,
"failed": [TicketMassEditFailure],
"failureBreakdown": [MassEditReasonCount],
"totalSelected": 123
}
}
}
preCheckBulkSetLastCheckDateAssets
Description
Pre-check bulk last check date for assets without changing anything
Response
Returns a MassEditPreCheck!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
ID of the check rule whose last check date is set on the selected assets |
input - AssetMassEditSelectionInput!
|
Selection criteria for the assets to set the last check date on |
lastCheckDate - Date!
|
Last check day (yyyy-MM-dd) in the group timezone, never in the future; the next check date is recomputed from it |
Example
Query
query preCheckBulkSetLastCheckDateAssets(
$id: HashedId!,
$input: AssetMassEditSelectionInput!,
$lastCheckDate: Date!
) {
preCheckBulkSetLastCheckDateAssets(
id: $id,
input: $input,
lastCheckDate: $lastCheckDate
) {
affected
failed {
...TicketMassEditFailureFragment
}
failureBreakdown {
...MassEditReasonCountFragment
}
totalSelected
}
}
Variables
{
"id": HashedId,
"input": AssetMassEditSelectionInput,
"lastCheckDate": "2007-12-03"
}
Response
{
"data": {
"preCheckBulkSetLastCheckDateAssets": {
"affected": 987,
"failed": [TicketMassEditFailure],
"failureBreakdown": [MassEditReasonCount],
"totalSelected": 987
}
}
}
preCheckBulkSiteAssignment
Description
Pre-check bulk site assignment for access loss
Response
Returns a PreCheckSiteAssignment!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
ID of the target site to check assignment against |
input - AssetMassEditSelectionInput!
|
Selection criteria for the assets to check |
Example
Query
query preCheckBulkSiteAssignment(
$id: HashedId!,
$input: AssetMassEditSelectionInput!
) {
preCheckBulkSiteAssignment(
id: $id,
input: $input
) {
accessLossAssets {
...AccessLossAssetInfoFragment
}
alreadyOnSite
packageRemovalCount
targetSiteGroupName
totalAffected
}
}
Variables
{
"id": HashedId,
"input": AssetMassEditSelectionInput
}
Response
{
"data": {
"preCheckBulkSiteAssignment": {
"accessLossAssets": [AccessLossAssetInfo],
"alreadyOnSite": 987,
"packageRemovalCount": 123,
"targetSiteGroupName": "abc123",
"totalAffected": 123
}
}
}
preCheckBulkSiteSoftDelete
Response
Returns a PreCheckBulkSiteSoftDelete!
Arguments
| Name | Description |
|---|---|
input - SiteMassEditSelectionInput!
|
Selection criteria to pre-check before bulk soft-delete |
Example
Query
query preCheckBulkSiteSoftDelete($input: SiteMassEditSelectionInput!) {
preCheckBulkSiteSoftDelete(input: $input) {
deletable
failureBreakdown {
...SiteMassEditReasonCountFragment
}
totalSelected
}
}
Variables
{"input": SiteMassEditSelectionInput}
Response
{
"data": {
"preCheckBulkSiteSoftDelete": {
"deletable": 987,
"failureBreakdown": [SiteMassEditReasonCount],
"totalSelected": 123
}
}
}
preCheckBulkSoftDeleteAssetCategories
Response
Returns a MassEditPreCheck!
Arguments
| Name | Description |
|---|---|
input - AssetCategoryMassEditSelectionInput!
|
Selection criteria for asset category mass edit operations |
Example
Query
query preCheckBulkSoftDeleteAssetCategories($input: AssetCategoryMassEditSelectionInput!) {
preCheckBulkSoftDeleteAssetCategories(input: $input) {
affected
failed {
...TicketMassEditFailureFragment
}
failureBreakdown {
...MassEditReasonCountFragment
}
totalSelected
}
}
Variables
{"input": AssetCategoryMassEditSelectionInput}
Response
{
"data": {
"preCheckBulkSoftDeleteAssetCategories": {
"affected": 987,
"failed": [TicketMassEditFailure],
"failureBreakdown": [MassEditReasonCount],
"totalSelected": 987
}
}
}
preCheckBulkSoftDeleteAssetTypes
Response
Returns a MassEditPreCheck!
Arguments
| Name | Description |
|---|---|
input - AssetTypeMassEditSelectionInput!
|
Selection criteria for asset type mass edit operations |
Example
Query
query preCheckBulkSoftDeleteAssetTypes($input: AssetTypeMassEditSelectionInput!) {
preCheckBulkSoftDeleteAssetTypes(input: $input) {
affected
failed {
...TicketMassEditFailureFragment
}
failureBreakdown {
...MassEditReasonCountFragment
}
totalSelected
}
}
Variables
{"input": AssetTypeMassEditSelectionInput}
Response
{
"data": {
"preCheckBulkSoftDeleteAssetTypes": {
"affected": 123,
"failed": [TicketMassEditFailure],
"failureBreakdown": [MassEditReasonCount],
"totalSelected": 987
}
}
}
preCheckBulkSoftDeleteGroups
Response
Returns a MassEditPreCheck!
Arguments
| Name | Description |
|---|---|
input - GroupMassEditSelectionInput!
|
Selection criteria for group mass edit operations |
Example
Query
query preCheckBulkSoftDeleteGroups($input: GroupMassEditSelectionInput!) {
preCheckBulkSoftDeleteGroups(input: $input) {
affected
failed {
...TicketMassEditFailureFragment
}
failureBreakdown {
...MassEditReasonCountFragment
}
totalSelected
}
}
Variables
{"input": GroupMassEditSelectionInput}
Response
{
"data": {
"preCheckBulkSoftDeleteGroups": {
"affected": 987,
"failed": [TicketMassEditFailure],
"failureBreakdown": [MassEditReasonCount],
"totalSelected": 123
}
}
}
preCheckBulkSoftDeleteParts
Response
Returns a MassEditPreCheck!
Arguments
| Name | Description |
|---|---|
input - PartMassEditSelectionInput!
|
Selection criteria for the parts to soft-delete |
Example
Query
query preCheckBulkSoftDeleteParts($input: PartMassEditSelectionInput!) {
preCheckBulkSoftDeleteParts(input: $input) {
affected
failed {
...TicketMassEditFailureFragment
}
failureBreakdown {
...MassEditReasonCountFragment
}
totalSelected
}
}
Variables
{"input": PartMassEditSelectionInput}
Response
{
"data": {
"preCheckBulkSoftDeleteParts": {
"affected": 987,
"failed": [TicketMassEditFailure],
"failureBreakdown": [MassEditReasonCount],
"totalSelected": 987
}
}
}
preCheckBulkSoftDeletePersonnel
Response
Returns a MassEditPreCheck!
Arguments
| Name | Description |
|---|---|
input - PersonnelMassEditSelectionInput!
|
Selection criteria for the personnel to soft-delete |
Example
Query
query preCheckBulkSoftDeletePersonnel($input: PersonnelMassEditSelectionInput!) {
preCheckBulkSoftDeletePersonnel(input: $input) {
affected
failed {
...TicketMassEditFailureFragment
}
failureBreakdown {
...MassEditReasonCountFragment
}
totalSelected
}
}
Variables
{"input": PersonnelMassEditSelectionInput}
Response
{
"data": {
"preCheckBulkSoftDeletePersonnel": {
"affected": 123,
"failed": [TicketMassEditFailure],
"failureBreakdown": [MassEditReasonCount],
"totalSelected": 123
}
}
}
preCheckBulkSoftDeleteProcedures
Response
Returns a MassEditPreCheck!
Arguments
| Name | Description |
|---|---|
input - ProcedureMassEditSelectionInput!
|
Selection criteria for the procedure templates to soft-delete |
Example
Query
query preCheckBulkSoftDeleteProcedures($input: ProcedureMassEditSelectionInput!) {
preCheckBulkSoftDeleteProcedures(input: $input) {
affected
failed {
...TicketMassEditFailureFragment
}
failureBreakdown {
...MassEditReasonCountFragment
}
totalSelected
}
}
Variables
{"input": ProcedureMassEditSelectionInput}
Response
{
"data": {
"preCheckBulkSoftDeleteProcedures": {
"affected": 987,
"failed": [TicketMassEditFailure],
"failureBreakdown": [MassEditReasonCount],
"totalSelected": 123
}
}
}
preCheckBulkSoftDeleteTickets
Response
Returns a MassEditPreCheck!
Arguments
| Name | Description |
|---|---|
input - TicketMassEditSelectionInput!
|
Selection criteria for the tickets to soft-delete |
Example
Query
query preCheckBulkSoftDeleteTickets($input: TicketMassEditSelectionInput!) {
preCheckBulkSoftDeleteTickets(input: $input) {
affected
failed {
...TicketMassEditFailureFragment
}
failureBreakdown {
...MassEditReasonCountFragment
}
totalSelected
}
}
Variables
{"input": TicketMassEditSelectionInput}
Response
{
"data": {
"preCheckBulkSoftDeleteTickets": {
"affected": 987,
"failed": [TicketMassEditFailure],
"failureBreakdown": [MassEditReasonCount],
"totalSelected": 987
}
}
}
preCheckBulkSoftDeleteUsers
Response
Returns a MassEditPreCheck!
Arguments
| Name | Description |
|---|---|
input - UserMassEditSelectionInput!
|
Selection criteria for the users to soft-delete |
Example
Query
query preCheckBulkSoftDeleteUsers($input: UserMassEditSelectionInput!) {
preCheckBulkSoftDeleteUsers(input: $input) {
affected
failed {
...TicketMassEditFailureFragment
}
failureBreakdown {
...MassEditReasonCountFragment
}
totalSelected
}
}
Variables
{"input": UserMassEditSelectionInput}
Response
{
"data": {
"preCheckBulkSoftDeleteUsers": {
"affected": 987,
"failed": [TicketMassEditFailure],
"failureBreakdown": [MassEditReasonCount],
"totalSelected": 987
}
}
}
preCheckBulkSoftDeleteWorkOrders
Response
Returns a MassEditPreCheck!
Arguments
| Name | Description |
|---|---|
input - WorkOrderMassEditSelectionInput!
|
Selection criteria for the work orders to soft-delete |
Example
Query
query preCheckBulkSoftDeleteWorkOrders($input: WorkOrderMassEditSelectionInput!) {
preCheckBulkSoftDeleteWorkOrders(input: $input) {
affected
failed {
...TicketMassEditFailureFragment
}
failureBreakdown {
...MassEditReasonCountFragment
}
totalSelected
}
}
Variables
{"input": WorkOrderMassEditSelectionInput}
Response
{
"data": {
"preCheckBulkSoftDeleteWorkOrders": {
"affected": 987,
"failed": [TicketMassEditFailure],
"failureBreakdown": [MassEditReasonCount],
"totalSelected": 987
}
}
}
preCheckBulkSwitchLoginMethodUsers
Response
Returns a MassEditPreCheck!
Arguments
| Name | Description |
|---|---|
input - UserBulkSwitchLoginMethodInput!
|
Example
Query
query preCheckBulkSwitchLoginMethodUsers($input: UserBulkSwitchLoginMethodInput!) {
preCheckBulkSwitchLoginMethodUsers(input: $input) {
affected
failed {
...TicketMassEditFailureFragment
}
failureBreakdown {
...MassEditReasonCountFragment
}
totalSelected
}
}
Variables
{"input": UserBulkSwitchLoginMethodInput}
Response
{
"data": {
"preCheckBulkSwitchLoginMethodUsers": {
"affected": 987,
"failed": [TicketMassEditFailure],
"failureBreakdown": [MassEditReasonCount],
"totalSelected": 987
}
}
}
preCheckBulkUpdateAssetCategories
Response
Returns a MassEditLinkedCountPreCheck!
Arguments
| Name | Description |
|---|---|
input - AssetCategoryBulkUpdateInput!
|
Example
Query
query preCheckBulkUpdateAssetCategories($input: AssetCategoryBulkUpdateInput!) {
preCheckBulkUpdateAssetCategories(input: $input) {
affected
failureBreakdown {
...MassEditReasonCountFragment
}
linkedAssetCount
linkedAssetTypeCount
reclassifiedAssetCount
reclassifiedRobotCount
reclassifiedVehicleCount
totalSelected
}
}
Variables
{"input": AssetCategoryBulkUpdateInput}
Response
{
"data": {
"preCheckBulkUpdateAssetCategories": {
"affected": 123,
"failureBreakdown": [MassEditReasonCount],
"linkedAssetCount": 987,
"linkedAssetTypeCount": 987,
"reclassifiedAssetCount": 987,
"reclassifiedRobotCount": 123,
"reclassifiedVehicleCount": 987,
"totalSelected": 123
}
}
}
preCheckBulkUpdateAssetTypes
Response
Returns a MassEditLinkedCountPreCheck!
Arguments
| Name | Description |
|---|---|
input - AssetTypeBulkUpdateInput!
|
Example
Query
query preCheckBulkUpdateAssetTypes($input: AssetTypeBulkUpdateInput!) {
preCheckBulkUpdateAssetTypes(input: $input) {
affected
failureBreakdown {
...MassEditReasonCountFragment
}
linkedAssetCount
linkedAssetTypeCount
reclassifiedAssetCount
reclassifiedRobotCount
reclassifiedVehicleCount
totalSelected
}
}
Variables
{"input": AssetTypeBulkUpdateInput}
Response
{
"data": {
"preCheckBulkUpdateAssetTypes": {
"affected": 123,
"failureBreakdown": [MassEditReasonCount],
"linkedAssetCount": 123,
"linkedAssetTypeCount": 987,
"reclassifiedAssetCount": 123,
"reclassifiedRobotCount": 987,
"reclassifiedVehicleCount": 987,
"totalSelected": 987
}
}
}
preCheckBulkUpdateCustomFields
Response
Returns a MassEditAssetCountPreCheck!
Arguments
| Name | Description |
|---|---|
input - CustomFieldBulkUpdateInput!
|
Example
Query
query preCheckBulkUpdateCustomFields($input: CustomFieldBulkUpdateInput!) {
preCheckBulkUpdateCustomFields(input: $input) {
affected
assetCounts {
...MassEditAssetCountFragment
}
failureBreakdown {
...MassEditReasonCountFragment
}
totalSelected
}
}
Variables
{"input": CustomFieldBulkUpdateInput}
Response
{
"data": {
"preCheckBulkUpdateCustomFields": {
"affected": 123,
"assetCounts": [MassEditAssetCount],
"failureBreakdown": [MassEditReasonCount],
"totalSelected": 987
}
}
}
preCheckBulkUpdateFlagsRules
Response
Returns a MassEditPreCheck!
Arguments
| Name | Description |
|---|---|
input - RuleBulkUpdateFlagsInput!
|
Example
Query
query preCheckBulkUpdateFlagsRules($input: RuleBulkUpdateFlagsInput!) {
preCheckBulkUpdateFlagsRules(input: $input) {
affected
failed {
...TicketMassEditFailureFragment
}
failureBreakdown {
...MassEditReasonCountFragment
}
totalSelected
}
}
Variables
{"input": RuleBulkUpdateFlagsInput}
Response
{
"data": {
"preCheckBulkUpdateFlagsRules": {
"affected": 987,
"failed": [TicketMassEditFailure],
"failureBreakdown": [MassEditReasonCount],
"totalSelected": 123
}
}
}
preCheckBulkUpdateGroups
Response
Returns a MassEditPreCheck!
Arguments
| Name | Description |
|---|---|
input - GroupBulkUpdateInput!
|
Example
Query
query preCheckBulkUpdateGroups($input: GroupBulkUpdateInput!) {
preCheckBulkUpdateGroups(input: $input) {
affected
failed {
...TicketMassEditFailureFragment
}
failureBreakdown {
...MassEditReasonCountFragment
}
totalSelected
}
}
Variables
{"input": GroupBulkUpdateInput}
Response
{
"data": {
"preCheckBulkUpdateGroups": {
"affected": 123,
"failed": [TicketMassEditFailure],
"failureBreakdown": [MassEditReasonCount],
"totalSelected": 123
}
}
}
preCheckBulkUpdateParts
Response
Returns a MassEditPreCheck!
Arguments
| Name | Description |
|---|---|
input - PartBulkUpdateInput!
|
Example
Query
query preCheckBulkUpdateParts($input: PartBulkUpdateInput!) {
preCheckBulkUpdateParts(input: $input) {
affected
failed {
...TicketMassEditFailureFragment
}
failureBreakdown {
...MassEditReasonCountFragment
}
totalSelected
}
}
Variables
{"input": PartBulkUpdateInput}
Response
{
"data": {
"preCheckBulkUpdateParts": {
"affected": 123,
"failed": [TicketMassEditFailure],
"failureBreakdown": [MassEditReasonCount],
"totalSelected": 123
}
}
}
preCheckBulkUpdatePersonnel
Response
Returns a MassEditPreCheck!
Arguments
| Name | Description |
|---|---|
input - PersonnelBulkUpdateInput!
|
Selection criteria and field changes for personnel mass update |
Example
Query
query preCheckBulkUpdatePersonnel($input: PersonnelBulkUpdateInput!) {
preCheckBulkUpdatePersonnel(input: $input) {
affected
failed {
...TicketMassEditFailureFragment
}
failureBreakdown {
...MassEditReasonCountFragment
}
totalSelected
}
}
Variables
{"input": PersonnelBulkUpdateInput}
Response
{
"data": {
"preCheckBulkUpdatePersonnel": {
"affected": 987,
"failed": [TicketMassEditFailure],
"failureBreakdown": [MassEditReasonCount],
"totalSelected": 987
}
}
}
preCheckBulkUpdateSites
Response
Returns a MassEditLinkedCountPreCheck!
Arguments
| Name | Description |
|---|---|
input - SiteBulkUpdateInput!
|
Example
Query
query preCheckBulkUpdateSites($input: SiteBulkUpdateInput!) {
preCheckBulkUpdateSites(input: $input) {
affected
failureBreakdown {
...MassEditReasonCountFragment
}
linkedAssetCount
linkedAssetTypeCount
reclassifiedAssetCount
reclassifiedRobotCount
reclassifiedVehicleCount
totalSelected
}
}
Variables
{"input": SiteBulkUpdateInput}
Response
{
"data": {
"preCheckBulkUpdateSites": {
"affected": 987,
"failureBreakdown": [MassEditReasonCount],
"linkedAssetCount": 987,
"linkedAssetTypeCount": 123,
"reclassifiedAssetCount": 123,
"reclassifiedRobotCount": 987,
"reclassifiedVehicleCount": 123,
"totalSelected": 123
}
}
}
preCheckBulkUpdateUsers
Response
Returns a MassEditPreCheck!
Arguments
| Name | Description |
|---|---|
input - UserBulkUpdateInput!
|
Example
Query
query preCheckBulkUpdateUsers($input: UserBulkUpdateInput!) {
preCheckBulkUpdateUsers(input: $input) {
affected
failed {
...TicketMassEditFailureFragment
}
failureBreakdown {
...MassEditReasonCountFragment
}
totalSelected
}
}
Variables
{"input": UserBulkUpdateInput}
Response
{
"data": {
"preCheckBulkUpdateUsers": {
"affected": 987,
"failed": [TicketMassEditFailure],
"failureBreakdown": [MassEditReasonCount],
"totalSelected": 123
}
}
}
procedureTemplateDocumentImportResult
Description
Returns the status and generated draft for a document import job
Response
Returns a BackgroundJob!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Unique identifier of the entity |
Example
Query
query procedureTemplateDocumentImportResult($id: HashedId!) {
procedureTemplateDocumentImportResult(id: $id) {
attempts
created
createdByUser {
...BackgroundJobUserFragment
}
downloadUrl
errorMessage
expiresAt
finishedAt
id
label
procedureTemplateDocumentImportPreview {
...ProcedureTemplateDocumentImportPreviewFragment
}
progressDone
progressTotal
startedAt
status
type
updated
}
}
Variables
{"id": HashedId}
Response
{
"data": {
"procedureTemplateDocumentImportResult": {
"attempts": 123,
"created": 1592577642,
"createdByUser": BackgroundJobUser,
"downloadUrl": "xyz789",
"errorMessage": "abc123",
"expiresAt": "2007-12-03T10:15:30Z",
"finishedAt": "2007-12-03T10:15:30Z",
"id": HashedId,
"label": "xyz789",
"procedureTemplateDocumentImportPreview": ProcedureTemplateDocumentImportPreview,
"progressDone": 123,
"progressTotal": 123,
"startedAt": "2007-12-03T10:15:30Z",
"status": "FAILED",
"type": "ASSET_DATA_XLSX_EXPORT",
"updated": 1592577642
}
}
}
procedureTemplateJotformImportPreview
Description
Previews a Jotform form as a procedure template without saving anything
Response
Returns a ProcedureTemplateJotformImportPreview!
Arguments
| Name | Description |
|---|---|
input - ProcedureTemplateJotformImportPreviewInput!
|
Jotform import preview fields |
Example
Query
query procedureTemplateJotformImportPreview($input: ProcedureTemplateJotformImportPreviewInput!) {
procedureTemplateJotformImportPreview(input: $input) {
jotformId
template {
...ProcedureTemplatePreviewTemplateFragment
}
warningCodes
}
}
Variables
{"input": ProcedureTemplateJotformImportPreviewInput}
Response
{
"data": {
"procedureTemplateJotformImportPreview": {
"jotformId": "xyz789",
"template": ProcedureTemplatePreviewTemplate,
"warningCodes": ["CALCULATION_UNSUPPORTED"]
}
}
}
processedAssetData
Description
Returns processed IoT data for an asset, prepared for chart and display rendering
Response
Returns [ProcessedAssetData!]!
Arguments
| Name | Description |
|---|---|
assetId - [HashedId!]!
|
Asset identifier |
closest - Timestamp
|
Matches a single data closest to the given date, this will ignore properties from and to |
excludeOffsets - Boolean
|
Exclude offsets |
from - Timestamp
|
The from date of the requested data (default first entry of asset) |
onlyOffsetValues - Boolean!
|
Only offset values. Default = false |
parameterId - [HashedId!]!
|
The ids of the parameters which should be loaded for the specified assets |
syntheticParameter - AssetSyntheticParameterEnum
|
Synthetic parameter |
to - Timestamp
|
The to date of the requested data (default now) |
Example
Query
query processedAssetData(
$assetId: [HashedId!]!,
$closest: Timestamp,
$excludeOffsets: Boolean,
$from: Timestamp,
$onlyOffsetValues: Boolean!,
$parameterId: [HashedId!]!,
$syntheticParameter: AssetSyntheticParameterEnum,
$to: Timestamp
) {
processedAssetData(
assetId: $assetId,
closest: $closest,
excludeOffsets: $excludeOffsets,
from: $from,
onlyOffsetValues: $onlyOffsetValues,
parameterId: $parameterId,
syntheticParameter: $syntheticParameter,
to: $to
) {
asset {
...AssetFragment
}
parameters {
...ParameterFragment
}
timestamps
values
}
}
Variables
{
"assetId": [HashedId],
"closest": 1592577642,
"excludeOffsets": false,
"from": 1592577642,
"onlyOffsetValues": false,
"parameterId": [HashedId],
"syntheticParameter": "BATTERY",
"to": 1592577642
}
Response
{
"data": {
"processedAssetData": [
{
"asset": Asset,
"parameters": [Parameter],
"timestamps": [1592577642],
"values": [123.45]
}
]
}
}
publishMessageToMqtt
Description
Publish a command message to an asset via MQTT
Response
Returns a Boolean!
Arguments
| Name | Description |
|---|---|
assetId - HashedId!
|
Asset identifier |
messageType - MqttMessageType!
|
Type of MQTT command to send to the asset |
Example
Query
query publishMessageToMqtt(
$assetId: HashedId!,
$messageType: MqttMessageType!
) {
publishMessageToMqtt(
assetId: $assetId,
messageType: $messageType
)
}
Variables
{"assetId": HashedId, "messageType": "LOCK"}
Response
{"data": {"publishMessageToMqtt": false}}
qrLandingAsset
Description
Fetch asset details for the public QR code landing page: the asset the scanned QR code "uuid" belongs to, or an asset the authenticated caller can read
Response
Returns a QrLandingAsset!
Example
Query
query qrLandingAsset(
$id: HashedId!,
$uuid: String
) {
qrLandingAsset(
id: $id,
uuid: $uuid
) {
BLE
activeCustomFields {
...CustomFieldFragment
}
activeSiteAssignment {
...AssetSiteAssignmentFragment
}
archivedCustomFields {
...CustomFieldFragment
}
assetCategory {
...AssetCategoryFragment
}
assetCategoryId
assetPackageAsset {
...QrLandingAssetPackageAssetFragment
}
assetSiteAssignments {
...AssetSiteAssignmentFragment
}
assetType {
...AssetTypeFragment
}
assetTypeId
assignedToGroupId
assignedToPreviousSite {
...SiteFragment
}
availability
checkSchedule {
...AssetCheckScheduleFragment
}
classification
costLines {
...CostLineFragment
}
costs {
...CostLineFragment
}
countNonArchivedSiteAssignments
created
createdByGroupId
currency
descriptionId
events {
...EventFragment
}
externalId
group {
...GroupFragment
}
groupId
hasChatbotDocuments
hasCheckRules
id
image
inventoryNumber
lastCheck {
...EventFragment
}
lastChecks {
...EventFragment
}
manuals {
...DocumentFragment
}
operationalCosts {
...CostFragment
}
ownership
plateNumber
previousSiteId
primaryServicePackage {
...ServicePackageWithSourceTypeFragment
}
publicId
purchaseWarrantyEnd
qrAttached
quantity
resolvedCurrency
responsiblePerson
robotNeedsAttention
ruleEntryEvents {
...RuleEntryEventFragment
}
serial
services {
...ServiceFragment
}
site {
...SiteFragment
}
siteId
updated
uuid
}
}
Variables
{
"id": HashedId,
"uuid": "abc123"
}
Response
{
"data": {
"qrLandingAsset": {
"BLE": "xyz789",
"activeCustomFields": [CustomField],
"activeSiteAssignment": AssetSiteAssignment,
"archivedCustomFields": [CustomField],
"assetCategory": AssetCategory,
"assetCategoryId": HashedId,
"assetPackageAsset": QrLandingAssetPackageAsset,
"assetSiteAssignments": [AssetSiteAssignment],
"assetType": AssetType,
"assetTypeId": HashedId,
"assignedToGroupId": HashedId,
"assignedToPreviousSite": Site,
"availability": "BORROWED",
"checkSchedule": AssetCheckSchedule,
"classification": "GENERIC",
"costLines": [CostLine],
"costs": [CostLine],
"countNonArchivedSiteAssignments": 987,
"created": 1592577642,
"createdByGroupId": HashedId,
"currency": "abc123",
"descriptionId": HashedId,
"events": [Event],
"externalId": "xyz789",
"group": Group,
"groupId": HashedId,
"hasChatbotDocuments": false,
"hasCheckRules": true,
"id": HashedId,
"image": "xyz789",
"inventoryNumber": "xyz789",
"lastCheck": Event,
"lastChecks": [Event],
"manuals": [Document],
"operationalCosts": [Cost],
"ownership": "CUSTOMER_MACHINE",
"plateNumber": "xyz789",
"previousSiteId": HashedId,
"primaryServicePackage": ServicePackageWithSourceType,
"publicId": 123,
"purchaseWarrantyEnd": "2007-12-03",
"qrAttached": true,
"quantity": 987,
"resolvedCurrency": "AED",
"responsiblePerson": "xyz789",
"robotNeedsAttention": true,
"ruleEntryEvents": [RuleEntryEvent],
"serial": "xyz789",
"services": [Service],
"site": Site,
"siteId": HashedId,
"updated": 1592577642,
"uuid": "abc123"
}
}
}
qrLandingChatbotSession
Description
Fetch the active anonymous chatbot session for a public session token
Response
Returns a ChatbotSession
Arguments
| Name | Description |
|---|---|
sessionToken - String!
|
Public token issued when the anonymous chatbot session was opened |
Example
Query
query qrLandingChatbotSession($sessionToken: String!) {
qrLandingChatbotSession(sessionToken: $sessionToken) {
assetId
created
id
locale
messages {
...ChatbotMessageFragment
}
serviceId
status
statusSnapshot {
...ChatbotStatusSnapshotFragment
}
updated
}
}
Variables
{"sessionToken": "xyz789"}
Response
{
"data": {
"qrLandingChatbotSession": {
"assetId": HashedId,
"created": 1592577642,
"id": HashedId,
"locale": "ar_ar",
"messages": [ChatbotMessage],
"serviceId": HashedId,
"status": "ACTIVE",
"statusSnapshot": ChatbotStatusSnapshot,
"updated": 1592577642
}
}
}
qrLandingProcedureFormData
Description
Retrieve procedure form data for the asset or site the scanned QR code "uuid" belongs to, or one the authenticated caller can read
Response
Returns a QrLandingProcedureFormData!
Example
Query
query qrLandingProcedureFormData(
$assetId: HashedId,
$checkEventId: HashedId,
$serviceId: HashedId!,
$siteId: HashedId,
$uuid: String
) {
qrLandingProcedureFormData(
assetId: $assetId,
checkEventId: $checkEventId,
serviceId: $serviceId,
siteId: $siteId,
uuid: $uuid
) {
asset {
...QrLandingAssetFragment
}
event {
...EventFragment
}
service {
...QrLandingServiceFragment
}
site {
...SiteFragment
}
}
}
Variables
{
"assetId": HashedId,
"checkEventId": HashedId,
"serviceId": HashedId,
"siteId": HashedId,
"uuid": "xyz789"
}
Response
{
"data": {
"qrLandingProcedureFormData": {
"asset": QrLandingAsset,
"event": Event,
"service": QrLandingService,
"site": Site
}
}
}
qrLandingRule
Description
Fetch a check that can be completed from the public QR landing page: one that applies to the asset the scanned QR code "uuid" belongs to, or one the authenticated caller can read
Response
Returns a QrLandingRule!
Example
Query
query qrLandingRule(
$id: HashedId!,
$uuid: String
) {
qrLandingRule(
id: $id,
uuid: $uuid
) {
assignedToGroup {
...GroupFragment
}
assignedToGroupId
created
createdByGroup {
...GroupFragment
}
createdByGroupId
createdByUser {
...UserFragment
}
createdByUserId
description {
...TranslationFragment
}
descriptionId
enabled
eventType
id
isActive
isArchived
isCheckAllowedForUnauthorizedUsers
isCritical
isGlobalRule
isImmediateNotification
isOneshot
isOnetime
manualDeactivation
purpose
services {
...ServiceFragment
}
source
title {
...TranslationFragment
}
titleId
updated
}
}
Variables
{
"id": HashedId,
"uuid": "xyz789"
}
Response
{
"data": {
"qrLandingRule": {
"assignedToGroup": Group,
"assignedToGroupId": HashedId,
"created": 1592577642,
"createdByGroup": Group,
"createdByGroupId": HashedId,
"createdByUser": User,
"createdByUserId": HashedId,
"description": Translation,
"descriptionId": HashedId,
"enabled": true,
"eventType": "COST",
"id": HashedId,
"isActive": true,
"isArchived": false,
"isCheckAllowedForUnauthorizedUsers": false,
"isCritical": false,
"isGlobalRule": false,
"isImmediateNotification": false,
"isOneshot": true,
"isOnetime": false,
"manualDeactivation": false,
"purpose": "GEOFENCE",
"services": [Service],
"source": "BLE",
"title": Translation,
"titleId": HashedId,
"updated": 1592577642
}
}
}
qrLandingTagsPaginated
Description
List the tags for the QR landing procedure form: the tag tree of the asset or site the scanned QR code "uuid" belongs to, or the authenticated caller's tags
Response
Returns a TagPaginatedResult!
Arguments
| Name | Description |
|---|---|
assetId - HashedId
|
Asset identifier |
pagination - PaginationParams!
|
Pagination |
search - String
|
Text search query for filtering results |
siteId - HashedId
|
Site identifier |
uuid - String
|
UUID of the scanned QR code; required for anonymous callers and must belong to the asset or site |
Example
Query
query qrLandingTagsPaginated(
$assetId: HashedId,
$pagination: PaginationParams!,
$search: String,
$siteId: HashedId,
$uuid: String
) {
qrLandingTagsPaginated(
assetId: $assetId,
pagination: $pagination,
search: $search,
siteId: $siteId,
uuid: $uuid
) {
meta {
...PaginationMetaFragment
}
rows {
...TagFragment
}
total
}
}
Variables
{
"assetId": HashedId,
"pagination": PaginationParams,
"search": "abc123",
"siteId": HashedId,
"uuid": "abc123"
}
Response
{
"data": {
"qrLandingTagsPaginated": {
"meta": PaginationMeta,
"rows": [Tag],
"total": 123
}
}
}
registrationRequest
Description
Retrieve registration requests, optionally filtered by IDs
Response
Returns [RegistrationRequest!]!
Arguments
| Name | Description |
|---|---|
id - [HashedId!]
|
List of unique identifiers |
Example
Query
query registrationRequest($id: [HashedId!]) {
registrationRequest(id: $id) {
acceptedTermsVersionId
assetsCount
companyAddress
created
customerNumber
dealerName
denialMessage
email
firstname
forGroup {
...GroupFragment
}
forGroupId
groupName
id
isActive
isDenied
isProcessed
languageId
lastname
phone
processedByUser {
...UserFragment
}
processedByUserId
resultingGroup {
...GroupFragment
}
resultingGroupId
resultingUser {
...UserFragment
}
resultingUserId
salesRepresentative
updated
vatNumber
}
}
Variables
{"id": [HashedId]}
Response
{
"data": {
"registrationRequest": [
{
"acceptedTermsVersionId": HashedId,
"assetsCount": 123,
"companyAddress": "abc123",
"created": 1592577642,
"customerNumber": "abc123",
"dealerName": "abc123",
"denialMessage": "xyz789",
"email": "xyz789",
"firstname": "abc123",
"forGroup": Group,
"forGroupId": HashedId,
"groupName": "xyz789",
"id": HashedId,
"isActive": false,
"isDenied": false,
"isProcessed": false,
"languageId": HashedId,
"lastname": "abc123",
"phone": "xyz789",
"processedByUser": User,
"processedByUserId": HashedId,
"resultingGroup": Group,
"resultingGroupId": HashedId,
"resultingUser": User,
"resultingUserId": HashedId,
"salesRepresentative": "abc123",
"updated": 1592577642,
"vatNumber": "abc123"
}
]
}
}
reservation
Description
Fetch a single reservation by its ID
Response
Returns a Reservation!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Unique identifier of the entity |
Example
Query
query reservation($id: HashedId!) {
reservation(id: $id) {
approvedAt
cancelledAt
cancelledByUser {
...UserFragment
}
cancelledByUserId
confirmedAt
confirmedByUser {
...UserFragment
}
confirmedByUserId
created
createdByGroup {
...GroupFragment
}
createdByGroupId
createdByUser {
...UserFragment
}
createdByUserId
expectedArrivalAt
externalErpId
externalErpRequestedBy
id
issues {
...ReservationLineItemIssueFragment
}
lineItems {
...ReservationLineItemFragment
}
notes
publicId
rejectedAt
rejectedByUser {
...UserFragment
}
rejectedByUserId
rejectionReason
site {
...SiteFragment
}
siteId
status
tickets {
...TicketFragment
}
updated
uuid
}
}
Variables
{"id": HashedId}
Response
{
"data": {
"reservation": {
"approvedAt": "2007-12-03",
"cancelledAt": "2007-12-03T10:15:30Z",
"cancelledByUser": User,
"cancelledByUserId": HashedId,
"confirmedAt": "2007-12-03T10:15:30Z",
"confirmedByUser": User,
"confirmedByUserId": HashedId,
"created": 1592577642,
"createdByGroup": Group,
"createdByGroupId": HashedId,
"createdByUser": User,
"createdByUserId": HashedId,
"expectedArrivalAt": "2007-12-03",
"externalErpId": "abc123",
"externalErpRequestedBy": "xyz789",
"id": HashedId,
"issues": [ReservationLineItemIssue],
"lineItems": [ReservationLineItem],
"notes": "xyz789",
"publicId": 987,
"rejectedAt": "2007-12-03T10:15:30Z",
"rejectedByUser": User,
"rejectedByUserId": HashedId,
"rejectionReason": "abc123",
"site": Site,
"siteId": HashedId,
"status": "CANCELLED",
"tickets": [Ticket],
"updated": 1592577642,
"uuid": "abc123"
}
}
}
reservationLineItemAvailableAssets
Description
Find assets available for allocation to a reservation line item
Response
Returns [Asset!]!
Example
Query
query reservationLineItemAvailableAssets(
$id: HashedId!,
$ignoreFilters: Boolean
) {
reservationLineItemAvailableAssets(
id: $id,
ignoreFilters: $ignoreFilters
) {
BLE
activeCustomFields {
...CustomFieldFragment
}
activity {
...AssetActivityFragment
}
allowReservations
archivedCustomFields {
...CustomFieldFragment
}
assetCategory {
...AssetCategoryFragment
}
assetCategoryId
assetPackageAsset {
...AssetPackageAssetFragment
}
assetSiteAssignments {
...AssetSiteAssignmentFragment
}
assetType {
...AssetTypeFragment
}
assetTypeId
assignedSiteLocation {
...SiteLocationFragment
}
assignedToGroup {
...GroupFragment
}
assignedToGroupId
assignedToPreviousSite {
...SiteFragment
}
assignedToSite {
...SiteFragment
}
assignedToSiteId
assignment
availability
availabilityId
batteryLevel
canEdit
checkSchedule {
...AssetCheckScheduleFragment
}
checkScheduleRule {
...AssetCheckScheduleRuleFragment
}
classification
client
commissionDate
costCenter
costLines {
...CostLineFragment
}
costs {
...CostLineFragment
}
costsSum
costsSumBattery
costsSumCertification
costsSumConsumables
costsSumFuel
costsSumLabor
costsSumLogistics
costsSumMaintenance
costsSumOther
costsSumParts
costsSumRepair
costsSumTaxes
countNonArchivedSiteAssignments
created
createdByGroup {
...GroupFragment
}
createdByGroupId
currency
currentAlerts {
...EventFragment
}
customer
customerEditable
dailyRate
deleted
deletedBy
description {
...TranslationFragment
}
descriptionId
displayParameters {
...DisplayParameterFragment
}
documents {
...DocumentFragment
}
eventIds
events {
...EventFragment
}
externalId
firmwareVersion
firstTripDate
fixedAssetNumber
floorRoom
gatewayAsset {
...AssetFragment
}
geofence {
...AssetGeofenceFragment
}
group {
...GroupFragment
}
groupId
groupTimezone
id
image
imei
initialValue
inlineImage {
...DocumentInlineFileFragment
}
integrationId
integrationSummary {
...AssetIntegrationSummaryFragment
}
inventoryNumber
inventoryPrefix
inventorySequence
iot {
...IotAssetDataFragment
}
iotIntegrationProvider
iotRuleEntryEvents {
...RuleEntryEventFragment
}
isCommodity
isInStationaryGateway
isIntegrationSyncPaused
isLocked
isUsedPrivately
lastContactInfo {
...AssetLastContactInfoFragment
}
lastContacted
lastContactedSource
lastIntegrationRun {
...AssetIntegrationRunFragment
}
lastTicketDate
latestAssetData
latestTrip {
...AssetTripLatestFragment
}
leasingCostTermination
leasingEnd
leasingLevel
leasingMonthlyCost
leasingPartner
leasingPartnerContractNumber
leasingPartnerContractPositionNumber
leasingRenewalDate
leasingRenewalRate
leasingStart
location {
...LocationFragment
}
locationHiddenReason
locationV2 {
... on Location {
...LocationFragment
}
... on SiteLocation {
...SiteLocationFragment
}
... on TripLocation {
...TripLocationFragment
}
}
maintenanceSchedule {
...AssetMaintenanceScheduleFragment
}
manuals {
...DocumentFragment
}
manufacturer {
...ManufacturerFragment
}
manufacturerId
minDaysBilled
module {
...ModuleFragment
}
moduleConnectionStatus
moduleId
nextService
nonWorkingDays {
...AssetNonWorkingDaysFragment
}
operationalCosts {
...CostFragment
}
optionalAssetID
ownership
ownershipId
parameterOffsetIds
parameterOffsets {
...AssetParameterOffsetFragment
}
parameterSets {
...ParameterSetFragment
}
partsNumber
plateNumber
previousSiteId
primaryServicePackage {
...ServicePackageWithSourceTypeFragment
}
projectNumber
publicId
purchaseCost
purchaseCurrentBookValue
purchaseDepreciation
purchaseDepreciationMonths
purchaseDepreciationRemainingMonths
purchaseDepriciation
purchaseInvoiceNumber
purchaseLowValueAsset
purchaseMonthlyCost
purchaseStart
purchaseWarrantyEnd
purchaseWarrantyPeriod
purchaseWarrantyStart
qrAttached
quantity
relatedGroups {
...RelatedGroupFragment
}
rentalCostTermination
rentalEnd
rentalMonthlyCost
rentalRenewalDate
rentalRenewalRate
rentalStart
reservationLineItemIssues {
...ReservationLineItemIssueFragment
}
reservations {
...LegacyAssetReservationFragment
}
resolvedCurrency
responsiblePerson
responsiblePersonUpdatedAt
responsiblePersonUpdatedByUser {
...UserFragment
}
responsiblePersonUpdatedByUserId
restoreBlockers
runtimeWithOffsetInSeconds
scanTime
serial
serviceContract
serviceContractCostPerYear
serviceContractDocuments {
...DocumentFragment
}
serviceContractEmail
serviceContractEnd
serviceContractFrom
serviceContractLevel
serviceContractPartner
serviceContractStart
serviceContractTo
services {
...ServiceFragment
}
shouldShowLastSeenByGateway
shouldUpdateActiveAssetSiteAssignment
site {
...SiteFragment
}
siteId
state {
...AssetStateFragment
}
stateV2 {
...AssetStateItemFragment
}
status {
...StatusItemFragment
}
subscription
supplier
tickets {
...TicketFragment
}
ticketsCount
totalUtilization
totalWorkDone
trips {
...TripFragment
}
unavailability {
...AssetUnavailabilityFragment
}
updated
utilization {
...AssetUtilizationFragment
}
uuid
vncTunnelUrl
workOrders {
...WorkOrderV2Fragment
}
workingHours {
...AssetWorkingHoursFragment
}
workingHoursNotification {
...RuleNotificationRelationFragment
}
workingHoursSettings
}
}
Variables
{"id": HashedId, "ignoreFilters": false}
Response
{
"data": {
"reservationLineItemAvailableAssets": [
{
"BLE": "abc123",
"activeCustomFields": [CustomField],
"activity": AssetActivity,
"allowReservations": true,
"archivedCustomFields": [CustomField],
"assetCategory": AssetCategory,
"assetCategoryId": HashedId,
"assetPackageAsset": AssetPackageAsset,
"assetSiteAssignments": [AssetSiteAssignment],
"assetType": AssetType,
"assetTypeId": HashedId,
"assignedSiteLocation": SiteLocation,
"assignedToGroup": Group,
"assignedToGroupId": HashedId,
"assignedToPreviousSite": Site,
"assignedToSite": Site,
"assignedToSiteId": HashedId,
"assignment": "abc123",
"availability": "BORROWED",
"availabilityId": HashedId,
"batteryLevel": "abc123",
"canEdit": true,
"checkSchedule": AssetCheckSchedule,
"checkScheduleRule": AssetCheckScheduleRule,
"classification": "GENERIC",
"client": "xyz789",
"commissionDate": "2007-12-03",
"costCenter": "abc123",
"costLines": [CostLine],
"costs": [CostLine],
"costsSum": 123.45,
"costsSumBattery": 123.45,
"costsSumCertification": 987.65,
"costsSumConsumables": 987.65,
"costsSumFuel": 987.65,
"costsSumLabor": 123.45,
"costsSumLogistics": 987.65,
"costsSumMaintenance": 123.45,
"costsSumOther": 123.45,
"costsSumParts": 987.65,
"costsSumRepair": 123.45,
"costsSumTaxes": 123.45,
"countNonArchivedSiteAssignments": 123,
"created": 1592577642,
"createdByGroup": Group,
"createdByGroupId": HashedId,
"currency": "xyz789",
"currentAlerts": [Event],
"customer": "abc123",
"customerEditable": false,
"dailyRate": 123.45,
"deleted": 1592577642,
"deletedBy": "abc123",
"description": Translation,
"descriptionId": HashedId,
"displayParameters": [DisplayParameter],
"documents": [Document],
"eventIds": [HashedId],
"events": [Event],
"externalId": "xyz789",
"firmwareVersion": "xyz789",
"firstTripDate": 987.65,
"fixedAssetNumber": "abc123",
"floorRoom": "abc123",
"gatewayAsset": Asset,
"geofence": AssetGeofence,
"group": Group,
"groupId": HashedId,
"groupTimezone": "abc123",
"id": HashedId,
"image": "xyz789",
"imei": "xyz789",
"initialValue": "xyz789",
"inlineImage": DocumentInlineFile,
"integrationId": HashedId,
"integrationSummary": AssetIntegrationSummary,
"inventoryNumber": "abc123",
"inventoryPrefix": "xyz789",
"inventorySequence": 987,
"iot": IotAssetData,
"iotIntegrationProvider": "ACHELIS_PROVIDER",
"iotRuleEntryEvents": [RuleEntryEvent],
"isCommodity": true,
"isInStationaryGateway": false,
"isIntegrationSyncPaused": true,
"isLocked": true,
"isUsedPrivately": true,
"lastContactInfo": AssetLastContactInfo,
"lastContacted": 1592577642,
"lastContactedSource": "BLE",
"lastIntegrationRun": AssetIntegrationRun,
"lastTicketDate": "2007-12-03T10:15:30Z",
"latestAssetData": {},
"latestTrip": AssetTripLatest,
"leasingCostTermination": "xyz789",
"leasingEnd": "2007-12-03",
"leasingLevel": "abc123",
"leasingMonthlyCost": "abc123",
"leasingPartner": "xyz789",
"leasingPartnerContractNumber": "abc123",
"leasingPartnerContractPositionNumber": "xyz789",
"leasingRenewalDate": "2007-12-03",
"leasingRenewalRate": "xyz789",
"leasingStart": "2007-12-03",
"location": Location,
"locationHiddenReason": "PRIVATE_USE",
"locationV2": Location,
"maintenanceSchedule": AssetMaintenanceSchedule,
"manuals": [Document],
"manufacturer": Manufacturer,
"manufacturerId": HashedId,
"minDaysBilled": 987,
"module": Module,
"moduleConnectionStatus": "disconnected",
"moduleId": HashedId,
"nextService": 987,
"nonWorkingDays": [AssetNonWorkingDays],
"operationalCosts": [Cost],
"optionalAssetID": "xyz789",
"ownership": "CUSTOMER_MACHINE",
"ownershipId": HashedId,
"parameterOffsetIds": [HashedId],
"parameterOffsets": [AssetParameterOffset],
"parameterSets": [ParameterSet],
"partsNumber": "abc123",
"plateNumber": "abc123",
"previousSiteId": HashedId,
"primaryServicePackage": ServicePackageWithSourceType,
"projectNumber": "abc123",
"publicId": 987,
"purchaseCost": "xyz789",
"purchaseCurrentBookValue": "xyz789",
"purchaseDepreciation": 123.45,
"purchaseDepreciationMonths": 123,
"purchaseDepreciationRemainingMonths": 987,
"purchaseDepriciation": 987,
"purchaseInvoiceNumber": "xyz789",
"purchaseLowValueAsset": false,
"purchaseMonthlyCost": "abc123",
"purchaseStart": "2007-12-03",
"purchaseWarrantyEnd": "2007-12-03",
"purchaseWarrantyPeriod": 987,
"purchaseWarrantyStart": "2007-12-03",
"qrAttached": false,
"quantity": 123,
"relatedGroups": [RelatedGroup],
"rentalCostTermination": "abc123",
"rentalEnd": "2007-12-03",
"rentalMonthlyCost": "abc123",
"rentalRenewalDate": "2007-12-03",
"rentalRenewalRate": "abc123",
"rentalStart": "2007-12-03",
"reservationLineItemIssues": [
ReservationLineItemIssue
],
"reservations": [LegacyAssetReservation],
"resolvedCurrency": "AED",
"responsiblePerson": "abc123",
"responsiblePersonUpdatedAt": 1592577642,
"responsiblePersonUpdatedByUser": User,
"responsiblePersonUpdatedByUserId": HashedId,
"restoreBlockers": ["PARENT_ASSET_CATEGORY_DELETED"],
"runtimeWithOffsetInSeconds": 123,
"scanTime": "2007-12-03",
"serial": "abc123",
"serviceContract": true,
"serviceContractCostPerYear": "xyz789",
"serviceContractDocuments": [Document],
"serviceContractEmail": "xyz789",
"serviceContractEnd": "2007-12-03",
"serviceContractFrom": 1592577642,
"serviceContractLevel": "xyz789",
"serviceContractPartner": "abc123",
"serviceContractStart": "2007-12-03",
"serviceContractTo": 1592577642,
"services": [Service],
"shouldShowLastSeenByGateway": false,
"shouldUpdateActiveAssetSiteAssignment": true,
"site": Site,
"siteId": HashedId,
"state": AssetState,
"stateV2": [AssetStateItem],
"status": [StatusItem],
"subscription": "xyz789",
"supplier": "abc123",
"tickets": [Ticket],
"ticketsCount": "abc123",
"totalUtilization": "abc123",
"totalWorkDone": "abc123",
"trips": [Trip],
"unavailability": [AssetUnavailability],
"updated": 1592577642,
"utilization": AssetUtilization,
"uuid": "abc123",
"vncTunnelUrl": "xyz789",
"workOrders": [WorkOrderV2],
"workingHours": AssetWorkingHours,
"workingHoursNotification": [
RuleNotificationRelation
],
"workingHoursSettings": {}
}
]
}
}
reservationsPaginated
Description
List reservations with filtering and pagination
Response
Returns a ReservationPaginatedResult
Arguments
| Name | Description |
|---|---|
filters - [FilterParamsInput]
|
Filter criteria |
pagination - PaginationParams!
|
Pagination |
search - String
|
Text search query for filtering results |
Example
Query
query reservationsPaginated(
$filters: [FilterParamsInput],
$pagination: PaginationParams!,
$search: String
) {
reservationsPaginated(
filters: $filters,
pagination: $pagination,
search: $search
) {
meta {
...PaginationMetaFragment
}
rows {
...ReservationFragment
}
total
}
}
Variables
{
"filters": [FilterParamsInput],
"pagination": PaginationParams,
"search": "xyz789"
}
Response
{
"data": {
"reservationsPaginated": {
"meta": PaginationMeta,
"rows": [Reservation],
"total": 123
}
}
}
responsibilitySummary
Description
Current accessible responsibilities, with up to ten references per kind and complete counts
Response
Returns a ResponsibilitySummary!
Example
Query
query responsibilitySummary {
responsibilitySummary {
groupTicketHandlerCount
groupTicketHandlers {
...ResponsibilityReferenceFragment
}
managedSiteCount
managedSites {
...ResponsibilityReferenceFragment
}
teamCount
teams {
...ResponsibilityReferenceFragment
}
}
}
Response
{
"data": {
"responsibilitySummary": {
"groupTicketHandlerCount": 987,
"groupTicketHandlers": [ResponsibilityReference],
"managedSiteCount": 123,
"managedSites": [ResponsibilityReference],
"teamCount": 987,
"teams": [ResponsibilityReference]
}
}
}
robotChatbotSession
Description
Fetch the active robot chatbot session for an asset and the current operator
Response
Returns a ChatbotSession
Arguments
| Name | Description |
|---|---|
assetId - HashedId!
|
Asset this chatbot session is scoped to |
Example
Query
query robotChatbotSession($assetId: HashedId!) {
robotChatbotSession(assetId: $assetId) {
assetId
created
id
locale
messages {
...ChatbotMessageFragment
}
serviceId
status
statusSnapshot {
...ChatbotStatusSnapshotFragment
}
updated
}
}
Variables
{"assetId": HashedId}
Response
{
"data": {
"robotChatbotSession": {
"assetId": HashedId,
"created": 1592577642,
"id": HashedId,
"locale": "ar_ar",
"messages": [ChatbotMessage],
"serviceId": HashedId,
"status": "ACTIVE",
"statusSnapshot": ChatbotStatusSnapshot,
"updated": 1592577642
}
}
}
robotFleetAlerts
Description
Active errors and warnings across fleet
Response
Returns [RobotFleetAlert!]!
Example
Query
query robotFleetAlerts(
$limit: Int!,
$offset: Int!
) {
robotFleetAlerts(
limit: $limit,
offset: $offset
) {
alertType
assetId
assetName
brand
message
severity
siteName
timestamp
}
}
Variables
{"limit": 987, "offset": 123}
Response
{
"data": {
"robotFleetAlerts": [
{
"alertType": "ERROR",
"assetId": HashedId,
"assetName": "xyz789",
"brand": "CENOBOTS",
"message": "xyz789",
"severity": "CRITICAL",
"siteName": "abc123",
"timestamp": "xyz789"
}
]
}
}
robotFleetAssetDetail
Description
Full telemetry for slide-out detail pane
Response
Returns a Robot!
Example
Query
query robotFleetAssetDetail(
$assetId: HashedId!,
$from: DateTime!,
$siteId: HashedId,
$timezone: String!,
$to: DateTime!
) {
robotFleetAssetDetail(
assetId: $assetId,
from: $from,
siteId: $siteId,
timezone: $timezone,
to: $to
) {
assetTypeName
batteryLevelPercent
brand
chargingStatus
chemicalConsumptionSeries {
...RobotFleetTimeSeriesPointFragment
}
cleaningAreaM2
cleaningAreaSeries {
...RobotFleetTimeSeriesPointFragment
}
cleaningEfficiencyM2H
cleaningEfficiencySeries {
...RobotFleetTimeSeriesPointFragment
}
componentHealth {
...RobotComponentHealthFragment
}
connectivityCellular
connectivityWifi
contractDates {
...RobotContractDatesFragment
}
currentTaskName
dustBinLevelPercent
energyConsumptionKwh
estimatedCo2SavedKg
id
image
isStatusStale
lastContactedAt
lastSyncedAt
lastWorkedAt
name
publicId
recentErrors {
...RobotFleetErrorFragment
}
recoveryWaterLevelPercent
runtimeHours
runtimeSeries {
...RobotFleetTimeSeriesPointFragment
}
serial
siteId
siteName
softwareVersion
status
subState
syncSkipReason
waterConsumptionLiters
waterConsumptionSeries {
...RobotFleetTimeSeriesPointFragment
}
waterLevelPercent
}
}
Variables
{
"assetId": HashedId,
"from": "2007-12-03T10:15:30Z",
"siteId": HashedId,
"timezone": "xyz789",
"to": "2007-12-03T10:15:30Z"
}
Response
{
"data": {
"robotFleetAssetDetail": {
"assetTypeName": "xyz789",
"batteryLevelPercent": 123.45,
"brand": "CENOBOTS",
"chargingStatus": false,
"chemicalConsumptionSeries": [
RobotFleetTimeSeriesPoint
],
"cleaningAreaM2": 123.45,
"cleaningAreaSeries": [RobotFleetTimeSeriesPoint],
"cleaningEfficiencyM2H": 123.45,
"cleaningEfficiencySeries": [
RobotFleetTimeSeriesPoint
],
"componentHealth": [RobotComponentHealth],
"connectivityCellular": 123.45,
"connectivityWifi": 123.45,
"contractDates": RobotContractDates,
"currentTaskName": "xyz789",
"dustBinLevelPercent": 987.65,
"energyConsumptionKwh": 987.65,
"estimatedCo2SavedKg": 987.65,
"id": HashedId,
"image": "xyz789",
"isStatusStale": false,
"lastContactedAt": "abc123",
"lastSyncedAt": "2007-12-03T10:15:30Z",
"lastWorkedAt": "abc123",
"name": "abc123",
"publicId": 987,
"recentErrors": [RobotFleetError],
"recoveryWaterLevelPercent": 987.65,
"runtimeHours": 987.65,
"runtimeSeries": [RobotFleetTimeSeriesPoint],
"serial": "xyz789",
"siteId": HashedId,
"siteName": "xyz789",
"softwareVersion": "xyz789",
"status": "CHARGING",
"subState": "xyz789",
"syncSkipReason": "DUPLICATE_SERIAL",
"waterConsumptionLiters": 123.45,
"waterConsumptionSeries": [
RobotFleetTimeSeriesPoint
],
"waterLevelPercent": 987.65
}
}
}
robotFleetAssets
Description
Paginated robot list with real-time status for a specific site, or robots with no site assignment when no site is provided
Response
Returns a RobotFleetAssetsPaginatedResult!
Arguments
| Name | Description |
|---|---|
filters - [FilterParamsInput]
|
Filter criteria |
from - DateTime!
|
Start of time range |
pagination - PaginationParams!
|
Pagination |
search - String
|
Text search query for filtering results |
siteId - HashedId
|
Filter robots by site identifier |
timezone - String!
|
IANA timezone identifier for date-boundary calculations |
to - DateTime!
|
End of time range |
Example
Query
query robotFleetAssets(
$filters: [FilterParamsInput],
$from: DateTime!,
$pagination: PaginationParams!,
$search: String,
$siteId: HashedId,
$timezone: String!,
$to: DateTime!
) {
robotFleetAssets(
filters: $filters,
from: $from,
pagination: $pagination,
search: $search,
siteId: $siteId,
timezone: $timezone,
to: $to
) {
meta {
...PaginationMetaFragment
}
rows {
...RobotFragment
}
}
}
Variables
{
"filters": [FilterParamsInput],
"from": "2007-12-03T10:15:30Z",
"pagination": PaginationParams,
"search": "abc123",
"siteId": HashedId,
"timezone": "abc123",
"to": "2007-12-03T10:15:30Z"
}
Response
{
"data": {
"robotFleetAssets": {
"meta": PaginationMeta,
"rows": [Robot]
}
}
}
robotFleetAttentionRobots
Description
Robots requiring attention due to errors or consumable issues
Response
Returns [RobotAttentionEntry!]!
Arguments
| Name | Description |
|---|---|
brand - RobotBrand
|
Filter results to a single robot brand |
limit - Int!
|
Maximum number of robots to return |
searchTerm - String
|
Filter by search term |
Example
Query
query robotFleetAttentionRobots(
$brand: RobotBrand,
$limit: Int!,
$searchTerm: String
) {
robotFleetAttentionRobots(
brand: $brand,
limit: $limit,
searchTerm: $searchTerm
) {
assetId
assetName
issue
severity
siteName
}
}
Variables
{
"brand": "CENOBOTS",
"limit": 123,
"searchTerm": "xyz789"
}
Response
{
"data": {
"robotFleetAttentionRobots": [
{
"assetId": HashedId,
"assetName": "abc123",
"issue": "xyz789",
"severity": "CRITICAL",
"siteName": "xyz789"
}
]
}
}
robotFleetBrandBenchmark
Description
Performance benchmarks grouped by robot brand/provider
Response
Returns a BrandBenchmark!
Arguments
| Name | Description |
|---|---|
brand - RobotBrand
|
Filter results to a single robot brand |
from - DateTime!
|
Start of time range |
period - RobotAggregationPeriodEnum
|
Time-bucket granularity for time series; auto-determined when null |
searchTerm - String
|
Filter by search term |
timezone - String!
|
IANA timezone identifier for date-boundary calculations |
to - DateTime!
|
End of time range |
Example
Query
query robotFleetBrandBenchmark(
$brand: RobotBrand,
$from: DateTime!,
$period: RobotAggregationPeriodEnum,
$searchTerm: String,
$timezone: String!,
$to: DateTime!
) {
robotFleetBrandBenchmark(
brand: $brand,
from: $from,
period: $period,
searchTerm: $searchTerm,
timezone: $timezone,
to: $to
) {
brands {
...BrandBenchmarkEntryFragment
}
fleetAvg {
...BrandBenchmarkEntryFragment
}
}
}
Variables
{
"brand": "CENOBOTS",
"from": "2007-12-03T10:15:30Z",
"period": "DAY",
"searchTerm": "xyz789",
"timezone": "xyz789",
"to": "2007-12-03T10:15:30Z"
}
Response
{
"data": {
"robotFleetBrandBenchmark": {
"brands": [BrandBenchmarkEntry],
"fleetAvg": BrandBenchmarkEntry
}
}
}
robotFleetBrands
Description
Per-brand robot counts across the fleet, for brand filter controls
Response
Returns [RobotBrandCount!]!
Example
Query
query robotFleetBrands {
robotFleetBrands {
brand
count
}
}
Response
{"data": {"robotFleetBrands": [{"brand": "CENOBOTS", "count": 123}]}}
robotFleetConsumableStatus
Description
Current consumable levels for all robots in the fleet
Response
Returns [RobotConsumableStatus!]!
Example
Query
query robotFleetConsumableStatus {
robotFleetConsumableStatus {
assetId
assetName
component
estimatedReplacementDate
remainingCycles
remainingPercent
status
totalCycles
totalLifeHours
usedHours
}
}
Response
{
"data": {
"robotFleetConsumableStatus": [
{
"assetId": HashedId,
"assetName": "xyz789",
"component": "xyz789",
"estimatedReplacementDate": "xyz789",
"remainingCycles": 123,
"remainingPercent": 123.45,
"status": "CRITICAL",
"totalCycles": 987,
"totalLifeHours": 987.65,
"usedHours": 123.45
}
]
}
}
robotFleetErrors
Description
Paginated robot errors across the fleet
Response
Returns a RobotFleetErrorsPaginated!
Arguments
| Name | Description |
|---|---|
filter - RobotFleetErrorFilterInput
|
Optional error filters |
from - DateTime!
|
Start of time range |
limit - Int!
|
Maximum number of items to return |
offset - Int!
|
Number of items to skip |
sort - RobotFleetErrorSortEnum
|
Column to sort the errors by; without it, critical errors come first, then the newest |
sortDirection - SortDirection
|
Sort direction; defaults to most severe first, title A to Z, and newest first |
to - DateTime!
|
End of time range |
Example
Query
query robotFleetErrors(
$filter: RobotFleetErrorFilterInput,
$from: DateTime!,
$limit: Int!,
$offset: Int!,
$sort: RobotFleetErrorSortEnum,
$sortDirection: SortDirection,
$to: DateTime!
) {
robotFleetErrors(
filter: $filter,
from: $from,
limit: $limit,
offset: $offset,
sort: $sort,
sortDirection: $sortDirection,
to: $to
) {
items {
...RobotFleetErrorItemFragment
}
openCriticalCount
openWarningCount
totalCount
}
}
Variables
{
"filter": RobotFleetErrorFilterInput,
"from": "2007-12-03T10:15:30Z",
"limit": 123,
"offset": 123,
"sort": "OCCURRED_AT",
"sortDirection": "ASC",
"to": "2007-12-03T10:15:30Z"
}
Response
{
"data": {
"robotFleetErrors": {
"items": [RobotFleetErrorItem],
"openCriticalCount": 123,
"openWarningCount": 123,
"totalCount": 987
}
}
}
robotFleetHealthScore
Description
Fleet-wide health score with summary metrics
Response
Returns a RobotFleetHealthScore!
Arguments
| Name | Description |
|---|---|
brand - RobotBrand
|
Filter results to a single robot brand |
from - DateTime!
|
Start of time range |
period - RobotAggregationPeriodEnum
|
Time-bucket granularity for time series; auto-determined when null |
searchTerm - String
|
Filter by search term |
timezone - String!
|
IANA timezone identifier for date-boundary calculations |
to - DateTime!
|
End of time range |
Example
Query
query robotFleetHealthScore(
$brand: RobotBrand,
$from: DateTime!,
$period: RobotAggregationPeriodEnum,
$searchTerm: String,
$timezone: String!,
$to: DateTime!
) {
robotFleetHealthScore(
brand: $brand,
from: $from,
period: $period,
searchTerm: $searchTerm,
timezone: $timezone,
to: $to
) {
activeNow
healthScore
missionsToday
siteCount
totalRobots
}
}
Variables
{
"brand": "CENOBOTS",
"from": "2007-12-03T10:15:30Z",
"period": "DAY",
"searchTerm": "abc123",
"timezone": "xyz789",
"to": "2007-12-03T10:15:30Z"
}
Response
{
"data": {
"robotFleetHealthScore": {
"activeNow": 987,
"healthScore": 987.65,
"missionsToday": 987,
"siteCount": 987,
"totalRobots": 987
}
}
}
robotFleetIdleRobots
Description
Idle robots whose latest mission timestamp, or creation time when they have no mission, is older than the composed group idle threshold, using current site and responsibility scope
Response
Returns a RobotIdleSearch!
Arguments
| Name | Description |
|---|---|
limit - Int!
|
Maximum number of items to return |
offset - Int!
|
Number of items to skip |
scope - McpScopeEnum!
|
Current robot responsibilities or all accessible robots. Default = MINE |
siteId - HashedId
|
Optional explicit current site target |
Example
Query
query robotFleetIdleRobots(
$limit: Int!,
$offset: Int!,
$scope: McpScopeEnum!,
$siteId: HashedId
) {
robotFleetIdleRobots(
limit: $limit,
offset: $offset,
scope: $scope,
siteId: $siteId
) {
asOf
items {
...RobotIdleFragment
}
totalCount
}
}
Variables
{
"limit": 123,
"offset": 123,
"scope": "MINE",
"siteId": HashedId
}
Response
{
"data": {
"robotFleetIdleRobots": {
"asOf": "2007-12-03T10:15:30Z",
"items": [RobotIdle],
"totalCount": 123
}
}
}
robotFleetMissionDetail
Description
Detailed information for a specific mission
Response
Returns a RobotMission
Arguments
| Name | Description |
|---|---|
missionId - HashedId!
|
Mission identifier |
Example
Query
query robotFleetMissionDetail($missionId: HashedId!) {
robotFleetMissionDetail(missionId: $missionId) {
assetId
assetName
batteryLevelEnd
batteryLevelStart
brand
chemicalConsumptionLiters
cleaningAreaM2
cleaningMode
completionPercentage
distanceKm
durationSeconds
energyConsumptionKwh
errorDescription
executionMode
finishedAt
id
mapName
metadata
missionType
operator
reportImageUrl
siteId
siteName
startedAt
status
taskCount
waterConsumptionLiters
zoneCount
zoneName
}
}
Variables
{"missionId": HashedId}
Response
{
"data": {
"robotFleetMissionDetail": {
"assetId": HashedId,
"assetName": "xyz789",
"batteryLevelEnd": 123.45,
"batteryLevelStart": 123.45,
"brand": "CENOBOTS",
"chemicalConsumptionLiters": 987.65,
"cleaningAreaM2": 123.45,
"cleaningMode": "xyz789",
"completionPercentage": 123.45,
"distanceKm": 987.65,
"durationSeconds": 123,
"energyConsumptionKwh": 123.45,
"errorDescription": "xyz789",
"executionMode": "abc123",
"finishedAt": 1592577642,
"id": HashedId,
"mapName": "abc123",
"metadata": "abc123",
"missionType": "CALL",
"operator": "abc123",
"reportImageUrl": "xyz789",
"siteId": HashedId,
"siteName": "xyz789",
"startedAt": 1592577642,
"status": "CANCELLED",
"taskCount": 123,
"waterConsumptionLiters": 123.45,
"zoneCount": 987,
"zoneName": "abc123"
}
}
}
robotFleetMissionStatusBreakdown
Description
Fleet-wide mission counts grouped by status for a date range
Response
Returns a RobotFleetMissionStatusBreakdown!
Arguments
| Name | Description |
|---|---|
brand - RobotBrand
|
Filter mission counts by robot brand |
from - DateTime!
|
Start of time range |
siteId - HashedId
|
Filter mission counts by site |
to - DateTime!
|
End of time range |
Example
Query
query robotFleetMissionStatusBreakdown(
$brand: RobotBrand,
$from: DateTime!,
$siteId: HashedId,
$to: DateTime!
) {
robotFleetMissionStatusBreakdown(
brand: $brand,
from: $from,
siteId: $siteId,
to: $to
) {
cancelledCount
completedCount
failedCount
finishedCount
inProgressCount
totalCount
}
}
Variables
{
"brand": "CENOBOTS",
"from": "2007-12-03T10:15:30Z",
"siteId": HashedId,
"to": "2007-12-03T10:15:30Z"
}
Response
{
"data": {
"robotFleetMissionStatusBreakdown": {
"cancelledCount": 123,
"completedCount": 123,
"failedCount": 987,
"finishedCount": 987,
"inProgressCount": 987,
"totalCount": 123
}
}
}
robotFleetMissions
Description
Fleet-wide paginated mission list
Response
Returns a RobotFleetMissionsPaginated!
Arguments
| Name | Description |
|---|---|
filter - RobotFleetMissionListFilterInput
|
Optional mission filters |
limit - Int!
|
Maximum number of items to return |
offset - Int!
|
Number of items to skip |
Example
Query
query robotFleetMissions(
$filter: RobotFleetMissionListFilterInput,
$limit: Int!,
$offset: Int!
) {
robotFleetMissions(
filter: $filter,
limit: $limit,
offset: $offset
) {
items {
...RobotMissionFragment
}
totalCount
}
}
Variables
{
"filter": RobotFleetMissionListFilterInput,
"limit": 987,
"offset": 987
}
Response
{
"data": {
"robotFleetMissions": {
"items": [RobotMission],
"totalCount": 123
}
}
}
robotFleetOpenCriticalAlertCount
Description
Open critical robot alert count across the fleet
Response
Returns an Int!
Arguments
| Name | Description |
|---|---|
filter - RobotFleetErrorFilterInput
|
Optional error filters |
from - DateTime!
|
Start of time range |
to - DateTime!
|
End of time range |
Example
Query
query robotFleetOpenCriticalAlertCount(
$filter: RobotFleetErrorFilterInput,
$from: DateTime!,
$to: DateTime!
) {
robotFleetOpenCriticalAlertCount(
filter: $filter,
from: $from,
to: $to
)
}
Variables
{
"filter": RobotFleetErrorFilterInput,
"from": "2007-12-03T10:15:30Z",
"to": "2007-12-03T10:15:30Z"
}
Response
{"data": {"robotFleetOpenCriticalAlertCount": 987}}
robotFleetOverview
Description
Fleet-wide KPIs with sparklines and trend deltas
Response
Returns a RobotFleetKpi!
Arguments
| Name | Description |
|---|---|
brand - RobotBrand
|
Filter results to a single robot brand |
from - DateTime!
|
Start of time range |
period - RobotAggregationPeriodEnum
|
Time-bucket granularity for time series; auto-determined when null |
searchTerm - String
|
Filter by search term |
timezone - String!
|
IANA timezone identifier for date-boundary calculations |
to - DateTime!
|
End of time range |
Example
Query
query robotFleetOverview(
$brand: RobotBrand,
$from: DateTime!,
$period: RobotAggregationPeriodEnum,
$searchTerm: String,
$timezone: String!,
$to: DateTime!
) {
robotFleetOverview(
brand: $brand,
from: $from,
period: $period,
searchTerm: $searchTerm,
timezone: $timezone,
to: $to
) {
chemicalConsumption {
...RobotFleetKpiItemFragment
}
cleaningArea {
...RobotFleetKpiItemFragment
}
cleaningEfficiency {
...RobotFleetKpiItemFragment
}
energyConsumption {
...RobotFleetKpiItemFragment
}
runtime {
...RobotFleetKpiItemFragment
}
taskCount {
...RobotFleetKpiItemFragment
}
utilizationPercent
waterConsumption {
...RobotFleetKpiItemFragment
}
}
}
Variables
{
"brand": "CENOBOTS",
"from": "2007-12-03T10:15:30Z",
"period": "DAY",
"searchTerm": "xyz789",
"timezone": "abc123",
"to": "2007-12-03T10:15:30Z"
}
Response
{
"data": {
"robotFleetOverview": {
"chemicalConsumption": RobotFleetKpiItem,
"cleaningArea": RobotFleetKpiItem,
"cleaningEfficiency": RobotFleetKpiItem,
"energyConsumption": RobotFleetKpiItem,
"runtime": RobotFleetKpiItem,
"taskCount": RobotFleetKpiItem,
"utilizationPercent": 987.65,
"waterConsumption": RobotFleetKpiItem
}
}
}
robotFleetOverviewTrends
Description
Sparkline trend data for fleet overview dashboard
Response
Returns a RobotFleetOverviewTrends!
Arguments
| Name | Description |
|---|---|
brand - RobotBrand
|
Filter results to a single robot brand |
from - DateTime!
|
Start of time range |
period - RobotAggregationPeriodEnum
|
Time-bucket granularity for time series; auto-determined when null |
searchTerm - String
|
Filter by search term |
timezone - String!
|
IANA timezone identifier for date-boundary calculations |
to - DateTime!
|
End of time range |
Example
Query
query robotFleetOverviewTrends(
$brand: RobotBrand,
$from: DateTime!,
$period: RobotAggregationPeriodEnum,
$searchTerm: String,
$timezone: String!,
$to: DateTime!
) {
robotFleetOverviewTrends(
brand: $brand,
from: $from,
period: $period,
searchTerm: $searchTerm,
timezone: $timezone,
to: $to
) {
efficiency {
...RobotFleetOverviewTrendEntryFragment
}
successRate {
...RobotFleetOverviewTrendEntryFragment
}
sustainability {
...RobotFleetOverviewTrendEntryFragment
}
utilization {
...RobotFleetOverviewTrendEntryFragment
}
}
}
Variables
{
"brand": "CENOBOTS",
"from": "2007-12-03T10:15:30Z",
"period": "DAY",
"searchTerm": "abc123",
"timezone": "xyz789",
"to": "2007-12-03T10:15:30Z"
}
Response
{
"data": {
"robotFleetOverviewTrends": {
"efficiency": RobotFleetOverviewTrendEntry,
"successRate": RobotFleetOverviewTrendEntry,
"sustainability": RobotFleetOverviewTrendEntry,
"utilization": RobotFleetOverviewTrendEntry
}
}
}
robotFleetSites
Description
Per-site breakdown with KPIs and status counts
Response
Returns a RobotFleetSitesPaginatedResult!
Arguments
| Name | Description |
|---|---|
filters - [FilterParamsInput]
|
Filter criteria |
from - DateTime!
|
Start of time range |
pagination - PaginationParams!
|
Pagination |
search - String
|
Text search query for filtering results |
siteId - HashedId
|
Optional site identifier for site-scoped robot groups |
timezone - String!
|
IANA timezone identifier for date-boundary calculations |
to - DateTime!
|
End of time range |
Example
Query
query robotFleetSites(
$filters: [FilterParamsInput],
$from: DateTime!,
$pagination: PaginationParams!,
$search: String,
$siteId: HashedId,
$timezone: String!,
$to: DateTime!
) {
robotFleetSites(
filters: $filters,
from: $from,
pagination: $pagination,
search: $search,
siteId: $siteId,
timezone: $timezone,
to: $to
) {
meta {
...PaginationMetaFragment
}
rows {
...RobotFleetSiteFragment
}
}
}
Variables
{
"filters": [FilterParamsInput],
"from": "2007-12-03T10:15:30Z",
"pagination": PaginationParams,
"search": "abc123",
"siteId": HashedId,
"timezone": "abc123",
"to": "2007-12-03T10:15:30Z"
}
Response
{
"data": {
"robotFleetSites": {
"meta": PaginationMeta,
"rows": [RobotFleetSite]
}
}
}
robotFleetSustainability
Description
Sustainability metrics comparing robot vs manual cleaning baselines
Response
Returns a RobotFleetSustainability!
Example
Query
query robotFleetSustainability(
$from: DateTime!,
$searchTerm: String,
$timezone: String!,
$to: DateTime!
) {
robotFleetSustainability(
from: $from,
searchTerm: $searchTerm,
timezone: $timezone,
to: $to
) {
chemicalDeltaPercent
chemicalPerM2
chemicalSavedLiters
chemicalTrend {
...RobotFleetTimeSeriesPointFragment
}
co2DeltaPercent
co2SavedKg
co2Trend {
...RobotFleetTimeSeriesPointFragment
}
energyPerM2
energyTrend {
...RobotFleetTimeSeriesPointFragment
}
laborDeltaPercent
laborHoursSaved
totalAreaCleanedM2
totalChemicalUsedLiters
totalEnergyUsedKwh
totalWaterUsedLiters
waterDeltaPercent
waterPerM2
waterSavedLiters
waterTrend {
...RobotFleetTimeSeriesPointFragment
}
}
}
Variables
{
"from": "2007-12-03T10:15:30Z",
"searchTerm": "abc123",
"timezone": "abc123",
"to": "2007-12-03T10:15:30Z"
}
Response
{
"data": {
"robotFleetSustainability": {
"chemicalDeltaPercent": 123.45,
"chemicalPerM2": 987.65,
"chemicalSavedLiters": 123.45,
"chemicalTrend": [RobotFleetTimeSeriesPoint],
"co2DeltaPercent": 987.65,
"co2SavedKg": 123.45,
"co2Trend": [RobotFleetTimeSeriesPoint],
"energyPerM2": 987.65,
"energyTrend": [RobotFleetTimeSeriesPoint],
"laborDeltaPercent": 987.65,
"laborHoursSaved": 123.45,
"totalAreaCleanedM2": 987.65,
"totalChemicalUsedLiters": 987.65,
"totalEnergyUsedKwh": 987.65,
"totalWaterUsedLiters": 987.65,
"waterDeltaPercent": 987.65,
"waterPerM2": 987.65,
"waterSavedLiters": 987.65,
"waterTrend": [RobotFleetTimeSeriesPoint]
}
}
}
robotFleetTopRobots
Description
Top performing robots ranked by the requested metric
Response
Returns [RobotPerformance!]!
Example
Query
query robotFleetTopRobots(
$from: DateTime!,
$limit: Int!,
$offset: Int!,
$searchTerm: String,
$sort: RobotPerformanceSortEnum,
$to: DateTime!
) {
robotFleetTopRobots(
from: $from,
limit: $limit,
offset: $offset,
searchTerm: $searchTerm,
sort: $sort,
to: $to
) {
assetId
assetName
brand
cleaningAreaM2
cleaningEfficiencyM2H
missionCount
runtimeHours
siteName
successRatePercent
utilizationPercent
}
}
Variables
{
"from": "2007-12-03T10:15:30Z",
"limit": 987,
"offset": 123,
"searchTerm": "xyz789",
"sort": "AREA_CLEANED",
"to": "2007-12-03T10:15:30Z"
}
Response
{
"data": {
"robotFleetTopRobots": [
{
"assetId": HashedId,
"assetName": "abc123",
"brand": "CENOBOTS",
"cleaningAreaM2": 123.45,
"cleaningEfficiencyM2H": 987.65,
"missionCount": 123,
"runtimeHours": 123.45,
"siteName": "xyz789",
"successRatePercent": 987.65,
"utilizationPercent": 987.65
}
]
}
}
robotFleetTopSites
Description
Top performing sites ranked by health score
Response
Returns [SitePerformance!]!
Arguments
| Name | Description |
|---|---|
brand - RobotBrand
|
Filter results to a single robot brand |
from - DateTime!
|
Start of time range |
limit - Int!
|
Maximum number of sites to return |
searchTerm - String
|
Filter by search term |
to - DateTime!
|
End of time range |
Example
Query
query robotFleetTopSites(
$brand: RobotBrand,
$from: DateTime!,
$limit: Int!,
$searchTerm: String,
$to: DateTime!
) {
robotFleetTopSites(
brand: $brand,
from: $from,
limit: $limit,
searchTerm: $searchTerm,
to: $to
) {
cleaningAreaM2
healthScore
robotCount
siteId
siteName
successRatePercent
utilizationPercent
}
}
Variables
{
"brand": "CENOBOTS",
"from": "2007-12-03T10:15:30Z",
"limit": 987,
"searchTerm": "abc123",
"to": "2007-12-03T10:15:30Z"
}
Response
{
"data": {
"robotFleetTopSites": [
{
"cleaningAreaM2": 987.65,
"healthScore": 987.65,
"robotCount": 123,
"siteId": HashedId,
"siteName": "abc123",
"successRatePercent": 123.45,
"utilizationPercent": 987.65
}
]
}
}
robotFleetUtilizationBreakdown
Description
Daily utilization breakdown by activity state
Response
Returns [UtilizationBucket!]!
Arguments
| Name | Description |
|---|---|
brand - RobotBrand
|
Filter results to a single robot brand |
from - DateTime!
|
Start of time range |
period - RobotAggregationPeriodEnum
|
Time-bucket granularity for time series; auto-determined when null |
searchTerm - String
|
Filter by search term |
timezone - String!
|
IANA timezone identifier for date-boundary calculations |
to - DateTime!
|
End of time range |
Example
Query
query robotFleetUtilizationBreakdown(
$brand: RobotBrand,
$from: DateTime!,
$period: RobotAggregationPeriodEnum,
$searchTerm: String,
$timezone: String!,
$to: DateTime!
) {
robotFleetUtilizationBreakdown(
brand: $brand,
from: $from,
period: $period,
searchTerm: $searchTerm,
timezone: $timezone,
to: $to
) {
date
workingSeconds
}
}
Variables
{
"brand": "CENOBOTS",
"from": "2007-12-03T10:15:30Z",
"period": "DAY",
"searchTerm": "abc123",
"timezone": "abc123",
"to": "2007-12-03T10:15:30Z"
}
Response
{
"data": {
"robotFleetUtilizationBreakdown": [
{
"date": "abc123",
"workingSeconds": 123.45
}
]
}
}
role
Description
Retrieve available user roles for the current group
Response
Returns [Role!]!
Example
Query
query role {
role {
created
groupId
id
key
name {
...TranslationFragment
}
nameId
updated
}
}
Response
{
"data": {
"role": [
{
"created": 1592577642,
"groupId": HashedId,
"id": HashedId,
"key": "EditorUser",
"name": Translation,
"nameId": HashedId,
"updated": 1592577642
}
]
}
}
rule
Description
List by args with optional filtering
Response
Returns [Rule!]!
Arguments
| Name | Description |
|---|---|
id - [HashedId!]
|
List of unique identifiers |
relation - String
|
Filter by relation type such as assetId or assetTypeId |
relationValue - String
|
Specific relation value matching the relation type |
source - RuleSource
|
Source of evaluation. This defines WHEN the rule is evaluated internally, and what RuleBlocks can be used. |
Example
Query
query rule(
$id: [HashedId!],
$relation: String,
$relationValue: String,
$source: RuleSource
) {
rule(
id: $id,
relation: $relation,
relationValue: $relationValue,
source: $source
) {
assetBlacklist {
...AssetFragment
}
assignedToGroup {
...GroupFragment
}
assignedToGroupId
checkAssetsPaginated {
...PaginatedRuleCheckAssetsFragment
}
created
createdByGroup {
...GroupFragment
}
createdByGroupId
createdByUser {
...UserFragment
}
createdByUserId
definition
description {
...TranslationFragment
}
descriptionId
enabled
eventStyle {
...EventStyleFragment
}
eventStyleId
eventType
eventsConfigs {
...EventConfigFragment
}
id
isActive
isArchived
isCheckAllowedForUnauthorizedUsers
isCritical
isGlobalRule
isImmediateNotification
isOneshot
isOnetime
manualDeactivation
publicId
purpose
relations {
...RuleRelationFragment
}
relationsV2 {
...RuleRelationFragment
}
sendNotificationsTo {
...RuleNotificationRelationFragment
}
services {
...ServiceFragment
}
servicesV2 {
...ServiceFragment
}
source
title {
...TranslationFragment
}
titleId
updated
}
}
Variables
{
"id": [HashedId],
"relation": "xyz789",
"relationValue": "abc123",
"source": "BLE"
}
Response
{
"data": {
"rule": [
{
"assetBlacklist": [Asset],
"assignedToGroup": Group,
"assignedToGroupId": HashedId,
"checkAssetsPaginated": PaginatedRuleCheckAssets,
"created": 1592577642,
"createdByGroup": Group,
"createdByGroupId": HashedId,
"createdByUser": User,
"createdByUserId": HashedId,
"definition": {},
"description": Translation,
"descriptionId": HashedId,
"enabled": false,
"eventStyle": EventStyle,
"eventStyleId": HashedId,
"eventType": "COST",
"eventsConfigs": [EventConfig],
"id": HashedId,
"isActive": true,
"isArchived": false,
"isCheckAllowedForUnauthorizedUsers": true,
"isCritical": true,
"isGlobalRule": false,
"isImmediateNotification": false,
"isOneshot": true,
"isOnetime": true,
"manualDeactivation": true,
"publicId": "abc123",
"purpose": "GEOFENCE",
"relations": [RuleRelation],
"relationsV2": [RuleRelation],
"sendNotificationsTo": [RuleNotificationRelation],
"services": [Service],
"servicesV2": [Service],
"source": "BLE",
"title": Translation,
"titleId": HashedId,
"updated": 1592577642
}
]
}
}
ruleBlock
Description
Retrieve a rule block
Response
Returns [RuleBlock]
Arguments
| Name | Description |
|---|---|
assetIntegrationId - [HashedId]
|
Asset integration identifier |
id - [HashedId]
|
Unique identifier |
Example
Query
query ruleBlock(
$assetIntegrationId: [HashedId],
$id: [HashedId]
) {
ruleBlock(
assetIntegrationId: $assetIntegrationId,
id: $id
) {
created
id
op
parameterIdPreset
settings
source
title {
...TranslationFragment
}
titleId
type
updated
}
}
Variables
{
"assetIntegrationId": [HashedId],
"id": [HashedId]
}
Response
{
"data": {
"ruleBlock": [
{
"created": 1592577642,
"id": HashedId,
"op": "xyz789",
"parameterIdPreset": HashedId,
"settings": {},
"source": "BLE",
"title": Translation,
"titleId": HashedId,
"type": "contractInterval_creation",
"updated": 1592577642
}
]
}
}
ruleChecksByAssetId
Description
List checks by asset id with optional filtering
Example
Query
query ruleChecksByAssetId($id: HashedId!) {
ruleChecksByAssetId(id: $id) {
assetBlacklist {
...AssetFragment
}
assignedToGroup {
...GroupFragment
}
assignedToGroupId
checkAssetsPaginated {
...PaginatedRuleCheckAssetsFragment
}
created
createdByGroup {
...GroupFragment
}
createdByGroupId
createdByUser {
...UserFragment
}
createdByUserId
definition
description {
...TranslationFragment
}
descriptionId
enabled
eventStyle {
...EventStyleFragment
}
eventStyleId
eventType
eventsConfigs {
...EventConfigFragment
}
id
isActive
isArchived
isCheckAllowedForUnauthorizedUsers
isCritical
isGlobalRule
isImmediateNotification
isOneshot
isOnetime
manualDeactivation
publicId
purpose
relations {
...RuleRelationFragment
}
relationsV2 {
...RuleRelationFragment
}
sendNotificationsTo {
...RuleNotificationRelationFragment
}
services {
...ServiceFragment
}
servicesV2 {
...ServiceFragment
}
source
title {
...TranslationFragment
}
titleId
updated
}
}
Variables
{"id": HashedId}
Response
{
"data": {
"ruleChecksByAssetId": [
{
"assetBlacklist": [Asset],
"assignedToGroup": Group,
"assignedToGroupId": HashedId,
"checkAssetsPaginated": PaginatedRuleCheckAssets,
"created": 1592577642,
"createdByGroup": Group,
"createdByGroupId": HashedId,
"createdByUser": User,
"createdByUserId": HashedId,
"definition": {},
"description": Translation,
"descriptionId": HashedId,
"enabled": false,
"eventStyle": EventStyle,
"eventStyleId": HashedId,
"eventType": "COST",
"eventsConfigs": [EventConfig],
"id": HashedId,
"isActive": true,
"isArchived": true,
"isCheckAllowedForUnauthorizedUsers": true,
"isCritical": false,
"isGlobalRule": true,
"isImmediateNotification": false,
"isOneshot": true,
"isOnetime": true,
"manualDeactivation": true,
"publicId": "abc123",
"purpose": "GEOFENCE",
"relations": [RuleRelation],
"relationsV2": [RuleRelation],
"sendNotificationsTo": [RuleNotificationRelation],
"services": [Service],
"servicesV2": [Service],
"source": "BLE",
"title": Translation,
"titleId": HashedId,
"updated": 1592577642
}
]
}
}
ruleChecksByAssetIds
Description
List checks grouped per asset id for a batched lookup
Response
Returns [AssetRuleChecks!]!
Arguments
| Name | Description |
|---|---|
ids - [HashedId!]!
|
List of unique identifiers |
Example
Query
query ruleChecksByAssetIds($ids: [HashedId!]!) {
ruleChecksByAssetIds(ids: $ids) {
assetId
ruleChecks {
...RuleFragment
}
}
}
Variables
{"ids": [HashedId]}
Response
{
"data": {
"ruleChecksByAssetIds": [
{
"assetId": HashedId,
"ruleChecks": [Rule]
}
]
}
}
ruleEntriesPaginated
Description
List rule entries paginated with optional filtering
Response
Returns a RuleEntryPaginatedResult!
Arguments
| Name | Description |
|---|---|
filters - [FilterParamsInput]
|
Filter criteria |
pagination - PaginationParams!
|
Pagination |
search - String
|
Text search query for filtering results |
Example
Query
query ruleEntriesPaginated(
$filters: [FilterParamsInput],
$pagination: PaginationParams!,
$search: String
) {
ruleEntriesPaginated(
filters: $filters,
pagination: $pagination,
search: $search
) {
meta {
...PaginationMetaFragment
}
rows {
...RuleEntryFragment
}
total
}
}
Variables
{
"filters": [FilterParamsInput],
"pagination": PaginationParams,
"search": "xyz789"
}
Response
{
"data": {
"ruleEntriesPaginated": {
"meta": PaginationMeta,
"rows": [RuleEntry],
"total": 123
}
}
}
ruleEntry
Description
List rule entry by id or fail with optional filtering
Response
Returns a RuleEntry!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Unique identifier of the entity |
Example
Query
query ruleEntry($id: HashedId!) {
ruleEntry(id: $id) {
activatedAt
assetCount
assetFilters {
...FiltersFragment
}
assetGroup {
...GroupFragment
}
assetGroupId
created
createdByGroup {
...GroupFragment
}
createdByGroupId
createdByUser {
...UserFragment
}
createdByUserId
description {
...TranslationFragment
}
firstCheckMode
geofenceSite {
...SiteFragment
}
geofenceSiteId
group {
...GroupFragment
}
groupId
hasNotification
hasNotificationCritical
hasNotificationEmail
hasNotificationImmediate
hasNotificationOnNewAsset
hasNotificationPush
hasNotificationTimingBeforeDue
hasNotificationTimingWhenDue
id
isAssetAssignNew
isAssetTriggerForCustomers
isAssetVehicle
isCheckAllowedForUnauthorizedUsers
isForAllAssets
isManualOnly
isScheduleFixed
isScheduleManualDeactivation
isSkipOverdueEnabled
manuallyAddedAssets {
...AssetFragment
}
materializedAt
name {
...TranslationFragment
}
notificationRecipients {
...RuleEntryNotificationRecipientFragment
}
notificationTimings {
...RuleEntryNotificationTimingFragment
}
scheduleStartAt
scheduleStartPointCustomField {
...CustomFieldFragment
}
scheduleStartPointCustomFieldId
scheduleStartPointFallback
scheduleStartPointField
scheduleTriggers {
...RuleEntryScheduleTriggerFragment
}
site {
...SiteFragment
}
status
subType
type
updated
workingHoursAsset {
...AssetFragment
}
workingHoursAssetId
}
}
Variables
{"id": HashedId}
Response
{
"data": {
"ruleEntry": {
"activatedAt": "2007-12-03T10:15:30Z",
"assetCount": 987,
"assetFilters": [Filters],
"assetGroup": Group,
"assetGroupId": HashedId,
"created": 1592577642,
"createdByGroup": Group,
"createdByGroupId": HashedId,
"createdByUser": User,
"createdByUserId": HashedId,
"description": Translation,
"firstCheckMode": "AFTER_INTERVAL",
"geofenceSite": Site,
"geofenceSiteId": HashedId,
"group": Group,
"groupId": HashedId,
"hasNotification": true,
"hasNotificationCritical": true,
"hasNotificationEmail": false,
"hasNotificationImmediate": true,
"hasNotificationOnNewAsset": true,
"hasNotificationPush": false,
"hasNotificationTimingBeforeDue": true,
"hasNotificationTimingWhenDue": true,
"id": HashedId,
"isAssetAssignNew": false,
"isAssetTriggerForCustomers": true,
"isAssetVehicle": false,
"isCheckAllowedForUnauthorizedUsers": true,
"isForAllAssets": true,
"isManualOnly": false,
"isScheduleFixed": false,
"isScheduleManualDeactivation": true,
"isSkipOverdueEnabled": true,
"manuallyAddedAssets": [Asset],
"materializedAt": "2007-12-03T10:15:30Z",
"name": Translation,
"notificationRecipients": [
RuleEntryNotificationRecipient
],
"notificationTimings": [
RuleEntryNotificationTiming
],
"scheduleStartAt": "2007-12-03T10:15:30Z",
"scheduleStartPointCustomField": CustomField,
"scheduleStartPointCustomFieldId": HashedId,
"scheduleStartPointFallback": "EXCLUDE",
"scheduleStartPointField": "COMMISSION_DATE",
"scheduleTriggers": [RuleEntryScheduleTrigger],
"site": Site,
"status": "ACTIVE",
"subType": "ERROR",
"type": "GEOFENCE",
"updated": 1592577642,
"workingHoursAsset": Asset,
"workingHoursAssetId": HashedId
}
}
}
ruleEntryAssetDateOverrideImportColumnSchema
Description
Returns the column schema (with translations and validation rules) used by the rule entry asset date override importer wizard.
Response
Returns [ImporterSchemaColumn!]!
Example
Query
query ruleEntryAssetDateOverrideImportColumnSchema {
ruleEntryAssetDateOverrideImportColumnSchema {
allowCustomOptions
alternativeMatches
columnType
dropdownOptions {
...ImporterSchemaColumnDropdownOptionFragment
}
example
isReadOnly
key
label
labelSuffix
originalKey
type
validations {
...ImporterSchemaColumnValidationFragment
}
}
}
Response
{
"data": {
"ruleEntryAssetDateOverrideImportColumnSchema": [
{
"allowCustomOptions": false,
"alternativeMatches": ["abc123"],
"columnType": "BOOLEAN",
"dropdownOptions": [
ImporterSchemaColumnDropdownOption
],
"example": "abc123",
"isReadOnly": true,
"key": "xyz789",
"label": "xyz789",
"labelSuffix": "xyz789",
"originalKey": "abc123",
"type": "xyz789",
"validations": [ImporterSchemaColumnValidation]
}
]
}
}
ruleEntryAssetDateOverrides
Description
List all date overrides for a rule entry
Response
Returns [RuleEntryAssetDateOverride!]!
Arguments
| Name | Description |
|---|---|
ruleId - HashedId!
|
Rule entry identifier |
Example
Query
query ruleEntryAssetDateOverrides($ruleId: HashedId!) {
ruleEntryAssetDateOverrides(ruleId: $ruleId) {
assetId
created
lastInspectionDate
nextInspectionDate
ruleId
updated
}
}
Variables
{"ruleId": HashedId}
Response
{
"data": {
"ruleEntryAssetDateOverrides": [
{
"assetId": HashedId,
"created": 1592577642,
"lastInspectionDate": "2007-12-03T10:15:30Z",
"nextInspectionDate": "2007-12-03T10:15:30Z",
"ruleId": HashedId,
"updated": 1592577642
}
]
}
}
ruleEntryConfirmActivateAssetList
Description
Paginated asset list for rule entry confirm-activate flow
Response
Returns a PaginatedRuleEntryConfirmActivateAssets!
Arguments
| Name | Description |
|---|---|
filters - [FilterParamsInput]
|
Filter criteria |
ignoreMaterialization - Boolean
|
Return target asset count as if the rule was not yet activated |
pagination - PaginationParams!
|
Pagination |
ruleId - HashedId!
|
Rule entry identifier |
search - String
|
Text search query for filtering results |
Example
Query
query ruleEntryConfirmActivateAssetList(
$filters: [FilterParamsInput],
$ignoreMaterialization: Boolean,
$pagination: PaginationParams!,
$ruleId: HashedId!,
$search: String
) {
ruleEntryConfirmActivateAssetList(
filters: $filters,
ignoreMaterialization: $ignoreMaterialization,
pagination: $pagination,
ruleId: $ruleId,
search: $search
) {
meta {
...PaginationMetaFragment
}
rows {
...RuleEntryConfirmActivateAssetFragment
}
total
}
}
Variables
{
"filters": [FilterParamsInput],
"ignoreMaterialization": true,
"pagination": PaginationParams,
"ruleId": HashedId,
"search": "xyz789"
}
Response
{
"data": {
"ruleEntryConfirmActivateAssetList": {
"meta": PaginationMeta,
"rows": [RuleEntryConfirmActivateAsset],
"total": 987
}
}
}
ruleEntryConfirmActivateSummary
Description
Aggregate counts for rule entry confirm-activate flow
Response
Returns a RuleEntryConfirmActivateSummary!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Unique identifier of the entity |
Example
Query
query ruleEntryConfirmActivateSummary($id: HashedId!) {
ruleEntryConfirmActivateSummary(id: $id) {
excludedCount
missingFieldCount
missingReadingCount
}
}
Variables
{"id": HashedId}
Response
{
"data": {
"ruleEntryConfirmActivateSummary": {
"excludedCount": 123,
"missingFieldCount": 987,
"missingReadingCount": 123
}
}
}
ruleEntryEvent
Description
Find a rule entry event by id
Response
Returns a RuleEntryEvent
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Unique identifier of the entity |
Example
Query
query ruleEntryEvent($id: HashedId!) {
ruleEntryEvent(id: $id) {
asset {
...AssetFragment
}
assetId
assignee {
...UserFragment
}
assigneePublic {
...UserPublicFragment
}
assigneeUserId
cancelledAt
cancelledByUser {
...UserFragment
}
cancelledByUserId
completedAt
completedByUser {
...UserFragment
}
completedByUserId
completedParameterValue
created
currentParameterReading
description {
...TranslationFragment
}
displayStatus
dueAt
dueParameterValue
id
isCheckAllowedForUnauthorizedUsers
lastRescheduledAt
name {
...TranslationFragment
}
nextTrigger {
...RuleEntryScheduleTriggerFragment
}
notifications {
...RuleEntryEventNotificationFragment
}
originalDueAt
originalDueParameterValue
previousCompletedAt
previousCompletedParameterValue
ruleEntry {
...RuleEntryFragment
}
ruleEntryId
status
subType
ticket {
...TicketFragment
}
ticketId
translations {
...RuleEntryEventTranslationFragment
}
trigger {
...RuleEntryScheduleTriggerFragment
}
triggerId
triggerType
triggeredAt
triggeredGeofenceDirection
triggeredParameterValue
updated
}
}
Variables
{"id": HashedId}
Response
{
"data": {
"ruleEntryEvent": {
"asset": Asset,
"assetId": HashedId,
"assignee": User,
"assigneePublic": UserPublic,
"assigneeUserId": HashedId,
"cancelledAt": "2007-12-03T10:15:30Z",
"cancelledByUser": User,
"cancelledByUserId": HashedId,
"completedAt": "2007-12-03T10:15:30Z",
"completedByUser": User,
"completedByUserId": HashedId,
"completedParameterValue": 123.45,
"created": 1592577642,
"currentParameterReading": 123.45,
"description": Translation,
"displayStatus": "CANCELLED",
"dueAt": "2007-12-03T10:15:30Z",
"dueParameterValue": 123.45,
"id": HashedId,
"isCheckAllowedForUnauthorizedUsers": true,
"lastRescheduledAt": "2007-12-03T10:15:30Z",
"name": Translation,
"nextTrigger": RuleEntryScheduleTrigger,
"notifications": [RuleEntryEventNotification],
"originalDueAt": "2007-12-03T10:15:30Z",
"originalDueParameterValue": 123.45,
"previousCompletedAt": "2007-12-03T10:15:30Z",
"previousCompletedParameterValue": 987.65,
"ruleEntry": RuleEntry,
"ruleEntryId": HashedId,
"status": "CANCELLED",
"subType": "ERROR",
"ticket": Ticket,
"ticketId": HashedId,
"translations": [RuleEntryEventTranslation],
"trigger": RuleEntryScheduleTrigger,
"triggerId": HashedId,
"triggerType": "COMBINED",
"triggeredAt": "2007-12-03T10:15:30Z",
"triggeredGeofenceDirection": "ENTER",
"triggeredParameterValue": 987.65,
"updated": 1592577642
}
}
}
ruleEntryEventHistory
Description
List the audit history for a single rule entry event in chronological order with pagination
Response
Returns [RuleEntryEventHistory!]!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Unique identifier of the entity |
pagination - PaginationInput
|
Pagination settings; defaults to the first page when omitted |
Example
Query
query ruleEntryEventHistory(
$id: HashedId!,
$pagination: PaginationInput
) {
ruleEntryEventHistory(
id: $id,
pagination: $pagination
) {
created
eventId
id
newDueAt
newDueParameterValue
note
oldDueAt
oldDueParameterValue
ticketId
triggeredByUserId
type
updated
}
}
Variables
{
"id": HashedId,
"pagination": PaginationInput
}
Response
{
"data": {
"ruleEntryEventHistory": [
{
"created": 1592577642,
"eventId": HashedId,
"id": HashedId,
"newDueAt": "2007-12-03T10:15:30Z",
"newDueParameterValue": 987.65,
"note": "abc123",
"oldDueAt": "2007-12-03T10:15:30Z",
"oldDueParameterValue": 987.65,
"ticketId": HashedId,
"triggeredByUserId": HashedId,
"type": "CANCELLED",
"updated": 1592577642
}
]
}
}
ruleEntryEventsByAsset
Description
List upcoming rule entry events for the given asset ordered by due date with pagination
Response
Returns [RuleEntryEvent!]!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Unique identifier of the entity |
pagination - PaginationInput
|
Pagination settings; defaults to the first page when omitted |
Example
Query
query ruleEntryEventsByAsset(
$id: HashedId!,
$pagination: PaginationInput
) {
ruleEntryEventsByAsset(
id: $id,
pagination: $pagination
) {
asset {
...AssetFragment
}
assetId
assignee {
...UserFragment
}
assigneePublic {
...UserPublicFragment
}
assigneeUserId
cancelledAt
cancelledByUser {
...UserFragment
}
cancelledByUserId
completedAt
completedByUser {
...UserFragment
}
completedByUserId
completedParameterValue
created
currentParameterReading
description {
...TranslationFragment
}
displayStatus
dueAt
dueParameterValue
id
isCheckAllowedForUnauthorizedUsers
lastRescheduledAt
name {
...TranslationFragment
}
nextTrigger {
...RuleEntryScheduleTriggerFragment
}
notifications {
...RuleEntryEventNotificationFragment
}
originalDueAt
originalDueParameterValue
previousCompletedAt
previousCompletedParameterValue
ruleEntry {
...RuleEntryFragment
}
ruleEntryId
status
subType
ticket {
...TicketFragment
}
ticketId
translations {
...RuleEntryEventTranslationFragment
}
trigger {
...RuleEntryScheduleTriggerFragment
}
triggerId
triggerType
triggeredAt
triggeredGeofenceDirection
triggeredParameterValue
updated
}
}
Variables
{
"id": HashedId,
"pagination": PaginationInput
}
Response
{
"data": {
"ruleEntryEventsByAsset": [
{
"asset": Asset,
"assetId": HashedId,
"assignee": User,
"assigneePublic": UserPublic,
"assigneeUserId": HashedId,
"cancelledAt": "2007-12-03T10:15:30Z",
"cancelledByUser": User,
"cancelledByUserId": HashedId,
"completedAt": "2007-12-03T10:15:30Z",
"completedByUser": User,
"completedByUserId": HashedId,
"completedParameterValue": 123.45,
"created": 1592577642,
"currentParameterReading": 987.65,
"description": Translation,
"displayStatus": "CANCELLED",
"dueAt": "2007-12-03T10:15:30Z",
"dueParameterValue": 987.65,
"id": HashedId,
"isCheckAllowedForUnauthorizedUsers": true,
"lastRescheduledAt": "2007-12-03T10:15:30Z",
"name": Translation,
"nextTrigger": RuleEntryScheduleTrigger,
"notifications": [RuleEntryEventNotification],
"originalDueAt": "2007-12-03T10:15:30Z",
"originalDueParameterValue": 123.45,
"previousCompletedAt": "2007-12-03T10:15:30Z",
"previousCompletedParameterValue": 987.65,
"ruleEntry": RuleEntry,
"ruleEntryId": HashedId,
"status": "CANCELLED",
"subType": "ERROR",
"ticket": Ticket,
"ticketId": HashedId,
"translations": [RuleEntryEventTranslation],
"trigger": RuleEntryScheduleTrigger,
"triggerId": HashedId,
"triggerType": "COMBINED",
"triggeredAt": "2007-12-03T10:15:30Z",
"triggeredGeofenceDirection": "ENTER",
"triggeredParameterValue": 123.45,
"updated": 1592577642
}
]
}
}
ruleEntryEventsPaginated
Description
List rule entry events across the caller groups with filtering, sorting and pagination
Response
Returns a RuleEntryEventsPaginatedResult!
Arguments
| Name | Description |
|---|---|
filters - [FilterParamsInput]
|
Filter criteria |
pagination - PaginationParams!
|
Pagination |
search - String
|
Text search query for filtering results |
Example
Query
query ruleEntryEventsPaginated(
$filters: [FilterParamsInput],
$pagination: PaginationParams!,
$search: String
) {
ruleEntryEventsPaginated(
filters: $filters,
pagination: $pagination,
search: $search
) {
meta {
...PaginationMetaFragment
}
rows {
...RuleEntryEventFragment
}
total
}
}
Variables
{
"filters": [FilterParamsInput],
"pagination": PaginationParams,
"search": "xyz789"
}
Response
{
"data": {
"ruleEntryEventsPaginated": {
"meta": PaginationMeta,
"rows": [RuleEntryEvent],
"total": 987
}
}
}
rulesPaginated
Description
List paginated rules with filtering and search
Response
Returns a PaginatedRules!
Arguments
| Name | Description |
|---|---|
filters - [FilterParamsInput]
|
Filter criteria |
pagination - PaginationParams!
|
Pagination |
search - String
|
Text search query for filtering results |
Example
Query
query rulesPaginated(
$filters: [FilterParamsInput],
$pagination: PaginationParams!,
$search: String
) {
rulesPaginated(
filters: $filters,
pagination: $pagination,
search: $search
) {
meta {
...PaginationMetaFragment
}
rows {
...RuleFragment
}
total
}
}
Variables
{
"filters": [FilterParamsInput],
"pagination": PaginationParams,
"search": "xyz789"
}
Response
{
"data": {
"rulesPaginated": {
"meta": PaginationMeta,
"rows": [Rule],
"total": 987
}
}
}
s3PresignedPutUrl
Description
Legacy presigned PUT URL endpoint. Internally creates a tracked staging upload row so the URL can be claimed on submit.
Response
Returns a S3PresignedUrl!
Example
Query
query s3PresignedPutUrl(
$contentType: String!,
$fileName: String!
) {
s3PresignedPutUrl(
contentType: $contentType,
fileName: $fileName
) {
expiresIn
key
publicUrl
url
}
}
Variables
{
"contentType": "xyz789",
"fileName": "abc123"
}
Response
{
"data": {
"s3PresignedPutUrl": {
"expiresIn": 987,
"key": "abc123",
"publicUrl": "xyz789",
"url": "xyz789"
}
}
}
searchAssetTypes
Description
Search discoverable asset types by query and ID filters
Response
Returns [AssetType!]
Arguments
| Name | Description |
|---|---|
id - [HashedId!]
|
Asset type IDs to filter by |
make - String
|
Manufacturer or brand name to filter by |
query - String
|
Search query string |
Example
Query
query searchAssetTypes(
$id: [HashedId!],
$make: String,
$query: String
) {
searchAssetTypes(
id: $id,
make: $make,
query: $query
) {
assetsCount
canEdit
chargingVoltageThreshold
created
customFields {
...CustomFieldFragment
}
dailyRate
defaultClassification
deleted
deletedAssetsCount
deletedBy
displayedRuntimeCode
documents {
...DocumentFragment
}
externalId
forManufacturer {
...ManufacturerFragment
}
forManufacturerId
group {
...GroupFragment
}
groupId
hasAssortmentList
hasVNC
id
image
inAssetCategory {
...AssetCategoryFragment
}
inAssetCategoryId
inAssetIntegration {
...AssetIntegrationFragment
}
inAssetIntegrationId
isApprovedAssetType
isLockable
isLockedState
isPollingAvailable
isPrivate
isRoom
isVehicle
lockAssetType {
...AssetTypeFragment
}
lockAssetTypeId
make
minDaysBilled
minimalBatteryVoltage
name {
...TranslationFragment
}
nameId
namespace
nominalBatteryVoltage
optimalBatteryVoltage
optimalRuntime
parentParameterKey
preset
presetInitialValue
presetLeasingCostTermination
presetLeasingLevel
presetLeasingMonthlyCost
presetLeasingPartner
presetLeasingPartnerContractNumber
presetLeasingPartnerContractPositionNumber
presetLeasingRenewalRate
presetLowValueAsset
presetMachineCheckInterval
presetMachineCheckLastCreated
presetMachineCheckName
presetOwnership
presetPurchaseCost
presetPurchaseDepreciationMonths
presetPurchaseDepriciation
presetRentalCostTermination
presetRentalMonthlyCost
presetRentalRenewalRate
presetServiceContractCostPerYear
presetServiceContractEmail
presetServiceContractLevel
presetServiceContractPartner
presetSupplier
presetWarrantyPeriod
publicId
reclassifiedAssetsCount
restoreBlockers
restrictedType
rules {
...RuleFragment
}
servicePackage {
...ServicePackageFragment
}
servicePackageId
suggestedPartner {
...AvailableHandlerFragment
}
suggestedServicePartner
ticketContentFields {
...TicketContentFieldFragment
}
updated
userManual
workUnitId
workUnits {
...TranslationFragment
}
workUnitsPerHour
}
}
Variables
{
"id": [HashedId],
"make": "abc123",
"query": "xyz789"
}
Response
{
"data": {
"searchAssetTypes": [
{
"assetsCount": 123,
"canEdit": false,
"chargingVoltageThreshold": 123.45,
"created": 1592577642,
"customFields": [CustomField],
"dailyRate": 987.65,
"defaultClassification": "GENERIC",
"deleted": 1592577642,
"deletedAssetsCount": 987,
"deletedBy": "xyz789",
"displayedRuntimeCode": "RUNTIME",
"documents": [Document],
"externalId": "xyz789",
"forManufacturer": Manufacturer,
"forManufacturerId": HashedId,
"group": Group,
"groupId": HashedId,
"hasAssortmentList": false,
"hasVNC": true,
"id": HashedId,
"image": "abc123",
"inAssetCategory": AssetCategory,
"inAssetCategoryId": HashedId,
"inAssetIntegration": AssetIntegration,
"inAssetIntegrationId": HashedId,
"isApprovedAssetType": false,
"isLockable": true,
"isLockedState": false,
"isPollingAvailable": true,
"isPrivate": false,
"isRoom": false,
"isVehicle": true,
"lockAssetType": AssetType,
"lockAssetTypeId": HashedId,
"make": "xyz789",
"minDaysBilled": 123,
"minimalBatteryVoltage": 987.65,
"name": Translation,
"nameId": HashedId,
"namespace": "abc123",
"nominalBatteryVoltage": 123.45,
"optimalBatteryVoltage": 987.65,
"optimalRuntime": 123.45,
"parentParameterKey": "input2",
"preset": false,
"presetInitialValue": "abc123",
"presetLeasingCostTermination": "abc123",
"presetLeasingLevel": "xyz789",
"presetLeasingMonthlyCost": "abc123",
"presetLeasingPartner": "abc123",
"presetLeasingPartnerContractNumber": "abc123",
"presetLeasingPartnerContractPositionNumber": "abc123",
"presetLeasingRenewalRate": "abc123",
"presetLowValueAsset": false,
"presetMachineCheckInterval": 987,
"presetMachineCheckLastCreated": false,
"presetMachineCheckName": "abc123",
"presetOwnership": "CUSTOMER_MACHINE",
"presetPurchaseCost": "abc123",
"presetPurchaseDepreciationMonths": 987,
"presetPurchaseDepriciation": 123,
"presetRentalCostTermination": "abc123",
"presetRentalMonthlyCost": "xyz789",
"presetRentalRenewalRate": "xyz789",
"presetServiceContractCostPerYear": "abc123",
"presetServiceContractEmail": "xyz789",
"presetServiceContractLevel": "xyz789",
"presetServiceContractPartner": "abc123",
"presetSupplier": "xyz789",
"presetWarrantyPeriod": 987,
"publicId": 123,
"reclassifiedAssetsCount": 123,
"restoreBlockers": ["PARENT_ASSET_CATEGORY_DELETED"],
"restrictedType": false,
"rules": [Rule],
"servicePackage": ServicePackage,
"servicePackageId": HashedId,
"suggestedPartner": AvailableHandler,
"suggestedServicePartner": "xyz789",
"ticketContentFields": [TicketContentField],
"updated": 1592577642,
"userManual": "xyz789",
"workUnitId": HashedId,
"workUnits": Translation,
"workUnitsPerHour": 987.65
}
]
}
}
searchSites
Description
Search for sites by name or other criteria within the current group context
Response
Returns [Site]
Arguments
| Name | Description |
|---|---|
excludeSiteIds - [HashedId!]
|
Site IDs to exclude from the search results |
extraIds - String
|
Additional site IDs to include in results |
onlyAssignedToGroupId - HashedId
|
Restrict results to sites assigned to this group |
onlyEditableScope - Boolean
|
Restrict results to sites assigned to the current groups or groups below them |
query - String
|
Search query string |
Example
Query
query searchSites(
$excludeSiteIds: [HashedId!],
$extraIds: String,
$onlyAssignedToGroupId: HashedId,
$onlyEditableScope: Boolean,
$query: String
) {
searchSites(
excludeSiteIds: $excludeSiteIds,
extraIds: $extraIds,
onlyAssignedToGroupId: $onlyAssignedToGroupId,
onlyEditableScope: $onlyEditableScope,
query: $query
) {
accountNumber
address
assetsCount
assignedToGroup {
...GroupFragment
}
assignedToGroupId
containsAssetsToModifyByGroup
coordinates {
...CoordinatesFragment
}
costCenter
country
created
createdByGroup {
...GroupFragment
}
createdByGroupId
customerNumber
deleted
deletedBy
deletedSitesCount
email
events {
...EventFragment
}
externalId
geofenceNotification {
...RuleNotificationRelationFragment
}
geofenceSettings
groupTreeRootId
id
image
isFixed
lat
lng
locationText
name
note
parentSite {
...SiteFragment
}
parentSiteId
postalCode
publicId
qrAttached
restoreBlockers
servicePackage {
...ServicePackageFragment
}
servicePackageId
shouldInheritGeofenceSettings
shouldInheritManagerDetails
shouldInheritServicePackage
siteManagerName
siteManagers {
...SiteManagerFragment
}
siteType {
...SiteTypeFragment
}
siteTypeId
telephone
updated
uuid
}
}
Variables
{
"excludeSiteIds": [HashedId],
"extraIds": "abc123",
"onlyAssignedToGroupId": HashedId,
"onlyEditableScope": true,
"query": "xyz789"
}
Response
{
"data": {
"searchSites": [
{
"accountNumber": "abc123",
"address": "xyz789",
"assetsCount": 987,
"assignedToGroup": Group,
"assignedToGroupId": HashedId,
"containsAssetsToModifyByGroup": true,
"coordinates": Coordinates,
"costCenter": "abc123",
"country": "abc123",
"created": 1592577642,
"createdByGroup": Group,
"createdByGroupId": HashedId,
"customerNumber": "xyz789",
"deleted": 1592577642,
"deletedBy": "xyz789",
"deletedSitesCount": 123,
"email": "abc123",
"events": [Event],
"externalId": "xyz789",
"geofenceNotification": [
RuleNotificationRelation
],
"geofenceSettings": {},
"groupTreeRootId": HashedId,
"id": HashedId,
"image": "xyz789",
"isFixed": false,
"lat": "xyz789",
"lng": "abc123",
"locationText": "abc123",
"name": "abc123",
"note": "xyz789",
"parentSite": Site,
"parentSiteId": HashedId,
"postalCode": "abc123",
"publicId": 987,
"qrAttached": false,
"restoreBlockers": ["PARENT_ASSET_CATEGORY_DELETED"],
"servicePackage": ServicePackage,
"servicePackageId": HashedId,
"shouldInheritGeofenceSettings": false,
"shouldInheritManagerDetails": true,
"shouldInheritServicePackage": false,
"siteManagerName": "abc123",
"siteManagers": [SiteManager],
"siteType": SiteType,
"siteTypeId": HashedId,
"telephone": "xyz789",
"updated": 1592577642,
"uuid": "xyz789"
}
]
}
}
sendBlankQRSheetDownloadEmail
Description
Retrieve send blank q r sheet download email
Response
Returns a Boolean!
Arguments
| Name | Description |
|---|---|
entity - EntityEnum
|
default value ASSET supportedValues ASSET,PART,SITE |
numberOfPages - Int!
|
between "1" and "99" |
Example
Query
query sendBlankQRSheetDownloadEmail(
$entity: EntityEnum,
$numberOfPages: Int!
) {
sendBlankQRSheetDownloadEmail(
entity: $entity,
numberOfPages: $numberOfPages
)
}
Variables
{"entity": "ASSET", "numberOfPages": 123}
Response
{"data": {"sendBlankQRSheetDownloadEmail": false}}
sendQRSheetDownloadEmail
Description
Retrieve send q r sheet download email
Response
Returns a Boolean!
Arguments
| Name | Description |
|---|---|
assetId - [HashedId!]!
|
list of ids required entity |
entity - EntityEnum
|
default value ASSET supportedValues ASSET,PART,SITE |
Example
Query
query sendQRSheetDownloadEmail(
$assetId: [HashedId!]!,
$entity: EntityEnum
) {
sendQRSheetDownloadEmail(
assetId: $assetId,
entity: $entity
)
}
Variables
{"assetId": [HashedId], "entity": "ASSET"}
Response
{"data": {"sendQRSheetDownloadEmail": true}}
service
Description
Retrieve services by IDs or asset association with optional filtering (deprecated, use servicesV2)
Response
Returns [Service!]!
Example
Query
query service {
service {
afterApprovalAssignee
afterApprovalTeamId
afterApprovalUserId
askAiAssistantFirst
assigneeAutomation
assigneeAutomationId
availableHandlers {
...AvailableServiceHandlerDtoFragment
}
belongsToGroupTypeId
canBeDeleted
contentType
created
createdByGroup {
...GroupFragment
}
createdByGroupId
deleted
formId
iconUrl
id
isApprovalRequired
isServiceCheck
jotformId
jotformSource
keys
preset
procedureTemplate {
...ProcedureTemplateFragment
}
procedureTemplateId
publicId
publicProcedureTemplateId
rules {
...RuleFragment
}
servicePackage {
...ServicePackageFragment
}
servicePackages {
...ServicePackageFragment
}
servicePartner {
...AvailableHandlerFragment
}
serviceTags {
...ServiceTagFragment
}
suggestedServicePartner
ticketHandlers {
...ServiceTicketHandlerFragment
}
title {
...TranslationFragment
}
titleId
type
updated
}
}
Response
{
"data": {
"service": [
{
"afterApprovalAssignee": "FIXED",
"afterApprovalTeamId": HashedId,
"afterApprovalUserId": HashedId,
"askAiAssistantFirst": false,
"assigneeAutomation": "AUTO_ASSIGN",
"assigneeAutomationId": 987,
"availableHandlers": [AvailableServiceHandlerDto],
"belongsToGroupTypeId": HashedId,
"canBeDeleted": true,
"contentType": "formHtml",
"created": 1592577642,
"createdByGroup": Group,
"createdByGroupId": HashedId,
"deleted": 1592577642,
"formId": "xyz789",
"iconUrl": "abc123",
"id": HashedId,
"isApprovalRequired": false,
"isServiceCheck": false,
"jotformId": "xyz789",
"jotformSource": "xyz789",
"keys": ["abc123"],
"preset": "BLE",
"procedureTemplate": ProcedureTemplate,
"procedureTemplateId": HashedId,
"publicId": 123,
"publicProcedureTemplateId": 987,
"rules": [Rule],
"servicePackage": ServicePackage,
"servicePackages": [ServicePackage],
"servicePartner": AvailableHandler,
"serviceTags": [ServiceTag],
"suggestedServicePartner": "abc123",
"ticketHandlers": [ServiceTicketHandler],
"title": Translation,
"titleId": HashedId,
"type": "JOT_FORM",
"updated": 1592577642
}
]
}
}
serviceJotformConversionFormsPaginated
Description
Lists the Jotform forms of the services accessible to the current group with their conversion state
Response
Arguments
| Name | Description |
|---|---|
pagination - PaginationParams!
|
Pagination |
search - String
|
Text search query for filtering results |
Example
Query
query serviceJotformConversionFormsPaginated(
$pagination: PaginationParams!,
$search: String
) {
serviceJotformConversionFormsPaginated(
pagination: $pagination,
search: $search
) {
meta {
...PaginationMetaFragment
}
rows {
...ServiceJotformConversionFormFragment
}
total
}
}
Variables
{
"pagination": PaginationParams,
"search": "abc123"
}
Response
{
"data": {
"serviceJotformConversionFormsPaginated": {
"meta": PaginationMeta,
"rows": [ServiceJotformConversionForm],
"total": 123
}
}
}
servicePackage
Description
List by id with optional filtering
Response
Returns a ServicePackage!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Unique identifier of the entity |
Example
Query
query servicePackage($id: HashedId!) {
servicePackage(id: $id) {
assignedGroupsCount
assignedSitesCount
canBeDeleted
created
createdByGroup {
...GroupFragment
}
createdByGroupId
createdByUser {
...UserFragment
}
createdByUserId
deleted
id
restrictionReason
services {
...ServiceFragment
}
title {
...TranslationFragment
}
titleId
updated
}
}
Variables
{"id": HashedId}
Response
{
"data": {
"servicePackage": {
"assignedGroupsCount": 987,
"assignedSitesCount": 123,
"canBeDeleted": false,
"created": 1592577642,
"createdByGroup": Group,
"createdByGroupId": HashedId,
"createdByUser": User,
"createdByUserId": HashedId,
"deleted": 1592577642,
"id": HashedId,
"restrictionReason": "NOT_IN_CUSTOMER_TREE",
"services": [Service],
"title": Translation,
"titleId": HashedId,
"updated": 1592577642
}
}
}
servicePackages
Description
List by ids with optional filtering
Response
Returns [ServicePackage!]!
Arguments
| Name | Description |
|---|---|
ids - [HashedId!]
|
List of unique identifiers |
Example
Query
query servicePackages($ids: [HashedId!]) {
servicePackages(ids: $ids) {
assignedGroupsCount
assignedSitesCount
canBeDeleted
created
createdByGroup {
...GroupFragment
}
createdByGroupId
createdByUser {
...UserFragment
}
createdByUserId
deleted
id
restrictionReason
services {
...ServiceFragment
}
title {
...TranslationFragment
}
titleId
updated
}
}
Variables
{"ids": [HashedId]}
Response
{
"data": {
"servicePackages": [
{
"assignedGroupsCount": 987,
"assignedSitesCount": 987,
"canBeDeleted": false,
"created": 1592577642,
"createdByGroup": Group,
"createdByGroupId": HashedId,
"createdByUser": User,
"createdByUserId": HashedId,
"deleted": 1592577642,
"id": HashedId,
"restrictionReason": "NOT_IN_CUSTOMER_TREE",
"services": [Service],
"title": Translation,
"titleId": HashedId,
"updated": 1592577642
}
]
}
}
servicePackagesPaginated
Description
Paginated, searchable, filterable list of editable service packages
Response
Returns a ServicePackagePaginatedDto!
Arguments
| Name | Description |
|---|---|
filters - [FilterParamsInput]
|
Filter criteria |
pagination - PaginationParams!
|
Pagination |
search - String
|
Text search query for filtering results |
Example
Query
query servicePackagesPaginated(
$filters: [FilterParamsInput],
$pagination: PaginationParams!,
$search: String
) {
servicePackagesPaginated(
filters: $filters,
pagination: $pagination,
search: $search
) {
meta {
...PaginationMetaFragment
}
rows {
...ServicePackageFragment
}
total
}
}
Variables
{
"filters": [FilterParamsInput],
"pagination": PaginationParams,
"search": "xyz789"
}
Response
{
"data": {
"servicePackagesPaginated": {
"meta": PaginationMeta,
"rows": [ServicePackage],
"total": 123
}
}
}
serviceV2
Description
Retrieve a single service by its ID with full configuration details
Response
Returns a Service
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Unique identifier of the entity |
Example
Query
query serviceV2($id: HashedId!) {
serviceV2(id: $id) {
afterApprovalAssignee
afterApprovalTeamId
afterApprovalUserId
askAiAssistantFirst
assigneeAutomation
assigneeAutomationId
availableHandlers {
...AvailableServiceHandlerDtoFragment
}
belongsToGroupTypeId
canBeDeleted
contentType
created
createdByGroup {
...GroupFragment
}
createdByGroupId
deleted
formId
iconUrl
id
isApprovalRequired
isServiceCheck
jotformId
jotformSource
keys
preset
procedureTemplate {
...ProcedureTemplateFragment
}
procedureTemplateId
publicId
publicProcedureTemplateId
rules {
...RuleFragment
}
servicePackage {
...ServicePackageFragment
}
servicePackages {
...ServicePackageFragment
}
servicePartner {
...AvailableHandlerFragment
}
serviceTags {
...ServiceTagFragment
}
suggestedServicePartner
ticketHandlers {
...ServiceTicketHandlerFragment
}
title {
...TranslationFragment
}
titleId
type
updated
}
}
Variables
{"id": HashedId}
Response
{
"data": {
"serviceV2": {
"afterApprovalAssignee": "FIXED",
"afterApprovalTeamId": HashedId,
"afterApprovalUserId": HashedId,
"askAiAssistantFirst": true,
"assigneeAutomation": "AUTO_ASSIGN",
"assigneeAutomationId": 123,
"availableHandlers": [AvailableServiceHandlerDto],
"belongsToGroupTypeId": HashedId,
"canBeDeleted": true,
"contentType": "formHtml",
"created": 1592577642,
"createdByGroup": Group,
"createdByGroupId": HashedId,
"deleted": 1592577642,
"formId": "xyz789",
"iconUrl": "xyz789",
"id": HashedId,
"isApprovalRequired": false,
"isServiceCheck": false,
"jotformId": "xyz789",
"jotformSource": "abc123",
"keys": ["abc123"],
"preset": "BLE",
"procedureTemplate": ProcedureTemplate,
"procedureTemplateId": HashedId,
"publicId": 123,
"publicProcedureTemplateId": 987,
"rules": [Rule],
"servicePackage": ServicePackage,
"servicePackages": [ServicePackage],
"servicePartner": AvailableHandler,
"serviceTags": [ServiceTag],
"suggestedServicePartner": "xyz789",
"ticketHandlers": [ServiceTicketHandler],
"title": Translation,
"titleId": HashedId,
"type": "JOT_FORM",
"updated": 1592577642
}
}
}
services
Description
Retrieve services available to the current group, with optional type and language filters
Response
Returns [Service!]!
Arguments
| Name | Description |
|---|---|
filters - ServicesFilterInput
|
Filter criteria |
limit - Int!
|
Maximum number of results to return. Default = 20 |
search - String!
|
Text search query for filtering results. Default = "" |
Example
Query
query services(
$filters: ServicesFilterInput,
$limit: Int!,
$search: String!
) {
services(
filters: $filters,
limit: $limit,
search: $search
) {
afterApprovalAssignee
afterApprovalTeamId
afterApprovalUserId
askAiAssistantFirst
assigneeAutomation
assigneeAutomationId
availableHandlers {
...AvailableServiceHandlerDtoFragment
}
belongsToGroupTypeId
canBeDeleted
contentType
created
createdByGroup {
...GroupFragment
}
createdByGroupId
deleted
formId
iconUrl
id
isApprovalRequired
isServiceCheck
jotformId
jotformSource
keys
preset
procedureTemplate {
...ProcedureTemplateFragment
}
procedureTemplateId
publicId
publicProcedureTemplateId
rules {
...RuleFragment
}
servicePackage {
...ServicePackageFragment
}
servicePackages {
...ServicePackageFragment
}
servicePartner {
...AvailableHandlerFragment
}
serviceTags {
...ServiceTagFragment
}
suggestedServicePartner
ticketHandlers {
...ServiceTicketHandlerFragment
}
title {
...TranslationFragment
}
titleId
type
updated
}
}
Variables
{
"filters": ServicesFilterInput,
"limit": 20,
"search": ""
}
Response
{
"data": {
"services": [
{
"afterApprovalAssignee": "FIXED",
"afterApprovalTeamId": HashedId,
"afterApprovalUserId": HashedId,
"askAiAssistantFirst": true,
"assigneeAutomation": "AUTO_ASSIGN",
"assigneeAutomationId": 123,
"availableHandlers": [AvailableServiceHandlerDto],
"belongsToGroupTypeId": HashedId,
"canBeDeleted": true,
"contentType": "formHtml",
"created": 1592577642,
"createdByGroup": Group,
"createdByGroupId": HashedId,
"deleted": 1592577642,
"formId": "xyz789",
"iconUrl": "abc123",
"id": HashedId,
"isApprovalRequired": false,
"isServiceCheck": true,
"jotformId": "abc123",
"jotformSource": "xyz789",
"keys": ["abc123"],
"preset": "BLE",
"procedureTemplate": ProcedureTemplate,
"procedureTemplateId": HashedId,
"publicId": 987,
"publicProcedureTemplateId": 987,
"rules": [Rule],
"servicePackage": ServicePackage,
"servicePackages": [ServicePackage],
"servicePartner": AvailableHandler,
"serviceTags": [ServiceTag],
"suggestedServicePartner": "abc123",
"ticketHandlers": [ServiceTicketHandler],
"title": Translation,
"titleId": HashedId,
"type": "JOT_FORM",
"updated": 1592577642
}
]
}
}
site
Description
Returns at most 1500 sites, newest first. Use sitesPaginated to read all sites
Response
Returns [Site!]
Arguments
| Name | Description |
|---|---|
id - [HashedId!]
|
List of site IDs to retrieve |
Example
Query
query site($id: [HashedId!]) {
site(id: $id) {
accountNumber
address
assetsCount
assignedToGroup {
...GroupFragment
}
assignedToGroupId
containsAssetsToModifyByGroup
coordinates {
...CoordinatesFragment
}
costCenter
country
created
createdByGroup {
...GroupFragment
}
createdByGroupId
customerNumber
deleted
deletedBy
deletedSitesCount
email
events {
...EventFragment
}
externalId
geofenceNotification {
...RuleNotificationRelationFragment
}
geofenceSettings
groupTreeRootId
id
image
isFixed
lat
lng
locationText
name
note
parentSite {
...SiteFragment
}
parentSiteId
postalCode
publicId
qrAttached
restoreBlockers
servicePackage {
...ServicePackageFragment
}
servicePackageId
shouldInheritGeofenceSettings
shouldInheritManagerDetails
shouldInheritServicePackage
siteManagerName
siteManagers {
...SiteManagerFragment
}
siteType {
...SiteTypeFragment
}
siteTypeId
telephone
updated
uuid
}
}
Variables
{"id": [HashedId]}
Response
{
"data": {
"site": [
{
"accountNumber": "xyz789",
"address": "xyz789",
"assetsCount": 123,
"assignedToGroup": Group,
"assignedToGroupId": HashedId,
"containsAssetsToModifyByGroup": false,
"coordinates": Coordinates,
"costCenter": "xyz789",
"country": "abc123",
"created": 1592577642,
"createdByGroup": Group,
"createdByGroupId": HashedId,
"customerNumber": "abc123",
"deleted": 1592577642,
"deletedBy": "xyz789",
"deletedSitesCount": 123,
"email": "xyz789",
"events": [Event],
"externalId": "abc123",
"geofenceNotification": [
RuleNotificationRelation
],
"geofenceSettings": {},
"groupTreeRootId": HashedId,
"id": HashedId,
"image": "xyz789",
"isFixed": false,
"lat": "xyz789",
"lng": "xyz789",
"locationText": "abc123",
"name": "abc123",
"note": "abc123",
"parentSite": Site,
"parentSiteId": HashedId,
"postalCode": "abc123",
"publicId": 987,
"qrAttached": false,
"restoreBlockers": ["PARENT_ASSET_CATEGORY_DELETED"],
"servicePackage": ServicePackage,
"servicePackageId": HashedId,
"shouldInheritGeofenceSettings": false,
"shouldInheritManagerDetails": false,
"shouldInheritServicePackage": true,
"siteManagerName": "abc123",
"siteManagers": [SiteManager],
"siteType": SiteType,
"siteTypeId": HashedId,
"telephone": "abc123",
"updated": 1592577642,
"uuid": "abc123"
}
]
}
}
siteImportColumnSchema
Description
Returns the column schema (with translations, dropdown options, and validation rules) used by the site importer wizard.
Response
Returns [ImporterSchemaColumn!]!
Arguments
| Name | Description |
|---|---|
mode - ImporterMode!
|
Importer mode: CREATE returns the create-only column schema; UPDATE returns the update-only column schema with identity columns. |
Example
Query
query siteImportColumnSchema($mode: ImporterMode!) {
siteImportColumnSchema(mode: $mode) {
allowCustomOptions
alternativeMatches
columnType
dropdownOptions {
...ImporterSchemaColumnDropdownOptionFragment
}
example
isReadOnly
key
label
labelSuffix
originalKey
type
validations {
...ImporterSchemaColumnValidationFragment
}
}
}
Variables
{"mode": "CREATE"}
Response
{
"data": {
"siteImportColumnSchema": [
{
"allowCustomOptions": true,
"alternativeMatches": ["xyz789"],
"columnType": "BOOLEAN",
"dropdownOptions": [
ImporterSchemaColumnDropdownOption
],
"example": "xyz789",
"isReadOnly": false,
"key": "xyz789",
"label": "xyz789",
"labelSuffix": "abc123",
"originalKey": "abc123",
"type": "abc123",
"validations": [ImporterSchemaColumnValidation]
}
]
}
}
siteImportResult
Description
Returns the job, the created and updated counts and, for a file with invalid rows, a page of its invalid rows.
Response
Returns an ImporterImportResult!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Identifier of the importer background job |
pagination - PaginationParams!
|
Pagination params input data |
Example
Query
query siteImportResult(
$id: HashedId!,
$pagination: PaginationParams!
) {
siteImportResult(
id: $id,
pagination: $pagination
) {
createdCount
entryCount
job {
...BackgroundJobFragment
}
rows {
...ImporterValidationRowFragment
}
updatedCount
validationErrorCount
}
}
Variables
{
"id": HashedId,
"pagination": PaginationParams
}
Response
{
"data": {
"siteImportResult": {
"createdCount": 987,
"entryCount": 987,
"job": BackgroundJob,
"rows": [ImporterValidationRow],
"updatedCount": 987,
"validationErrorCount": 123
}
}
}
siteImportValidationResult
Description
Returns the job and a page of rows validated by a site import validation job.
Response
Returns an ImporterValidationResult!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Identifier of the importer background job |
pagination - PaginationParams!
|
Pagination params input data |
Example
Query
query siteImportValidationResult(
$id: HashedId!,
$pagination: PaginationParams!
) {
siteImportValidationResult(
id: $id,
pagination: $pagination
) {
entryCount
job {
...BackgroundJobFragment
}
rows {
...ImporterValidationRowFragment
}
}
}
Variables
{
"id": HashedId,
"pagination": PaginationParams
}
Response
{
"data": {
"siteImportValidationResult": {
"entryCount": 123,
"job": BackgroundJob,
"rows": [ImporterValidationRow]
}
}
}
siteManagerTodos
Description
Retrieve site manager to-do summaries grouped by asset status
Response
Returns [SiteManagerTodos!]!
Example
Query
query siteManagerTodos(
$emails: [String!],
$userIds: [Int!]
) {
siteManagerTodos(
emails: $emails,
userIds: $userIds
) {
checkRequired {
...AssetFragment
}
checkRequiredCount
checkRequiredFilterLink
checkThisMonth {
...AssetFragment
}
checkThisMonthCount
checkThisMonthFilterLink
checkThisWeek {
...AssetFragment
}
checkThisWeekCount
checkThisWeekFilterLink
checkUpcoming {
...AssetFragment
}
checkUpcomingCount
checkUpcomingFilterLink
created
damaged {
...AssetFragment
}
damagedCount
damagedFilterLink
id
inRepair {
...AssetFragment
}
inRepairCount
inRepairFilterLink
leasingEndExceeded {
...AssetFragment
}
leasingEndExceededCount
leasingEndExceededFilterLink
leasingEndThisMonth {
...AssetFragment
}
leasingEndThisMonthCount
leasingEndThisMonthFilterLink
leasingEndThisWeek {
...AssetFragment
}
leasingEndThisWeekCount
leasingEndThisWeekFilterLink
leasingEndUpcoming {
...AssetFragment
}
leasingEndUpcomingCount
leasingEndUpcomingFilterLink
maintenanceRequired {
...AssetFragment
}
maintenanceRequiredCount
maintenanceRequiredFilterLink
maintenanceThisMonth {
...AssetFragment
}
maintenanceThisMonthCount
maintenanceThisMonthFilterLink
maintenanceThisWeek {
...AssetFragment
}
maintenanceThisWeekCount
maintenanceThisWeekFilterLink
maintenanceUpcoming {
...AssetFragment
}
maintenanceUpcomingCount
maintenanceUpcomingFilterLink
noAction {
...AssetFragment
}
noActionCount
noActionFilterLink
noCheckPlanned {
...AssetFragment
}
noCheckPlannedCount
noCheckPlannedFilterLink
noLeasingEnd {
...AssetFragment
}
noLeasingEndCount
noLeasingEndFilterLink
noMaintenancePlanned {
...AssetFragment
}
noMaintenancePlannedCount
noMaintenancePlannedFilterLink
noRentalEnd {
...AssetFragment
}
noRentalEndCount
noRentalEndFilterLink
noServiceContractEnd {
...AssetFragment
}
noServiceContractEndCount
noServiceContractEndFilterLink
noWarrantyEnd {
...AssetFragment
}
noWarrantyEndCount
noWarrantyEndFilterLink
ordered {
...AssetFragment
}
orderedCount
orderedFilterLink
readyToUse {
...AssetFragment
}
readyToUseCount
readyToUseFilterLink
rentalEndExceeded {
...AssetFragment
}
rentalEndExceededCount
rentalEndExceededFilterLink
rentalEndThisMonth {
...AssetFragment
}
rentalEndThisMonthCount
rentalEndThisMonthFilterLink
rentalEndThisWeek {
...AssetFragment
}
rentalEndThisWeekCount
rentalEndThisWeekFilterLink
rentalEndUpcoming {
...AssetFragment
}
rentalEndUpcomingCount
rentalEndUpcomingFilterLink
retired {
...AssetFragment
}
retiredCount
retiredFilterLink
serviceContractEndExceeded {
...AssetFragment
}
serviceContractEndExceededCount
serviceContractEndExceededFilterLink
serviceContractEndThisMonth {
...AssetFragment
}
serviceContractEndThisMonthCount
serviceContractEndThisMonthFilterLink
serviceContractEndThisWeek {
...AssetFragment
}
serviceContractEndThisWeekCount
serviceContractEndThisWeekFilterLink
serviceContractEndUpcoming {
...AssetFragment
}
serviceContractEndUpcomingCount
serviceContractEndUpcomingFilterLink
siteManagerEmail
updated
warehouse {
...AssetFragment
}
warehouseCount
warehouseFilterLink
warrantyEndExceeded {
...AssetFragment
}
warrantyEndExceededCount
warrantyEndExceededFilterLink
warrantyEndThisMonth {
...AssetFragment
}
warrantyEndThisMonthCount
warrantyEndThisMonthFilterLink
warrantyEndThisWeek {
...AssetFragment
}
warrantyEndThisWeekCount
warrantyEndThisWeekFilterLink
warrantyEndUpcoming {
...AssetFragment
}
warrantyEndUpcomingCount
warrantyEndUpcomingFilterLink
}
}
Variables
{"emails": ["xyz789"], "userIds": [123]}
Response
{
"data": {
"siteManagerTodos": [
{
"checkRequired": [Asset],
"checkRequiredCount": 123,
"checkRequiredFilterLink": "abc123",
"checkThisMonth": [Asset],
"checkThisMonthCount": 987,
"checkThisMonthFilterLink": "abc123",
"checkThisWeek": [Asset],
"checkThisWeekCount": 987,
"checkThisWeekFilterLink": "abc123",
"checkUpcoming": [Asset],
"checkUpcomingCount": 987,
"checkUpcomingFilterLink": "abc123",
"created": 1592577642,
"damaged": [Asset],
"damagedCount": 123,
"damagedFilterLink": "xyz789",
"id": "xyz789",
"inRepair": [Asset],
"inRepairCount": 123,
"inRepairFilterLink": "xyz789",
"leasingEndExceeded": [Asset],
"leasingEndExceededCount": 987,
"leasingEndExceededFilterLink": "xyz789",
"leasingEndThisMonth": [Asset],
"leasingEndThisMonthCount": 987,
"leasingEndThisMonthFilterLink": "xyz789",
"leasingEndThisWeek": [Asset],
"leasingEndThisWeekCount": 123,
"leasingEndThisWeekFilterLink": "abc123",
"leasingEndUpcoming": [Asset],
"leasingEndUpcomingCount": 123,
"leasingEndUpcomingFilterLink": "abc123",
"maintenanceRequired": [Asset],
"maintenanceRequiredCount": 987,
"maintenanceRequiredFilterLink": "xyz789",
"maintenanceThisMonth": [Asset],
"maintenanceThisMonthCount": 987,
"maintenanceThisMonthFilterLink": "abc123",
"maintenanceThisWeek": [Asset],
"maintenanceThisWeekCount": 123,
"maintenanceThisWeekFilterLink": "abc123",
"maintenanceUpcoming": [Asset],
"maintenanceUpcomingCount": 987,
"maintenanceUpcomingFilterLink": "abc123",
"noAction": [Asset],
"noActionCount": 123,
"noActionFilterLink": "abc123",
"noCheckPlanned": [Asset],
"noCheckPlannedCount": 987,
"noCheckPlannedFilterLink": "abc123",
"noLeasingEnd": [Asset],
"noLeasingEndCount": 987,
"noLeasingEndFilterLink": "abc123",
"noMaintenancePlanned": [Asset],
"noMaintenancePlannedCount": 123,
"noMaintenancePlannedFilterLink": "abc123",
"noRentalEnd": [Asset],
"noRentalEndCount": 987,
"noRentalEndFilterLink": "abc123",
"noServiceContractEnd": [Asset],
"noServiceContractEndCount": 987,
"noServiceContractEndFilterLink": "xyz789",
"noWarrantyEnd": [Asset],
"noWarrantyEndCount": 123,
"noWarrantyEndFilterLink": "xyz789",
"ordered": [Asset],
"orderedCount": 123,
"orderedFilterLink": "abc123",
"readyToUse": [Asset],
"readyToUseCount": 123,
"readyToUseFilterLink": "abc123",
"rentalEndExceeded": [Asset],
"rentalEndExceededCount": 123,
"rentalEndExceededFilterLink": "xyz789",
"rentalEndThisMonth": [Asset],
"rentalEndThisMonthCount": 987,
"rentalEndThisMonthFilterLink": "abc123",
"rentalEndThisWeek": [Asset],
"rentalEndThisWeekCount": 123,
"rentalEndThisWeekFilterLink": "xyz789",
"rentalEndUpcoming": [Asset],
"rentalEndUpcomingCount": 123,
"rentalEndUpcomingFilterLink": "abc123",
"retired": [Asset],
"retiredCount": 123,
"retiredFilterLink": "abc123",
"serviceContractEndExceeded": [Asset],
"serviceContractEndExceededCount": 987,
"serviceContractEndExceededFilterLink": "xyz789",
"serviceContractEndThisMonth": [Asset],
"serviceContractEndThisMonthCount": 987,
"serviceContractEndThisMonthFilterLink": "xyz789",
"serviceContractEndThisWeek": [Asset],
"serviceContractEndThisWeekCount": 987,
"serviceContractEndThisWeekFilterLink": "abc123",
"serviceContractEndUpcoming": [Asset],
"serviceContractEndUpcomingCount": 123,
"serviceContractEndUpcomingFilterLink": "xyz789",
"siteManagerEmail": "xyz789",
"updated": 1592577642,
"warehouse": [Asset],
"warehouseCount": 123,
"warehouseFilterLink": "abc123",
"warrantyEndExceeded": [Asset],
"warrantyEndExceededCount": 987,
"warrantyEndExceededFilterLink": "abc123",
"warrantyEndThisMonth": [Asset],
"warrantyEndThisMonthCount": 123,
"warrantyEndThisMonthFilterLink": "xyz789",
"warrantyEndThisWeek": [Asset],
"warrantyEndThisWeekCount": 123,
"warrantyEndThisWeekFilterLink": "xyz789",
"warrantyEndUpcoming": [Asset],
"warrantyEndUpcomingCount": 123,
"warrantyEndUpcomingFilterLink": "xyz789"
}
]
}
}
siteToInherit
Description
Retrieve the nearest ancestor site whose settings can be inherited
Response
Returns a Site
Arguments
| Name | Description |
|---|---|
parentSiteId - HashedId!
|
Parent site identifier |
section - SiteSectionEnum!
|
Settings section to inherit (e.g. service package, geofence) |
Example
Query
query siteToInherit(
$parentSiteId: HashedId!,
$section: SiteSectionEnum!
) {
siteToInherit(
parentSiteId: $parentSiteId,
section: $section
) {
accountNumber
address
assetsCount
assignedToGroup {
...GroupFragment
}
assignedToGroupId
containsAssetsToModifyByGroup
coordinates {
...CoordinatesFragment
}
costCenter
country
created
createdByGroup {
...GroupFragment
}
createdByGroupId
customerNumber
deleted
deletedBy
deletedSitesCount
email
events {
...EventFragment
}
externalId
geofenceNotification {
...RuleNotificationRelationFragment
}
geofenceSettings
groupTreeRootId
id
image
isFixed
lat
lng
locationText
name
note
parentSite {
...SiteFragment
}
parentSiteId
postalCode
publicId
qrAttached
restoreBlockers
servicePackage {
...ServicePackageFragment
}
servicePackageId
shouldInheritGeofenceSettings
shouldInheritManagerDetails
shouldInheritServicePackage
siteManagerName
siteManagers {
...SiteManagerFragment
}
siteType {
...SiteTypeFragment
}
siteTypeId
telephone
updated
uuid
}
}
Variables
{"parentSiteId": HashedId, "section": "GEOFENCE_SETTINGS"}
Response
{
"data": {
"siteToInherit": {
"accountNumber": "abc123",
"address": "xyz789",
"assetsCount": 987,
"assignedToGroup": Group,
"assignedToGroupId": HashedId,
"containsAssetsToModifyByGroup": true,
"coordinates": Coordinates,
"costCenter": "xyz789",
"country": "xyz789",
"created": 1592577642,
"createdByGroup": Group,
"createdByGroupId": HashedId,
"customerNumber": "abc123",
"deleted": 1592577642,
"deletedBy": "xyz789",
"deletedSitesCount": 123,
"email": "abc123",
"events": [Event],
"externalId": "xyz789",
"geofenceNotification": [RuleNotificationRelation],
"geofenceSettings": {},
"groupTreeRootId": HashedId,
"id": HashedId,
"image": "xyz789",
"isFixed": true,
"lat": "abc123",
"lng": "abc123",
"locationText": "xyz789",
"name": "abc123",
"note": "abc123",
"parentSite": Site,
"parentSiteId": HashedId,
"postalCode": "abc123",
"publicId": 987,
"qrAttached": true,
"restoreBlockers": ["PARENT_ASSET_CATEGORY_DELETED"],
"servicePackage": ServicePackage,
"servicePackageId": HashedId,
"shouldInheritGeofenceSettings": true,
"shouldInheritManagerDetails": false,
"shouldInheritServicePackage": false,
"siteManagerName": "abc123",
"siteManagers": [SiteManager],
"siteType": SiteType,
"siteTypeId": HashedId,
"telephone": "xyz789",
"updated": 1592577642,
"uuid": "abc123"
}
}
}
siteTypes
Description
Retrieve all available site type classifications
Response
Returns [SiteType!]!
Arguments
| Name | Description |
|---|---|
groupId - HashedId
|
Group identifier |
Example
Query
query siteTypes($groupId: HashedId) {
siteTypes(groupId: $groupId) {
id
key
}
}
Variables
{"groupId": HashedId}
Response
{
"data": {
"siteTypes": [
{
"id": HashedId,
"key": "xyz789"
}
]
}
}
sites
Description
List sites with optional filtering
Response
Returns [Site!]!
Arguments
| Name | Description |
|---|---|
ids - [HashedId!]
|
List of unique identifiers |
uuids - [String!]
|
QR-code UUIDs to look up sites by their physical QR labels |
Example
Query
query sites(
$ids: [HashedId!],
$uuids: [String!]
) {
sites(
ids: $ids,
uuids: $uuids
) {
accountNumber
address
assetsCount
assignedToGroup {
...GroupFragment
}
assignedToGroupId
containsAssetsToModifyByGroup
coordinates {
...CoordinatesFragment
}
costCenter
country
created
createdByGroup {
...GroupFragment
}
createdByGroupId
customerNumber
deleted
deletedBy
deletedSitesCount
email
events {
...EventFragment
}
externalId
geofenceNotification {
...RuleNotificationRelationFragment
}
geofenceSettings
groupTreeRootId
id
image
isFixed
lat
lng
locationText
name
note
parentSite {
...SiteFragment
}
parentSiteId
postalCode
publicId
qrAttached
restoreBlockers
servicePackage {
...ServicePackageFragment
}
servicePackageId
shouldInheritGeofenceSettings
shouldInheritManagerDetails
shouldInheritServicePackage
siteManagerName
siteManagers {
...SiteManagerFragment
}
siteType {
...SiteTypeFragment
}
siteTypeId
telephone
updated
uuid
}
}
Variables
{
"ids": [HashedId],
"uuids": ["xyz789"]
}
Response
{
"data": {
"sites": [
{
"accountNumber": "abc123",
"address": "abc123",
"assetsCount": 123,
"assignedToGroup": Group,
"assignedToGroupId": HashedId,
"containsAssetsToModifyByGroup": true,
"coordinates": Coordinates,
"costCenter": "xyz789",
"country": "xyz789",
"created": 1592577642,
"createdByGroup": Group,
"createdByGroupId": HashedId,
"customerNumber": "xyz789",
"deleted": 1592577642,
"deletedBy": "abc123",
"deletedSitesCount": 987,
"email": "xyz789",
"events": [Event],
"externalId": "abc123",
"geofenceNotification": [
RuleNotificationRelation
],
"geofenceSettings": {},
"groupTreeRootId": HashedId,
"id": HashedId,
"image": "xyz789",
"isFixed": true,
"lat": "abc123",
"lng": "abc123",
"locationText": "abc123",
"name": "xyz789",
"note": "abc123",
"parentSite": Site,
"parentSiteId": HashedId,
"postalCode": "xyz789",
"publicId": 123,
"qrAttached": false,
"restoreBlockers": ["PARENT_ASSET_CATEGORY_DELETED"],
"servicePackage": ServicePackage,
"servicePackageId": HashedId,
"shouldInheritGeofenceSettings": true,
"shouldInheritManagerDetails": false,
"shouldInheritServicePackage": true,
"siteManagerName": "abc123",
"siteManagers": [SiteManager],
"siteType": SiteType,
"siteTypeId": HashedId,
"telephone": "abc123",
"updated": 1592577642,
"uuid": "xyz789"
}
]
}
}
sitesPaginated
Description
Retrieve a paginated list of sites with filtering, sorting, and cursor-based pagination
Response
Returns a SitesPaginatedResult
Arguments
| Name | Description |
|---|---|
filters - [FilterParamsInput]
|
Filter criteria |
pagination - PaginationParams!
|
Pagination |
search - String
|
Text search query for filtering results |
Example
Query
query sitesPaginated(
$filters: [FilterParamsInput],
$pagination: PaginationParams!,
$search: String
) {
sitesPaginated(
filters: $filters,
pagination: $pagination,
search: $search
) {
meta {
...PaginationMetaFragment
}
rows {
...SiteFragment
}
}
}
Variables
{
"filters": [FilterParamsInput],
"pagination": PaginationParams,
"search": "abc123"
}
Response
{
"data": {
"sitesPaginated": {
"meta": PaginationMeta,
"rows": [Site]
}
}
}
subscriptionPlan
Description
Retrieve subscription plans, optionally filtered by manufacturer
Response
Returns [SubscriptionPlan]
Arguments
| Name | Description |
|---|---|
manufacturerId - HashedId
|
Filter subscription plans by manufacturer |
Example
Query
query subscriptionPlan($manufacturerId: HashedId) {
subscriptionPlan(manufacturerId: $manufacturerId) {
key
name
}
}
Variables
{"manufacturerId": HashedId}
Response
{
"data": {
"subscriptionPlan": [
{
"key": "abc123",
"name": "xyz789"
}
]
}
}
teamById
Description
List by id with optional filtering
Example
Query
query teamById($id: HashedId!) {
teamById(id: $id) {
assignedToActiveTicketIds
created
createdByGroup {
...GroupFragment
}
createdByGroupId
createdByUser {
...UserFragment
}
createdByUserId
deleted
group {
...GroupFragment
}
groupId
id
members {
...TeamMemberFragment
}
name {
...TranslationFragment
}
nameId
publicId
servicePackages {
... on RestrictedServicePackage {
...RestrictedServicePackageFragment
}
... on ServicePackage {
...ServicePackageFragment
}
}
updated
}
}
Variables
{"id": HashedId}
Response
{
"data": {
"teamById": {
"assignedToActiveTicketIds": [987],
"created": 1592577642,
"createdByGroup": Group,
"createdByGroupId": HashedId,
"createdByUser": User,
"createdByUserId": HashedId,
"deleted": 1592577642,
"group": Group,
"groupId": HashedId,
"id": HashedId,
"members": [TeamMember],
"name": Translation,
"nameId": HashedId,
"publicId": 123,
"servicePackages": [RestrictedServicePackage],
"updated": 1592577642
}
}
}
teams
Description
List all with optional filtering
Response
Returns [Team!]
Arguments
| Name | Description |
|---|---|
filters - TeamFilterInput
|
Filter criteria |
Example
Query
query teams($filters: TeamFilterInput) {
teams(filters: $filters) {
assignedToActiveTicketIds
created
createdByGroup {
...GroupFragment
}
createdByGroupId
createdByUser {
...UserFragment
}
createdByUserId
deleted
group {
...GroupFragment
}
groupId
id
members {
...TeamMemberFragment
}
name {
...TranslationFragment
}
nameId
publicId
servicePackages {
... on RestrictedServicePackage {
...RestrictedServicePackageFragment
}
... on ServicePackage {
...ServicePackageFragment
}
}
updated
}
}
Variables
{"filters": TeamFilterInput}
Response
{
"data": {
"teams": [
{
"assignedToActiveTicketIds": [987],
"created": 1592577642,
"createdByGroup": Group,
"createdByGroupId": HashedId,
"createdByUser": User,
"createdByUserId": HashedId,
"deleted": 1592577642,
"group": Group,
"groupId": HashedId,
"id": HashedId,
"members": [TeamMember],
"name": Translation,
"nameId": HashedId,
"publicId": 987,
"servicePackages": [RestrictedServicePackage],
"updated": 1592577642
}
]
}
}
teamsPaginated
Description
Retrieve a paginated list of teams with filtering
Response
Returns a TeamPaginatedResult!
Arguments
| Name | Description |
|---|---|
filters - [FilterParamsInput]
|
Filter criteria |
pagination - PaginationParams!
|
Pagination |
search - String
|
Text search query for filtering results |
Example
Query
query teamsPaginated(
$filters: [FilterParamsInput],
$pagination: PaginationParams!,
$search: String
) {
teamsPaginated(
filters: $filters,
pagination: $pagination,
search: $search
) {
meta {
...PaginationMetaFragment
}
rows {
...TeamFragment
}
}
}
Variables
{
"filters": [FilterParamsInput],
"pagination": PaginationParams,
"search": "abc123"
}
Response
{
"data": {
"teamsPaginated": {
"meta": PaginationMeta,
"rows": [Team]
}
}
}
terms
Description
List by filters with optional filtering
Response
Returns [Terms!]!
Arguments
| Name | Description |
|---|---|
filters - TermsQueryFiltersInput
|
Filter criteria |
Example
Query
query terms($filters: TermsQueryFiltersInput) {
terms(filters: $filters) {
content {
...TranslationFragment
}
contentId
created
id
isActive
title {
...TranslationFragment
}
titleId
updated
version
versions {
...TermsHasVersionFragment
}
}
}
Variables
{"filters": TermsQueryFiltersInput}
Response
{
"data": {
"terms": [
{
"content": Translation,
"contentId": HashedId,
"created": 1592577642,
"id": HashedId,
"isActive": true,
"title": Translation,
"titleId": HashedId,
"updated": 1592577642,
"version": 987,
"versions": [TermsHasVersion]
}
]
}
}
ticket
Description
Fetch tickets by IDs, or list at most 1000 available tickets, newest first
Response
Returns [Ticket!]!
Arguments
| Name | Description |
|---|---|
all - Boolean
|
Whether to include tickets from all groups. Default = false |
id - [HashedId!]
|
List of unique identifiers |
Example
Query
query ticket(
$all: Boolean,
$id: [HashedId!]
) {
ticket(
all: $all,
id: $id
) {
activityEvents {
... on TicketApprovalUpdate {
...TicketApprovalUpdateFragment
}
... on TicketAssetAvailabilityUpdate {
...TicketAssetAvailabilityUpdateFragment
}
... on TicketAssetCheckComplete {
...TicketAssetCheckCompleteFragment
}
... on TicketAssetSiteUpdate {
...TicketAssetSiteUpdateFragment
}
... on TicketAutomationEmailSent {
...TicketAutomationEmailSentFragment
}
... on TicketHandlerUpdate {
...TicketHandlerUpdateFragment
}
... on TicketTagsUpdate {
...TicketTagsUpdateFragment
}
... on TicketUrgencyUpdate {
...TicketUrgencyUpdateFragment
}
}
approvers {
...TicketApproverFragment
}
assetPackages {
...AssetPackageFragment
}
assignee {
...ProcessHandlerFragment
}
associatedAssetCategories {
...AssetCategoryFragment
}
associatedAssetTypes {
...AssetTypeFragment
}
associatedAssets {
...AssetFragment
}
associatedSites {
...SiteFragment
}
automationDetails {
...TicketAutomationDetailsFragment
}
batteryCosts
canEdit
canEditTags
certificationCosts
checkEvent {
...EventFragment
}
checkEventId
comments {
...TicketCommentFragment
}
consumablesCosts
content
costLines {
...CostLineFragment
}
costs {
...CostFragment
}
created
createdByGroup {
...GroupFragment
}
createdByGroupId
createdByUser {
...UserFragment
}
createdByUserId
createdFrom
creatingSyncedOn
currentState {
...TicketCurrentStateFragment
}
customFieldColumns {
...CustomFieldFragment
}
deleted
documents {
...DocumentFragment
}
externalEmailHandlers {
...TicketHandlerExternalEmailFragment
}
fuelCosts
groupHandlers {
...TicketHandlerGroupFragment
}
groupTicketHandlerHandlers {
...TicketHandlerGroupTicketHandlerFragment
}
history {
...TicketHistoryFragment
}
id
insuranceTaxesCosts
isStatusUpdatedAutomatically
isTicketApproversEnabled
laborCosts
lastActivityAt
lastStatusChange
logisticsCosts
notifications {
...NotificationFilterFragment
}
otherCosts
partsUsed {
...TicketPartUsageFragment
}
pdfCertificateLink {
...DocumentFragment
}
procedureInstance {
...ProcedureInstanceFragment
}
procedureInstanceId
publicId
repairCosts
reporterName
reservation {
...ReservationFragment
}
reservationDisplayId
reservationId
responsibles {
...ProcessHandlerFragment
}
ruleEntryEvent {
...RuleEntryEventFragment
}
service {
...ServiceFragment
}
serviceId
serviceResponseId
siteManagerHandler {
...TicketHandlerSiteManagerFragment
}
sparePartsCosts
status
statusUpdatedAt
statusUpdatedByUser {
...UserFragment
}
statusUpdatedByUserId
tags {
...TagFragment
}
teamHandlers {
...TicketHandlerTeamFragment
}
ticketComments {
...TicketCommentFragment
}
ticketContent {
...TicketContentFieldFragment
}
ticketId
ticketTimeline {
...TicketTimelineFragment
}
title {
...TranslationFragment
}
titleId
totalCosts
totalPartsCost
updated
urgency
userHandlers {
...TicketHandlerUserFragment
}
uuid
workOrders {
...WorkOrderV2Fragment
}
}
}
Variables
{"all": false, "id": [HashedId]}
Response
{
"data": {
"ticket": [
{
"activityEvents": [TicketApprovalUpdate],
"approvers": [TicketApprover],
"assetPackages": [AssetPackage],
"assignee": ProcessHandler,
"associatedAssetCategories": [AssetCategory],
"associatedAssetTypes": [AssetType],
"associatedAssets": [Asset],
"associatedSites": [Site],
"automationDetails": TicketAutomationDetails,
"batteryCosts": "abc123",
"canEdit": true,
"canEditTags": true,
"certificationCosts": "abc123",
"checkEvent": Event,
"checkEventId": HashedId,
"comments": [TicketComment],
"consumablesCosts": "xyz789",
"content": {},
"costLines": [CostLine],
"costs": [Cost],
"created": 1592577642,
"createdByGroup": Group,
"createdByGroupId": HashedId,
"createdByUser": User,
"createdByUserId": HashedId,
"createdFrom": "ASSET_SERVICE",
"creatingSyncedOn": 1592577642,
"currentState": TicketCurrentState,
"customFieldColumns": [CustomField],
"deleted": 1592577642,
"documents": [Document],
"externalEmailHandlers": [
TicketHandlerExternalEmail
],
"fuelCosts": "xyz789",
"groupHandlers": [TicketHandlerGroup],
"groupTicketHandlerHandlers": [
TicketHandlerGroupTicketHandler
],
"history": [TicketHistory],
"id": HashedId,
"insuranceTaxesCosts": "abc123",
"isStatusUpdatedAutomatically": true,
"isTicketApproversEnabled": true,
"laborCosts": "abc123",
"lastActivityAt": 1592577642,
"lastStatusChange": 1592577642,
"logisticsCosts": "abc123",
"notifications": NotificationFilter,
"otherCosts": "abc123",
"partsUsed": [TicketPartUsage],
"pdfCertificateLink": Document,
"procedureInstance": ProcedureInstance,
"procedureInstanceId": HashedId,
"publicId": 123,
"repairCosts": "xyz789",
"reporterName": "abc123",
"reservation": Reservation,
"reservationDisplayId": 987,
"reservationId": HashedId,
"responsibles": [ProcessHandler],
"ruleEntryEvent": RuleEntryEvent,
"service": Service,
"serviceId": HashedId,
"serviceResponseId": HashedId,
"siteManagerHandler": TicketHandlerSiteManager,
"sparePartsCosts": "xyz789",
"status": "approvalNeeded",
"statusUpdatedAt": 1592577642,
"statusUpdatedByUser": User,
"statusUpdatedByUserId": HashedId,
"tags": [Tag],
"teamHandlers": [TicketHandlerTeam],
"ticketComments": [TicketComment],
"ticketContent": [TicketContentField],
"ticketId": 987,
"ticketTimeline": TicketTimeline,
"title": Translation,
"titleId": HashedId,
"totalCosts": "abc123",
"totalPartsCost": 987.65,
"updated": 1592577642,
"urgency": "CRITICAL",
"userHandlers": [TicketHandlerUser],
"uuid": "xyz789",
"workOrders": [WorkOrderV2]
}
]
}
}
ticketActivityLog
Description
Retrieve handler-related activity log entries for a ticket
Response
Returns [TicketHandlerUpdate!]!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Unique identifier of the entity |
Example
Query
query ticketActivityLog($id: HashedId!) {
ticketActivityLog(id: $id) {
action
author
created
id
isAutomated
role
target
targetHandler
type
updated
}
}
Variables
{"id": HashedId}
Response
{
"data": {
"ticketActivityLog": [
{
"action": "ADD",
"author": "xyz789",
"created": 1592577642,
"id": HashedId,
"isAutomated": true,
"role": "ASSIGNEE",
"target": "OTHER",
"targetHandler": "xyz789",
"type": "APPROVAL_UPDATE",
"updated": 1592577642
}
]
}
}
ticketActivityLogV2
Description
Retrieve all activity log entries for a ticket including state and field changes
Response
Returns [TicketActivityLogEntry!]!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Unique identifier of the entity |
Example
Query
query ticketActivityLogV2($id: HashedId!) {
ticketActivityLogV2(id: $id) {
... on TicketApprovalUpdate {
...TicketApprovalUpdateFragment
}
... on TicketAssetAvailabilityUpdate {
...TicketAssetAvailabilityUpdateFragment
}
... on TicketAssetCheckComplete {
...TicketAssetCheckCompleteFragment
}
... on TicketAssetSiteUpdate {
...TicketAssetSiteUpdateFragment
}
... on TicketAutomationEmailSent {
...TicketAutomationEmailSentFragment
}
... on TicketHandlerUpdate {
...TicketHandlerUpdateFragment
}
... on TicketTagsUpdate {
...TicketTagsUpdateFragment
}
... on TicketUrgencyUpdate {
...TicketUrgencyUpdateFragment
}
}
}
Variables
{"id": HashedId}
Response
{"data": {"ticketActivityLogV2": [TicketApprovalUpdate]}}
ticketApproverEligibleUserIds
Response
Returns [HashedId!]!
Arguments
| Name | Description |
|---|---|
ticketId - HashedId!
|
Ticket awaiting approval |
userIds - [HashedId!]!
|
Example
Query
query ticketApproverEligibleUserIds(
$ticketId: HashedId!,
$userIds: [HashedId!]!
) {
ticketApproverEligibleUserIds(
ticketId: $ticketId,
userIds: $userIds
)
}
Variables
{
"ticketId": HashedId,
"userIds": [HashedId]
}
Response
{"data": {"ticketApproverEligibleUserIds": [HashedId]}}
ticketById
Description
Fetch a single ticket by its ID
Response
Returns a Ticket!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Unique identifier of the entity |
Example
Query
query ticketById($id: HashedId!) {
ticketById(id: $id) {
activityEvents {
... on TicketApprovalUpdate {
...TicketApprovalUpdateFragment
}
... on TicketAssetAvailabilityUpdate {
...TicketAssetAvailabilityUpdateFragment
}
... on TicketAssetCheckComplete {
...TicketAssetCheckCompleteFragment
}
... on TicketAssetSiteUpdate {
...TicketAssetSiteUpdateFragment
}
... on TicketAutomationEmailSent {
...TicketAutomationEmailSentFragment
}
... on TicketHandlerUpdate {
...TicketHandlerUpdateFragment
}
... on TicketTagsUpdate {
...TicketTagsUpdateFragment
}
... on TicketUrgencyUpdate {
...TicketUrgencyUpdateFragment
}
}
approvers {
...TicketApproverFragment
}
assetPackages {
...AssetPackageFragment
}
assignee {
...ProcessHandlerFragment
}
associatedAssetCategories {
...AssetCategoryFragment
}
associatedAssetTypes {
...AssetTypeFragment
}
associatedAssets {
...AssetFragment
}
associatedSites {
...SiteFragment
}
automationDetails {
...TicketAutomationDetailsFragment
}
batteryCosts
canEdit
canEditTags
certificationCosts
checkEvent {
...EventFragment
}
checkEventId
comments {
...TicketCommentFragment
}
consumablesCosts
content
costLines {
...CostLineFragment
}
costs {
...CostFragment
}
created
createdByGroup {
...GroupFragment
}
createdByGroupId
createdByUser {
...UserFragment
}
createdByUserId
createdFrom
creatingSyncedOn
currentState {
...TicketCurrentStateFragment
}
customFieldColumns {
...CustomFieldFragment
}
deleted
documents {
...DocumentFragment
}
externalEmailHandlers {
...TicketHandlerExternalEmailFragment
}
fuelCosts
groupHandlers {
...TicketHandlerGroupFragment
}
groupTicketHandlerHandlers {
...TicketHandlerGroupTicketHandlerFragment
}
history {
...TicketHistoryFragment
}
id
insuranceTaxesCosts
isStatusUpdatedAutomatically
isTicketApproversEnabled
laborCosts
lastActivityAt
lastStatusChange
logisticsCosts
notifications {
...NotificationFilterFragment
}
otherCosts
partsUsed {
...TicketPartUsageFragment
}
pdfCertificateLink {
...DocumentFragment
}
procedureInstance {
...ProcedureInstanceFragment
}
procedureInstanceId
publicId
repairCosts
reporterName
reservation {
...ReservationFragment
}
reservationDisplayId
reservationId
responsibles {
...ProcessHandlerFragment
}
ruleEntryEvent {
...RuleEntryEventFragment
}
service {
...ServiceFragment
}
serviceId
serviceResponseId
siteManagerHandler {
...TicketHandlerSiteManagerFragment
}
sparePartsCosts
status
statusUpdatedAt
statusUpdatedByUser {
...UserFragment
}
statusUpdatedByUserId
tags {
...TagFragment
}
teamHandlers {
...TicketHandlerTeamFragment
}
ticketComments {
...TicketCommentFragment
}
ticketContent {
...TicketContentFieldFragment
}
ticketId
ticketTimeline {
...TicketTimelineFragment
}
title {
...TranslationFragment
}
titleId
totalCosts
totalPartsCost
updated
urgency
userHandlers {
...TicketHandlerUserFragment
}
uuid
workOrders {
...WorkOrderV2Fragment
}
}
}
Variables
{"id": HashedId}
Response
{
"data": {
"ticketById": {
"activityEvents": [TicketApprovalUpdate],
"approvers": [TicketApprover],
"assetPackages": [AssetPackage],
"assignee": ProcessHandler,
"associatedAssetCategories": [AssetCategory],
"associatedAssetTypes": [AssetType],
"associatedAssets": [Asset],
"associatedSites": [Site],
"automationDetails": TicketAutomationDetails,
"batteryCosts": "abc123",
"canEdit": true,
"canEditTags": false,
"certificationCosts": "xyz789",
"checkEvent": Event,
"checkEventId": HashedId,
"comments": [TicketComment],
"consumablesCosts": "xyz789",
"content": {},
"costLines": [CostLine],
"costs": [Cost],
"created": 1592577642,
"createdByGroup": Group,
"createdByGroupId": HashedId,
"createdByUser": User,
"createdByUserId": HashedId,
"createdFrom": "ASSET_SERVICE",
"creatingSyncedOn": 1592577642,
"currentState": TicketCurrentState,
"customFieldColumns": [CustomField],
"deleted": 1592577642,
"documents": [Document],
"externalEmailHandlers": [
TicketHandlerExternalEmail
],
"fuelCosts": "xyz789",
"groupHandlers": [TicketHandlerGroup],
"groupTicketHandlerHandlers": [
TicketHandlerGroupTicketHandler
],
"history": [TicketHistory],
"id": HashedId,
"insuranceTaxesCosts": "xyz789",
"isStatusUpdatedAutomatically": false,
"isTicketApproversEnabled": false,
"laborCosts": "abc123",
"lastActivityAt": 1592577642,
"lastStatusChange": 1592577642,
"logisticsCosts": "abc123",
"notifications": NotificationFilter,
"otherCosts": "xyz789",
"partsUsed": [TicketPartUsage],
"pdfCertificateLink": Document,
"procedureInstance": ProcedureInstance,
"procedureInstanceId": HashedId,
"publicId": 123,
"repairCosts": "xyz789",
"reporterName": "xyz789",
"reservation": Reservation,
"reservationDisplayId": 987,
"reservationId": HashedId,
"responsibles": [ProcessHandler],
"ruleEntryEvent": RuleEntryEvent,
"service": Service,
"serviceId": HashedId,
"serviceResponseId": HashedId,
"siteManagerHandler": TicketHandlerSiteManager,
"sparePartsCosts": "abc123",
"status": "approvalNeeded",
"statusUpdatedAt": 1592577642,
"statusUpdatedByUser": User,
"statusUpdatedByUserId": HashedId,
"tags": [Tag],
"teamHandlers": [TicketHandlerTeam],
"ticketComments": [TicketComment],
"ticketContent": [TicketContentField],
"ticketId": 123,
"ticketTimeline": TicketTimeline,
"title": Translation,
"titleId": HashedId,
"totalCosts": "abc123",
"totalPartsCost": 987.65,
"updated": 1592577642,
"urgency": "CRITICAL",
"userHandlers": [TicketHandlerUser],
"uuid": "xyz789",
"workOrders": [WorkOrderV2]
}
}
}
ticketComment
Description
List comments for a ticket using legacy format
Response
Returns [TicketComment!]
Arguments
| Name | Description |
|---|---|
filters - TicketCommentFiltersInput
|
Filters to narrow down returned ticket comments |
ticketId - HashedId!
|
Ticket to retrieve comments for |
Example
Query
query ticketComment(
$filters: TicketCommentFiltersInput,
$ticketId: HashedId!
) {
ticketComment(
filters: $filters,
ticketId: $ticketId
) {
attachments {
...DocumentFragment
}
authorEmail
connectedEvent {
...EventFragment
}
connectedEventId
content {
...TicketCommentContentFragment
}
costs {
...CostLineFragment
}
created
createdByUser {
...TicketUserFragment
}
createdByUserId
deleted
history {
...TicketCommentContentFragment
}
id
internal
isAutomated
itemsEvent {
...TicketItemsChangeFragment
}
stateEvent {
...TicketStateFragment
}
ticketHistory {
...TicketHistoryFragment
}
ticketId
ticketStatus
updated
}
}
Variables
{
"filters": TicketCommentFiltersInput,
"ticketId": HashedId
}
Response
{
"data": {
"ticketComment": [
{
"attachments": [Document],
"authorEmail": "xyz789",
"connectedEvent": Event,
"connectedEventId": HashedId,
"content": TicketCommentContent,
"costs": [CostLine],
"created": 1592577642,
"createdByUser": TicketUser,
"createdByUserId": HashedId,
"deleted": 1592577642,
"history": [TicketCommentContent],
"id": HashedId,
"internal": false,
"isAutomated": false,
"itemsEvent": TicketItemsChange,
"stateEvent": TicketState,
"ticketHistory": TicketHistory,
"ticketId": HashedId,
"ticketStatus": "approvalNeeded",
"updated": 1592577642
}
]
}
}
ticketState
Description
Retrieve the possible flow response states to the group of the requesting user
Response
Returns [TicketState!]!
Example
Query
query ticketState {
ticketState {
created
id
key
order
title {
...TranslationFragment
}
titleId
updated
}
}
Response
{
"data": {
"ticketState": [
{
"created": 1592577642,
"id": HashedId,
"key": "approvalNeeded",
"order": 987,
"title": Translation,
"titleId": HashedId,
"updated": 1592577642
}
]
}
}
ticketsPaginated
Description
List tickets with filtering and pagination
Response
Returns a TicketPaginatedResult
Arguments
| Name | Description |
|---|---|
filters - [FilterParamsInput]
|
Filter criteria |
pagination - PaginationParams!
|
Pagination |
search - String
|
Text search query for filtering results |
Example
Query
query ticketsPaginated(
$filters: [FilterParamsInput],
$pagination: PaginationParams!,
$search: String
) {
ticketsPaginated(
filters: $filters,
pagination: $pagination,
search: $search
) {
meta {
...PaginationMetaFragment
}
rows {
...TicketFragment
}
}
}
Variables
{
"filters": [FilterParamsInput],
"pagination": PaginationParams,
"search": "xyz789"
}
Response
{
"data": {
"ticketsPaginated": {
"meta": PaginationMeta,
"rows": [Ticket]
}
}
}
totalPendingRequests
Description
Count of all unprocessed asset and registration requests
Response
Returns an Int!
Example
Query
query totalPendingRequests {
totalPendingRequests
}
Response
{"data": {"totalPendingRequests": 987}}
translate
Description
Retrieve a translate
Response
Returns a TranslateResultDto!
Arguments
| Name | Description |
|---|---|
sourceContext - String
|
Source context |
sourceLanguage - String!
|
Source language |
sourceText - String!
|
Source text |
targetLanguages - [String!]!
|
Target languages |
Example
Query
query translate(
$sourceContext: String,
$sourceLanguage: String!,
$sourceText: String!,
$targetLanguages: [String!]!
) {
translate(
sourceContext: $sourceContext,
sourceLanguage: $sourceLanguage,
sourceText: $sourceText,
targetLanguages: $targetLanguages
) {
sourceLanguage
sourceText
translatedText
}
}
Variables
{
"sourceContext": "abc123",
"sourceLanguage": "abc123",
"sourceText": "abc123",
"targetLanguages": ["xyz789"]
}
Response
{
"data": {
"translate": {
"sourceLanguage": "xyz789",
"sourceText": "abc123",
"translatedText": {}
}
}
}
translation
Description
Retrieve a translation
Response
Returns [Translation!]!
Arguments
| Name | Description |
|---|---|
id - [HashedId!]!
|
List of unique identifiers |
Example
Query
query translation($id: [HashedId!]!) {
translation(id: $id) {
created
de_de
en_us
id
languages {
...TranslationItemFragment
}
translations
updated
}
}
Variables
{"id": [HashedId]}
Response
{
"data": {
"translation": [
{
"created": 1592577642,
"de_de": "xyz789",
"en_us": "abc123",
"id": HashedId,
"languages": [TranslationItem],
"translations": "abc123",
"updated": 1592577642
}
]
}
}
trip
Description
Query trip
Example
Query
query trip($tripId: String!) {
trip(tripId: $tripId) {
active
asset {
...AssetFragment
}
assetId
avgSpeed
avgSpeedRaw
created
datapoints {
...DatapointFragment
}
distance
distanceRaw
distanceUnit
driverId
driverName
duration
endLocation {
...AddressFragment
}
endTime
eventPoints {
...EventPointFragment
}
fuelConsumed
fuelConsumedPercentage
fuelConsumedRaw
fuelUnit
group {
...GroupFragment
}
id
imei
isPrivate
linearDistance
linearDistanceRaw
maxSpeed
maxSpeedRaw
nextIsPrivateGap
points {
...RoutePointFragment
}
pointsInRange {
...RoutePointFragment
}
responsiblePerson
route
startLocation {
...AddressFragment
}
startTime
stopDuration
timestamp
tripId
updated
}
}
Variables
{"tripId": "abc123"}
Response
{
"data": {
"trip": {
"active": true,
"asset": Asset,
"assetId": HashedId,
"avgSpeed": 123.45,
"avgSpeedRaw": 123.45,
"created": 1592577642,
"datapoints": [Datapoint],
"distance": 123.45,
"distanceRaw": 987.65,
"distanceUnit": "abc123",
"driverId": "abc123",
"driverName": "abc123",
"duration": 987.65,
"endLocation": Address,
"endTime": 123.45,
"eventPoints": [EventPoint],
"fuelConsumed": 123.45,
"fuelConsumedPercentage": 987,
"fuelConsumedRaw": 123,
"fuelUnit": "xyz789",
"group": Group,
"id": "abc123",
"imei": "xyz789",
"isPrivate": true,
"linearDistance": 123.45,
"linearDistanceRaw": 123.45,
"maxSpeed": 987.65,
"maxSpeedRaw": 123.45,
"nextIsPrivateGap": false,
"points": [RoutePoint],
"pointsInRange": [RoutePoint],
"responsiblePerson": "abc123",
"route": "abc123",
"startLocation": Address,
"startTime": 123.45,
"stopDuration": 123.45,
"timestamp": 123.45,
"tripId": "4",
"updated": 1592577642
}
}
}
tripLatestPaginated
Description
Retrieve trip latest paginated legacy
Response
Returns a TripLatestPaginatedResult!
Arguments
| Name | Description |
|---|---|
filters - [FilterParamsInput]
|
Filter criteria |
pagination - PaginationParams!
|
Pagination |
search - String
|
Text search query for filtering results |
Example
Query
query tripLatestPaginated(
$filters: [FilterParamsInput],
$pagination: PaginationParams!,
$search: String
) {
tripLatestPaginated(
filters: $filters,
pagination: $pagination,
search: $search
) {
meta {
...PaginationMetaFragment
}
rows {
...TripLatestFragment
}
}
}
Variables
{
"filters": [FilterParamsInput],
"pagination": PaginationParams,
"search": "xyz789"
}
Response
{
"data": {
"tripLatestPaginated": {
"meta": PaginationMeta,
"rows": [TripLatest]
}
}
}
tripsDateRange
Description
Query trip date range
Response
Returns a TripDateRange!
Arguments
| Name | Description |
|---|---|
locationFilter - TripLocationFilter
|
Location filter |
Example
Query
query tripsDateRange($locationFilter: TripLocationFilter) {
tripsDateRange(locationFilter: $locationFilter) {
from
to
}
}
Variables
{"locationFilter": TripLocationFilter}
Response
{"data": {"tripsDateRange": {"from": 1592577642, "to": 1592577642}}}
tripsListPaginated
Description
List trip paginated results with pagination
Response
Returns a TripPaginatedResult!
Arguments
| Name | Description |
|---|---|
activeOnly - Boolean
|
Active only |
dateFilter - TripDateFilter
|
Date filter |
filters - [FilterParamsInput]
|
Filter criteria |
locationFilter - TripLocationFilter
|
Location filter |
pagination - PaginationParams!
|
Pagination |
search - String
|
Text search query for filtering results |
Example
Query
query tripsListPaginated(
$activeOnly: Boolean,
$dateFilter: TripDateFilter,
$filters: [FilterParamsInput],
$locationFilter: TripLocationFilter,
$pagination: PaginationParams!,
$search: String
) {
tripsListPaginated(
activeOnly: $activeOnly,
dateFilter: $dateFilter,
filters: $filters,
locationFilter: $locationFilter,
pagination: $pagination,
search: $search
) {
meta {
...PaginationMetaFragment
}
rows {
...TripFragment
}
}
}
Variables
{
"activeOnly": true,
"dateFilter": TripDateFilter,
"filters": [FilterParamsInput],
"locationFilter": TripLocationFilter,
"pagination": PaginationParams,
"search": "xyz789"
}
Response
{
"data": {
"tripsListPaginated": {
"meta": PaginationMeta,
"rows": [Trip]
}
}
}
tripsMapPaginated
Description
List trip paginated results with pagination
Response
Returns a TripPaginatedResult!
Arguments
| Name | Description |
|---|---|
activeOnly - Boolean
|
Active only |
dateFilter - TripDateFilter
|
Date filter |
filters - [FilterParamsInput]
|
Filter criteria |
locationFilter - TripLocationFilter
|
Location filter |
pagination - PaginationParams!
|
Pagination |
search - String
|
Text search query for filtering results |
Example
Query
query tripsMapPaginated(
$activeOnly: Boolean,
$dateFilter: TripDateFilter,
$filters: [FilterParamsInput],
$locationFilter: TripLocationFilter,
$pagination: PaginationParams!,
$search: String
) {
tripsMapPaginated(
activeOnly: $activeOnly,
dateFilter: $dateFilter,
filters: $filters,
locationFilter: $locationFilter,
pagination: $pagination,
search: $search
) {
meta {
...PaginationMetaFragment
}
rows {
...TripFragment
}
}
}
Variables
{
"activeOnly": true,
"dateFilter": TripDateFilter,
"filters": [FilterParamsInput],
"locationFilter": TripLocationFilter,
"pagination": PaginationParams,
"search": "xyz789"
}
Response
{
"data": {
"tripsMapPaginated": {
"meta": PaginationMeta,
"rows": [Trip]
}
}
}
upcoming
Description
What is coming up in a window of days: checks due by date or projected by usage, scheduled work orders and ending warranties, leases, rentals and site assignments, with the workload per day and site and the patterns worth planning for
Response
Returns an Upcoming!
Arguments
| Name | Description |
|---|---|
assetIds - [HashedId!]
|
Assets to look ahead for, every asset in scope by default |
from - Date!
|
First day of the window (yyyy-MM-dd); a day before today counts from today |
kinds - [UpcomingItemKind!]
|
Kinds to include, all by default |
limit - Int
|
Items to return, 30 by default, at most 50 |
scope - AttentionScope
|
MINE (default): the sites the user manages and the sites of their tickets and work orders; ALL: every accessible site; SITES: the given sites |
siteIds - [HashedId!]
|
Sites of the SITES scope |
to - Date!
|
Last day of the window (yyyy-MM-dd); the window spans at most 90 days |
Example
Query
query upcoming(
$assetIds: [HashedId!],
$from: Date!,
$kinds: [UpcomingItemKind!],
$limit: Int,
$scope: AttentionScope,
$siteIds: [HashedId!],
$to: Date!
) {
upcoming(
assetIds: $assetIds,
from: $from,
kinds: $kinds,
limit: $limit,
scope: $scope,
siteIds: $siteIds,
to: $to
) {
days {
...UpcomingDayFragment
}
hints {
...UpcomingHintFragment
}
items {
...UpcomingItemFragment
}
kindCounts {
...UpcomingKindCountFragment
}
scope
}
}
Variables
{
"assetIds": [HashedId],
"from": "2007-12-03",
"kinds": ["CHECK_DUE"],
"limit": 123,
"scope": "ALL",
"siteIds": [HashedId],
"to": "2007-12-03"
}
Response
{
"data": {
"upcoming": {
"days": [UpcomingDay],
"hints": [UpcomingHint],
"items": [UpcomingItem],
"kindCounts": [UpcomingKindCount],
"scope": "ALL"
}
}
}
user
Description
Retrieve a single user by ID with full profile details
Response
Returns [User!]
Arguments
| Name | Description |
|---|---|
id - [HashedId!]
|
Unique identifier. Default = [] |
Example
Query
query user($id: [HashedId!]) {
user(id: $id) {
activated
additionalGroups {
...GroupFragment
}
apiKey
belongsToGroup {
...GroupFragment
}
belongsToGroupId
canConvertServiceJotforms
canEditInspectionsAssignee
canEditOnlyOwnDocuments
canEditTicketTags
canManageIntegrations
canScheduleDisposition
canShareViews
checkPassword
created
dashboard
dashboardId
deleted
email
firstname
fullName
group {
...GroupFragment
}
groupId
groups {
...GroupFragment
}
hasAccessToPersonnelManagement
hasApiKey
hasMultipleGroups
id
image
info
isAnyAdmin
isCostEnabled
isSSOEnabled
isServicing
isSupportAdmin
label
language
languageCode
languageId
lastLogin
lastname
locale
loginInterruptIds
loginInterrupts
notificationIds
notifications
password
personnel {
...PersonnelFragment
}
phone
publicId
resolvedLocale
resolvedTimezone
role {
...RoleFragment
}
roleId
roleKey
services
settings
stripeSubscriptionId
subscription {
...StripeSubscriptionPlanFragment
}
supportAdmin
teams {
...TeamFragment
}
timezone
toolsenseAdmin
unavailability {
...UserUnavailabilityFragment
}
updated
username
}
}
Variables
{"id": [""]}
Response
{
"data": {
"user": [
{
"activated": 1592577642,
"additionalGroups": [Group],
"apiKey": "xyz789",
"belongsToGroup": Group,
"belongsToGroupId": HashedId,
"canConvertServiceJotforms": true,
"canEditInspectionsAssignee": false,
"canEditOnlyOwnDocuments": false,
"canEditTicketTags": false,
"canManageIntegrations": true,
"canScheduleDisposition": false,
"canShareViews": true,
"checkPassword": false,
"created": 1592577642,
"dashboard": {},
"dashboardId": HashedId,
"deleted": 1592577642,
"email": "xyz789",
"firstname": "xyz789",
"fullName": "xyz789",
"group": Group,
"groupId": HashedId,
"groups": [Group],
"hasAccessToPersonnelManagement": true,
"hasApiKey": true,
"hasMultipleGroups": false,
"id": HashedId,
"image": "abc123",
"info": {},
"isAnyAdmin": true,
"isCostEnabled": false,
"isSSOEnabled": true,
"isServicing": false,
"isSupportAdmin": true,
"label": "xyz789",
"language": HashedId,
"languageCode": "ar_ar",
"languageId": HashedId,
"lastLogin": "2007-12-03T10:15:30Z",
"lastname": "xyz789",
"locale": LanguageTag,
"loginInterruptIds": [HashedId],
"loginInterrupts": {},
"notificationIds": [HashedId],
"notifications": [{}],
"password": "xyz789",
"personnel": Personnel,
"phone": "abc123",
"publicId": 123,
"resolvedLocale": LanguageTag,
"resolvedTimezone": "xyz789",
"role": Role,
"roleId": HashedId,
"roleKey": "EditorUser",
"services": [{}],
"settings": {},
"stripeSubscriptionId": "abc123",
"subscription": StripeSubscriptionPlan,
"supportAdmin": false,
"teams": [Team],
"timezone": "xyz789",
"toolsenseAdmin": false,
"unavailability": [UserUnavailability],
"updated": 1592577642,
"username": "xyz789"
}
]
}
}
userV2
Description
Retrieve a single user by ID using the updated response format with nested settings
Example
Query
query userV2($id: HashedId!) {
userV2(id: $id) {
activated
additionalGroups {
...GroupFragment
}
apiKey
belongsToGroup {
...GroupFragment
}
belongsToGroupId
canConvertServiceJotforms
canEditInspectionsAssignee
canEditOnlyOwnDocuments
canEditTicketTags
canManageIntegrations
canScheduleDisposition
canShareViews
checkPassword
created
dashboard
dashboardId
deleted
email
firstname
fullName
group {
...GroupFragment
}
groupId
groups {
...GroupFragment
}
hasAccessToPersonnelManagement
hasApiKey
hasMultipleGroups
id
image
info
isAnyAdmin
isCostEnabled
isSSOEnabled
isServicing
isSupportAdmin
label
language
languageCode
languageId
lastLogin
lastname
locale
loginInterruptIds
loginInterrupts
notificationIds
notifications
password
personnel {
...PersonnelFragment
}
phone
publicId
resolvedLocale
resolvedTimezone
role {
...RoleFragment
}
roleId
roleKey
services
settings
stripeSubscriptionId
subscription {
...StripeSubscriptionPlanFragment
}
supportAdmin
teams {
...TeamFragment
}
timezone
toolsenseAdmin
unavailability {
...UserUnavailabilityFragment
}
updated
username
}
}
Variables
{"id": HashedId}
Response
{
"data": {
"userV2": {
"activated": 1592577642,
"additionalGroups": [Group],
"apiKey": "xyz789",
"belongsToGroup": Group,
"belongsToGroupId": HashedId,
"canConvertServiceJotforms": false,
"canEditInspectionsAssignee": false,
"canEditOnlyOwnDocuments": false,
"canEditTicketTags": true,
"canManageIntegrations": true,
"canScheduleDisposition": true,
"canShareViews": false,
"checkPassword": false,
"created": 1592577642,
"dashboard": {},
"dashboardId": HashedId,
"deleted": 1592577642,
"email": "abc123",
"firstname": "xyz789",
"fullName": "abc123",
"group": Group,
"groupId": HashedId,
"groups": [Group],
"hasAccessToPersonnelManagement": false,
"hasApiKey": true,
"hasMultipleGroups": true,
"id": HashedId,
"image": "xyz789",
"info": {},
"isAnyAdmin": false,
"isCostEnabled": false,
"isSSOEnabled": false,
"isServicing": false,
"isSupportAdmin": true,
"label": "abc123",
"language": HashedId,
"languageCode": "ar_ar",
"languageId": HashedId,
"lastLogin": "2007-12-03T10:15:30Z",
"lastname": "xyz789",
"locale": LanguageTag,
"loginInterruptIds": [HashedId],
"loginInterrupts": {},
"notificationIds": [HashedId],
"notifications": [{}],
"password": "abc123",
"personnel": Personnel,
"phone": "abc123",
"publicId": 123,
"resolvedLocale": LanguageTag,
"resolvedTimezone": "xyz789",
"role": Role,
"roleId": HashedId,
"roleKey": "EditorUser",
"services": [{}],
"settings": {},
"stripeSubscriptionId": "abc123",
"subscription": StripeSubscriptionPlan,
"supportAdmin": false,
"teams": [Team],
"timezone": "abc123",
"toolsenseAdmin": false,
"unavailability": [UserUnavailability],
"updated": 1592577642,
"username": "xyz789"
}
}
}
usersFromCurrentGroupDownWithinOEMOrCustomer
Description
Retrieve users from the current group and its subgroups within the OEM or customer hierarchy
Response
Returns [User!]!
Example
Query
query usersFromCurrentGroupDownWithinOEMOrCustomer {
usersFromCurrentGroupDownWithinOEMOrCustomer {
activated
additionalGroups {
...GroupFragment
}
apiKey
belongsToGroup {
...GroupFragment
}
belongsToGroupId
canConvertServiceJotforms
canEditInspectionsAssignee
canEditOnlyOwnDocuments
canEditTicketTags
canManageIntegrations
canScheduleDisposition
canShareViews
checkPassword
created
dashboard
dashboardId
deleted
email
firstname
fullName
group {
...GroupFragment
}
groupId
groups {
...GroupFragment
}
hasAccessToPersonnelManagement
hasApiKey
hasMultipleGroups
id
image
info
isAnyAdmin
isCostEnabled
isSSOEnabled
isServicing
isSupportAdmin
label
language
languageCode
languageId
lastLogin
lastname
locale
loginInterruptIds
loginInterrupts
notificationIds
notifications
password
personnel {
...PersonnelFragment
}
phone
publicId
resolvedLocale
resolvedTimezone
role {
...RoleFragment
}
roleId
roleKey
services
settings
stripeSubscriptionId
subscription {
...StripeSubscriptionPlanFragment
}
supportAdmin
teams {
...TeamFragment
}
timezone
toolsenseAdmin
unavailability {
...UserUnavailabilityFragment
}
updated
username
}
}
Response
{
"data": {
"usersFromCurrentGroupDownWithinOEMOrCustomer": [
{
"activated": 1592577642,
"additionalGroups": [Group],
"apiKey": "xyz789",
"belongsToGroup": Group,
"belongsToGroupId": HashedId,
"canConvertServiceJotforms": true,
"canEditInspectionsAssignee": true,
"canEditOnlyOwnDocuments": true,
"canEditTicketTags": true,
"canManageIntegrations": false,
"canScheduleDisposition": false,
"canShareViews": false,
"checkPassword": false,
"created": 1592577642,
"dashboard": {},
"dashboardId": HashedId,
"deleted": 1592577642,
"email": "xyz789",
"firstname": "xyz789",
"fullName": "abc123",
"group": Group,
"groupId": HashedId,
"groups": [Group],
"hasAccessToPersonnelManagement": false,
"hasApiKey": false,
"hasMultipleGroups": false,
"id": HashedId,
"image": "xyz789",
"info": {},
"isAnyAdmin": false,
"isCostEnabled": false,
"isSSOEnabled": true,
"isServicing": true,
"isSupportAdmin": false,
"label": "xyz789",
"language": HashedId,
"languageCode": "ar_ar",
"languageId": HashedId,
"lastLogin": "2007-12-03T10:15:30Z",
"lastname": "xyz789",
"locale": LanguageTag,
"loginInterruptIds": [HashedId],
"loginInterrupts": {},
"notificationIds": [HashedId],
"notifications": [{}],
"password": "xyz789",
"personnel": Personnel,
"phone": "xyz789",
"publicId": 987,
"resolvedLocale": LanguageTag,
"resolvedTimezone": "abc123",
"role": Role,
"roleId": HashedId,
"roleKey": "EditorUser",
"services": [{}],
"settings": {},
"stripeSubscriptionId": "xyz789",
"subscription": StripeSubscriptionPlan,
"supportAdmin": true,
"teams": [Team],
"timezone": "xyz789",
"toolsenseAdmin": false,
"unavailability": [UserUnavailability],
"updated": 1592577642,
"username": "xyz789"
}
]
}
}
usersPaginated
Description
Retrieve a paginated list of users with filtering and sorting support
Response
Returns a UserPaginatedResult
Arguments
| Name | Description |
|---|---|
filters - [FilterParamsInput]
|
Filter criteria |
pagination - PaginationParams!
|
Pagination |
search - String
|
Text search query for filtering results |
Example
Query
query usersPaginated(
$filters: [FilterParamsInput],
$pagination: PaginationParams!,
$search: String
) {
usersPaginated(
filters: $filters,
pagination: $pagination,
search: $search
) {
meta {
...PaginationMetaFragment
}
rows {
...UserFragment
}
}
}
Variables
{
"filters": [FilterParamsInput],
"pagination": PaginationParams,
"search": "abc123"
}
Response
{
"data": {
"usersPaginated": {
"meta": PaginationMeta,
"rows": [User]
}
}
}
usersSubscriptions
Description
Retrieve active billing subscriptions for all users in the current group
Response
Returns a UserPaginatedResult
Arguments
| Name | Description |
|---|---|
filters - [FilterParamsInput]
|
Filter criteria |
pagination - PaginationParams!
|
Pagination |
search - String
|
Text search query for filtering results |
Example
Query
query usersSubscriptions(
$filters: [FilterParamsInput],
$pagination: PaginationParams!,
$search: String
) {
usersSubscriptions(
filters: $filters,
pagination: $pagination,
search: $search
) {
meta {
...PaginationMetaFragment
}
rows {
...UserFragment
}
}
}
Variables
{
"filters": [FilterParamsInput],
"pagination": PaginationParams,
"search": "xyz789"
}
Response
{
"data": {
"usersSubscriptions": {
"meta": PaginationMeta,
"rows": [User]
}
}
}
webhooksForGroup
Description
Retrieve webhooks for group
Response
Returns [Webhook!]!
Arguments
| Name | Description |
|---|---|
groupId - HashedId!
|
Example
Query
query webhooksForGroup($groupId: HashedId!) {
webhooksForGroup(groupId: $groupId) {
created
forAssetPackages
forAssets
forReservations
forSites
forTickets
forWorkOrders
groupId
id
updated
url
}
}
Variables
{"groupId": HashedId}
Response
{
"data": {
"webhooksForGroup": [
{
"created": 1592577642,
"forAssetPackages": false,
"forAssets": false,
"forReservations": false,
"forSites": true,
"forTickets": false,
"forWorkOrders": true,
"groupId": HashedId,
"id": HashedId,
"updated": 1592577642,
"url": "xyz789"
}
]
}
}
workOrder
Description
Retrieve a single work order by ID
Response
Returns a WorkOrderV2!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Unique identifier of the entity |
Example
Query
query workOrder($id: HashedId!) {
workOrder(id: $id) {
assetCollections {
...WorkOrderAssetCollectionFragment
}
assets {
...AssetFragment
}
assignee {
...WorkOrderPersonnelV2Fragment
}
comments {
...WorkOrderCommentFragment
}
costCenter
costs {
...WorkOrderCostFragment
}
created
createdByGroup {
...GroupFragment
}
createdByGroupId
creationDate
creator {
...UserFragment
}
creatorId
customerName
customerSignatures {
...WorkOrderCustomerSignatureFragment
}
dailyRate {
...WorkOrderCostFragment
}
deleted
description {
...TranslationFragment
}
endDate
externalEmailHandlers {
...WorkOrderHandlerExternalEmailFragment
}
followers {
...WorkOrderPersonnelV2Fragment
}
groupHandlers {
...WorkOrderHandlerGroupFragment
}
groupTicketHandlerHandlers {
...WorkOrderHandlerGroupTicketHandlerFragment
}
history {
...WorkOrderHistoryEntryFragment
}
historyV2 {
...WorkOrderHistoryFragment
}
id
linkedTickets {
...TicketFragment
}
locations {
...WorkOrderLocationFragment
}
name
notes {
...TranslationFragment
}
notesId
operatingCosts {
...CostFragment
}
partsUsed {
...TicketPartUsageFragment
}
personnel {
...WorkOrderCostFragment
}
personnelHandlers {
...WorkOrderHandlerPersonnelFragment
}
procedureTemplate {
...ProcedureTemplateFragment
}
procedureTemplateId
site {
...SiteFragment
}
siteId
siteManagerHandler {
...WorkOrderHandlerSiteManagerFragment
}
sourceTicket {
...TicketFragment
}
sourceTicketId
startDate
status
teamHandlers {
...WorkOrderHandlerTeamFragment
}
timeEntries {
...WorkOrderTimeEntryFragment
}
timeEntriesSummary {
...WorkOrderTimeEntrySummaryFragment
}
title {
...TranslationFragment
}
totalPartsCost
updated
userHandlers {
...WorkOrderHandlerUserFragment
}
workOrderNumber
workers {
...WorkOrderPersonnelV2Fragment
}
}
}
Variables
{"id": HashedId}
Response
{
"data": {
"workOrder": {
"assetCollections": [WorkOrderAssetCollection],
"assets": [Asset],
"assignee": WorkOrderPersonnelV2,
"comments": [WorkOrderComment],
"costCenter": "xyz789",
"costs": [WorkOrderCost],
"created": 1592577642,
"createdByGroup": Group,
"createdByGroupId": HashedId,
"creationDate": "2007-12-03T10:15:30Z",
"creator": User,
"creatorId": HashedId,
"customerName": "xyz789",
"customerSignatures": [WorkOrderCustomerSignature],
"dailyRate": WorkOrderCost,
"deleted": 1592577642,
"description": Translation,
"endDate": "2007-12-03T10:15:30Z",
"externalEmailHandlers": [
WorkOrderHandlerExternalEmail
],
"followers": [WorkOrderPersonnelV2],
"groupHandlers": [WorkOrderHandlerGroup],
"groupTicketHandlerHandlers": [
WorkOrderHandlerGroupTicketHandler
],
"history": [WorkOrderHistoryEntry],
"historyV2": [WorkOrderHistory],
"id": HashedId,
"linkedTickets": [Ticket],
"locations": [WorkOrderLocation],
"name": "xyz789",
"notes": Translation,
"notesId": HashedId,
"operatingCosts": [Cost],
"partsUsed": [TicketPartUsage],
"personnel": [WorkOrderCost],
"personnelHandlers": [WorkOrderHandlerPersonnel],
"procedureTemplate": ProcedureTemplate,
"procedureTemplateId": HashedId,
"site": Site,
"siteId": HashedId,
"siteManagerHandler": WorkOrderHandlerSiteManager,
"sourceTicket": Ticket,
"sourceTicketId": HashedId,
"startDate": "2007-12-03T10:15:30Z",
"status": "CANCELLED",
"teamHandlers": [WorkOrderHandlerTeam],
"timeEntries": [WorkOrderTimeEntry],
"timeEntriesSummary": WorkOrderTimeEntrySummary,
"title": Translation,
"totalPartsCost": 123.45,
"updated": 1592577642,
"userHandlers": [WorkOrderHandlerUser],
"workOrderNumber": 123,
"workers": [WorkOrderPersonnelV2]
}
}
}
workOrderAttachablePersonnelHandlers
Description
Retrieve work order attachable personnel handlers
Response
Returns [WorkOrderAttachablePersonnel!]!
Example
Query
query workOrderAttachablePersonnelHandlers {
workOrderAttachablePersonnelHandlers {
displayName
groupId
teamId
userId
}
}
Response
{
"data": {
"workOrderAttachablePersonnelHandlers": [
{
"displayName": "xyz789",
"groupId": HashedId,
"teamId": HashedId,
"userId": HashedId
}
]
}
}
workOrderAttachableWorkers
Description
Retrieve work order attachable workers
Response
Returns [User!]!
Example
Query
query workOrderAttachableWorkers(
$limit: Int,
$offset: Int,
$search: String
) {
workOrderAttachableWorkers(
limit: $limit,
offset: $offset,
search: $search
) {
activated
additionalGroups {
...GroupFragment
}
apiKey
belongsToGroup {
...GroupFragment
}
belongsToGroupId
canConvertServiceJotforms
canEditInspectionsAssignee
canEditOnlyOwnDocuments
canEditTicketTags
canManageIntegrations
canScheduleDisposition
canShareViews
checkPassword
created
dashboard
dashboardId
deleted
email
firstname
fullName
group {
...GroupFragment
}
groupId
groups {
...GroupFragment
}
hasAccessToPersonnelManagement
hasApiKey
hasMultipleGroups
id
image
info
isAnyAdmin
isCostEnabled
isSSOEnabled
isServicing
isSupportAdmin
label
language
languageCode
languageId
lastLogin
lastname
locale
loginInterruptIds
loginInterrupts
notificationIds
notifications
password
personnel {
...PersonnelFragment
}
phone
publicId
resolvedLocale
resolvedTimezone
role {
...RoleFragment
}
roleId
roleKey
services
settings
stripeSubscriptionId
subscription {
...StripeSubscriptionPlanFragment
}
supportAdmin
teams {
...TeamFragment
}
timezone
toolsenseAdmin
unavailability {
...UserUnavailabilityFragment
}
updated
username
}
}
Variables
{
"limit": 123,
"offset": 123,
"search": "abc123"
}
Response
{
"data": {
"workOrderAttachableWorkers": [
{
"activated": 1592577642,
"additionalGroups": [Group],
"apiKey": "xyz789",
"belongsToGroup": Group,
"belongsToGroupId": HashedId,
"canConvertServiceJotforms": false,
"canEditInspectionsAssignee": true,
"canEditOnlyOwnDocuments": true,
"canEditTicketTags": true,
"canManageIntegrations": false,
"canScheduleDisposition": true,
"canShareViews": false,
"checkPassword": true,
"created": 1592577642,
"dashboard": {},
"dashboardId": HashedId,
"deleted": 1592577642,
"email": "abc123",
"firstname": "xyz789",
"fullName": "xyz789",
"group": Group,
"groupId": HashedId,
"groups": [Group],
"hasAccessToPersonnelManagement": false,
"hasApiKey": false,
"hasMultipleGroups": false,
"id": HashedId,
"image": "xyz789",
"info": {},
"isAnyAdmin": false,
"isCostEnabled": false,
"isSSOEnabled": true,
"isServicing": false,
"isSupportAdmin": true,
"label": "xyz789",
"language": HashedId,
"languageCode": "ar_ar",
"languageId": HashedId,
"lastLogin": "2007-12-03T10:15:30Z",
"lastname": "abc123",
"locale": LanguageTag,
"loginInterruptIds": [HashedId],
"loginInterrupts": {},
"notificationIds": [HashedId],
"notifications": [{}],
"password": "abc123",
"personnel": Personnel,
"phone": "abc123",
"publicId": 123,
"resolvedLocale": LanguageTag,
"resolvedTimezone": "abc123",
"role": Role,
"roleId": HashedId,
"roleKey": "EditorUser",
"services": [{}],
"settings": {},
"stripeSubscriptionId": "abc123",
"subscription": StripeSubscriptionPlan,
"supportAdmin": false,
"teams": [Team],
"timezone": "abc123",
"toolsenseAdmin": true,
"unavailability": [UserUnavailability],
"updated": 1592577642,
"username": "xyz789"
}
]
}
}
workOrderAttachableWorkersPaginated
Description
Retrieve a paginated list of workers attachable to a work order
Response
Arguments
| Name | Description |
|---|---|
filters - [FilterParamsInput]
|
Filter criteria |
pagination - PaginationParams!
|
Pagination |
search - String
|
Text search query for filtering results |
Example
Query
query workOrderAttachableWorkersPaginated(
$filters: [FilterParamsInput],
$pagination: PaginationParams!,
$search: String
) {
workOrderAttachableWorkersPaginated(
filters: $filters,
pagination: $pagination,
search: $search
) {
meta {
...PaginationMetaFragment
}
rows {
...WorkOrderAttachableWorkerFragment
}
}
}
Variables
{
"filters": [FilterParamsInput],
"pagination": PaginationParams,
"search": "abc123"
}
Response
{
"data": {
"workOrderAttachableWorkersPaginated": {
"meta": PaginationMeta,
"rows": [WorkOrderAttachableWorker]
}
}
}
workOrderCostCenters
Description
Retrieve work order cost centers
Response
Returns [String!]!
Arguments
| Name | Description |
|---|---|
like - String
|
Cost center search filter |
Example
Query
query workOrderCostCenters($like: String) {
workOrderCostCenters(like: $like)
}
Variables
{"like": "abc123"}
Response
{
"data": {
"workOrderCostCenters": ["xyz789"]
}
}
workOrderCostCentersPaginated
Description
Retrieve a paginated list of work order cost centers
Response
Returns a WorkOrderCostCenterPaginatedResult!
Arguments
| Name | Description |
|---|---|
filters - [FilterParamsInput]
|
Filter criteria |
pagination - PaginationParams!
|
Pagination |
search - String
|
Text search query for filtering results |
Example
Query
query workOrderCostCentersPaginated(
$filters: [FilterParamsInput],
$pagination: PaginationParams!,
$search: String
) {
workOrderCostCentersPaginated(
filters: $filters,
pagination: $pagination,
search: $search
) {
meta {
...PaginationMetaFragment
}
rows {
...WorkOrderCostCenterFragment
}
}
}
Variables
{
"filters": [FilterParamsInput],
"pagination": PaginationParams,
"search": "abc123"
}
Response
{
"data": {
"workOrderCostCentersPaginated": {
"meta": PaginationMeta,
"rows": [WorkOrderCostCenter]
}
}
}
workOrders
Description
Retrieve all work orders accessible to the current user
Response
Returns [WorkOrderV2!]!
Arguments
| Name | Description |
|---|---|
from - DateTime
|
Start of the date range to filter work orders by |
ids - [HashedId!]
|
Work order IDs to filter results by |
includeHidden - Boolean!
|
Whether to include hidden work orders in the results. Default = false |
to - DateTime
|
End of the date range to filter work orders by |
Example
Query
query workOrders(
$from: DateTime,
$ids: [HashedId!],
$includeHidden: Boolean!,
$to: DateTime
) {
workOrders(
from: $from,
ids: $ids,
includeHidden: $includeHidden,
to: $to
) {
assetCollections {
...WorkOrderAssetCollectionFragment
}
assets {
...AssetFragment
}
assignee {
...WorkOrderPersonnelV2Fragment
}
comments {
...WorkOrderCommentFragment
}
costCenter
costs {
...WorkOrderCostFragment
}
created
createdByGroup {
...GroupFragment
}
createdByGroupId
creationDate
creator {
...UserFragment
}
creatorId
customerName
customerSignatures {
...WorkOrderCustomerSignatureFragment
}
dailyRate {
...WorkOrderCostFragment
}
deleted
description {
...TranslationFragment
}
endDate
externalEmailHandlers {
...WorkOrderHandlerExternalEmailFragment
}
followers {
...WorkOrderPersonnelV2Fragment
}
groupHandlers {
...WorkOrderHandlerGroupFragment
}
groupTicketHandlerHandlers {
...WorkOrderHandlerGroupTicketHandlerFragment
}
history {
...WorkOrderHistoryEntryFragment
}
historyV2 {
...WorkOrderHistoryFragment
}
id
linkedTickets {
...TicketFragment
}
locations {
...WorkOrderLocationFragment
}
name
notes {
...TranslationFragment
}
notesId
operatingCosts {
...CostFragment
}
partsUsed {
...TicketPartUsageFragment
}
personnel {
...WorkOrderCostFragment
}
personnelHandlers {
...WorkOrderHandlerPersonnelFragment
}
procedureTemplate {
...ProcedureTemplateFragment
}
procedureTemplateId
site {
...SiteFragment
}
siteId
siteManagerHandler {
...WorkOrderHandlerSiteManagerFragment
}
sourceTicket {
...TicketFragment
}
sourceTicketId
startDate
status
teamHandlers {
...WorkOrderHandlerTeamFragment
}
timeEntries {
...WorkOrderTimeEntryFragment
}
timeEntriesSummary {
...WorkOrderTimeEntrySummaryFragment
}
title {
...TranslationFragment
}
totalPartsCost
updated
userHandlers {
...WorkOrderHandlerUserFragment
}
workOrderNumber
workers {
...WorkOrderPersonnelV2Fragment
}
}
}
Variables
{
"from": "2007-12-03T10:15:30Z",
"ids": [HashedId],
"includeHidden": false,
"to": "2007-12-03T10:15:30Z"
}
Response
{
"data": {
"workOrders": [
{
"assetCollections": [WorkOrderAssetCollection],
"assets": [Asset],
"assignee": WorkOrderPersonnelV2,
"comments": [WorkOrderComment],
"costCenter": "abc123",
"costs": [WorkOrderCost],
"created": 1592577642,
"createdByGroup": Group,
"createdByGroupId": HashedId,
"creationDate": "2007-12-03T10:15:30Z",
"creator": User,
"creatorId": HashedId,
"customerName": "abc123",
"customerSignatures": [
WorkOrderCustomerSignature
],
"dailyRate": WorkOrderCost,
"deleted": 1592577642,
"description": Translation,
"endDate": "2007-12-03T10:15:30Z",
"externalEmailHandlers": [
WorkOrderHandlerExternalEmail
],
"followers": [WorkOrderPersonnelV2],
"groupHandlers": [WorkOrderHandlerGroup],
"groupTicketHandlerHandlers": [
WorkOrderHandlerGroupTicketHandler
],
"history": [WorkOrderHistoryEntry],
"historyV2": [WorkOrderHistory],
"id": HashedId,
"linkedTickets": [Ticket],
"locations": [WorkOrderLocation],
"name": "xyz789",
"notes": Translation,
"notesId": HashedId,
"operatingCosts": [Cost],
"partsUsed": [TicketPartUsage],
"personnel": [WorkOrderCost],
"personnelHandlers": [WorkOrderHandlerPersonnel],
"procedureTemplate": ProcedureTemplate,
"procedureTemplateId": HashedId,
"site": Site,
"siteId": HashedId,
"siteManagerHandler": WorkOrderHandlerSiteManager,
"sourceTicket": Ticket,
"sourceTicketId": HashedId,
"startDate": "2007-12-03T10:15:30Z",
"status": "CANCELLED",
"teamHandlers": [WorkOrderHandlerTeam],
"timeEntries": [WorkOrderTimeEntry],
"timeEntriesSummary": WorkOrderTimeEntrySummary,
"title": Translation,
"totalPartsCost": 987.65,
"updated": 1592577642,
"userHandlers": [WorkOrderHandlerUser],
"workOrderNumber": 987,
"workers": [WorkOrderPersonnelV2]
}
]
}
}
workOrdersFiltered
Description
Retrieve work orders filtered
Response
Returns [WorkOrderV2!]!
Arguments
| Name | Description |
|---|---|
filters - [FilterParamsInput!]!
|
Filter conditions to apply to the work order query |
search - String!
|
Text search query for filtering results |
Example
Query
query workOrdersFiltered(
$filters: [FilterParamsInput!]!,
$search: String!
) {
workOrdersFiltered(
filters: $filters,
search: $search
) {
assetCollections {
...WorkOrderAssetCollectionFragment
}
assets {
...AssetFragment
}
assignee {
...WorkOrderPersonnelV2Fragment
}
comments {
...WorkOrderCommentFragment
}
costCenter
costs {
...WorkOrderCostFragment
}
created
createdByGroup {
...GroupFragment
}
createdByGroupId
creationDate
creator {
...UserFragment
}
creatorId
customerName
customerSignatures {
...WorkOrderCustomerSignatureFragment
}
dailyRate {
...WorkOrderCostFragment
}
deleted
description {
...TranslationFragment
}
endDate
externalEmailHandlers {
...WorkOrderHandlerExternalEmailFragment
}
followers {
...WorkOrderPersonnelV2Fragment
}
groupHandlers {
...WorkOrderHandlerGroupFragment
}
groupTicketHandlerHandlers {
...WorkOrderHandlerGroupTicketHandlerFragment
}
history {
...WorkOrderHistoryEntryFragment
}
historyV2 {
...WorkOrderHistoryFragment
}
id
linkedTickets {
...TicketFragment
}
locations {
...WorkOrderLocationFragment
}
name
notes {
...TranslationFragment
}
notesId
operatingCosts {
...CostFragment
}
partsUsed {
...TicketPartUsageFragment
}
personnel {
...WorkOrderCostFragment
}
personnelHandlers {
...WorkOrderHandlerPersonnelFragment
}
procedureTemplate {
...ProcedureTemplateFragment
}
procedureTemplateId
site {
...SiteFragment
}
siteId
siteManagerHandler {
...WorkOrderHandlerSiteManagerFragment
}
sourceTicket {
...TicketFragment
}
sourceTicketId
startDate
status
teamHandlers {
...WorkOrderHandlerTeamFragment
}
timeEntries {
...WorkOrderTimeEntryFragment
}
timeEntriesSummary {
...WorkOrderTimeEntrySummaryFragment
}
title {
...TranslationFragment
}
totalPartsCost
updated
userHandlers {
...WorkOrderHandlerUserFragment
}
workOrderNumber
workers {
...WorkOrderPersonnelV2Fragment
}
}
}
Variables
{
"filters": [FilterParamsInput],
"search": "abc123"
}
Response
{
"data": {
"workOrdersFiltered": [
{
"assetCollections": [WorkOrderAssetCollection],
"assets": [Asset],
"assignee": WorkOrderPersonnelV2,
"comments": [WorkOrderComment],
"costCenter": "xyz789",
"costs": [WorkOrderCost],
"created": 1592577642,
"createdByGroup": Group,
"createdByGroupId": HashedId,
"creationDate": "2007-12-03T10:15:30Z",
"creator": User,
"creatorId": HashedId,
"customerName": "abc123",
"customerSignatures": [
WorkOrderCustomerSignature
],
"dailyRate": WorkOrderCost,
"deleted": 1592577642,
"description": Translation,
"endDate": "2007-12-03T10:15:30Z",
"externalEmailHandlers": [
WorkOrderHandlerExternalEmail
],
"followers": [WorkOrderPersonnelV2],
"groupHandlers": [WorkOrderHandlerGroup],
"groupTicketHandlerHandlers": [
WorkOrderHandlerGroupTicketHandler
],
"history": [WorkOrderHistoryEntry],
"historyV2": [WorkOrderHistory],
"id": HashedId,
"linkedTickets": [Ticket],
"locations": [WorkOrderLocation],
"name": "xyz789",
"notes": Translation,
"notesId": HashedId,
"operatingCosts": [Cost],
"partsUsed": [TicketPartUsage],
"personnel": [WorkOrderCost],
"personnelHandlers": [WorkOrderHandlerPersonnel],
"procedureTemplate": ProcedureTemplate,
"procedureTemplateId": HashedId,
"site": Site,
"siteId": HashedId,
"siteManagerHandler": WorkOrderHandlerSiteManager,
"sourceTicket": Ticket,
"sourceTicketId": HashedId,
"startDate": "2007-12-03T10:15:30Z",
"status": "CANCELLED",
"teamHandlers": [WorkOrderHandlerTeam],
"timeEntries": [WorkOrderTimeEntry],
"timeEntriesSummary": WorkOrderTimeEntrySummary,
"title": Translation,
"totalPartsCost": 987.65,
"updated": 1592577642,
"userHandlers": [WorkOrderHandlerUser],
"workOrderNumber": 987,
"workers": [WorkOrderPersonnelV2]
}
]
}
}
workOrdersPaginated
Description
Retrieve work orders paginated
Response
Returns a WorkOrdersPaginatedResult!
Arguments
| Name | Description |
|---|---|
filters - [FilterParamsInput]
|
Filter criteria |
pagination - PaginationParams!
|
Pagination |
search - String
|
Text search query for filtering results |
Example
Query
query workOrdersPaginated(
$filters: [FilterParamsInput],
$pagination: PaginationParams!,
$search: String
) {
workOrdersPaginated(
filters: $filters,
pagination: $pagination,
search: $search
) {
meta {
...PaginationMetaFragment
}
rows {
...WorkOrderV2Fragment
}
}
}
Variables
{
"filters": [FilterParamsInput],
"pagination": PaginationParams,
"search": "xyz789"
}
Response
{
"data": {
"workOrdersPaginated": {
"meta": PaginationMeta,
"rows": [WorkOrderV2]
}
}
}
Mutations
acknowledgeRobotError
Description
Acknowledge a robot error
Response
Returns a Boolean!
Arguments
| Name | Description |
|---|---|
errorId - HashedId!
|
Error identifier to acknowledge |
Example
Query
mutation acknowledgeRobotError($errorId: HashedId!) {
acknowledgeRobotError(errorId: $errorId)
}
Variables
{"errorId": HashedId}
Response
{"data": {"acknowledgeRobotError": false}}
activateRuleEntry
Description
Activate rule entry
Response
Returns a RuleEntry!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Unique identifier of the entity |
Example
Query
mutation activateRuleEntry($id: HashedId!) {
activateRuleEntry(id: $id) {
activatedAt
assetCount
assetFilters {
...FiltersFragment
}
assetGroup {
...GroupFragment
}
assetGroupId
created
createdByGroup {
...GroupFragment
}
createdByGroupId
createdByUser {
...UserFragment
}
createdByUserId
description {
...TranslationFragment
}
firstCheckMode
geofenceSite {
...SiteFragment
}
geofenceSiteId
group {
...GroupFragment
}
groupId
hasNotification
hasNotificationCritical
hasNotificationEmail
hasNotificationImmediate
hasNotificationOnNewAsset
hasNotificationPush
hasNotificationTimingBeforeDue
hasNotificationTimingWhenDue
id
isAssetAssignNew
isAssetTriggerForCustomers
isAssetVehicle
isCheckAllowedForUnauthorizedUsers
isForAllAssets
isManualOnly
isScheduleFixed
isScheduleManualDeactivation
isSkipOverdueEnabled
manuallyAddedAssets {
...AssetFragment
}
materializedAt
name {
...TranslationFragment
}
notificationRecipients {
...RuleEntryNotificationRecipientFragment
}
notificationTimings {
...RuleEntryNotificationTimingFragment
}
scheduleStartAt
scheduleStartPointCustomField {
...CustomFieldFragment
}
scheduleStartPointCustomFieldId
scheduleStartPointFallback
scheduleStartPointField
scheduleTriggers {
...RuleEntryScheduleTriggerFragment
}
site {
...SiteFragment
}
status
subType
type
updated
workingHoursAsset {
...AssetFragment
}
workingHoursAssetId
}
}
Variables
{"id": HashedId}
Response
{
"data": {
"activateRuleEntry": {
"activatedAt": "2007-12-03T10:15:30Z",
"assetCount": 123,
"assetFilters": [Filters],
"assetGroup": Group,
"assetGroupId": HashedId,
"created": 1592577642,
"createdByGroup": Group,
"createdByGroupId": HashedId,
"createdByUser": User,
"createdByUserId": HashedId,
"description": Translation,
"firstCheckMode": "AFTER_INTERVAL",
"geofenceSite": Site,
"geofenceSiteId": HashedId,
"group": Group,
"groupId": HashedId,
"hasNotification": true,
"hasNotificationCritical": false,
"hasNotificationEmail": true,
"hasNotificationImmediate": true,
"hasNotificationOnNewAsset": true,
"hasNotificationPush": false,
"hasNotificationTimingBeforeDue": false,
"hasNotificationTimingWhenDue": false,
"id": HashedId,
"isAssetAssignNew": true,
"isAssetTriggerForCustomers": false,
"isAssetVehicle": false,
"isCheckAllowedForUnauthorizedUsers": true,
"isForAllAssets": true,
"isManualOnly": false,
"isScheduleFixed": true,
"isScheduleManualDeactivation": false,
"isSkipOverdueEnabled": false,
"manuallyAddedAssets": [Asset],
"materializedAt": "2007-12-03T10:15:30Z",
"name": Translation,
"notificationRecipients": [
RuleEntryNotificationRecipient
],
"notificationTimings": [
RuleEntryNotificationTiming
],
"scheduleStartAt": "2007-12-03T10:15:30Z",
"scheduleStartPointCustomField": CustomField,
"scheduleStartPointCustomFieldId": HashedId,
"scheduleStartPointFallback": "EXCLUDE",
"scheduleStartPointField": "COMMISSION_DATE",
"scheduleTriggers": [RuleEntryScheduleTrigger],
"site": Site,
"status": "ACTIVE",
"subType": "ERROR",
"type": "GEOFENCE",
"updated": 1592577642,
"workingHoursAsset": Asset,
"workingHoursAssetId": HashedId
}
}
}
addAssetToRule
Description
Add a specific asset to an existing automation rule
Response
Returns a Rule!
Arguments
| Name | Description |
|---|---|
input - AddAssetToRuleInput!
|
Asset to rule to add |
Example
Query
mutation addAssetToRule($input: AddAssetToRuleInput!) {
addAssetToRule(input: $input) {
assetBlacklist {
...AssetFragment
}
assignedToGroup {
...GroupFragment
}
assignedToGroupId
checkAssetsPaginated {
...PaginatedRuleCheckAssetsFragment
}
created
createdByGroup {
...GroupFragment
}
createdByGroupId
createdByUser {
...UserFragment
}
createdByUserId
definition
description {
...TranslationFragment
}
descriptionId
enabled
eventStyle {
...EventStyleFragment
}
eventStyleId
eventType
eventsConfigs {
...EventConfigFragment
}
id
isActive
isArchived
isCheckAllowedForUnauthorizedUsers
isCritical
isGlobalRule
isImmediateNotification
isOneshot
isOnetime
manualDeactivation
publicId
purpose
relations {
...RuleRelationFragment
}
relationsV2 {
...RuleRelationFragment
}
sendNotificationsTo {
...RuleNotificationRelationFragment
}
services {
...ServiceFragment
}
servicesV2 {
...ServiceFragment
}
source
title {
...TranslationFragment
}
titleId
updated
}
}
Variables
{"input": AddAssetToRuleInput}
Response
{
"data": {
"addAssetToRule": {
"assetBlacklist": [Asset],
"assignedToGroup": Group,
"assignedToGroupId": HashedId,
"checkAssetsPaginated": PaginatedRuleCheckAssets,
"created": 1592577642,
"createdByGroup": Group,
"createdByGroupId": HashedId,
"createdByUser": User,
"createdByUserId": HashedId,
"definition": {},
"description": Translation,
"descriptionId": HashedId,
"enabled": false,
"eventStyle": EventStyle,
"eventStyleId": HashedId,
"eventType": "COST",
"eventsConfigs": [EventConfig],
"id": HashedId,
"isActive": true,
"isArchived": true,
"isCheckAllowedForUnauthorizedUsers": true,
"isCritical": false,
"isGlobalRule": true,
"isImmediateNotification": true,
"isOneshot": false,
"isOnetime": true,
"manualDeactivation": true,
"publicId": "xyz789",
"purpose": "GEOFENCE",
"relations": [RuleRelation],
"relationsV2": [RuleRelation],
"sendNotificationsTo": [RuleNotificationRelation],
"services": [Service],
"servicesV2": [Service],
"source": "BLE",
"title": Translation,
"titleId": HashedId,
"updated": 1592577642
}
}
}
addAssetsByTicketId
Description
Link assets to a ticket content field, returns boolean
Response
Returns a Boolean!
Arguments
| Name | Description |
|---|---|
assetIds - [HashedId!]!
|
Assets to associate with or remove from tickets |
input - TicketChangeItemsInput!
|
Tickets to add to or remove from the selected assets |
Example
Query
mutation addAssetsByTicketId(
$assetIds: [HashedId!]!,
$input: TicketChangeItemsInput!
) {
addAssetsByTicketId(
assetIds: $assetIds,
input: $input
)
}
Variables
{
"assetIds": [HashedId],
"input": TicketChangeItemsInput
}
Response
{"data": {"addAssetsByTicketId": false}}
addAssetsToTicketContentField
Description
Link assets to a ticket content field
Response
Returns a TicketContentField!
Arguments
| Name | Description |
|---|---|
assetIds - [HashedId!]!
|
Assets to associate with or remove from tickets |
input - TicketChangeItemsInput!
|
Tickets to add to or remove from the selected assets |
Example
Query
mutation addAssetsToTicketContentField(
$assetIds: [HashedId!]!,
$input: TicketChangeItemsInput!
) {
addAssetsToTicketContentField(
assetIds: $assetIds,
input: $input
) {
assetCategories {
...AssetCategoryFragment
}
assetTypes {
...AssetTypeFragment
}
assets {
...AssetFragment
}
assignees {
...AvailableHandlerFragment
}
automations
checkedValue
children {
...TicketContentFieldFragment
}
choiceOptions {
...TicketContentFieldChoiceOptionFragment
}
choiceValue
comment
contentType
created
customFieldColumns {
...CustomFieldFragment
}
dateValue
description {
...TranslationFragment
}
descriptionId
documents {
...DocumentFragment
}
emails {
...TicketContentFieldEmailFragment
}
filters {
...FiltersFragment
}
id
includeTime
isChangeAllowed
isEditableInTicket
isHiddenInTicket
isReservationConstrained
issues {
...ReservationLineItemIssueFragment
}
location {
...AddressFragment
}
locationId
numberValue
numberValueDecimal
order
parentId
phone {
...PhoneFragment
}
phoneId
reservationLineItem {
...ReservationLineItemFragment
}
reservationLineItemId
sites {
...SiteFragment
}
suggestedAssignees {
...AvailableHandlerFragment
}
table {
...TicketContentFieldTableFragment
}
tableId
tags {
...TagFragment
}
textValue
ticketId
title {
...TranslationFragment
}
titleId
updated
uploadedDocuments {
...DocumentFragment
}
yesNoValue
}
}
Variables
{
"assetIds": [HashedId],
"input": TicketChangeItemsInput
}
Response
{
"data": {
"addAssetsToTicketContentField": {
"assetCategories": [AssetCategory],
"assetTypes": [AssetType],
"assets": [Asset],
"assignees": [AvailableHandler],
"automations": 123,
"checkedValue": true,
"children": [TicketContentField],
"choiceOptions": [TicketContentFieldChoiceOption],
"choiceValue": "good",
"comment": "xyz789",
"contentType": "asset",
"created": 1592577642,
"customFieldColumns": [CustomField],
"dateValue": "2007-12-03T10:15:30Z",
"description": Translation,
"descriptionId": HashedId,
"documents": [Document],
"emails": [TicketContentFieldEmail],
"filters": [Filters],
"id": HashedId,
"includeTime": true,
"isChangeAllowed": true,
"isEditableInTicket": false,
"isHiddenInTicket": false,
"isReservationConstrained": true,
"issues": [ReservationLineItemIssue],
"location": Address,
"locationId": HashedId,
"numberValue": 987,
"numberValueDecimal": 987.65,
"order": 123,
"parentId": HashedId,
"phone": Phone,
"phoneId": HashedId,
"reservationLineItem": ReservationLineItem,
"reservationLineItemId": HashedId,
"sites": [Site],
"suggestedAssignees": [AvailableHandler],
"table": TicketContentFieldTable,
"tableId": HashedId,
"tags": [Tag],
"textValue": "xyz789",
"ticketId": HashedId,
"title": Translation,
"titleId": HashedId,
"updated": 1592577642,
"uploadedDocuments": [Document],
"yesNoValue": "na"
}
}
}
addHandlerByTicketId
Description
Add ticket handler legacy v2
Response
Returns a TicketHandler!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Unique identifier of the entity |
input - TicketHandlerCreateInput!
|
Handler assignment details for the ticket |
Example
Query
mutation addHandlerByTicketId(
$id: HashedId!,
$input: TicketHandlerCreateInput!
) {
addHandlerByTicketId(
id: $id,
input: $input
) {
displayName
handlerType
id
isDeletable
relationType
relationValue
}
}
Variables
{
"id": HashedId,
"input": TicketHandlerCreateInput
}
Response
{
"data": {
"addHandlerByTicketId": {
"displayName": "xyz789",
"handlerType": "EXTERNALEMAIL",
"id": HashedId,
"isDeletable": false,
"relationType": "ASSIGNEE",
"relationValue": "xyz789"
}
}
}
addReservationTicketFieldAssets
Description
Add assets to a reservation-constrained ticket content field
Response
Returns a TicketContentField!
Arguments
| Name | Description |
|---|---|
assetIds - [HashedId!]!
|
Assets to associate with or remove from tickets |
input - ReservationTicketFieldAddAssetsInput!
|
Example
Query
mutation addReservationTicketFieldAssets(
$assetIds: [HashedId!]!,
$input: ReservationTicketFieldAddAssetsInput!
) {
addReservationTicketFieldAssets(
assetIds: $assetIds,
input: $input
) {
assetCategories {
...AssetCategoryFragment
}
assetTypes {
...AssetTypeFragment
}
assets {
...AssetFragment
}
assignees {
...AvailableHandlerFragment
}
automations
checkedValue
children {
...TicketContentFieldFragment
}
choiceOptions {
...TicketContentFieldChoiceOptionFragment
}
choiceValue
comment
contentType
created
customFieldColumns {
...CustomFieldFragment
}
dateValue
description {
...TranslationFragment
}
descriptionId
documents {
...DocumentFragment
}
emails {
...TicketContentFieldEmailFragment
}
filters {
...FiltersFragment
}
id
includeTime
isChangeAllowed
isEditableInTicket
isHiddenInTicket
isReservationConstrained
issues {
...ReservationLineItemIssueFragment
}
location {
...AddressFragment
}
locationId
numberValue
numberValueDecimal
order
parentId
phone {
...PhoneFragment
}
phoneId
reservationLineItem {
...ReservationLineItemFragment
}
reservationLineItemId
sites {
...SiteFragment
}
suggestedAssignees {
...AvailableHandlerFragment
}
table {
...TicketContentFieldTableFragment
}
tableId
tags {
...TagFragment
}
textValue
ticketId
title {
...TranslationFragment
}
titleId
updated
uploadedDocuments {
...DocumentFragment
}
yesNoValue
}
}
Variables
{
"assetIds": [HashedId],
"input": ReservationTicketFieldAddAssetsInput
}
Response
{
"data": {
"addReservationTicketFieldAssets": {
"assetCategories": [AssetCategory],
"assetTypes": [AssetType],
"assets": [Asset],
"assignees": [AvailableHandler],
"automations": 987,
"checkedValue": true,
"children": [TicketContentField],
"choiceOptions": [TicketContentFieldChoiceOption],
"choiceValue": "good",
"comment": "abc123",
"contentType": "asset",
"created": 1592577642,
"customFieldColumns": [CustomField],
"dateValue": "2007-12-03T10:15:30Z",
"description": Translation,
"descriptionId": HashedId,
"documents": [Document],
"emails": [TicketContentFieldEmail],
"filters": [Filters],
"id": HashedId,
"includeTime": false,
"isChangeAllowed": true,
"isEditableInTicket": false,
"isHiddenInTicket": false,
"isReservationConstrained": true,
"issues": [ReservationLineItemIssue],
"location": Address,
"locationId": HashedId,
"numberValue": 123,
"numberValueDecimal": 987.65,
"order": 123,
"parentId": HashedId,
"phone": Phone,
"phoneId": HashedId,
"reservationLineItem": ReservationLineItem,
"reservationLineItemId": HashedId,
"sites": [Site],
"suggestedAssignees": [AvailableHandler],
"table": TicketContentFieldTable,
"tableId": HashedId,
"tags": [Tag],
"textValue": "abc123",
"ticketId": HashedId,
"title": Translation,
"titleId": HashedId,
"updated": 1592577642,
"uploadedDocuments": [Document],
"yesNoValue": "na"
}
}
}
addSitesByTicketId
Description
Link sites to a ticket content field, returns boolean
Response
Returns a Boolean!
Arguments
| Name | Description |
|---|---|
input - TicketChangeItemsInput!
|
Tickets to add to or remove from the selected sites |
siteIds - [HashedId!]!
|
Sites to associate with or remove from tickets |
Example
Query
mutation addSitesByTicketId(
$input: TicketChangeItemsInput!,
$siteIds: [HashedId!]!
) {
addSitesByTicketId(
input: $input,
siteIds: $siteIds
)
}
Variables
{
"input": TicketChangeItemsInput,
"siteIds": [HashedId]
}
Response
{"data": {"addSitesByTicketId": false}}
addSitesToTicketContentField
Description
Link sites to a ticket content field
Response
Returns a TicketContentField!
Arguments
| Name | Description |
|---|---|
input - TicketChangeItemsInput!
|
Tickets to add to or remove from the selected sites |
siteIds - [HashedId!]!
|
Sites to associate with or remove from tickets |
Example
Query
mutation addSitesToTicketContentField(
$input: TicketChangeItemsInput!,
$siteIds: [HashedId!]!
) {
addSitesToTicketContentField(
input: $input,
siteIds: $siteIds
) {
assetCategories {
...AssetCategoryFragment
}
assetTypes {
...AssetTypeFragment
}
assets {
...AssetFragment
}
assignees {
...AvailableHandlerFragment
}
automations
checkedValue
children {
...TicketContentFieldFragment
}
choiceOptions {
...TicketContentFieldChoiceOptionFragment
}
choiceValue
comment
contentType
created
customFieldColumns {
...CustomFieldFragment
}
dateValue
description {
...TranslationFragment
}
descriptionId
documents {
...DocumentFragment
}
emails {
...TicketContentFieldEmailFragment
}
filters {
...FiltersFragment
}
id
includeTime
isChangeAllowed
isEditableInTicket
isHiddenInTicket
isReservationConstrained
issues {
...ReservationLineItemIssueFragment
}
location {
...AddressFragment
}
locationId
numberValue
numberValueDecimal
order
parentId
phone {
...PhoneFragment
}
phoneId
reservationLineItem {
...ReservationLineItemFragment
}
reservationLineItemId
sites {
...SiteFragment
}
suggestedAssignees {
...AvailableHandlerFragment
}
table {
...TicketContentFieldTableFragment
}
tableId
tags {
...TagFragment
}
textValue
ticketId
title {
...TranslationFragment
}
titleId
updated
uploadedDocuments {
...DocumentFragment
}
yesNoValue
}
}
Variables
{
"input": TicketChangeItemsInput,
"siteIds": [HashedId]
}
Response
{
"data": {
"addSitesToTicketContentField": {
"assetCategories": [AssetCategory],
"assetTypes": [AssetType],
"assets": [Asset],
"assignees": [AvailableHandler],
"automations": 123,
"checkedValue": false,
"children": [TicketContentField],
"choiceOptions": [TicketContentFieldChoiceOption],
"choiceValue": "good",
"comment": "abc123",
"contentType": "asset",
"created": 1592577642,
"customFieldColumns": [CustomField],
"dateValue": "2007-12-03T10:15:30Z",
"description": Translation,
"descriptionId": HashedId,
"documents": [Document],
"emails": [TicketContentFieldEmail],
"filters": [Filters],
"id": HashedId,
"includeTime": false,
"isChangeAllowed": false,
"isEditableInTicket": true,
"isHiddenInTicket": false,
"isReservationConstrained": false,
"issues": [ReservationLineItemIssue],
"location": Address,
"locationId": HashedId,
"numberValue": 123,
"numberValueDecimal": 123.45,
"order": 123,
"parentId": HashedId,
"phone": Phone,
"phoneId": HashedId,
"reservationLineItem": ReservationLineItem,
"reservationLineItemId": HashedId,
"sites": [Site],
"suggestedAssignees": [AvailableHandler],
"table": TicketContentFieldTable,
"tableId": HashedId,
"tags": [Tag],
"textValue": "xyz789",
"ticketId": HashedId,
"title": Translation,
"titleId": HashedId,
"updated": 1592577642,
"uploadedDocuments": [Document],
"yesNoValue": "na"
}
}
}
addTicketRelation
Description
Add ticket handler legacy v1
Response
Returns a TicketHandler!
Arguments
| Name | Description |
|---|---|
ticketHandler - TicketHandlerInput!
|
Handler assignment details for the ticket |
ticketId - HashedId!
|
Ticket to assign a handler to |
Example
Query
mutation addTicketRelation(
$ticketHandler: TicketHandlerInput!,
$ticketId: HashedId!
) {
addTicketRelation(
ticketHandler: $ticketHandler,
ticketId: $ticketId
) {
displayName
handlerType
id
isDeletable
relationType
relationValue
}
}
Variables
{
"ticketHandler": TicketHandlerInput,
"ticketId": HashedId
}
Response
{
"data": {
"addTicketRelation": {
"displayName": "xyz789",
"handlerType": "EXTERNALEMAIL",
"id": HashedId,
"isDeletable": true,
"relationType": "ASSIGNEE",
"relationValue": "abc123"
}
}
}
addWorkOrderWorker
Description
Add a person as a worker to a work order on the Disposition board
Response
Returns a WorkOrderV2!
Arguments
| Name | Description |
|---|---|
input - WorkOrderWorkerInput!
|
Work order worker input payload |
Example
Query
mutation addWorkOrderWorker($input: WorkOrderWorkerInput!) {
addWorkOrderWorker(input: $input) {
assetCollections {
...WorkOrderAssetCollectionFragment
}
assets {
...AssetFragment
}
assignee {
...WorkOrderPersonnelV2Fragment
}
comments {
...WorkOrderCommentFragment
}
costCenter
costs {
...WorkOrderCostFragment
}
created
createdByGroup {
...GroupFragment
}
createdByGroupId
creationDate
creator {
...UserFragment
}
creatorId
customerName
customerSignatures {
...WorkOrderCustomerSignatureFragment
}
dailyRate {
...WorkOrderCostFragment
}
deleted
description {
...TranslationFragment
}
endDate
externalEmailHandlers {
...WorkOrderHandlerExternalEmailFragment
}
followers {
...WorkOrderPersonnelV2Fragment
}
groupHandlers {
...WorkOrderHandlerGroupFragment
}
groupTicketHandlerHandlers {
...WorkOrderHandlerGroupTicketHandlerFragment
}
history {
...WorkOrderHistoryEntryFragment
}
historyV2 {
...WorkOrderHistoryFragment
}
id
linkedTickets {
...TicketFragment
}
locations {
...WorkOrderLocationFragment
}
name
notes {
...TranslationFragment
}
notesId
operatingCosts {
...CostFragment
}
partsUsed {
...TicketPartUsageFragment
}
personnel {
...WorkOrderCostFragment
}
personnelHandlers {
...WorkOrderHandlerPersonnelFragment
}
procedureTemplate {
...ProcedureTemplateFragment
}
procedureTemplateId
site {
...SiteFragment
}
siteId
siteManagerHandler {
...WorkOrderHandlerSiteManagerFragment
}
sourceTicket {
...TicketFragment
}
sourceTicketId
startDate
status
teamHandlers {
...WorkOrderHandlerTeamFragment
}
timeEntries {
...WorkOrderTimeEntryFragment
}
timeEntriesSummary {
...WorkOrderTimeEntrySummaryFragment
}
title {
...TranslationFragment
}
totalPartsCost
updated
userHandlers {
...WorkOrderHandlerUserFragment
}
workOrderNumber
workers {
...WorkOrderPersonnelV2Fragment
}
}
}
Variables
{"input": WorkOrderWorkerInput}
Response
{
"data": {
"addWorkOrderWorker": {
"assetCollections": [WorkOrderAssetCollection],
"assets": [Asset],
"assignee": WorkOrderPersonnelV2,
"comments": [WorkOrderComment],
"costCenter": "xyz789",
"costs": [WorkOrderCost],
"created": 1592577642,
"createdByGroup": Group,
"createdByGroupId": HashedId,
"creationDate": "2007-12-03T10:15:30Z",
"creator": User,
"creatorId": HashedId,
"customerName": "xyz789",
"customerSignatures": [WorkOrderCustomerSignature],
"dailyRate": WorkOrderCost,
"deleted": 1592577642,
"description": Translation,
"endDate": "2007-12-03T10:15:30Z",
"externalEmailHandlers": [
WorkOrderHandlerExternalEmail
],
"followers": [WorkOrderPersonnelV2],
"groupHandlers": [WorkOrderHandlerGroup],
"groupTicketHandlerHandlers": [
WorkOrderHandlerGroupTicketHandler
],
"history": [WorkOrderHistoryEntry],
"historyV2": [WorkOrderHistory],
"id": HashedId,
"linkedTickets": [Ticket],
"locations": [WorkOrderLocation],
"name": "abc123",
"notes": Translation,
"notesId": HashedId,
"operatingCosts": [Cost],
"partsUsed": [TicketPartUsage],
"personnel": [WorkOrderCost],
"personnelHandlers": [WorkOrderHandlerPersonnel],
"procedureTemplate": ProcedureTemplate,
"procedureTemplateId": HashedId,
"site": Site,
"siteId": HashedId,
"siteManagerHandler": WorkOrderHandlerSiteManager,
"sourceTicket": Ticket,
"sourceTicketId": HashedId,
"startDate": "2007-12-03T10:15:30Z",
"status": "CANCELLED",
"teamHandlers": [WorkOrderHandlerTeam],
"timeEntries": [WorkOrderTimeEntry],
"timeEntriesSummary": WorkOrderTimeEntrySummary,
"title": Translation,
"totalPartsCost": 123.45,
"updated": 1592577642,
"userHandlers": [WorkOrderHandlerUser],
"workOrderNumber": 123,
"workers": [WorkOrderPersonnelV2]
}
}
}
allocateReservationLineItemAssets
Description
Allocate assets to a reservation line item
Response
Returns a ReservationLineItem!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Unique identifier of the entity |
input - ReservationLineItemAllocateAssetsInput!
|
Input data required to allocate assets to a reservation line item |
Example
Query
mutation allocateReservationLineItemAssets(
$id: HashedId!,
$input: ReservationLineItemAllocateAssetsInput!
) {
allocateReservationLineItemAssets(
id: $id,
input: $input
) {
allocatedAssets {
...AssetFragment
}
allocatedCount
assetCategory {
...AssetCategoryFragment
}
assetCategoryId
assetType {
...AssetTypeFragment
}
assetTypeId
created
from
id
issues {
...ReservationLineItemIssueFragment
}
order
quantity
reservationId
until
updated
}
}
Variables
{
"id": HashedId,
"input": ReservationLineItemAllocateAssetsInput
}
Response
{
"data": {
"allocateReservationLineItemAssets": {
"allocatedAssets": [Asset],
"allocatedCount": 987,
"assetCategory": AssetCategory,
"assetCategoryId": HashedId,
"assetType": AssetType,
"assetTypeId": HashedId,
"created": 1592577642,
"from": "2007-12-03",
"id": HashedId,
"issues": [ReservationLineItemIssue],
"order": 123,
"quantity": 987,
"reservationId": HashedId,
"until": "2007-12-03",
"updated": 1592577642
}
}
}
archiveCustomFieldById
Description
Soft-delete a custom field by its ID
archiveRule
Description
Archive an automation rule, making it inactive and non-editable
Response
Returns a Boolean!
Arguments
| Name | Description |
|---|---|
id - [HashedId!]!
|
List of unique identifiers |
Example
Query
mutation archiveRule($id: [HashedId!]!) {
archiveRule(id: $id)
}
Variables
{"id": [HashedId]}
Response
{"data": {"archiveRule": true}}
assignAssetQrCodeBySerial
Description
Assign a QR code to the asset whose serial number matches the scanned one
Response
Returns an AssetQrCodeSerialPairingResult!
Arguments
| Name | Description |
|---|---|
input - AssetAssignQrCodeBySerialInput!
|
QR code to serial pairing fields |
Example
Query
mutation assignAssetQrCodeBySerial($input: AssetAssignQrCodeBySerialInput!) {
assignAssetQrCodeBySerial(input: $input) {
asset {
...AssetFragment
}
status
}
}
Variables
{"input": AssetAssignQrCodeBySerialInput}
Response
{
"data": {
"assignAssetQrCodeBySerial": {
"asset": Asset,
"status": "ASSET_HAS_QR_CODE"
}
}
}
assignAssetToAssetPackage
Description
Assign an asset to an asset package
Response
Returns an AssetPackage!
Arguments
| Name | Description |
|---|---|
input - AssetPackageAssetAssignInput!
|
Input data for assigning an asset to an asset package |
Example
Query
mutation assignAssetToAssetPackage($input: AssetPackageAssetAssignInput!) {
assignAssetToAssetPackage(input: $input) {
assetCount
assets {
...AssetPackageAssetFragment
}
created
group {
...GroupFragment
}
groupId
id
isDeleted
name {
...TranslationFragment
}
primaryAsset {
...AssetFragment
}
primaryAssetId
publicId
site {
...SiteFragment
}
siteId
siteInheritance
siteMismatchCount
updated
}
}
Variables
{"input": AssetPackageAssetAssignInput}
Response
{
"data": {
"assignAssetToAssetPackage": {
"assetCount": 987,
"assets": [AssetPackageAsset],
"created": 1592577642,
"group": Group,
"groupId": HashedId,
"id": HashedId,
"isDeleted": false,
"name": Translation,
"primaryAsset": Asset,
"primaryAssetId": HashedId,
"publicId": 987,
"site": Site,
"siteId": HashedId,
"siteInheritance": "CUSTOM",
"siteMismatchCount": 987,
"updated": 1592577642
}
}
}
assignAssetUUID
Description
Assign a QR code UUID to an asset
Response
Returns an Asset!
Example
Query
mutation assignAssetUUID(
$assetId: HashedId!,
$uuid: String!
) {
assignAssetUUID(
assetId: $assetId,
uuid: $uuid
) {
BLE
activeCustomFields {
...CustomFieldFragment
}
activity {
...AssetActivityFragment
}
allowReservations
archivedCustomFields {
...CustomFieldFragment
}
assetCategory {
...AssetCategoryFragment
}
assetCategoryId
assetPackageAsset {
...AssetPackageAssetFragment
}
assetSiteAssignments {
...AssetSiteAssignmentFragment
}
assetType {
...AssetTypeFragment
}
assetTypeId
assignedSiteLocation {
...SiteLocationFragment
}
assignedToGroup {
...GroupFragment
}
assignedToGroupId
assignedToPreviousSite {
...SiteFragment
}
assignedToSite {
...SiteFragment
}
assignedToSiteId
assignment
availability
availabilityId
batteryLevel
canEdit
checkSchedule {
...AssetCheckScheduleFragment
}
checkScheduleRule {
...AssetCheckScheduleRuleFragment
}
classification
client
commissionDate
costCenter
costLines {
...CostLineFragment
}
costs {
...CostLineFragment
}
costsSum
costsSumBattery
costsSumCertification
costsSumConsumables
costsSumFuel
costsSumLabor
costsSumLogistics
costsSumMaintenance
costsSumOther
costsSumParts
costsSumRepair
costsSumTaxes
countNonArchivedSiteAssignments
created
createdByGroup {
...GroupFragment
}
createdByGroupId
currency
currentAlerts {
...EventFragment
}
customer
customerEditable
dailyRate
deleted
deletedBy
description {
...TranslationFragment
}
descriptionId
displayParameters {
...DisplayParameterFragment
}
documents {
...DocumentFragment
}
eventIds
events {
...EventFragment
}
externalId
firmwareVersion
firstTripDate
fixedAssetNumber
floorRoom
gatewayAsset {
...AssetFragment
}
geofence {
...AssetGeofenceFragment
}
group {
...GroupFragment
}
groupId
groupTimezone
id
image
imei
initialValue
inlineImage {
...DocumentInlineFileFragment
}
integrationId
integrationSummary {
...AssetIntegrationSummaryFragment
}
inventoryNumber
inventoryPrefix
inventorySequence
iot {
...IotAssetDataFragment
}
iotIntegrationProvider
iotRuleEntryEvents {
...RuleEntryEventFragment
}
isCommodity
isInStationaryGateway
isIntegrationSyncPaused
isLocked
isUsedPrivately
lastContactInfo {
...AssetLastContactInfoFragment
}
lastContacted
lastContactedSource
lastIntegrationRun {
...AssetIntegrationRunFragment
}
lastTicketDate
latestAssetData
latestTrip {
...AssetTripLatestFragment
}
leasingCostTermination
leasingEnd
leasingLevel
leasingMonthlyCost
leasingPartner
leasingPartnerContractNumber
leasingPartnerContractPositionNumber
leasingRenewalDate
leasingRenewalRate
leasingStart
location {
...LocationFragment
}
locationHiddenReason
locationV2 {
... on Location {
...LocationFragment
}
... on SiteLocation {
...SiteLocationFragment
}
... on TripLocation {
...TripLocationFragment
}
}
maintenanceSchedule {
...AssetMaintenanceScheduleFragment
}
manuals {
...DocumentFragment
}
manufacturer {
...ManufacturerFragment
}
manufacturerId
minDaysBilled
module {
...ModuleFragment
}
moduleConnectionStatus
moduleId
nextService
nonWorkingDays {
...AssetNonWorkingDaysFragment
}
operationalCosts {
...CostFragment
}
optionalAssetID
ownership
ownershipId
parameterOffsetIds
parameterOffsets {
...AssetParameterOffsetFragment
}
parameterSets {
...ParameterSetFragment
}
partsNumber
plateNumber
previousSiteId
primaryServicePackage {
...ServicePackageWithSourceTypeFragment
}
projectNumber
publicId
purchaseCost
purchaseCurrentBookValue
purchaseDepreciation
purchaseDepreciationMonths
purchaseDepreciationRemainingMonths
purchaseDepriciation
purchaseInvoiceNumber
purchaseLowValueAsset
purchaseMonthlyCost
purchaseStart
purchaseWarrantyEnd
purchaseWarrantyPeriod
purchaseWarrantyStart
qrAttached
quantity
relatedGroups {
...RelatedGroupFragment
}
rentalCostTermination
rentalEnd
rentalMonthlyCost
rentalRenewalDate
rentalRenewalRate
rentalStart
reservationLineItemIssues {
...ReservationLineItemIssueFragment
}
reservations {
...LegacyAssetReservationFragment
}
resolvedCurrency
responsiblePerson
responsiblePersonUpdatedAt
responsiblePersonUpdatedByUser {
...UserFragment
}
responsiblePersonUpdatedByUserId
restoreBlockers
runtimeWithOffsetInSeconds
scanTime
serial
serviceContract
serviceContractCostPerYear
serviceContractDocuments {
...DocumentFragment
}
serviceContractEmail
serviceContractEnd
serviceContractFrom
serviceContractLevel
serviceContractPartner
serviceContractStart
serviceContractTo
services {
...ServiceFragment
}
shouldShowLastSeenByGateway
shouldUpdateActiveAssetSiteAssignment
site {
...SiteFragment
}
siteId
state {
...AssetStateFragment
}
stateV2 {
...AssetStateItemFragment
}
status {
...StatusItemFragment
}
subscription
supplier
tickets {
...TicketFragment
}
ticketsCount
totalUtilization
totalWorkDone
trips {
...TripFragment
}
unavailability {
...AssetUnavailabilityFragment
}
updated
utilization {
...AssetUtilizationFragment
}
uuid
vncTunnelUrl
workOrders {
...WorkOrderV2Fragment
}
workingHours {
...AssetWorkingHoursFragment
}
workingHoursNotification {
...RuleNotificationRelationFragment
}
workingHoursSettings
}
}
Variables
{
"assetId": HashedId,
"uuid": "xyz789"
}
Response
{
"data": {
"assignAssetUUID": {
"BLE": "xyz789",
"activeCustomFields": [CustomField],
"activity": AssetActivity,
"allowReservations": true,
"archivedCustomFields": [CustomField],
"assetCategory": AssetCategory,
"assetCategoryId": HashedId,
"assetPackageAsset": AssetPackageAsset,
"assetSiteAssignments": [AssetSiteAssignment],
"assetType": AssetType,
"assetTypeId": HashedId,
"assignedSiteLocation": SiteLocation,
"assignedToGroup": Group,
"assignedToGroupId": HashedId,
"assignedToPreviousSite": Site,
"assignedToSite": Site,
"assignedToSiteId": HashedId,
"assignment": "xyz789",
"availability": "BORROWED",
"availabilityId": HashedId,
"batteryLevel": "xyz789",
"canEdit": true,
"checkSchedule": AssetCheckSchedule,
"checkScheduleRule": AssetCheckScheduleRule,
"classification": "GENERIC",
"client": "xyz789",
"commissionDate": "2007-12-03",
"costCenter": "xyz789",
"costLines": [CostLine],
"costs": [CostLine],
"costsSum": 123.45,
"costsSumBattery": 123.45,
"costsSumCertification": 123.45,
"costsSumConsumables": 987.65,
"costsSumFuel": 987.65,
"costsSumLabor": 987.65,
"costsSumLogistics": 123.45,
"costsSumMaintenance": 987.65,
"costsSumOther": 123.45,
"costsSumParts": 987.65,
"costsSumRepair": 987.65,
"costsSumTaxes": 123.45,
"countNonArchivedSiteAssignments": 123,
"created": 1592577642,
"createdByGroup": Group,
"createdByGroupId": HashedId,
"currency": "xyz789",
"currentAlerts": [Event],
"customer": "xyz789",
"customerEditable": true,
"dailyRate": 987.65,
"deleted": 1592577642,
"deletedBy": "xyz789",
"description": Translation,
"descriptionId": HashedId,
"displayParameters": [DisplayParameter],
"documents": [Document],
"eventIds": [HashedId],
"events": [Event],
"externalId": "xyz789",
"firmwareVersion": "xyz789",
"firstTripDate": 123.45,
"fixedAssetNumber": "xyz789",
"floorRoom": "xyz789",
"gatewayAsset": Asset,
"geofence": AssetGeofence,
"group": Group,
"groupId": HashedId,
"groupTimezone": "xyz789",
"id": HashedId,
"image": "xyz789",
"imei": "abc123",
"initialValue": "xyz789",
"inlineImage": DocumentInlineFile,
"integrationId": HashedId,
"integrationSummary": AssetIntegrationSummary,
"inventoryNumber": "xyz789",
"inventoryPrefix": "abc123",
"inventorySequence": 987,
"iot": IotAssetData,
"iotIntegrationProvider": "ACHELIS_PROVIDER",
"iotRuleEntryEvents": [RuleEntryEvent],
"isCommodity": false,
"isInStationaryGateway": true,
"isIntegrationSyncPaused": true,
"isLocked": true,
"isUsedPrivately": true,
"lastContactInfo": AssetLastContactInfo,
"lastContacted": 1592577642,
"lastContactedSource": "BLE",
"lastIntegrationRun": AssetIntegrationRun,
"lastTicketDate": "2007-12-03T10:15:30Z",
"latestAssetData": {},
"latestTrip": AssetTripLatest,
"leasingCostTermination": "xyz789",
"leasingEnd": "2007-12-03",
"leasingLevel": "abc123",
"leasingMonthlyCost": "abc123",
"leasingPartner": "xyz789",
"leasingPartnerContractNumber": "xyz789",
"leasingPartnerContractPositionNumber": "abc123",
"leasingRenewalDate": "2007-12-03",
"leasingRenewalRate": "xyz789",
"leasingStart": "2007-12-03",
"location": Location,
"locationHiddenReason": "PRIVATE_USE",
"locationV2": Location,
"maintenanceSchedule": AssetMaintenanceSchedule,
"manuals": [Document],
"manufacturer": Manufacturer,
"manufacturerId": HashedId,
"minDaysBilled": 987,
"module": Module,
"moduleConnectionStatus": "disconnected",
"moduleId": HashedId,
"nextService": 123,
"nonWorkingDays": [AssetNonWorkingDays],
"operationalCosts": [Cost],
"optionalAssetID": "xyz789",
"ownership": "CUSTOMER_MACHINE",
"ownershipId": HashedId,
"parameterOffsetIds": [HashedId],
"parameterOffsets": [AssetParameterOffset],
"parameterSets": [ParameterSet],
"partsNumber": "xyz789",
"plateNumber": "abc123",
"previousSiteId": HashedId,
"primaryServicePackage": ServicePackageWithSourceType,
"projectNumber": "abc123",
"publicId": 123,
"purchaseCost": "abc123",
"purchaseCurrentBookValue": "xyz789",
"purchaseDepreciation": 987.65,
"purchaseDepreciationMonths": 987,
"purchaseDepreciationRemainingMonths": 987,
"purchaseDepriciation": 123,
"purchaseInvoiceNumber": "abc123",
"purchaseLowValueAsset": true,
"purchaseMonthlyCost": "xyz789",
"purchaseStart": "2007-12-03",
"purchaseWarrantyEnd": "2007-12-03",
"purchaseWarrantyPeriod": 123,
"purchaseWarrantyStart": "2007-12-03",
"qrAttached": false,
"quantity": 987,
"relatedGroups": [RelatedGroup],
"rentalCostTermination": "xyz789",
"rentalEnd": "2007-12-03",
"rentalMonthlyCost": "abc123",
"rentalRenewalDate": "2007-12-03",
"rentalRenewalRate": "abc123",
"rentalStart": "2007-12-03",
"reservationLineItemIssues": [
ReservationLineItemIssue
],
"reservations": [LegacyAssetReservation],
"resolvedCurrency": "AED",
"responsiblePerson": "xyz789",
"responsiblePersonUpdatedAt": 1592577642,
"responsiblePersonUpdatedByUser": User,
"responsiblePersonUpdatedByUserId": HashedId,
"restoreBlockers": ["PARENT_ASSET_CATEGORY_DELETED"],
"runtimeWithOffsetInSeconds": 987,
"scanTime": "2007-12-03",
"serial": "abc123",
"serviceContract": false,
"serviceContractCostPerYear": "abc123",
"serviceContractDocuments": [Document],
"serviceContractEmail": "abc123",
"serviceContractEnd": "2007-12-03",
"serviceContractFrom": 1592577642,
"serviceContractLevel": "abc123",
"serviceContractPartner": "abc123",
"serviceContractStart": "2007-12-03",
"serviceContractTo": 1592577642,
"services": [Service],
"shouldShowLastSeenByGateway": false,
"shouldUpdateActiveAssetSiteAssignment": false,
"site": Site,
"siteId": HashedId,
"state": AssetState,
"stateV2": [AssetStateItem],
"status": [StatusItem],
"subscription": "abc123",
"supplier": "abc123",
"tickets": [Ticket],
"ticketsCount": "abc123",
"totalUtilization": "xyz789",
"totalWorkDone": "abc123",
"trips": [Trip],
"unavailability": [AssetUnavailability],
"updated": 1592577642,
"utilization": AssetUtilization,
"uuid": "xyz789",
"vncTunnelUrl": "abc123",
"workOrders": [WorkOrderV2],
"workingHours": AssetWorkingHours,
"workingHoursNotification": [
RuleNotificationRelation
],
"workingHoursSettings": {}
}
}
}
assignServicesToServicePackage
Description
Assign services to service package
Response
Returns a Boolean!
Arguments
| Name | Description |
|---|---|
serviceIds - [HashedId!]!
|
Service identifiers |
servicePackageId - HashedId!
|
Service package identifier |
Example
Query
mutation assignServicesToServicePackage(
$serviceIds: [HashedId!]!,
$servicePackageId: HashedId!
) {
assignServicesToServicePackage(
serviceIds: $serviceIds,
servicePackageId: $servicePackageId
)
}
Variables
{
"serviceIds": [HashedId],
"servicePackageId": HashedId
}
Response
{"data": {"assignServicesToServicePackage": true}}
assignWorkOrderAssets
Description
Assign work order assets
Response
Returns [Asset!]!
Arguments
| Name | Description |
|---|---|
assetIds - [HashedId!]!
|
Asset identifiers. Default = [] |
workOrder - WorkOrderDatesInput!
|
Work order date range identifying the target work order |
Example
Query
mutation assignWorkOrderAssets(
$assetIds: [HashedId!]!,
$workOrder: WorkOrderDatesInput!
) {
assignWorkOrderAssets(
assetIds: $assetIds,
workOrder: $workOrder
) {
BLE
activeCustomFields {
...CustomFieldFragment
}
activity {
...AssetActivityFragment
}
allowReservations
archivedCustomFields {
...CustomFieldFragment
}
assetCategory {
...AssetCategoryFragment
}
assetCategoryId
assetPackageAsset {
...AssetPackageAssetFragment
}
assetSiteAssignments {
...AssetSiteAssignmentFragment
}
assetType {
...AssetTypeFragment
}
assetTypeId
assignedSiteLocation {
...SiteLocationFragment
}
assignedToGroup {
...GroupFragment
}
assignedToGroupId
assignedToPreviousSite {
...SiteFragment
}
assignedToSite {
...SiteFragment
}
assignedToSiteId
assignment
availability
availabilityId
batteryLevel
canEdit
checkSchedule {
...AssetCheckScheduleFragment
}
checkScheduleRule {
...AssetCheckScheduleRuleFragment
}
classification
client
commissionDate
costCenter
costLines {
...CostLineFragment
}
costs {
...CostLineFragment
}
costsSum
costsSumBattery
costsSumCertification
costsSumConsumables
costsSumFuel
costsSumLabor
costsSumLogistics
costsSumMaintenance
costsSumOther
costsSumParts
costsSumRepair
costsSumTaxes
countNonArchivedSiteAssignments
created
createdByGroup {
...GroupFragment
}
createdByGroupId
currency
currentAlerts {
...EventFragment
}
customer
customerEditable
dailyRate
deleted
deletedBy
description {
...TranslationFragment
}
descriptionId
displayParameters {
...DisplayParameterFragment
}
documents {
...DocumentFragment
}
eventIds
events {
...EventFragment
}
externalId
firmwareVersion
firstTripDate
fixedAssetNumber
floorRoom
gatewayAsset {
...AssetFragment
}
geofence {
...AssetGeofenceFragment
}
group {
...GroupFragment
}
groupId
groupTimezone
id
image
imei
initialValue
inlineImage {
...DocumentInlineFileFragment
}
integrationId
integrationSummary {
...AssetIntegrationSummaryFragment
}
inventoryNumber
inventoryPrefix
inventorySequence
iot {
...IotAssetDataFragment
}
iotIntegrationProvider
iotRuleEntryEvents {
...RuleEntryEventFragment
}
isCommodity
isInStationaryGateway
isIntegrationSyncPaused
isLocked
isUsedPrivately
lastContactInfo {
...AssetLastContactInfoFragment
}
lastContacted
lastContactedSource
lastIntegrationRun {
...AssetIntegrationRunFragment
}
lastTicketDate
latestAssetData
latestTrip {
...AssetTripLatestFragment
}
leasingCostTermination
leasingEnd
leasingLevel
leasingMonthlyCost
leasingPartner
leasingPartnerContractNumber
leasingPartnerContractPositionNumber
leasingRenewalDate
leasingRenewalRate
leasingStart
location {
...LocationFragment
}
locationHiddenReason
locationV2 {
... on Location {
...LocationFragment
}
... on SiteLocation {
...SiteLocationFragment
}
... on TripLocation {
...TripLocationFragment
}
}
maintenanceSchedule {
...AssetMaintenanceScheduleFragment
}
manuals {
...DocumentFragment
}
manufacturer {
...ManufacturerFragment
}
manufacturerId
minDaysBilled
module {
...ModuleFragment
}
moduleConnectionStatus
moduleId
nextService
nonWorkingDays {
...AssetNonWorkingDaysFragment
}
operationalCosts {
...CostFragment
}
optionalAssetID
ownership
ownershipId
parameterOffsetIds
parameterOffsets {
...AssetParameterOffsetFragment
}
parameterSets {
...ParameterSetFragment
}
partsNumber
plateNumber
previousSiteId
primaryServicePackage {
...ServicePackageWithSourceTypeFragment
}
projectNumber
publicId
purchaseCost
purchaseCurrentBookValue
purchaseDepreciation
purchaseDepreciationMonths
purchaseDepreciationRemainingMonths
purchaseDepriciation
purchaseInvoiceNumber
purchaseLowValueAsset
purchaseMonthlyCost
purchaseStart
purchaseWarrantyEnd
purchaseWarrantyPeriod
purchaseWarrantyStart
qrAttached
quantity
relatedGroups {
...RelatedGroupFragment
}
rentalCostTermination
rentalEnd
rentalMonthlyCost
rentalRenewalDate
rentalRenewalRate
rentalStart
reservationLineItemIssues {
...ReservationLineItemIssueFragment
}
reservations {
...LegacyAssetReservationFragment
}
resolvedCurrency
responsiblePerson
responsiblePersonUpdatedAt
responsiblePersonUpdatedByUser {
...UserFragment
}
responsiblePersonUpdatedByUserId
restoreBlockers
runtimeWithOffsetInSeconds
scanTime
serial
serviceContract
serviceContractCostPerYear
serviceContractDocuments {
...DocumentFragment
}
serviceContractEmail
serviceContractEnd
serviceContractFrom
serviceContractLevel
serviceContractPartner
serviceContractStart
serviceContractTo
services {
...ServiceFragment
}
shouldShowLastSeenByGateway
shouldUpdateActiveAssetSiteAssignment
site {
...SiteFragment
}
siteId
state {
...AssetStateFragment
}
stateV2 {
...AssetStateItemFragment
}
status {
...StatusItemFragment
}
subscription
supplier
tickets {
...TicketFragment
}
ticketsCount
totalUtilization
totalWorkDone
trips {
...TripFragment
}
unavailability {
...AssetUnavailabilityFragment
}
updated
utilization {
...AssetUtilizationFragment
}
uuid
vncTunnelUrl
workOrders {
...WorkOrderV2Fragment
}
workingHours {
...AssetWorkingHoursFragment
}
workingHoursNotification {
...RuleNotificationRelationFragment
}
workingHoursSettings
}
}
Variables
{"assetIds": [""], "workOrder": WorkOrderDatesInput}
Response
{
"data": {
"assignWorkOrderAssets": [
{
"BLE": "xyz789",
"activeCustomFields": [CustomField],
"activity": AssetActivity,
"allowReservations": false,
"archivedCustomFields": [CustomField],
"assetCategory": AssetCategory,
"assetCategoryId": HashedId,
"assetPackageAsset": AssetPackageAsset,
"assetSiteAssignments": [AssetSiteAssignment],
"assetType": AssetType,
"assetTypeId": HashedId,
"assignedSiteLocation": SiteLocation,
"assignedToGroup": Group,
"assignedToGroupId": HashedId,
"assignedToPreviousSite": Site,
"assignedToSite": Site,
"assignedToSiteId": HashedId,
"assignment": "abc123",
"availability": "BORROWED",
"availabilityId": HashedId,
"batteryLevel": "abc123",
"canEdit": false,
"checkSchedule": AssetCheckSchedule,
"checkScheduleRule": AssetCheckScheduleRule,
"classification": "GENERIC",
"client": "abc123",
"commissionDate": "2007-12-03",
"costCenter": "abc123",
"costLines": [CostLine],
"costs": [CostLine],
"costsSum": 987.65,
"costsSumBattery": 123.45,
"costsSumCertification": 123.45,
"costsSumConsumables": 987.65,
"costsSumFuel": 123.45,
"costsSumLabor": 123.45,
"costsSumLogistics": 987.65,
"costsSumMaintenance": 987.65,
"costsSumOther": 123.45,
"costsSumParts": 987.65,
"costsSumRepair": 987.65,
"costsSumTaxes": 123.45,
"countNonArchivedSiteAssignments": 123,
"created": 1592577642,
"createdByGroup": Group,
"createdByGroupId": HashedId,
"currency": "abc123",
"currentAlerts": [Event],
"customer": "abc123",
"customerEditable": true,
"dailyRate": 987.65,
"deleted": 1592577642,
"deletedBy": "abc123",
"description": Translation,
"descriptionId": HashedId,
"displayParameters": [DisplayParameter],
"documents": [Document],
"eventIds": [HashedId],
"events": [Event],
"externalId": "abc123",
"firmwareVersion": "xyz789",
"firstTripDate": 123.45,
"fixedAssetNumber": "abc123",
"floorRoom": "abc123",
"gatewayAsset": Asset,
"geofence": AssetGeofence,
"group": Group,
"groupId": HashedId,
"groupTimezone": "abc123",
"id": HashedId,
"image": "abc123",
"imei": "xyz789",
"initialValue": "abc123",
"inlineImage": DocumentInlineFile,
"integrationId": HashedId,
"integrationSummary": AssetIntegrationSummary,
"inventoryNumber": "xyz789",
"inventoryPrefix": "abc123",
"inventorySequence": 123,
"iot": IotAssetData,
"iotIntegrationProvider": "ACHELIS_PROVIDER",
"iotRuleEntryEvents": [RuleEntryEvent],
"isCommodity": true,
"isInStationaryGateway": false,
"isIntegrationSyncPaused": false,
"isLocked": false,
"isUsedPrivately": true,
"lastContactInfo": AssetLastContactInfo,
"lastContacted": 1592577642,
"lastContactedSource": "BLE",
"lastIntegrationRun": AssetIntegrationRun,
"lastTicketDate": "2007-12-03T10:15:30Z",
"latestAssetData": {},
"latestTrip": AssetTripLatest,
"leasingCostTermination": "xyz789",
"leasingEnd": "2007-12-03",
"leasingLevel": "xyz789",
"leasingMonthlyCost": "xyz789",
"leasingPartner": "abc123",
"leasingPartnerContractNumber": "xyz789",
"leasingPartnerContractPositionNumber": "abc123",
"leasingRenewalDate": "2007-12-03",
"leasingRenewalRate": "xyz789",
"leasingStart": "2007-12-03",
"location": Location,
"locationHiddenReason": "PRIVATE_USE",
"locationV2": Location,
"maintenanceSchedule": AssetMaintenanceSchedule,
"manuals": [Document],
"manufacturer": Manufacturer,
"manufacturerId": HashedId,
"minDaysBilled": 987,
"module": Module,
"moduleConnectionStatus": "disconnected",
"moduleId": HashedId,
"nextService": 987,
"nonWorkingDays": [AssetNonWorkingDays],
"operationalCosts": [Cost],
"optionalAssetID": "xyz789",
"ownership": "CUSTOMER_MACHINE",
"ownershipId": HashedId,
"parameterOffsetIds": [HashedId],
"parameterOffsets": [AssetParameterOffset],
"parameterSets": [ParameterSet],
"partsNumber": "xyz789",
"plateNumber": "abc123",
"previousSiteId": HashedId,
"primaryServicePackage": ServicePackageWithSourceType,
"projectNumber": "xyz789",
"publicId": 123,
"purchaseCost": "abc123",
"purchaseCurrentBookValue": "abc123",
"purchaseDepreciation": 987.65,
"purchaseDepreciationMonths": 987,
"purchaseDepreciationRemainingMonths": 123,
"purchaseDepriciation": 123,
"purchaseInvoiceNumber": "abc123",
"purchaseLowValueAsset": true,
"purchaseMonthlyCost": "xyz789",
"purchaseStart": "2007-12-03",
"purchaseWarrantyEnd": "2007-12-03",
"purchaseWarrantyPeriod": 987,
"purchaseWarrantyStart": "2007-12-03",
"qrAttached": false,
"quantity": 123,
"relatedGroups": [RelatedGroup],
"rentalCostTermination": "abc123",
"rentalEnd": "2007-12-03",
"rentalMonthlyCost": "abc123",
"rentalRenewalDate": "2007-12-03",
"rentalRenewalRate": "abc123",
"rentalStart": "2007-12-03",
"reservationLineItemIssues": [
ReservationLineItemIssue
],
"reservations": [LegacyAssetReservation],
"resolvedCurrency": "AED",
"responsiblePerson": "abc123",
"responsiblePersonUpdatedAt": 1592577642,
"responsiblePersonUpdatedByUser": User,
"responsiblePersonUpdatedByUserId": HashedId,
"restoreBlockers": ["PARENT_ASSET_CATEGORY_DELETED"],
"runtimeWithOffsetInSeconds": 123,
"scanTime": "2007-12-03",
"serial": "abc123",
"serviceContract": true,
"serviceContractCostPerYear": "abc123",
"serviceContractDocuments": [Document],
"serviceContractEmail": "abc123",
"serviceContractEnd": "2007-12-03",
"serviceContractFrom": 1592577642,
"serviceContractLevel": "xyz789",
"serviceContractPartner": "abc123",
"serviceContractStart": "2007-12-03",
"serviceContractTo": 1592577642,
"services": [Service],
"shouldShowLastSeenByGateway": false,
"shouldUpdateActiveAssetSiteAssignment": true,
"site": Site,
"siteId": HashedId,
"state": AssetState,
"stateV2": [AssetStateItem],
"status": [StatusItem],
"subscription": "xyz789",
"supplier": "xyz789",
"tickets": [Ticket],
"ticketsCount": "xyz789",
"totalUtilization": "xyz789",
"totalWorkDone": "abc123",
"trips": [Trip],
"unavailability": [AssetUnavailability],
"updated": 1592577642,
"utilization": AssetUtilization,
"uuid": "xyz789",
"vncTunnelUrl": "xyz789",
"workOrders": [WorkOrderV2],
"workingHours": AssetWorkingHours,
"workingHoursNotification": [
RuleNotificationRelation
],
"workingHoursSettings": {}
}
]
}
}
assignWorkOrderCosts
Description
Assign work order costs
Response
Returns [WorkOrderCost!]!
Arguments
| Name | Description |
|---|---|
costs - [WorkOrderCostInput!]!
|
Cost entries to assign to the work order |
workOrder - WorkOrderDatesInput!
|
Work order date range identifying the target work order |
Example
Query
mutation assignWorkOrderCosts(
$costs: [WorkOrderCostInput!]!,
$workOrder: WorkOrderDatesInput!
) {
assignWorkOrderCosts(
costs: $costs,
workOrder: $workOrder
) {
costType
currency
id
valueCents
widgetHint
workOrderId
}
}
Variables
{
"costs": [WorkOrderCostInput],
"workOrder": WorkOrderDatesInput
}
Response
{
"data": {
"assignWorkOrderCosts": [
{
"costType": "DAILY_RATE",
"currency": "AED",
"id": HashedId,
"valueCents": 123,
"widgetHint": "abc123",
"workOrderId": HashedId
}
]
}
}
assignWorkOrderCostsV2
Description
Assign work order costs
Response
Returns [WorkOrderCost!]!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Unique identifier of the entity |
input - WorkOrderUpdateCostsInput!
|
Cost assignment input |
Example
Query
mutation assignWorkOrderCostsV2(
$id: HashedId!,
$input: WorkOrderUpdateCostsInput!
) {
assignWorkOrderCostsV2(
id: $id,
input: $input
) {
costType
currency
id
valueCents
widgetHint
workOrderId
}
}
Variables
{
"id": HashedId,
"input": WorkOrderUpdateCostsInput
}
Response
{
"data": {
"assignWorkOrderCostsV2": [
{
"costType": "DAILY_RATE",
"currency": "AED",
"id": HashedId,
"valueCents": 987,
"widgetHint": "abc123",
"workOrderId": HashedId
}
]
}
}
assignWorkOrderLocations
Description
Assign work order locations
Response
Returns [WorkOrderLocation!]!
Arguments
| Name | Description |
|---|---|
locations - [WorkOrderLocationInput!]!
|
Location entries to assign to the work order |
workOrder - WorkOrderDatesInput!
|
Work order date range identifying the target work order |
Example
Query
mutation assignWorkOrderLocations(
$locations: [WorkOrderLocationInput!]!,
$workOrder: WorkOrderDatesInput!
) {
assignWorkOrderLocations(
locations: $locations,
workOrder: $workOrder
) {
address
id
lat
lng
name
site {
...SiteFragment
}
siteId
widgetHint
workOrderId
}
}
Variables
{
"locations": [WorkOrderLocationInput],
"workOrder": WorkOrderDatesInput
}
Response
{
"data": {
"assignWorkOrderLocations": [
{
"address": "abc123",
"id": HashedId,
"lat": "abc123",
"lng": "xyz789",
"name": "abc123",
"site": Site,
"siteId": HashedId,
"widgetHint": "abc123",
"workOrderId": HashedId
}
]
}
}
assignWorkOrderPersonnel
Description
Assign work order personnel
Response
Returns [WorkOrderPersonnelV2!]!
Arguments
| Name | Description |
|---|---|
personnel - WorkOrderPersonnelInput!
|
Legacy work order personnel input, superseded by typed work order handler inputs. |
workOrder - WorkOrderDatesInput!
|
Legacy work order date-range lookup, superseded by typed work order handler by-id mutations. |
Example
Query
mutation assignWorkOrderPersonnel(
$personnel: WorkOrderPersonnelInput!,
$workOrder: WorkOrderDatesInput!
) {
assignWorkOrderPersonnel(
personnel: $personnel,
workOrder: $workOrder
) {
contact {
...WorkOrderPersonnelContactFragment
}
deleted
displayName
group {
...GroupFragment
}
groupId
id
personnel {
...PersonnelValueFragment
}
removable
team {
...TeamFragment
}
teamId
user {
...UserFragment
}
userId
widgetHint
workOrderId
}
}
Variables
{
"personnel": WorkOrderPersonnelInput,
"workOrder": WorkOrderDatesInput
}
Response
{
"data": {
"assignWorkOrderPersonnel": [
{
"contact": WorkOrderPersonnelContact,
"deleted": 1592577642,
"displayName": "abc123",
"group": Group,
"groupId": HashedId,
"id": HashedId,
"personnel": PersonnelValue,
"removable": true,
"team": Team,
"teamId": HashedId,
"user": User,
"userId": HashedId,
"widgetHint": "xyz789",
"workOrderId": HashedId
}
]
}
}
attachQrCodeToSite
Description
Link a scanned QR code to a site for quick mobile identification
Response
Returns a Site!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Unique identifier of the entity |
input - SiteAttachQrCodeInput!
|
Site qr code attachment details |
uuid - String!
|
Universally unique identifier |
Example
Query
mutation attachQrCodeToSite(
$id: HashedId!,
$input: SiteAttachQrCodeInput!,
$uuid: String!
) {
attachQrCodeToSite(
id: $id,
input: $input,
uuid: $uuid
) {
accountNumber
address
assetsCount
assignedToGroup {
...GroupFragment
}
assignedToGroupId
containsAssetsToModifyByGroup
coordinates {
...CoordinatesFragment
}
costCenter
country
created
createdByGroup {
...GroupFragment
}
createdByGroupId
customerNumber
deleted
deletedBy
deletedSitesCount
email
events {
...EventFragment
}
externalId
geofenceNotification {
...RuleNotificationRelationFragment
}
geofenceSettings
groupTreeRootId
id
image
isFixed
lat
lng
locationText
name
note
parentSite {
...SiteFragment
}
parentSiteId
postalCode
publicId
qrAttached
restoreBlockers
servicePackage {
...ServicePackageFragment
}
servicePackageId
shouldInheritGeofenceSettings
shouldInheritManagerDetails
shouldInheritServicePackage
siteManagerName
siteManagers {
...SiteManagerFragment
}
siteType {
...SiteTypeFragment
}
siteTypeId
telephone
updated
uuid
}
}
Variables
{
"id": HashedId,
"input": SiteAttachQrCodeInput,
"uuid": "abc123"
}
Response
{
"data": {
"attachQrCodeToSite": {
"accountNumber": "xyz789",
"address": "xyz789",
"assetsCount": 123,
"assignedToGroup": Group,
"assignedToGroupId": HashedId,
"containsAssetsToModifyByGroup": false,
"coordinates": Coordinates,
"costCenter": "abc123",
"country": "xyz789",
"created": 1592577642,
"createdByGroup": Group,
"createdByGroupId": HashedId,
"customerNumber": "abc123",
"deleted": 1592577642,
"deletedBy": "xyz789",
"deletedSitesCount": 987,
"email": "xyz789",
"events": [Event],
"externalId": "xyz789",
"geofenceNotification": [RuleNotificationRelation],
"geofenceSettings": {},
"groupTreeRootId": HashedId,
"id": HashedId,
"image": "xyz789",
"isFixed": true,
"lat": "abc123",
"lng": "abc123",
"locationText": "abc123",
"name": "abc123",
"note": "abc123",
"parentSite": Site,
"parentSiteId": HashedId,
"postalCode": "abc123",
"publicId": 123,
"qrAttached": true,
"restoreBlockers": ["PARENT_ASSET_CATEGORY_DELETED"],
"servicePackage": ServicePackage,
"servicePackageId": HashedId,
"shouldInheritGeofenceSettings": false,
"shouldInheritManagerDetails": false,
"shouldInheritServicePackage": true,
"siteManagerName": "xyz789",
"siteManagers": [SiteManager],
"siteType": SiteType,
"siteTypeId": HashedId,
"telephone": "abc123",
"updated": 1592577642,
"uuid": "abc123"
}
}
}
bulkAddAssetsToCheckRule
Response
Returns an AssetMassEditResult!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
ID of the check rule to assign to selected assets |
input - AssetMassEditSelectionInput!
|
Selection criteria for the assets to assign the check rule to |
nextEvent - DateTime
|
Optional date for the next scheduled check event |
updateExisting - Boolean
|
Whether to update the next check date for assets already assigned to this rule. Default = false |
Example
Query
mutation bulkAddAssetsToCheckRule(
$id: HashedId!,
$input: AssetMassEditSelectionInput!,
$nextEvent: DateTime,
$updateExisting: Boolean
) {
bulkAddAssetsToCheckRule(
id: $id,
input: $input,
nextEvent: $nextEvent,
updateExisting: $updateExisting
) {
failed {
...AssetMassEditFailureFragment
}
retainedIds
skipped
succeeded
}
}
Variables
{
"id": HashedId,
"input": AssetMassEditSelectionInput,
"nextEvent": "2007-12-03T10:15:30Z",
"updateExisting": false
}
Response
{
"data": {
"bulkAddAssetsToCheckRule": {
"failed": [AssetMassEditFailure],
"retainedIds": [HashedId],
"skipped": 987,
"succeeded": 987
}
}
}
bulkArchiveCustomFields
Response
Returns a CustomFieldMassEditResult!
Arguments
| Name | Description |
|---|---|
input - CustomFieldMassEditSelectionInput!
|
Example
Query
mutation bulkArchiveCustomFields($input: CustomFieldMassEditSelectionInput!) {
bulkArchiveCustomFields(input: $input) {
failed {
...CustomFieldMassEditFailureFragment
}
retainedIds
skipped
succeeded
}
}
Variables
{"input": CustomFieldMassEditSelectionInput}
Response
{
"data": {
"bulkArchiveCustomFields": {
"failed": [CustomFieldMassEditFailure],
"retainedIds": [HashedId],
"skipped": 123,
"succeeded": 123
}
}
}
bulkArchiveRules
Response
Returns a RuleMassEditResult!
Arguments
| Name | Description |
|---|---|
input - RuleMassEditSelectionInput!
|
Example
Query
mutation bulkArchiveRules($input: RuleMassEditSelectionInput!) {
bulkArchiveRules(input: $input) {
failed {
...RuleMassEditFailureFragment
}
retainedIds
skipped
succeeded
}
}
Variables
{"input": RuleMassEditSelectionInput}
Response
{
"data": {
"bulkArchiveRules": {
"failed": [RuleMassEditFailure],
"retainedIds": [HashedId],
"skipped": 987,
"succeeded": 987
}
}
}
bulkAssignAdditionalGroupsUsers
Response
Returns a UserMassEditResult!
Arguments
| Name | Description |
|---|---|
input - UserBulkAssignAdditionalGroupsInput!
|
Example
Query
mutation bulkAssignAdditionalGroupsUsers($input: UserBulkAssignAdditionalGroupsInput!) {
bulkAssignAdditionalGroupsUsers(input: $input) {
failed {
...UserMassEditFailureFragment
}
retainedIds
skipped
succeeded
}
}
Variables
{"input": UserBulkAssignAdditionalGroupsInput}
Response
{
"data": {
"bulkAssignAdditionalGroupsUsers": {
"failed": [UserMassEditFailure],
"retainedIds": [HashedId],
"skipped": 123,
"succeeded": 123
}
}
}
bulkAssignAssetType
Response
Returns an AssetMassEditResult!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
ID of the target asset type to assign |
input - AssetMassEditSelectionInput!
|
Selection criteria for the assets to reassign |
Example
Query
mutation bulkAssignAssetType(
$id: HashedId!,
$input: AssetMassEditSelectionInput!
) {
bulkAssignAssetType(
id: $id,
input: $input
) {
failed {
...AssetMassEditFailureFragment
}
retainedIds
skipped
succeeded
}
}
Variables
{
"id": HashedId,
"input": AssetMassEditSelectionInput
}
Response
{
"data": {
"bulkAssignAssetType": {
"failed": [AssetMassEditFailure],
"retainedIds": [HashedId],
"skipped": 123,
"succeeded": 123
}
}
}
bulkAssignAssigneeTickets
Response
Returns a TicketMassEditResult!
Arguments
| Name | Description |
|---|---|
input - TicketBulkAssignAssigneeInput!
|
Ticket selection and user assignee, or null to clear the assignee |
Example
Query
mutation bulkAssignAssigneeTickets($input: TicketBulkAssignAssigneeInput!) {
bulkAssignAssigneeTickets(input: $input) {
failed {
...TicketMassEditFailureFragment
}
retainedIds
skipped
succeeded
}
}
Variables
{"input": TicketBulkAssignAssigneeInput}
Response
{
"data": {
"bulkAssignAssigneeTickets": {
"failed": [TicketMassEditFailure],
"retainedIds": [HashedId],
"skipped": 987,
"succeeded": 123
}
}
}
bulkAssignGroupRules
Response
Returns a RuleMassEditResult!
Arguments
| Name | Description |
|---|---|
input - RuleBulkAssignGroupInput!
|
Example
Query
mutation bulkAssignGroupRules($input: RuleBulkAssignGroupInput!) {
bulkAssignGroupRules(input: $input) {
failed {
...RuleMassEditFailureFragment
}
retainedIds
skipped
succeeded
}
}
Variables
{"input": RuleBulkAssignGroupInput}
Response
{
"data": {
"bulkAssignGroupRules": {
"failed": [RuleMassEditFailure],
"retainedIds": [HashedId],
"skipped": 123,
"succeeded": 987
}
}
}
bulkAssignRoleUsers
Response
Returns a UserMassEditResult!
Arguments
| Name | Description |
|---|---|
input - UserBulkAssignRoleInput!
|
Example
Query
mutation bulkAssignRoleUsers($input: UserBulkAssignRoleInput!) {
bulkAssignRoleUsers(input: $input) {
failed {
...UserMassEditFailureFragment
}
retainedIds
skipped
succeeded
}
}
Variables
{"input": UserBulkAssignRoleInput}
Response
{
"data": {
"bulkAssignRoleUsers": {
"failed": [UserMassEditFailure],
"retainedIds": [HashedId],
"skipped": 987,
"succeeded": 987
}
}
}
bulkAssignSite
Response
Returns an AssetMassEditResult!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
ID of the target site to assign assets to |
input - AssetMassEditSelectionInput!
|
Selection criteria for the assets to assign |
Example
Query
mutation bulkAssignSite(
$id: HashedId!,
$input: AssetMassEditSelectionInput!
) {
bulkAssignSite(
id: $id,
input: $input
) {
failed {
...AssetMassEditFailureFragment
}
retainedIds
skipped
succeeded
}
}
Variables
{
"id": HashedId,
"input": AssetMassEditSelectionInput
}
Response
{
"data": {
"bulkAssignSite": {
"failed": [AssetMassEditFailure],
"retainedIds": [HashedId],
"skipped": 123,
"succeeded": 123
}
}
}
bulkAttachDocumentAssetTypes
Response
Returns an AssetTypeMassEditResult!
Arguments
| Name | Description |
|---|---|
documentId - HashedId!
|
|
input - AssetTypeMassEditSelectionInput!
|
Selection criteria for asset type mass edit operations |
Example
Query
mutation bulkAttachDocumentAssetTypes(
$documentId: HashedId!,
$input: AssetTypeMassEditSelectionInput!
) {
bulkAttachDocumentAssetTypes(
documentId: $documentId,
input: $input
) {
failed {
...AssetTypeMassEditFailureFragment
}
retainedIds
skipped
succeeded
}
}
Variables
{
"documentId": HashedId,
"input": AssetTypeMassEditSelectionInput
}
Response
{
"data": {
"bulkAttachDocumentAssetTypes": {
"failed": [AssetTypeMassEditFailure],
"retainedIds": [HashedId],
"skipped": 987,
"succeeded": 123
}
}
}
bulkAttachDocumentAssets
Response
Returns an AssetMassEditResult!
Arguments
| Name | Description |
|---|---|
documentId - HashedId!
|
|
input - AssetMassEditSelectionInput!
|
Selection criteria for asset mass edit operations |
Example
Query
mutation bulkAttachDocumentAssets(
$documentId: HashedId!,
$input: AssetMassEditSelectionInput!
) {
bulkAttachDocumentAssets(
documentId: $documentId,
input: $input
) {
failed {
...AssetMassEditFailureFragment
}
retainedIds
skipped
succeeded
}
}
Variables
{
"documentId": HashedId,
"input": AssetMassEditSelectionInput
}
Response
{
"data": {
"bulkAttachDocumentAssets": {
"failed": [AssetMassEditFailure],
"retainedIds": [HashedId],
"skipped": 987,
"succeeded": 987
}
}
}
bulkChangeParentGroups
Response
Returns a GroupMassEditResult!
Arguments
| Name | Description |
|---|---|
input - GroupBulkChangeParentInput!
|
Example
Query
mutation bulkChangeParentGroups($input: GroupBulkChangeParentInput!) {
bulkChangeParentGroups(input: $input) {
failed {
...GroupMassEditFailureFragment
}
retainedIds
skipped
succeeded
}
}
Variables
{"input": GroupBulkChangeParentInput}
Response
{
"data": {
"bulkChangeParentGroups": {
"failed": [GroupMassEditFailure],
"retainedIds": [HashedId],
"skipped": 987,
"succeeded": 987
}
}
}
bulkChangeServicePackageGroups
Response
Returns a GroupMassEditResult!
Arguments
| Name | Description |
|---|---|
input - GroupBulkChangeServicePackageInput!
|
Example
Query
mutation bulkChangeServicePackageGroups($input: GroupBulkChangeServicePackageInput!) {
bulkChangeServicePackageGroups(input: $input) {
failed {
...GroupMassEditFailureFragment
}
retainedIds
skipped
succeeded
}
}
Variables
{"input": GroupBulkChangeServicePackageInput}
Response
{
"data": {
"bulkChangeServicePackageGroups": {
"failed": [GroupMassEditFailure],
"retainedIds": [HashedId],
"skipped": 987,
"succeeded": 987
}
}
}
bulkChangeStatusTickets
Response
Returns a TicketMassEditResult!
Arguments
| Name | Description |
|---|---|
input - TicketBulkChangeStatusInput!
|
Ticket selection and the new status |
Example
Query
mutation bulkChangeStatusTickets($input: TicketBulkChangeStatusInput!) {
bulkChangeStatusTickets(input: $input) {
failed {
...TicketMassEditFailureFragment
}
retainedIds
skipped
succeeded
}
}
Variables
{"input": TicketBulkChangeStatusInput}
Response
{
"data": {
"bulkChangeStatusTickets": {
"failed": [TicketMassEditFailure],
"retainedIds": [HashedId],
"skipped": 123,
"succeeded": 123
}
}
}
bulkChangeUrgencyTickets
Response
Returns a TicketMassEditResult!
Arguments
| Name | Description |
|---|---|
input - TicketBulkChangeUrgencyInput!
|
Ticket selection and the new urgency |
Example
Query
mutation bulkChangeUrgencyTickets($input: TicketBulkChangeUrgencyInput!) {
bulkChangeUrgencyTickets(input: $input) {
failed {
...TicketMassEditFailureFragment
}
retainedIds
skipped
succeeded
}
}
Variables
{"input": TicketBulkChangeUrgencyInput}
Response
{
"data": {
"bulkChangeUrgencyTickets": {
"failed": [TicketMassEditFailure],
"retainedIds": [HashedId],
"skipped": 123,
"succeeded": 123
}
}
}
bulkCreateCheckRuleWithAssets
Response
Returns an AssetMassEditResult!
Arguments
| Name | Description |
|---|---|
input - AssetMassEditSelectionInput!
|
Selection criteria for the assets to apply the new rule to |
nextEvent - DateTime
|
Optional date for the next scheduled check event |
ruleInput - RuleCreateInput!
|
Input data for creating the new check rule |
updateExisting - Boolean
|
Whether to update the next check date for assets already assigned to this rule. Default = false |
Example
Query
mutation bulkCreateCheckRuleWithAssets(
$input: AssetMassEditSelectionInput!,
$nextEvent: DateTime,
$ruleInput: RuleCreateInput!,
$updateExisting: Boolean
) {
bulkCreateCheckRuleWithAssets(
input: $input,
nextEvent: $nextEvent,
ruleInput: $ruleInput,
updateExisting: $updateExisting
) {
failed {
...AssetMassEditFailureFragment
}
retainedIds
skipped
succeeded
}
}
Variables
{
"input": AssetMassEditSelectionInput,
"nextEvent": "2007-12-03T10:15:30Z",
"ruleInput": RuleCreateInput,
"updateExisting": false
}
Response
{
"data": {
"bulkCreateCheckRuleWithAssets": {
"failed": [AssetMassEditFailure],
"retainedIds": [HashedId],
"skipped": 123,
"succeeded": 123
}
}
}
bulkSetCustomerGroups
Response
Returns a GroupMassEditResult!
Arguments
| Name | Description |
|---|---|
input - GroupBulkSetCustomerInput!
|
Example
Query
mutation bulkSetCustomerGroups($input: GroupBulkSetCustomerInput!) {
bulkSetCustomerGroups(input: $input) {
failed {
...GroupMassEditFailureFragment
}
retainedIds
skipped
succeeded
}
}
Variables
{"input": GroupBulkSetCustomerInput}
Response
{
"data": {
"bulkSetCustomerGroups": {
"failed": [GroupMassEditFailure],
"retainedIds": [HashedId],
"skipped": 123,
"succeeded": 123
}
}
}
bulkSetLastCheckDateAssets
Response
Returns an AssetMassEditResult!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
ID of the check rule whose last check date is set on the selected assets |
input - AssetMassEditSelectionInput!
|
Selection criteria for the assets to set the last check date on |
lastCheckDate - Date!
|
Last check day (yyyy-MM-dd) in the group timezone, never in the future; the next check date is recomputed from it |
Example
Query
mutation bulkSetLastCheckDateAssets(
$id: HashedId!,
$input: AssetMassEditSelectionInput!,
$lastCheckDate: Date!
) {
bulkSetLastCheckDateAssets(
id: $id,
input: $input,
lastCheckDate: $lastCheckDate
) {
failed {
...AssetMassEditFailureFragment
}
retainedIds
skipped
succeeded
}
}
Variables
{
"id": HashedId,
"input": AssetMassEditSelectionInput,
"lastCheckDate": "2007-12-03"
}
Response
{
"data": {
"bulkSetLastCheckDateAssets": {
"failed": [AssetMassEditFailure],
"retainedIds": [HashedId],
"skipped": 987,
"succeeded": 987
}
}
}
bulkSoftDeleteAssetCategories
Response
Returns an AssetCategoryMassEditResult!
Arguments
| Name | Description |
|---|---|
input - AssetCategoryMassEditSelectionInput!
|
Selection criteria for asset category mass edit operations |
Example
Query
mutation bulkSoftDeleteAssetCategories($input: AssetCategoryMassEditSelectionInput!) {
bulkSoftDeleteAssetCategories(input: $input) {
failed {
...AssetCategoryMassEditFailureFragment
}
retainedIds
skipped
succeeded
}
}
Variables
{"input": AssetCategoryMassEditSelectionInput}
Response
{
"data": {
"bulkSoftDeleteAssetCategories": {
"failed": [AssetCategoryMassEditFailure],
"retainedIds": [HashedId],
"skipped": 987,
"succeeded": 123
}
}
}
bulkSoftDeleteAssetTypes
Response
Returns an AssetTypeMassEditResult!
Arguments
| Name | Description |
|---|---|
input - AssetTypeMassEditSelectionInput!
|
Selection criteria for asset type mass edit operations |
Example
Query
mutation bulkSoftDeleteAssetTypes($input: AssetTypeMassEditSelectionInput!) {
bulkSoftDeleteAssetTypes(input: $input) {
failed {
...AssetTypeMassEditFailureFragment
}
retainedIds
skipped
succeeded
}
}
Variables
{"input": AssetTypeMassEditSelectionInput}
Response
{
"data": {
"bulkSoftDeleteAssetTypes": {
"failed": [AssetTypeMassEditFailure],
"retainedIds": [HashedId],
"skipped": 987,
"succeeded": 987
}
}
}
bulkSoftDeleteAssets
Response
Returns an AssetMassEditResult!
Arguments
| Name | Description |
|---|---|
input - AssetMassEditSelectionInput!
|
Selection criteria for the assets to soft-delete |
Example
Query
mutation bulkSoftDeleteAssets($input: AssetMassEditSelectionInput!) {
bulkSoftDeleteAssets(input: $input) {
failed {
...AssetMassEditFailureFragment
}
retainedIds
skipped
succeeded
}
}
Variables
{"input": AssetMassEditSelectionInput}
Response
{
"data": {
"bulkSoftDeleteAssets": {
"failed": [AssetMassEditFailure],
"retainedIds": [HashedId],
"skipped": 123,
"succeeded": 123
}
}
}
bulkSoftDeleteGroups
Response
Returns a GroupMassEditResult!
Arguments
| Name | Description |
|---|---|
input - GroupMassEditSelectionInput!
|
Selection criteria for group mass edit operations |
Example
Query
mutation bulkSoftDeleteGroups($input: GroupMassEditSelectionInput!) {
bulkSoftDeleteGroups(input: $input) {
failed {
...GroupMassEditFailureFragment
}
retainedIds
skipped
succeeded
}
}
Variables
{"input": GroupMassEditSelectionInput}
Response
{
"data": {
"bulkSoftDeleteGroups": {
"failed": [GroupMassEditFailure],
"retainedIds": [HashedId],
"skipped": 123,
"succeeded": 987
}
}
}
bulkSoftDeleteParts
Response
Returns a PartMassEditResult!
Arguments
| Name | Description |
|---|---|
input - PartMassEditSelectionInput!
|
Selection criteria for the parts to soft-delete |
Example
Query
mutation bulkSoftDeleteParts($input: PartMassEditSelectionInput!) {
bulkSoftDeleteParts(input: $input) {
failed {
...PartMassEditFailureFragment
}
retainedIds
skipped
succeeded
}
}
Variables
{"input": PartMassEditSelectionInput}
Response
{
"data": {
"bulkSoftDeleteParts": {
"failed": [PartMassEditFailure],
"retainedIds": [HashedId],
"skipped": 123,
"succeeded": 123
}
}
}
bulkSoftDeletePersonnel
Response
Returns a PersonnelMassEditResult!
Arguments
| Name | Description |
|---|---|
input - PersonnelMassEditSelectionInput!
|
Selection criteria for the personnel to soft-delete |
Example
Query
mutation bulkSoftDeletePersonnel($input: PersonnelMassEditSelectionInput!) {
bulkSoftDeletePersonnel(input: $input) {
failed {
...PersonnelMassEditFailureFragment
}
retainedIds
skipped
succeeded
}
}
Variables
{"input": PersonnelMassEditSelectionInput}
Response
{
"data": {
"bulkSoftDeletePersonnel": {
"failed": [PersonnelMassEditFailure],
"retainedIds": [HashedId],
"skipped": 123,
"succeeded": 123
}
}
}
bulkSoftDeleteProcedures
Response
Returns a ProcedureMassEditResult!
Arguments
| Name | Description |
|---|---|
input - ProcedureMassEditSelectionInput!
|
Selection criteria for the procedure templates to soft-delete |
Example
Query
mutation bulkSoftDeleteProcedures($input: ProcedureMassEditSelectionInput!) {
bulkSoftDeleteProcedures(input: $input) {
failed {
...ProcedureMassEditFailureFragment
}
retainedIds
skipped
succeeded
}
}
Variables
{"input": ProcedureMassEditSelectionInput}
Response
{
"data": {
"bulkSoftDeleteProcedures": {
"failed": [ProcedureMassEditFailure],
"retainedIds": [HashedId],
"skipped": 123,
"succeeded": 123
}
}
}
bulkSoftDeleteSites
Response
Returns a SiteMassEditResult!
Arguments
| Name | Description |
|---|---|
input - SiteMassEditSelectionInput!
|
Selection criteria for the sites to soft-delete |
Example
Query
mutation bulkSoftDeleteSites($input: SiteMassEditSelectionInput!) {
bulkSoftDeleteSites(input: $input) {
failed {
...SiteMassEditFailureFragment
}
retainedIds
skipped
succeeded
}
}
Variables
{"input": SiteMassEditSelectionInput}
Response
{
"data": {
"bulkSoftDeleteSites": {
"failed": [SiteMassEditFailure],
"retainedIds": [HashedId],
"skipped": 987,
"succeeded": 123
}
}
}
bulkSoftDeleteTickets
Response
Returns a TicketMassEditResult!
Arguments
| Name | Description |
|---|---|
input - TicketMassEditSelectionInput!
|
Selection criteria for the tickets to soft-delete |
Example
Query
mutation bulkSoftDeleteTickets($input: TicketMassEditSelectionInput!) {
bulkSoftDeleteTickets(input: $input) {
failed {
...TicketMassEditFailureFragment
}
retainedIds
skipped
succeeded
}
}
Variables
{"input": TicketMassEditSelectionInput}
Response
{
"data": {
"bulkSoftDeleteTickets": {
"failed": [TicketMassEditFailure],
"retainedIds": [HashedId],
"skipped": 987,
"succeeded": 123
}
}
}
bulkSoftDeleteUsers
Response
Returns a UserMassEditResult!
Arguments
| Name | Description |
|---|---|
input - UserMassEditSelectionInput!
|
Selection criteria for the users to soft-delete |
Example
Query
mutation bulkSoftDeleteUsers($input: UserMassEditSelectionInput!) {
bulkSoftDeleteUsers(input: $input) {
failed {
...UserMassEditFailureFragment
}
retainedIds
skipped
succeeded
}
}
Variables
{"input": UserMassEditSelectionInput}
Response
{
"data": {
"bulkSoftDeleteUsers": {
"failed": [UserMassEditFailure],
"retainedIds": [HashedId],
"skipped": 987,
"succeeded": 123
}
}
}
bulkSoftDeleteWorkOrders
Response
Returns a WorkOrderMassEditResult!
Arguments
| Name | Description |
|---|---|
input - WorkOrderMassEditSelectionInput!
|
Selection criteria for the work orders to soft-delete |
Example
Query
mutation bulkSoftDeleteWorkOrders($input: WorkOrderMassEditSelectionInput!) {
bulkSoftDeleteWorkOrders(input: $input) {
failed {
...WorkOrderMassEditFailureFragment
}
retainedIds
skipped
succeeded
}
}
Variables
{"input": WorkOrderMassEditSelectionInput}
Response
{
"data": {
"bulkSoftDeleteWorkOrders": {
"failed": [WorkOrderMassEditFailure],
"retainedIds": [HashedId],
"skipped": 987,
"succeeded": 987
}
}
}
bulkSwitchLoginMethodUsers
Response
Returns a UserMassEditResult!
Arguments
| Name | Description |
|---|---|
input - UserBulkSwitchLoginMethodInput!
|
Example
Query
mutation bulkSwitchLoginMethodUsers($input: UserBulkSwitchLoginMethodInput!) {
bulkSwitchLoginMethodUsers(input: $input) {
failed {
...UserMassEditFailureFragment
}
retainedIds
skipped
succeeded
}
}
Variables
{"input": UserBulkSwitchLoginMethodInput}
Response
{
"data": {
"bulkSwitchLoginMethodUsers": {
"failed": [UserMassEditFailure],
"retainedIds": [HashedId],
"skipped": 123,
"succeeded": 987
}
}
}
bulkUpdateAssetCategories
Response
Returns an AssetCategoryMassEditResult!
Arguments
| Name | Description |
|---|---|
input - AssetCategoryBulkUpdateInput!
|
Example
Query
mutation bulkUpdateAssetCategories($input: AssetCategoryBulkUpdateInput!) {
bulkUpdateAssetCategories(input: $input) {
failed {
...AssetCategoryMassEditFailureFragment
}
retainedIds
skipped
succeeded
}
}
Variables
{"input": AssetCategoryBulkUpdateInput}
Response
{
"data": {
"bulkUpdateAssetCategories": {
"failed": [AssetCategoryMassEditFailure],
"retainedIds": [HashedId],
"skipped": 987,
"succeeded": 123
}
}
}
bulkUpdateAssetTypes
Response
Returns an AssetTypeMassEditResult!
Arguments
| Name | Description |
|---|---|
input - AssetTypeBulkUpdateInput!
|
Example
Query
mutation bulkUpdateAssetTypes($input: AssetTypeBulkUpdateInput!) {
bulkUpdateAssetTypes(input: $input) {
failed {
...AssetTypeMassEditFailureFragment
}
retainedIds
skipped
succeeded
}
}
Variables
{"input": AssetTypeBulkUpdateInput}
Response
{
"data": {
"bulkUpdateAssetTypes": {
"failed": [AssetTypeMassEditFailure],
"retainedIds": [HashedId],
"skipped": 987,
"succeeded": 123
}
}
}
bulkUpdateCustomFields
Response
Returns a CustomFieldMassEditResult!
Arguments
| Name | Description |
|---|---|
input - CustomFieldBulkUpdateInput!
|
Example
Query
mutation bulkUpdateCustomFields($input: CustomFieldBulkUpdateInput!) {
bulkUpdateCustomFields(input: $input) {
failed {
...CustomFieldMassEditFailureFragment
}
retainedIds
skipped
succeeded
}
}
Variables
{"input": CustomFieldBulkUpdateInput}
Response
{
"data": {
"bulkUpdateCustomFields": {
"failed": [CustomFieldMassEditFailure],
"retainedIds": [HashedId],
"skipped": 987,
"succeeded": 987
}
}
}
bulkUpdateFlagsRules
Response
Returns a RuleMassEditResult!
Arguments
| Name | Description |
|---|---|
input - RuleBulkUpdateFlagsInput!
|
Example
Query
mutation bulkUpdateFlagsRules($input: RuleBulkUpdateFlagsInput!) {
bulkUpdateFlagsRules(input: $input) {
failed {
...RuleMassEditFailureFragment
}
retainedIds
skipped
succeeded
}
}
Variables
{"input": RuleBulkUpdateFlagsInput}
Response
{
"data": {
"bulkUpdateFlagsRules": {
"failed": [RuleMassEditFailure],
"retainedIds": [HashedId],
"skipped": 123,
"succeeded": 123
}
}
}
bulkUpdateGroups
Response
Returns a GroupMassEditResult!
Arguments
| Name | Description |
|---|---|
input - GroupBulkUpdateInput!
|
Example
Query
mutation bulkUpdateGroups($input: GroupBulkUpdateInput!) {
bulkUpdateGroups(input: $input) {
failed {
...GroupMassEditFailureFragment
}
retainedIds
skipped
succeeded
}
}
Variables
{"input": GroupBulkUpdateInput}
Response
{
"data": {
"bulkUpdateGroups": {
"failed": [GroupMassEditFailure],
"retainedIds": [HashedId],
"skipped": 123,
"succeeded": 123
}
}
}
bulkUpdateParts
Response
Returns a PartMassEditResult!
Arguments
| Name | Description |
|---|---|
input - PartBulkUpdateInput!
|
Example
Query
mutation bulkUpdateParts($input: PartBulkUpdateInput!) {
bulkUpdateParts(input: $input) {
failed {
...PartMassEditFailureFragment
}
retainedIds
skipped
succeeded
}
}
Variables
{"input": PartBulkUpdateInput}
Response
{
"data": {
"bulkUpdateParts": {
"failed": [PartMassEditFailure],
"retainedIds": [HashedId],
"skipped": 123,
"succeeded": 987
}
}
}
bulkUpdatePersonnel
Response
Returns a PersonnelMassEditResult!
Arguments
| Name | Description |
|---|---|
input - PersonnelBulkUpdateInput!
|
Selection criteria and field changes for personnel mass update |
Example
Query
mutation bulkUpdatePersonnel($input: PersonnelBulkUpdateInput!) {
bulkUpdatePersonnel(input: $input) {
failed {
...PersonnelMassEditFailureFragment
}
retainedIds
skipped
succeeded
}
}
Variables
{"input": PersonnelBulkUpdateInput}
Response
{
"data": {
"bulkUpdatePersonnel": {
"failed": [PersonnelMassEditFailure],
"retainedIds": [HashedId],
"skipped": 987,
"succeeded": 123
}
}
}
bulkUpdateSites
Response
Returns a SiteMassEditResult!
Arguments
| Name | Description |
|---|---|
input - SiteBulkUpdateInput!
|
Example
Query
mutation bulkUpdateSites($input: SiteBulkUpdateInput!) {
bulkUpdateSites(input: $input) {
failed {
...SiteMassEditFailureFragment
}
retainedIds
skipped
succeeded
}
}
Variables
{"input": SiteBulkUpdateInput}
Response
{
"data": {
"bulkUpdateSites": {
"failed": [SiteMassEditFailure],
"retainedIds": [HashedId],
"skipped": 987,
"succeeded": 987
}
}
}
bulkUpdateUsers
Response
Returns a UserMassEditResult!
Arguments
| Name | Description |
|---|---|
input - UserBulkUpdateInput!
|
Example
Query
mutation bulkUpdateUsers($input: UserBulkUpdateInput!) {
bulkUpdateUsers(input: $input) {
failed {
...UserMassEditFailureFragment
}
retainedIds
skipped
succeeded
}
}
Variables
{"input": UserBulkUpdateInput}
Response
{
"data": {
"bulkUpdateUsers": {
"failed": [UserMassEditFailure],
"retainedIds": [HashedId],
"skipped": 123,
"succeeded": 123
}
}
}
cancelReservation
Description
Cancel a reservation
Response
Returns a Reservation!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Unique identifier of the entity |
Example
Query
mutation cancelReservation($id: HashedId!) {
cancelReservation(id: $id) {
approvedAt
cancelledAt
cancelledByUser {
...UserFragment
}
cancelledByUserId
confirmedAt
confirmedByUser {
...UserFragment
}
confirmedByUserId
created
createdByGroup {
...GroupFragment
}
createdByGroupId
createdByUser {
...UserFragment
}
createdByUserId
expectedArrivalAt
externalErpId
externalErpRequestedBy
id
issues {
...ReservationLineItemIssueFragment
}
lineItems {
...ReservationLineItemFragment
}
notes
publicId
rejectedAt
rejectedByUser {
...UserFragment
}
rejectedByUserId
rejectionReason
site {
...SiteFragment
}
siteId
status
tickets {
...TicketFragment
}
updated
uuid
}
}
Variables
{"id": HashedId}
Response
{
"data": {
"cancelReservation": {
"approvedAt": "2007-12-03",
"cancelledAt": "2007-12-03T10:15:30Z",
"cancelledByUser": User,
"cancelledByUserId": HashedId,
"confirmedAt": "2007-12-03T10:15:30Z",
"confirmedByUser": User,
"confirmedByUserId": HashedId,
"created": 1592577642,
"createdByGroup": Group,
"createdByGroupId": HashedId,
"createdByUser": User,
"createdByUserId": HashedId,
"expectedArrivalAt": "2007-12-03",
"externalErpId": "xyz789",
"externalErpRequestedBy": "abc123",
"id": HashedId,
"issues": [ReservationLineItemIssue],
"lineItems": [ReservationLineItem],
"notes": "xyz789",
"publicId": 123,
"rejectedAt": "2007-12-03T10:15:30Z",
"rejectedByUser": User,
"rejectedByUserId": HashedId,
"rejectionReason": "abc123",
"site": Site,
"siteId": HashedId,
"status": "CANCELLED",
"tickets": [Ticket],
"updated": 1592577642,
"uuid": "abc123"
}
}
}
cancelRunningIntegration
Description
Request cancellation for an in-flight integration run by its id. Returns true when a running job was marked for cancellation or a stale pending run was reconciled, false if nothing was running.
captureWorkOrderCustomerSignature
Description
Capture a customer signature on completion of a work order
Response
Returns a WorkOrderV2!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Unique identifier of the entity |
input - WorkOrderCustomerSignatureCaptureInput!
|
Input data for capturing the customer signature |
Example
Query
mutation captureWorkOrderCustomerSignature(
$id: HashedId!,
$input: WorkOrderCustomerSignatureCaptureInput!
) {
captureWorkOrderCustomerSignature(
id: $id,
input: $input
) {
assetCollections {
...WorkOrderAssetCollectionFragment
}
assets {
...AssetFragment
}
assignee {
...WorkOrderPersonnelV2Fragment
}
comments {
...WorkOrderCommentFragment
}
costCenter
costs {
...WorkOrderCostFragment
}
created
createdByGroup {
...GroupFragment
}
createdByGroupId
creationDate
creator {
...UserFragment
}
creatorId
customerName
customerSignatures {
...WorkOrderCustomerSignatureFragment
}
dailyRate {
...WorkOrderCostFragment
}
deleted
description {
...TranslationFragment
}
endDate
externalEmailHandlers {
...WorkOrderHandlerExternalEmailFragment
}
followers {
...WorkOrderPersonnelV2Fragment
}
groupHandlers {
...WorkOrderHandlerGroupFragment
}
groupTicketHandlerHandlers {
...WorkOrderHandlerGroupTicketHandlerFragment
}
history {
...WorkOrderHistoryEntryFragment
}
historyV2 {
...WorkOrderHistoryFragment
}
id
linkedTickets {
...TicketFragment
}
locations {
...WorkOrderLocationFragment
}
name
notes {
...TranslationFragment
}
notesId
operatingCosts {
...CostFragment
}
partsUsed {
...TicketPartUsageFragment
}
personnel {
...WorkOrderCostFragment
}
personnelHandlers {
...WorkOrderHandlerPersonnelFragment
}
procedureTemplate {
...ProcedureTemplateFragment
}
procedureTemplateId
site {
...SiteFragment
}
siteId
siteManagerHandler {
...WorkOrderHandlerSiteManagerFragment
}
sourceTicket {
...TicketFragment
}
sourceTicketId
startDate
status
teamHandlers {
...WorkOrderHandlerTeamFragment
}
timeEntries {
...WorkOrderTimeEntryFragment
}
timeEntriesSummary {
...WorkOrderTimeEntrySummaryFragment
}
title {
...TranslationFragment
}
totalPartsCost
updated
userHandlers {
...WorkOrderHandlerUserFragment
}
workOrderNumber
workers {
...WorkOrderPersonnelV2Fragment
}
}
}
Variables
{
"id": HashedId,
"input": WorkOrderCustomerSignatureCaptureInput
}
Response
{
"data": {
"captureWorkOrderCustomerSignature": {
"assetCollections": [WorkOrderAssetCollection],
"assets": [Asset],
"assignee": WorkOrderPersonnelV2,
"comments": [WorkOrderComment],
"costCenter": "abc123",
"costs": [WorkOrderCost],
"created": 1592577642,
"createdByGroup": Group,
"createdByGroupId": HashedId,
"creationDate": "2007-12-03T10:15:30Z",
"creator": User,
"creatorId": HashedId,
"customerName": "xyz789",
"customerSignatures": [WorkOrderCustomerSignature],
"dailyRate": WorkOrderCost,
"deleted": 1592577642,
"description": Translation,
"endDate": "2007-12-03T10:15:30Z",
"externalEmailHandlers": [
WorkOrderHandlerExternalEmail
],
"followers": [WorkOrderPersonnelV2],
"groupHandlers": [WorkOrderHandlerGroup],
"groupTicketHandlerHandlers": [
WorkOrderHandlerGroupTicketHandler
],
"history": [WorkOrderHistoryEntry],
"historyV2": [WorkOrderHistory],
"id": HashedId,
"linkedTickets": [Ticket],
"locations": [WorkOrderLocation],
"name": "abc123",
"notes": Translation,
"notesId": HashedId,
"operatingCosts": [Cost],
"partsUsed": [TicketPartUsage],
"personnel": [WorkOrderCost],
"personnelHandlers": [WorkOrderHandlerPersonnel],
"procedureTemplate": ProcedureTemplate,
"procedureTemplateId": HashedId,
"site": Site,
"siteId": HashedId,
"siteManagerHandler": WorkOrderHandlerSiteManager,
"sourceTicket": Ticket,
"sourceTicketId": HashedId,
"startDate": "2007-12-03T10:15:30Z",
"status": "CANCELLED",
"teamHandlers": [WorkOrderHandlerTeam],
"timeEntries": [WorkOrderTimeEntry],
"timeEntriesSummary": WorkOrderTimeEntrySummary,
"title": Translation,
"totalPartsCost": 987.65,
"updated": 1592577642,
"userHandlers": [WorkOrderHandlerUser],
"workOrderNumber": 987,
"workers": [WorkOrderPersonnelV2]
}
}
}
changeAdditionalGroupsByUserId
Description
Change additional groups by user id
Response
Returns a User!
Arguments
| Name | Description |
|---|---|
groupIds - [HashedId!]!
|
Group identifiers |
userId - HashedId!
|
User identifier |
Example
Query
mutation changeAdditionalGroupsByUserId(
$groupIds: [HashedId!]!,
$userId: HashedId!
) {
changeAdditionalGroupsByUserId(
groupIds: $groupIds,
userId: $userId
) {
activated
additionalGroups {
...GroupFragment
}
apiKey
belongsToGroup {
...GroupFragment
}
belongsToGroupId
canConvertServiceJotforms
canEditInspectionsAssignee
canEditOnlyOwnDocuments
canEditTicketTags
canManageIntegrations
canScheduleDisposition
canShareViews
checkPassword
created
dashboard
dashboardId
deleted
email
firstname
fullName
group {
...GroupFragment
}
groupId
groups {
...GroupFragment
}
hasAccessToPersonnelManagement
hasApiKey
hasMultipleGroups
id
image
info
isAnyAdmin
isCostEnabled
isSSOEnabled
isServicing
isSupportAdmin
label
language
languageCode
languageId
lastLogin
lastname
locale
loginInterruptIds
loginInterrupts
notificationIds
notifications
password
personnel {
...PersonnelFragment
}
phone
publicId
resolvedLocale
resolvedTimezone
role {
...RoleFragment
}
roleId
roleKey
services
settings
stripeSubscriptionId
subscription {
...StripeSubscriptionPlanFragment
}
supportAdmin
teams {
...TeamFragment
}
timezone
toolsenseAdmin
unavailability {
...UserUnavailabilityFragment
}
updated
username
}
}
Variables
{
"groupIds": [HashedId],
"userId": HashedId
}
Response
{
"data": {
"changeAdditionalGroupsByUserId": {
"activated": 1592577642,
"additionalGroups": [Group],
"apiKey": "xyz789",
"belongsToGroup": Group,
"belongsToGroupId": HashedId,
"canConvertServiceJotforms": false,
"canEditInspectionsAssignee": true,
"canEditOnlyOwnDocuments": true,
"canEditTicketTags": false,
"canManageIntegrations": true,
"canScheduleDisposition": true,
"canShareViews": false,
"checkPassword": true,
"created": 1592577642,
"dashboard": {},
"dashboardId": HashedId,
"deleted": 1592577642,
"email": "xyz789",
"firstname": "xyz789",
"fullName": "abc123",
"group": Group,
"groupId": HashedId,
"groups": [Group],
"hasAccessToPersonnelManagement": false,
"hasApiKey": false,
"hasMultipleGroups": false,
"id": HashedId,
"image": "abc123",
"info": {},
"isAnyAdmin": false,
"isCostEnabled": true,
"isSSOEnabled": true,
"isServicing": true,
"isSupportAdmin": true,
"label": "xyz789",
"language": HashedId,
"languageCode": "ar_ar",
"languageId": HashedId,
"lastLogin": "2007-12-03T10:15:30Z",
"lastname": "xyz789",
"locale": LanguageTag,
"loginInterruptIds": [HashedId],
"loginInterrupts": {},
"notificationIds": [HashedId],
"notifications": [{}],
"password": "abc123",
"personnel": Personnel,
"phone": "xyz789",
"publicId": 123,
"resolvedLocale": LanguageTag,
"resolvedTimezone": "xyz789",
"role": Role,
"roleId": HashedId,
"roleKey": "EditorUser",
"services": [{}],
"settings": {},
"stripeSubscriptionId": "xyz789",
"subscription": StripeSubscriptionPlan,
"supportAdmin": true,
"teams": [Team],
"timezone": "xyz789",
"toolsenseAdmin": false,
"unavailability": [UserUnavailability],
"updated": 1592577642,
"username": "abc123"
}
}
}
changeRoomStatusById
Description
Toggle room asset occupancy status by asset ID
Response
Returns a Boolean!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Id of the asset that has room type. |
status - RoomStatusEnum!
|
New housekeeping room status to set |
Example
Query
mutation changeRoomStatusById(
$id: HashedId!,
$status: RoomStatusEnum!
) {
changeRoomStatusById(
id: $id,
status: $status
)
}
Variables
{"id": HashedId, "status": "Clean"}
Response
{"data": {"changeRoomStatusById": true}}
cloneRuleEntry
Description
Clone rule entry
Response
Returns a RuleEntry!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Unique identifier of the entity |
Example
Query
mutation cloneRuleEntry($id: HashedId!) {
cloneRuleEntry(id: $id) {
activatedAt
assetCount
assetFilters {
...FiltersFragment
}
assetGroup {
...GroupFragment
}
assetGroupId
created
createdByGroup {
...GroupFragment
}
createdByGroupId
createdByUser {
...UserFragment
}
createdByUserId
description {
...TranslationFragment
}
firstCheckMode
geofenceSite {
...SiteFragment
}
geofenceSiteId
group {
...GroupFragment
}
groupId
hasNotification
hasNotificationCritical
hasNotificationEmail
hasNotificationImmediate
hasNotificationOnNewAsset
hasNotificationPush
hasNotificationTimingBeforeDue
hasNotificationTimingWhenDue
id
isAssetAssignNew
isAssetTriggerForCustomers
isAssetVehicle
isCheckAllowedForUnauthorizedUsers
isForAllAssets
isManualOnly
isScheduleFixed
isScheduleManualDeactivation
isSkipOverdueEnabled
manuallyAddedAssets {
...AssetFragment
}
materializedAt
name {
...TranslationFragment
}
notificationRecipients {
...RuleEntryNotificationRecipientFragment
}
notificationTimings {
...RuleEntryNotificationTimingFragment
}
scheduleStartAt
scheduleStartPointCustomField {
...CustomFieldFragment
}
scheduleStartPointCustomFieldId
scheduleStartPointFallback
scheduleStartPointField
scheduleTriggers {
...RuleEntryScheduleTriggerFragment
}
site {
...SiteFragment
}
status
subType
type
updated
workingHoursAsset {
...AssetFragment
}
workingHoursAssetId
}
}
Variables
{"id": HashedId}
Response
{
"data": {
"cloneRuleEntry": {
"activatedAt": "2007-12-03T10:15:30Z",
"assetCount": 123,
"assetFilters": [Filters],
"assetGroup": Group,
"assetGroupId": HashedId,
"created": 1592577642,
"createdByGroup": Group,
"createdByGroupId": HashedId,
"createdByUser": User,
"createdByUserId": HashedId,
"description": Translation,
"firstCheckMode": "AFTER_INTERVAL",
"geofenceSite": Site,
"geofenceSiteId": HashedId,
"group": Group,
"groupId": HashedId,
"hasNotification": true,
"hasNotificationCritical": true,
"hasNotificationEmail": true,
"hasNotificationImmediate": true,
"hasNotificationOnNewAsset": true,
"hasNotificationPush": false,
"hasNotificationTimingBeforeDue": true,
"hasNotificationTimingWhenDue": true,
"id": HashedId,
"isAssetAssignNew": true,
"isAssetTriggerForCustomers": true,
"isAssetVehicle": true,
"isCheckAllowedForUnauthorizedUsers": true,
"isForAllAssets": true,
"isManualOnly": false,
"isScheduleFixed": true,
"isScheduleManualDeactivation": true,
"isSkipOverdueEnabled": false,
"manuallyAddedAssets": [Asset],
"materializedAt": "2007-12-03T10:15:30Z",
"name": Translation,
"notificationRecipients": [
RuleEntryNotificationRecipient
],
"notificationTimings": [
RuleEntryNotificationTiming
],
"scheduleStartAt": "2007-12-03T10:15:30Z",
"scheduleStartPointCustomField": CustomField,
"scheduleStartPointCustomFieldId": HashedId,
"scheduleStartPointFallback": "EXCLUDE",
"scheduleStartPointField": "COMMISSION_DATE",
"scheduleTriggers": [RuleEntryScheduleTrigger],
"site": Site,
"status": "ACTIVE",
"subType": "ERROR",
"type": "GEOFENCE",
"updated": 1592577642,
"workingHoursAsset": Asset,
"workingHoursAssetId": HashedId
}
}
}
completeTrial
Description
Complete trial
Response
Returns a Boolean!
Example
Query
mutation completeTrial {
completeTrial
}
Response
{"data": {"completeTrial": false}}
confirmReservation
Description
Confirm a fulfilled reservation
Response
Returns a Reservation!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Unique identifier of the entity |
Example
Query
mutation confirmReservation($id: HashedId!) {
confirmReservation(id: $id) {
approvedAt
cancelledAt
cancelledByUser {
...UserFragment
}
cancelledByUserId
confirmedAt
confirmedByUser {
...UserFragment
}
confirmedByUserId
created
createdByGroup {
...GroupFragment
}
createdByGroupId
createdByUser {
...UserFragment
}
createdByUserId
expectedArrivalAt
externalErpId
externalErpRequestedBy
id
issues {
...ReservationLineItemIssueFragment
}
lineItems {
...ReservationLineItemFragment
}
notes
publicId
rejectedAt
rejectedByUser {
...UserFragment
}
rejectedByUserId
rejectionReason
site {
...SiteFragment
}
siteId
status
tickets {
...TicketFragment
}
updated
uuid
}
}
Variables
{"id": HashedId}
Response
{
"data": {
"confirmReservation": {
"approvedAt": "2007-12-03",
"cancelledAt": "2007-12-03T10:15:30Z",
"cancelledByUser": User,
"cancelledByUserId": HashedId,
"confirmedAt": "2007-12-03T10:15:30Z",
"confirmedByUser": User,
"confirmedByUserId": HashedId,
"created": 1592577642,
"createdByGroup": Group,
"createdByGroupId": HashedId,
"createdByUser": User,
"createdByUserId": HashedId,
"expectedArrivalAt": "2007-12-03",
"externalErpId": "xyz789",
"externalErpRequestedBy": "xyz789",
"id": HashedId,
"issues": [ReservationLineItemIssue],
"lineItems": [ReservationLineItem],
"notes": "xyz789",
"publicId": 987,
"rejectedAt": "2007-12-03T10:15:30Z",
"rejectedByUser": User,
"rejectedByUserId": HashedId,
"rejectionReason": "xyz789",
"site": Site,
"siteId": HashedId,
"status": "CANCELLED",
"tickets": [Ticket],
"updated": 1592577642,
"uuid": "abc123"
}
}
}
convertServiceJotformConversionForm
Description
Converts the Jotform services of a form and conversion preset to a procedure template
Response
Returns a ServiceJotformConversionForm!
Arguments
| Name | Description |
|---|---|
input - ServiceJotformConversionConvertInput!
|
Jotform conversion convert fields |
Example
Query
mutation convertServiceJotformConversionForm($input: ServiceJotformConversionConvertInput!) {
convertServiceJotformConversionForm(input: $input) {
conversionPreset
convertedCount
id
jotformId
notConvertibleReason
procedureTemplate {
...ProcedureTemplateFragment
}
serviceCount
skippedCount
}
}
Variables
{"input": ServiceJotformConversionConvertInput}
Response
{
"data": {
"convertServiceJotformConversionForm": {
"conversionPreset": "CHECK",
"convertedCount": 123,
"id": "xyz789",
"jotformId": "abc123",
"notConvertibleReason": "BLE_PRESET",
"procedureTemplate": ProcedureTemplate,
"serviceCount": 987,
"skippedCount": 123
}
}
}
copyDashboardWidget
Description
Copy a widget from another dashboard to the bottom of this dashboard
Response
Returns a DashboardBoard!
Arguments
| Name | Description |
|---|---|
input - DashboardWidgetCopyInput!
|
Widget copy fields |
Example
Query
mutation copyDashboardWidget($input: DashboardWidgetCopyInput!) {
copyDashboardWidget(input: $input) {
boardFilters {
...DashboardBoardFilterFragment
}
canEdit
created
createdByGroup {
...GroupFragment
}
createdByGroupId
createdByUser {
...UserFragment
}
createdByUserId
displayId
grafanaDashboardUID
hiddenColumnCount
hiddenFeatures
hiddenWidgetCount
icon
id
isHiddenByCostAccess
missingAccess
revision
title {
...TranslationFragment
}
titleId
updated
widgets {
...DashboardWidgetFragment
}
}
}
Variables
{"input": DashboardWidgetCopyInput}
Response
{
"data": {
"copyDashboardWidget": {
"boardFilters": [DashboardBoardFilter],
"canEdit": true,
"created": "2007-12-03T10:15:30Z",
"createdByGroup": Group,
"createdByGroupId": HashedId,
"createdByUser": User,
"createdByUserId": HashedId,
"displayId": 123,
"grafanaDashboardUID": "xyz789",
"hiddenColumnCount": 987,
"hiddenFeatures": ["ASSET_LOCATIONS"],
"hiddenWidgetCount": 987,
"icon": "ALARM",
"id": HashedId,
"isHiddenByCostAccess": true,
"missingAccess": ["COSTS"],
"revision": 123,
"title": Translation,
"titleId": HashedId,
"updated": "2007-12-03T10:15:30Z",
"widgets": [DashboardWidget]
}
}
}
createAsset
Description
Create a new asset with site and type assignment
Response
Returns [Asset!]!
Arguments
| Name | Description |
|---|---|
BLE - String
|
Bluetooth Low Energy beacon identifier |
allowReservations - Boolean
|
When set, reservations are explicitly allowed for this asset. |
assetTypeId - HashedId
|
ID of the asset type to classify this asset |
assignedToGroupId - HashedId
|
Organization group this asset is assigned to |
assignedToSiteId - HashedId
|
Site the record is assigned to |
availability - AssetAvailability
|
Current availability status of this asset |
classification - AssetClassification
|
Asset classification such as robot, vehicle, room, or generic |
client - String
|
Client or customer name associated with this asset |
commissionDate - Date
|
Date when this asset was put into service |
costCenter - String
|
Accounting cost center for financial allocation |
currency - String
|
An optional currency string that overrides the group currency |
customerEditable - Boolean
|
With this flag the OEM can allow end-customers to edit assets |
dailyRate - Float
|
Daily rental or usage rate for billing |
description - TranslationInput
|
Localized description of the asset |
disableWebhooks - Boolean
|
Whether to skip webhook notifications for this operation. Default = false |
externalId - String
|
External id should only be filled by a machine. This is used to couple an external asset with an internal asset. An external Asset is an asset that represents the same physical thing but in a different system. |
fixedAssetNumber - String
|
Accounting fixed asset number for depreciation tracking |
floorRoom - String
|
Floor and room location within a building |
imageUrl - String
|
URL of the asset profile image |
imei - String
|
IMEI number of the attached IoT module |
initialValue - String
|
Original purchase or book value of this asset |
inventoryNumber - String
|
Internal inventory tracking number |
inventoryPrefix - String
|
Manual prefix segment of the auto-assigned inventory number |
isInStationaryGateway - Boolean
|
Whether assigned to a stationary gateway for fixed location |
isTypePresetCheckOnSave - Boolean
|
Whether type preset check on save |
isUsedPrivately - Boolean
|
Whether this asset is flagged for private use. Default = false |
leasingCostTermination - String
|
Early termination cost for the leasing contract |
leasingEnd - Date
|
End date of the leasing contract |
leasingLevel - String
|
Tier or level of the leasing agreement |
leasingMonthlyCost - String
|
Monthly payment amount for the leasing contract |
leasingPartner - String
|
Leasing company or partner name |
leasingPartnerContractNumber - String
|
Contract number with the leasing partner |
leasingPartnerContractPositionNumber - String
|
Line item position within the leasing contract |
leasingRenewalDate - Date
|
Date when the leasing contract is up for renewal |
leasingRenewalRate - String
|
Monthly rate after leasing contract renewal |
leasingStart - Date
|
Start date of the leasing contract |
minDaysBilled - Int
|
Minimum number of days billed per rental period |
moduleId - HashedId
|
IoT module attached to this asset |
nonWorkingDays - [AssetNonWorkingDaysUpsertInput!]
|
Days when the asset is not in operation |
optionalAssetID - String
|
Secondary user-defined asset identifier |
ownership - AssetOwnership
|
Ownership type (purchased, leased, or rented) |
parameterOffsets - [AssetParameterOffsetInput!]
|
IoT parameter value offsets for calibration |
partsNumber - String
|
Manufacturer part number for this asset |
plateNumber - String
|
Vehicle license plate number |
projectNumber - String
|
Project number this asset is allocated to |
purchaseCost - String
|
Original purchase price of this asset |
purchaseCurrentBookValue - String
|
Current depreciated book value of this asset |
purchaseDepreciationMonths - Int
|
Depreciation period in months for this asset |
purchaseInvoiceNumber - String
|
Invoice number from the original purchase |
purchaseLowValueAsset - Boolean
|
Whether classified as a low-value asset for accounting |
purchaseStart - Date
|
Date when the asset was purchased |
purchaseWarrantyEnd - Date
|
Expiration date of the purchase warranty |
purchaseWarrantyPeriod - Int
|
Warranty duration in months from purchase |
purchaseWarrantyStart - Date
|
Start date of the purchase warranty coverage |
qrAttached - Boolean
|
Whether a QR code label is attached to this asset |
quantity - Int
|
Number of identical items for commodity assets |
rentalCostTermination - String
|
Early termination cost for the rental contract |
rentalEnd - Date
|
End date of the rental contract |
rentalMonthlyCost - String
|
Monthly payment amount for the rental contract |
rentalRenewalDate - Date
|
Date when the rental contract is up for renewal |
rentalRenewalRate - String
|
Monthly rate after rental contract renewal |
rentalStart - Date
|
Start date of the rental contract |
responsiblePerson - String
|
Name of the person responsible for this asset |
serial - String!
|
Serial number of the asset |
serviceContract - Boolean
|
Whether this asset has an active service contract |
serviceContractCostPerYear - String
|
Annual cost of the service contract |
serviceContractDocuments - [Upload!]
|
Service contract documents |
serviceContractEmail - String
|
Contact email for the service contract provider |
serviceContractEnd - Date
|
Expiration date of the service contract |
serviceContractFrom - Timestamp
|
Timestamp when the service contract coverage begins |
serviceContractLevel - String
|
Tier or coverage level of the service contract |
serviceContractPartner - String
|
Service contract provider company name |
serviceContractStart - Date
|
Start date of the service contract |
serviceContractTo - Timestamp
|
Timestamp when the service contract coverage ends |
shouldUpdateActiveAssetSiteAssignment - Boolean
|
Whether to update active asset site assignment |
supplier - String
|
Supplier or vendor this asset was sourced from |
syncSiteGroup - Boolean
|
Sync asset group with assigned site group |
transferModule - Boolean
|
Transfer IoT module from previous asset |
uuid - String
|
UUID used for cross-system asset identification |
workingHours - AssetWorkingHoursInput
|
Scheduled working hours for this asset |
workingHoursNotification - [RuleNotificationRelationInput]
|
Notification rules for working hours threshold alerts |
workingHoursSettings - JSON
|
Rule definition settings for working hours tracking |
Example
Query
mutation createAsset(
$BLE: String,
$allowReservations: Boolean,
$assetTypeId: HashedId,
$assignedToGroupId: HashedId,
$assignedToSiteId: HashedId,
$availability: AssetAvailability,
$classification: AssetClassification,
$client: String,
$commissionDate: Date,
$costCenter: String,
$currency: String,
$customerEditable: Boolean,
$dailyRate: Float,
$description: TranslationInput,
$disableWebhooks: Boolean,
$externalId: String,
$fixedAssetNumber: String,
$floorRoom: String,
$imageUrl: String,
$imei: String,
$initialValue: String,
$inventoryNumber: String,
$inventoryPrefix: String,
$isInStationaryGateway: Boolean,
$isTypePresetCheckOnSave: Boolean,
$isUsedPrivately: Boolean,
$leasingCostTermination: String,
$leasingEnd: Date,
$leasingLevel: String,
$leasingMonthlyCost: String,
$leasingPartner: String,
$leasingPartnerContractNumber: String,
$leasingPartnerContractPositionNumber: String,
$leasingRenewalDate: Date,
$leasingRenewalRate: String,
$leasingStart: Date,
$minDaysBilled: Int,
$moduleId: HashedId,
$nonWorkingDays: [AssetNonWorkingDaysUpsertInput!],
$optionalAssetID: String,
$ownership: AssetOwnership,
$parameterOffsets: [AssetParameterOffsetInput!],
$partsNumber: String,
$plateNumber: String,
$projectNumber: String,
$purchaseCost: String,
$purchaseCurrentBookValue: String,
$purchaseDepreciationMonths: Int,
$purchaseInvoiceNumber: String,
$purchaseLowValueAsset: Boolean,
$purchaseStart: Date,
$purchaseWarrantyEnd: Date,
$purchaseWarrantyPeriod: Int,
$purchaseWarrantyStart: Date,
$qrAttached: Boolean,
$quantity: Int,
$rentalCostTermination: String,
$rentalEnd: Date,
$rentalMonthlyCost: String,
$rentalRenewalDate: Date,
$rentalRenewalRate: String,
$rentalStart: Date,
$responsiblePerson: String,
$serial: String!,
$serviceContract: Boolean,
$serviceContractCostPerYear: String,
$serviceContractDocuments: [Upload!],
$serviceContractEmail: String,
$serviceContractEnd: Date,
$serviceContractFrom: Timestamp,
$serviceContractLevel: String,
$serviceContractPartner: String,
$serviceContractStart: Date,
$serviceContractTo: Timestamp,
$shouldUpdateActiveAssetSiteAssignment: Boolean,
$supplier: String,
$syncSiteGroup: Boolean,
$transferModule: Boolean,
$uuid: String,
$workingHours: AssetWorkingHoursInput,
$workingHoursNotification: [RuleNotificationRelationInput],
$workingHoursSettings: JSON
) {
createAsset(
BLE: $BLE,
allowReservations: $allowReservations,
assetTypeId: $assetTypeId,
assignedToGroupId: $assignedToGroupId,
assignedToSiteId: $assignedToSiteId,
availability: $availability,
classification: $classification,
client: $client,
commissionDate: $commissionDate,
costCenter: $costCenter,
currency: $currency,
customerEditable: $customerEditable,
dailyRate: $dailyRate,
description: $description,
disableWebhooks: $disableWebhooks,
externalId: $externalId,
fixedAssetNumber: $fixedAssetNumber,
floorRoom: $floorRoom,
imageUrl: $imageUrl,
imei: $imei,
initialValue: $initialValue,
inventoryNumber: $inventoryNumber,
inventoryPrefix: $inventoryPrefix,
isInStationaryGateway: $isInStationaryGateway,
isTypePresetCheckOnSave: $isTypePresetCheckOnSave,
isUsedPrivately: $isUsedPrivately,
leasingCostTermination: $leasingCostTermination,
leasingEnd: $leasingEnd,
leasingLevel: $leasingLevel,
leasingMonthlyCost: $leasingMonthlyCost,
leasingPartner: $leasingPartner,
leasingPartnerContractNumber: $leasingPartnerContractNumber,
leasingPartnerContractPositionNumber: $leasingPartnerContractPositionNumber,
leasingRenewalDate: $leasingRenewalDate,
leasingRenewalRate: $leasingRenewalRate,
leasingStart: $leasingStart,
minDaysBilled: $minDaysBilled,
moduleId: $moduleId,
nonWorkingDays: $nonWorkingDays,
optionalAssetID: $optionalAssetID,
ownership: $ownership,
parameterOffsets: $parameterOffsets,
partsNumber: $partsNumber,
plateNumber: $plateNumber,
projectNumber: $projectNumber,
purchaseCost: $purchaseCost,
purchaseCurrentBookValue: $purchaseCurrentBookValue,
purchaseDepreciationMonths: $purchaseDepreciationMonths,
purchaseInvoiceNumber: $purchaseInvoiceNumber,
purchaseLowValueAsset: $purchaseLowValueAsset,
purchaseStart: $purchaseStart,
purchaseWarrantyEnd: $purchaseWarrantyEnd,
purchaseWarrantyPeriod: $purchaseWarrantyPeriod,
purchaseWarrantyStart: $purchaseWarrantyStart,
qrAttached: $qrAttached,
quantity: $quantity,
rentalCostTermination: $rentalCostTermination,
rentalEnd: $rentalEnd,
rentalMonthlyCost: $rentalMonthlyCost,
rentalRenewalDate: $rentalRenewalDate,
rentalRenewalRate: $rentalRenewalRate,
rentalStart: $rentalStart,
responsiblePerson: $responsiblePerson,
serial: $serial,
serviceContract: $serviceContract,
serviceContractCostPerYear: $serviceContractCostPerYear,
serviceContractDocuments: $serviceContractDocuments,
serviceContractEmail: $serviceContractEmail,
serviceContractEnd: $serviceContractEnd,
serviceContractFrom: $serviceContractFrom,
serviceContractLevel: $serviceContractLevel,
serviceContractPartner: $serviceContractPartner,
serviceContractStart: $serviceContractStart,
serviceContractTo: $serviceContractTo,
shouldUpdateActiveAssetSiteAssignment: $shouldUpdateActiveAssetSiteAssignment,
supplier: $supplier,
syncSiteGroup: $syncSiteGroup,
transferModule: $transferModule,
uuid: $uuid,
workingHours: $workingHours,
workingHoursNotification: $workingHoursNotification,
workingHoursSettings: $workingHoursSettings
) {
BLE
activeCustomFields {
...CustomFieldFragment
}
activity {
...AssetActivityFragment
}
allowReservations
archivedCustomFields {
...CustomFieldFragment
}
assetCategory {
...AssetCategoryFragment
}
assetCategoryId
assetPackageAsset {
...AssetPackageAssetFragment
}
assetSiteAssignments {
...AssetSiteAssignmentFragment
}
assetType {
...AssetTypeFragment
}
assetTypeId
assignedSiteLocation {
...SiteLocationFragment
}
assignedToGroup {
...GroupFragment
}
assignedToGroupId
assignedToPreviousSite {
...SiteFragment
}
assignedToSite {
...SiteFragment
}
assignedToSiteId
assignment
availability
availabilityId
batteryLevel
canEdit
checkSchedule {
...AssetCheckScheduleFragment
}
checkScheduleRule {
...AssetCheckScheduleRuleFragment
}
classification
client
commissionDate
costCenter
costLines {
...CostLineFragment
}
costs {
...CostLineFragment
}
costsSum
costsSumBattery
costsSumCertification
costsSumConsumables
costsSumFuel
costsSumLabor
costsSumLogistics
costsSumMaintenance
costsSumOther
costsSumParts
costsSumRepair
costsSumTaxes
countNonArchivedSiteAssignments
created
createdByGroup {
...GroupFragment
}
createdByGroupId
currency
currentAlerts {
...EventFragment
}
customer
customerEditable
dailyRate
deleted
deletedBy
description {
...TranslationFragment
}
descriptionId
displayParameters {
...DisplayParameterFragment
}
documents {
...DocumentFragment
}
eventIds
events {
...EventFragment
}
externalId
firmwareVersion
firstTripDate
fixedAssetNumber
floorRoom
gatewayAsset {
...AssetFragment
}
geofence {
...AssetGeofenceFragment
}
group {
...GroupFragment
}
groupId
groupTimezone
id
image
imei
initialValue
inlineImage {
...DocumentInlineFileFragment
}
integrationId
integrationSummary {
...AssetIntegrationSummaryFragment
}
inventoryNumber
inventoryPrefix
inventorySequence
iot {
...IotAssetDataFragment
}
iotIntegrationProvider
iotRuleEntryEvents {
...RuleEntryEventFragment
}
isCommodity
isInStationaryGateway
isIntegrationSyncPaused
isLocked
isUsedPrivately
lastContactInfo {
...AssetLastContactInfoFragment
}
lastContacted
lastContactedSource
lastIntegrationRun {
...AssetIntegrationRunFragment
}
lastTicketDate
latestAssetData
latestTrip {
...AssetTripLatestFragment
}
leasingCostTermination
leasingEnd
leasingLevel
leasingMonthlyCost
leasingPartner
leasingPartnerContractNumber
leasingPartnerContractPositionNumber
leasingRenewalDate
leasingRenewalRate
leasingStart
location {
...LocationFragment
}
locationHiddenReason
locationV2 {
... on Location {
...LocationFragment
}
... on SiteLocation {
...SiteLocationFragment
}
... on TripLocation {
...TripLocationFragment
}
}
maintenanceSchedule {
...AssetMaintenanceScheduleFragment
}
manuals {
...DocumentFragment
}
manufacturer {
...ManufacturerFragment
}
manufacturerId
minDaysBilled
module {
...ModuleFragment
}
moduleConnectionStatus
moduleId
nextService
nonWorkingDays {
...AssetNonWorkingDaysFragment
}
operationalCosts {
...CostFragment
}
optionalAssetID
ownership
ownershipId
parameterOffsetIds
parameterOffsets {
...AssetParameterOffsetFragment
}
parameterSets {
...ParameterSetFragment
}
partsNumber
plateNumber
previousSiteId
primaryServicePackage {
...ServicePackageWithSourceTypeFragment
}
projectNumber
publicId
purchaseCost
purchaseCurrentBookValue
purchaseDepreciation
purchaseDepreciationMonths
purchaseDepreciationRemainingMonths
purchaseDepriciation
purchaseInvoiceNumber
purchaseLowValueAsset
purchaseMonthlyCost
purchaseStart
purchaseWarrantyEnd
purchaseWarrantyPeriod
purchaseWarrantyStart
qrAttached
quantity
relatedGroups {
...RelatedGroupFragment
}
rentalCostTermination
rentalEnd
rentalMonthlyCost
rentalRenewalDate
rentalRenewalRate
rentalStart
reservationLineItemIssues {
...ReservationLineItemIssueFragment
}
reservations {
...LegacyAssetReservationFragment
}
resolvedCurrency
responsiblePerson
responsiblePersonUpdatedAt
responsiblePersonUpdatedByUser {
...UserFragment
}
responsiblePersonUpdatedByUserId
restoreBlockers
runtimeWithOffsetInSeconds
scanTime
serial
serviceContract
serviceContractCostPerYear
serviceContractDocuments {
...DocumentFragment
}
serviceContractEmail
serviceContractEnd
serviceContractFrom
serviceContractLevel
serviceContractPartner
serviceContractStart
serviceContractTo
services {
...ServiceFragment
}
shouldShowLastSeenByGateway
shouldUpdateActiveAssetSiteAssignment
site {
...SiteFragment
}
siteId
state {
...AssetStateFragment
}
stateV2 {
...AssetStateItemFragment
}
status {
...StatusItemFragment
}
subscription
supplier
tickets {
...TicketFragment
}
ticketsCount
totalUtilization
totalWorkDone
trips {
...TripFragment
}
unavailability {
...AssetUnavailabilityFragment
}
updated
utilization {
...AssetUtilizationFragment
}
uuid
vncTunnelUrl
workOrders {
...WorkOrderV2Fragment
}
workingHours {
...AssetWorkingHoursFragment
}
workingHoursNotification {
...RuleNotificationRelationFragment
}
workingHoursSettings
}
}
Variables
{
"BLE": "xyz789",
"allowReservations": true,
"assetTypeId": HashedId,
"assignedToGroupId": HashedId,
"assignedToSiteId": HashedId,
"availability": "BORROWED",
"classification": "GENERIC",
"client": "abc123",
"commissionDate": "2007-12-03",
"costCenter": "xyz789",
"currency": "xyz789",
"customerEditable": true,
"dailyRate": 987.65,
"description": TranslationInput,
"disableWebhooks": false,
"externalId": "abc123",
"fixedAssetNumber": "abc123",
"floorRoom": "abc123",
"imageUrl": "abc123",
"imei": "abc123",
"initialValue": "xyz789",
"inventoryNumber": "abc123",
"inventoryPrefix": "abc123",
"isInStationaryGateway": false,
"isTypePresetCheckOnSave": true,
"isUsedPrivately": false,
"leasingCostTermination": "xyz789",
"leasingEnd": "2007-12-03",
"leasingLevel": "xyz789",
"leasingMonthlyCost": "xyz789",
"leasingPartner": "xyz789",
"leasingPartnerContractNumber": "xyz789",
"leasingPartnerContractPositionNumber": "xyz789",
"leasingRenewalDate": "2007-12-03",
"leasingRenewalRate": "abc123",
"leasingStart": "2007-12-03",
"minDaysBilled": 987,
"moduleId": HashedId,
"nonWorkingDays": [AssetNonWorkingDaysUpsertInput],
"optionalAssetID": "abc123",
"ownership": "CUSTOMER_MACHINE",
"parameterOffsets": [AssetParameterOffsetInput],
"partsNumber": "xyz789",
"plateNumber": "abc123",
"projectNumber": "xyz789",
"purchaseCost": "abc123",
"purchaseCurrentBookValue": "abc123",
"purchaseDepreciationMonths": 123,
"purchaseInvoiceNumber": "xyz789",
"purchaseLowValueAsset": false,
"purchaseStart": "2007-12-03",
"purchaseWarrantyEnd": "2007-12-03",
"purchaseWarrantyPeriod": 987,
"purchaseWarrantyStart": "2007-12-03",
"qrAttached": false,
"quantity": 123,
"rentalCostTermination": "xyz789",
"rentalEnd": "2007-12-03",
"rentalMonthlyCost": "xyz789",
"rentalRenewalDate": "2007-12-03",
"rentalRenewalRate": "abc123",
"rentalStart": "2007-12-03",
"responsiblePerson": "xyz789",
"serial": "abc123",
"serviceContract": false,
"serviceContractCostPerYear": "xyz789",
"serviceContractDocuments": [Upload],
"serviceContractEmail": "xyz789",
"serviceContractEnd": "2007-12-03",
"serviceContractFrom": 1592577642,
"serviceContractLevel": "xyz789",
"serviceContractPartner": "xyz789",
"serviceContractStart": "2007-12-03",
"serviceContractTo": 1592577642,
"shouldUpdateActiveAssetSiteAssignment": true,
"supplier": "abc123",
"syncSiteGroup": true,
"transferModule": false,
"uuid": "abc123",
"workingHours": AssetWorkingHoursInput,
"workingHoursNotification": [
RuleNotificationRelationInput
],
"workingHoursSettings": {}
}
Response
{
"data": {
"createAsset": [
{
"BLE": "xyz789",
"activeCustomFields": [CustomField],
"activity": AssetActivity,
"allowReservations": false,
"archivedCustomFields": [CustomField],
"assetCategory": AssetCategory,
"assetCategoryId": HashedId,
"assetPackageAsset": AssetPackageAsset,
"assetSiteAssignments": [AssetSiteAssignment],
"assetType": AssetType,
"assetTypeId": HashedId,
"assignedSiteLocation": SiteLocation,
"assignedToGroup": Group,
"assignedToGroupId": HashedId,
"assignedToPreviousSite": Site,
"assignedToSite": Site,
"assignedToSiteId": HashedId,
"assignment": "xyz789",
"availability": "BORROWED",
"availabilityId": HashedId,
"batteryLevel": "abc123",
"canEdit": true,
"checkSchedule": AssetCheckSchedule,
"checkScheduleRule": AssetCheckScheduleRule,
"classification": "GENERIC",
"client": "xyz789",
"commissionDate": "2007-12-03",
"costCenter": "xyz789",
"costLines": [CostLine],
"costs": [CostLine],
"costsSum": 123.45,
"costsSumBattery": 123.45,
"costsSumCertification": 987.65,
"costsSumConsumables": 987.65,
"costsSumFuel": 123.45,
"costsSumLabor": 987.65,
"costsSumLogistics": 123.45,
"costsSumMaintenance": 123.45,
"costsSumOther": 987.65,
"costsSumParts": 987.65,
"costsSumRepair": 123.45,
"costsSumTaxes": 987.65,
"countNonArchivedSiteAssignments": 123,
"created": 1592577642,
"createdByGroup": Group,
"createdByGroupId": HashedId,
"currency": "xyz789",
"currentAlerts": [Event],
"customer": "xyz789",
"customerEditable": true,
"dailyRate": 123.45,
"deleted": 1592577642,
"deletedBy": "xyz789",
"description": Translation,
"descriptionId": HashedId,
"displayParameters": [DisplayParameter],
"documents": [Document],
"eventIds": [HashedId],
"events": [Event],
"externalId": "abc123",
"firmwareVersion": "xyz789",
"firstTripDate": 987.65,
"fixedAssetNumber": "abc123",
"floorRoom": "abc123",
"gatewayAsset": Asset,
"geofence": AssetGeofence,
"group": Group,
"groupId": HashedId,
"groupTimezone": "xyz789",
"id": HashedId,
"image": "xyz789",
"imei": "xyz789",
"initialValue": "abc123",
"inlineImage": DocumentInlineFile,
"integrationId": HashedId,
"integrationSummary": AssetIntegrationSummary,
"inventoryNumber": "xyz789",
"inventoryPrefix": "abc123",
"inventorySequence": 123,
"iot": IotAssetData,
"iotIntegrationProvider": "ACHELIS_PROVIDER",
"iotRuleEntryEvents": [RuleEntryEvent],
"isCommodity": false,
"isInStationaryGateway": true,
"isIntegrationSyncPaused": false,
"isLocked": true,
"isUsedPrivately": false,
"lastContactInfo": AssetLastContactInfo,
"lastContacted": 1592577642,
"lastContactedSource": "BLE",
"lastIntegrationRun": AssetIntegrationRun,
"lastTicketDate": "2007-12-03T10:15:30Z",
"latestAssetData": {},
"latestTrip": AssetTripLatest,
"leasingCostTermination": "xyz789",
"leasingEnd": "2007-12-03",
"leasingLevel": "abc123",
"leasingMonthlyCost": "xyz789",
"leasingPartner": "xyz789",
"leasingPartnerContractNumber": "xyz789",
"leasingPartnerContractPositionNumber": "abc123",
"leasingRenewalDate": "2007-12-03",
"leasingRenewalRate": "abc123",
"leasingStart": "2007-12-03",
"location": Location,
"locationHiddenReason": "PRIVATE_USE",
"locationV2": Location,
"maintenanceSchedule": AssetMaintenanceSchedule,
"manuals": [Document],
"manufacturer": Manufacturer,
"manufacturerId": HashedId,
"minDaysBilled": 123,
"module": Module,
"moduleConnectionStatus": "disconnected",
"moduleId": HashedId,
"nextService": 123,
"nonWorkingDays": [AssetNonWorkingDays],
"operationalCosts": [Cost],
"optionalAssetID": "abc123",
"ownership": "CUSTOMER_MACHINE",
"ownershipId": HashedId,
"parameterOffsetIds": [HashedId],
"parameterOffsets": [AssetParameterOffset],
"parameterSets": [ParameterSet],
"partsNumber": "abc123",
"plateNumber": "xyz789",
"previousSiteId": HashedId,
"primaryServicePackage": ServicePackageWithSourceType,
"projectNumber": "abc123",
"publicId": 987,
"purchaseCost": "abc123",
"purchaseCurrentBookValue": "xyz789",
"purchaseDepreciation": 987.65,
"purchaseDepreciationMonths": 987,
"purchaseDepreciationRemainingMonths": 123,
"purchaseDepriciation": 123,
"purchaseInvoiceNumber": "abc123",
"purchaseLowValueAsset": true,
"purchaseMonthlyCost": "xyz789",
"purchaseStart": "2007-12-03",
"purchaseWarrantyEnd": "2007-12-03",
"purchaseWarrantyPeriod": 123,
"purchaseWarrantyStart": "2007-12-03",
"qrAttached": true,
"quantity": 123,
"relatedGroups": [RelatedGroup],
"rentalCostTermination": "xyz789",
"rentalEnd": "2007-12-03",
"rentalMonthlyCost": "xyz789",
"rentalRenewalDate": "2007-12-03",
"rentalRenewalRate": "xyz789",
"rentalStart": "2007-12-03",
"reservationLineItemIssues": [
ReservationLineItemIssue
],
"reservations": [LegacyAssetReservation],
"resolvedCurrency": "AED",
"responsiblePerson": "xyz789",
"responsiblePersonUpdatedAt": 1592577642,
"responsiblePersonUpdatedByUser": User,
"responsiblePersonUpdatedByUserId": HashedId,
"restoreBlockers": ["PARENT_ASSET_CATEGORY_DELETED"],
"runtimeWithOffsetInSeconds": 123,
"scanTime": "2007-12-03",
"serial": "xyz789",
"serviceContract": true,
"serviceContractCostPerYear": "xyz789",
"serviceContractDocuments": [Document],
"serviceContractEmail": "abc123",
"serviceContractEnd": "2007-12-03",
"serviceContractFrom": 1592577642,
"serviceContractLevel": "xyz789",
"serviceContractPartner": "abc123",
"serviceContractStart": "2007-12-03",
"serviceContractTo": 1592577642,
"services": [Service],
"shouldShowLastSeenByGateway": true,
"shouldUpdateActiveAssetSiteAssignment": false,
"site": Site,
"siteId": HashedId,
"state": AssetState,
"stateV2": [AssetStateItem],
"status": [StatusItem],
"subscription": "xyz789",
"supplier": "abc123",
"tickets": [Ticket],
"ticketsCount": "xyz789",
"totalUtilization": "abc123",
"totalWorkDone": "abc123",
"trips": [Trip],
"unavailability": [AssetUnavailability],
"updated": 1592577642,
"utilization": AssetUtilization,
"uuid": "xyz789",
"vncTunnelUrl": "xyz789",
"workOrders": [WorkOrderV2],
"workingHours": AssetWorkingHours,
"workingHoursNotification": [
RuleNotificationRelation
],
"workingHoursSettings": {}
}
]
}
}
createAssetCategory
Description
Create a new asset category for a manufacturer
Response
Returns [AssetCategory!]
Arguments
| Name | Description |
|---|---|
externalId - String
|
ID from an external system for integration |
groupId - HashedId
|
Owning organization group |
isPrivate - Boolean
|
Listed to users outside this group hierarchy - "publicly" available. May be used for not yet released models |
minimalBatteryVoltage - Float
|
Minimum acceptable battery voltage in volts |
name - TranslationInput!
|
Localized category display name |
nominalBatteryVoltage - Float
|
Rated nominal battery voltage in volts |
optimalBatteryVoltage - Float
|
Target optimal battery voltage in volts |
optimalRuntime - Float
|
Target optimal daily runtime in hours |
parentParameterKey - AssetParentParameter
|
Primary IoT parameter used for utilization tracking |
servicePackageId - HashedId
|
Assigned service package |
workUnits - TranslationInput
|
Localized label for the work unit measurement |
workUnitsPerHour - Float
|
Work units per hour |
Example
Query
mutation createAssetCategory(
$externalId: String,
$groupId: HashedId,
$isPrivate: Boolean,
$minimalBatteryVoltage: Float,
$name: TranslationInput!,
$nominalBatteryVoltage: Float,
$optimalBatteryVoltage: Float,
$optimalRuntime: Float,
$parentParameterKey: AssetParentParameter,
$servicePackageId: HashedId,
$workUnits: TranslationInput,
$workUnitsPerHour: Float
) {
createAssetCategory(
externalId: $externalId,
groupId: $groupId,
isPrivate: $isPrivate,
minimalBatteryVoltage: $minimalBatteryVoltage,
name: $name,
nominalBatteryVoltage: $nominalBatteryVoltage,
optimalBatteryVoltage: $optimalBatteryVoltage,
optimalRuntime: $optimalRuntime,
parentParameterKey: $parentParameterKey,
servicePackageId: $servicePackageId,
workUnits: $workUnits,
workUnitsPerHour: $workUnitsPerHour
) {
assetsCount
canEdit
created
deleted
deletedAssetTypesCount
deletedAssetsCount
deletedBy
externalId
forManufacturer {
...ManufacturerFragment
}
forManufacturerId
group {
...GroupFragment
}
groupId
id
image
isPrivate
manufacturer {
...ManufacturerFragment
}
minimalBatteryVoltage
name {
...TranslationFragment
}
nameId
nominalBatteryVoltage
optimalBatteryVoltage
optimalRuntime
parentParameterKey
publicId
restoreBlockers
servicePackage {
...ServicePackageFragment
}
servicePackageId
updated
workUnitId
workUnits {
...TranslationFragment
}
workUnitsPerHour
}
}
Variables
{
"externalId": "xyz789",
"groupId": HashedId,
"isPrivate": false,
"minimalBatteryVoltage": 123.45,
"name": TranslationInput,
"nominalBatteryVoltage": 987.65,
"optimalBatteryVoltage": 123.45,
"optimalRuntime": 123.45,
"parentParameterKey": "input2",
"servicePackageId": HashedId,
"workUnits": TranslationInput,
"workUnitsPerHour": 987.65
}
Response
{
"data": {
"createAssetCategory": [
{
"assetsCount": 987,
"canEdit": true,
"created": 1592577642,
"deleted": 1592577642,
"deletedAssetTypesCount": 123,
"deletedAssetsCount": 987,
"deletedBy": "abc123",
"externalId": "xyz789",
"forManufacturer": Manufacturer,
"forManufacturerId": HashedId,
"group": Group,
"groupId": HashedId,
"id": HashedId,
"image": "abc123",
"isPrivate": false,
"manufacturer": Manufacturer,
"minimalBatteryVoltage": 987.65,
"name": Translation,
"nameId": HashedId,
"nominalBatteryVoltage": 987.65,
"optimalBatteryVoltage": 987.65,
"optimalRuntime": 987.65,
"parentParameterKey": "input2",
"publicId": 123,
"restoreBlockers": ["PARENT_ASSET_CATEGORY_DELETED"],
"servicePackage": ServicePackage,
"servicePackageId": HashedId,
"updated": 1592577642,
"workUnitId": HashedId,
"workUnits": Translation,
"workUnitsPerHour": 123.45
}
]
}
}
createAssetData
Description
Create an IoT data record for an asset
Response
Returns an AssetData
Example
Query
mutation createAssetData(
$assetId: HashedId!,
$data: String!,
$interpolatedTimestamp: DateTime,
$receivedDate: DateTime
) {
createAssetData(
assetId: $assetId,
data: $data,
interpolatedTimestamp: $interpolatedTimestamp,
receivedDate: $receivedDate
) {
created
createdByAsset {
...AssetFragment
}
createdByAssetId
createdByModule {
...ModuleFragment
}
createdByModuleId
createdByModuleImei
data
id
updated
}
}
Variables
{
"assetId": HashedId,
"data": "abc123",
"interpolatedTimestamp": "2007-12-03T10:15:30Z",
"receivedDate": "2007-12-03T10:15:30Z"
}
Response
{
"data": {
"createAssetData": {
"created": 1592577642,
"createdByAsset": Asset,
"createdByAssetId": HashedId,
"createdByModule": Module,
"createdByModuleId": HashedId,
"createdByModuleImei": "xyz789",
"data": {},
"id": HashedId,
"updated": 1592577642
}
}
}
createAssetEventView
Description
Create a new saved asset event view for the current user
Response
Returns an AssetEventView!
Arguments
| Name | Description |
|---|---|
view - AssetEventViewCreateInput!
|
View configuration data |
Example
Query
mutation createAssetEventView($view: AssetEventViewCreateInput!) {
createAssetEventView(view: $view) {
created
displayMode
forEntity
id
isActive
isDeletable
isEditable
isShareable
isShared
isSystemView
isUnsharedByParentGroup
options {
...AssetEventViewOptionsFragment
}
title {
...TranslationFragment
}
titleId
updated
}
}
Variables
{"view": AssetEventViewCreateInput}
Response
{
"data": {
"createAssetEventView": {
"created": 1592577642,
"displayMode": "GANTT",
"forEntity": "ASSET",
"id": HashedId,
"isActive": true,
"isDeletable": true,
"isEditable": true,
"isShareable": false,
"isShared": true,
"isSystemView": false,
"isUnsharedByParentGroup": false,
"options": AssetEventViewOptions,
"title": Translation,
"titleId": HashedId,
"updated": 1592577642
}
}
}
createAssetIntegration
Description
Create a new IoT asset integration
Response
Returns an AssetIntegration!
Arguments
| Name | Description |
|---|---|
input - AssetIntegrationCreateInput!
|
Input data for new IoT integration |
Example
Query
mutation createAssetIntegration($input: AssetIntegrationCreateInput!) {
createAssetIntegration(input: $input) {
assetCategory {
...AssetCategoryFragment
}
assetCategoryId
created
id
iotParameters {
...IotParameterFragment
}
manufacturer {
...ManufacturerFragment
}
manufacturerId
name
updated
}
}
Variables
{"input": AssetIntegrationCreateInput}
Response
{
"data": {
"createAssetIntegration": {
"assetCategory": AssetCategory,
"assetCategoryId": HashedId,
"created": 1592577642,
"id": HashedId,
"iotParameters": [IotParameter],
"manufacturer": Manufacturer,
"manufacturerId": HashedId,
"name": "xyz789",
"updated": 1592577642
}
}
}
createAssetPackage
Description
Create a new asset package
Response
Returns an AssetPackage!
Arguments
| Name | Description |
|---|---|
input - AssetPackageCreateInput!
|
Input data for creating a new asset package |
Example
Query
mutation createAssetPackage($input: AssetPackageCreateInput!) {
createAssetPackage(input: $input) {
assetCount
assets {
...AssetPackageAssetFragment
}
created
group {
...GroupFragment
}
groupId
id
isDeleted
name {
...TranslationFragment
}
primaryAsset {
...AssetFragment
}
primaryAssetId
publicId
site {
...SiteFragment
}
siteId
siteInheritance
siteMismatchCount
updated
}
}
Variables
{"input": AssetPackageCreateInput}
Response
{
"data": {
"createAssetPackage": {
"assetCount": 123,
"assets": [AssetPackageAsset],
"created": 1592577642,
"group": Group,
"groupId": HashedId,
"id": HashedId,
"isDeleted": false,
"name": Translation,
"primaryAsset": Asset,
"primaryAssetId": HashedId,
"publicId": 987,
"site": Site,
"siteId": HashedId,
"siteInheritance": "CUSTOM",
"siteMismatchCount": 123,
"updated": 1592577642
}
}
}
createAssetSiteAssignment
Description
Create a new asset site assignment
Response
Returns an AssetSiteAssignment!
Arguments
| Name | Description |
|---|---|
input - AssetSiteAssignmentCreateInput!
|
Input data for creating a new asset site assignment |
Example
Query
mutation createAssetSiteAssignment($input: AssetSiteAssignmentCreateInput!) {
createAssetSiteAssignment(input: $input) {
asset {
...AssetFragment
}
assetId
averageDailyRate
costCenter
costCenterResolved
costCenterSelected
costCenterSource
costCenterSourceResolved
costs {
...AssetSiteAssignmentCostDtoFragment
}
created
dailyRateInPeriod
externalId
id
notes
onSiteFrom
onSiteUntil
publicId
site {
...SiteFragment
}
siteId
status
totalCosts
totalCostsInPeriod
totalDaysBilled
totalDaysBilledInPeriod
totalDaysPlanned
totalDaysPlannedInPeriod
totalDaysUntilNow
totalDaysUntilNowInPeriod
updated
}
}
Variables
{"input": AssetSiteAssignmentCreateInput}
Response
{
"data": {
"createAssetSiteAssignment": {
"asset": Asset,
"assetId": HashedId,
"averageDailyRate": 123.45,
"costCenter": "xyz789",
"costCenterResolved": "xyz789",
"costCenterSelected": "abc123",
"costCenterSource": "ASSET",
"costCenterSourceResolved": "ASSET",
"costs": [AssetSiteAssignmentCostDto],
"created": 1592577642,
"dailyRateInPeriod": 987.65,
"externalId": "xyz789",
"id": HashedId,
"notes": "abc123",
"onSiteFrom": "2007-12-03T10:15:30Z",
"onSiteUntil": "2007-12-03T10:15:30Z",
"publicId": 123,
"site": Site,
"siteId": HashedId,
"status": "ACTIVE",
"totalCosts": 987.65,
"totalCostsInPeriod": 987.65,
"totalDaysBilled": 987,
"totalDaysBilledInPeriod": 123,
"totalDaysPlanned": 123,
"totalDaysPlannedInPeriod": 123,
"totalDaysUntilNow": 123,
"totalDaysUntilNowInPeriod": 987,
"updated": 1592577642
}
}
}
createAssetSiteAssignmentView
Description
Create asset site assignment view
Response
Returns an AssetSiteAssignmentView!
Arguments
| Name | Description |
|---|---|
view - AssetSiteAssignmentViewCreateInput!
|
View configuration data |
Example
Query
mutation createAssetSiteAssignmentView($view: AssetSiteAssignmentViewCreateInput!) {
createAssetSiteAssignmentView(view: $view) {
created
displayMode
forEntity
id
isActive
isDeletable
isEditable
isShareable
isShared
isSystemView
isUnsharedByParentGroup
options {
...AssetSiteAssignmentViewOptionsFragment
}
title {
...TranslationFragment
}
titleId
updated
}
}
Variables
{"view": AssetSiteAssignmentViewCreateInput}
Response
{
"data": {
"createAssetSiteAssignmentView": {
"created": 1592577642,
"displayMode": "GANTT",
"forEntity": "ASSET",
"id": HashedId,
"isActive": true,
"isDeletable": true,
"isEditable": true,
"isShareable": false,
"isShared": true,
"isSystemView": true,
"isUnsharedByParentGroup": true,
"options": AssetSiteAssignmentViewOptions,
"title": Translation,
"titleId": HashedId,
"updated": 1592577642
}
}
}
createAssetType
Description
Create a new asset type with preset defaults
Response
Returns [AssetType]
Arguments
| Name | Description |
|---|---|
chargingVoltageThreshold - Float
|
Charging voltage threshold |
dailyRate - Float
|
Daily rental or usage rate for billing |
defaultClassification - AssetClassification
|
Default classification for new assets of this type |
displayedRuntimeCode - AssetDisplayedRuntimeCode
|
IoT parameter shown as the runtime for assets of this type |
externalId - String
|
External system identifier |
groupId - HashedId
|
Owning organization group for the asset type |
hasAssortmentList - Boolean
|
Whether the record has assortment list |
hasVNC - Boolean
|
Certain assets can be accessed over a remote connection. This specifies if this type can be accessed over VNC. |
image - String
|
URL of the asset type image |
inAssetCategoryId - HashedId!
|
Category to assign this asset type to |
inAssetIntegrationId - HashedId
|
The asset integration that applies to this type |
isApprovedAssetType - Boolean
|
Whether this asset type has been approved |
isLockable - Boolean
|
Certain Asset Types can be locked. This will then lock the asset |
isLockedState - Boolean
|
Whether this asset type is currently in locked state |
isPollingAvailable - Boolean
|
Whether IoT data polling is available for this type |
isPrivate - Boolean
|
Listed to users outside this group hierarchy - "publicly" available. May be used for not yet released models |
isRoom - Boolean
|
Whether this asset type is a room |
isVehicle - Boolean
|
Whether this asset type is a vehicle |
manufacturer - String
|
Manufacturer or brand name |
minDaysBilled - Int
|
Minimum number of days billed per rental period |
minimalBatteryVoltage - Float
|
Minimum acceptable battery voltage in volts |
name - TranslationInput!
|
Localized asset type display name |
nominalBatteryVoltage - Float
|
Rated nominal battery voltage in volts |
optimalBatteryVoltage - Float
|
Target optimal battery voltage in volts |
optimalRuntime - Float
|
Target optimal daily runtime in hours |
parentParameterKey - AssetParentParameter
|
Primary IoT parameter used for utilization tracking |
preset - Boolean
|
Preset |
presetInitialValue - String
|
Preset initial value |
presetLeasingCostTermination - String
|
Preset leasing cost termination |
presetLeasingLevel - String
|
Preset leasing level |
presetLeasingMonthlyCost - String
|
Preset leasing monthly cost |
presetLeasingPartner - String
|
Preset leasing partner |
presetLeasingPartnerContractNumber - String
|
Preset leasing partner contract number |
presetLeasingPartnerContractPositionNumber - String
|
Preset leasing partner contract position number |
presetLeasingRenewalRate - String
|
Preset leasing renewal rate |
presetLowValueAsset - Boolean
|
Preset low value asset |
presetMachineCheckInterval - Int
|
Preset machine check interval |
presetMachineCheckLastCreated - Boolean
|
Preset machine check last created |
presetMachineCheckName - String
|
Preset machine check name |
presetOwnership - String
|
Preset ownership |
presetPurchaseCost - String
|
Preset purchase cost |
presetPurchaseDepreciationMonths - Int
|
Preset purchase depreciation in months |
presetRentalCostTermination - String
|
Preset rental cost termination |
presetRentalMonthlyCost - String
|
Preset rental monthly cost |
presetRentalRenewalRate - String
|
Preset rental renewal rate |
presetServiceContractCostPerYear - String
|
Preset service contract cost per year |
presetServiceContractEmail - String
|
Preset service contract email |
presetServiceContractLevel - String
|
Preset service contract level |
presetServiceContractPartner - String
|
Preset service contract partner |
presetSupplier - String
|
Preset supplier |
presetWarrantyPeriod - Int
|
Preset warranty period |
restrictedType - Boolean
|
Whether this type is restricted to certain groups |
servicePackageId - HashedId
|
Service package to assign to this asset type |
suggestedServicePartner - String
|
Recommended service partner name |
workUnits - TranslationInput
|
Localized label for the work unit measurement |
workUnitsPerHour - Float
|
Work units per hour |
Example
Query
mutation createAssetType(
$chargingVoltageThreshold: Float,
$dailyRate: Float,
$defaultClassification: AssetClassification,
$displayedRuntimeCode: AssetDisplayedRuntimeCode,
$externalId: String,
$groupId: HashedId,
$hasAssortmentList: Boolean,
$hasVNC: Boolean,
$image: String,
$inAssetCategoryId: HashedId!,
$inAssetIntegrationId: HashedId,
$isApprovedAssetType: Boolean,
$isLockable: Boolean,
$isLockedState: Boolean,
$isPollingAvailable: Boolean,
$isPrivate: Boolean,
$isRoom: Boolean,
$isVehicle: Boolean,
$manufacturer: String,
$minDaysBilled: Int,
$minimalBatteryVoltage: Float,
$name: TranslationInput!,
$nominalBatteryVoltage: Float,
$optimalBatteryVoltage: Float,
$optimalRuntime: Float,
$parentParameterKey: AssetParentParameter,
$preset: Boolean,
$presetInitialValue: String,
$presetLeasingCostTermination: String,
$presetLeasingLevel: String,
$presetLeasingMonthlyCost: String,
$presetLeasingPartner: String,
$presetLeasingPartnerContractNumber: String,
$presetLeasingPartnerContractPositionNumber: String,
$presetLeasingRenewalRate: String,
$presetLowValueAsset: Boolean,
$presetMachineCheckInterval: Int,
$presetMachineCheckLastCreated: Boolean,
$presetMachineCheckName: String,
$presetOwnership: String,
$presetPurchaseCost: String,
$presetPurchaseDepreciationMonths: Int,
$presetRentalCostTermination: String,
$presetRentalMonthlyCost: String,
$presetRentalRenewalRate: String,
$presetServiceContractCostPerYear: String,
$presetServiceContractEmail: String,
$presetServiceContractLevel: String,
$presetServiceContractPartner: String,
$presetSupplier: String,
$presetWarrantyPeriod: Int,
$restrictedType: Boolean,
$servicePackageId: HashedId,
$suggestedServicePartner: String,
$workUnits: TranslationInput,
$workUnitsPerHour: Float
) {
createAssetType(
chargingVoltageThreshold: $chargingVoltageThreshold,
dailyRate: $dailyRate,
defaultClassification: $defaultClassification,
displayedRuntimeCode: $displayedRuntimeCode,
externalId: $externalId,
groupId: $groupId,
hasAssortmentList: $hasAssortmentList,
hasVNC: $hasVNC,
image: $image,
inAssetCategoryId: $inAssetCategoryId,
inAssetIntegrationId: $inAssetIntegrationId,
isApprovedAssetType: $isApprovedAssetType,
isLockable: $isLockable,
isLockedState: $isLockedState,
isPollingAvailable: $isPollingAvailable,
isPrivate: $isPrivate,
isRoom: $isRoom,
isVehicle: $isVehicle,
manufacturer: $manufacturer,
minDaysBilled: $minDaysBilled,
minimalBatteryVoltage: $minimalBatteryVoltage,
name: $name,
nominalBatteryVoltage: $nominalBatteryVoltage,
optimalBatteryVoltage: $optimalBatteryVoltage,
optimalRuntime: $optimalRuntime,
parentParameterKey: $parentParameterKey,
preset: $preset,
presetInitialValue: $presetInitialValue,
presetLeasingCostTermination: $presetLeasingCostTermination,
presetLeasingLevel: $presetLeasingLevel,
presetLeasingMonthlyCost: $presetLeasingMonthlyCost,
presetLeasingPartner: $presetLeasingPartner,
presetLeasingPartnerContractNumber: $presetLeasingPartnerContractNumber,
presetLeasingPartnerContractPositionNumber: $presetLeasingPartnerContractPositionNumber,
presetLeasingRenewalRate: $presetLeasingRenewalRate,
presetLowValueAsset: $presetLowValueAsset,
presetMachineCheckInterval: $presetMachineCheckInterval,
presetMachineCheckLastCreated: $presetMachineCheckLastCreated,
presetMachineCheckName: $presetMachineCheckName,
presetOwnership: $presetOwnership,
presetPurchaseCost: $presetPurchaseCost,
presetPurchaseDepreciationMonths: $presetPurchaseDepreciationMonths,
presetRentalCostTermination: $presetRentalCostTermination,
presetRentalMonthlyCost: $presetRentalMonthlyCost,
presetRentalRenewalRate: $presetRentalRenewalRate,
presetServiceContractCostPerYear: $presetServiceContractCostPerYear,
presetServiceContractEmail: $presetServiceContractEmail,
presetServiceContractLevel: $presetServiceContractLevel,
presetServiceContractPartner: $presetServiceContractPartner,
presetSupplier: $presetSupplier,
presetWarrantyPeriod: $presetWarrantyPeriod,
restrictedType: $restrictedType,
servicePackageId: $servicePackageId,
suggestedServicePartner: $suggestedServicePartner,
workUnits: $workUnits,
workUnitsPerHour: $workUnitsPerHour
) {
assetsCount
canEdit
chargingVoltageThreshold
created
customFields {
...CustomFieldFragment
}
dailyRate
defaultClassification
deleted
deletedAssetsCount
deletedBy
displayedRuntimeCode
documents {
...DocumentFragment
}
externalId
forManufacturer {
...ManufacturerFragment
}
forManufacturerId
group {
...GroupFragment
}
groupId
hasAssortmentList
hasVNC
id
image
inAssetCategory {
...AssetCategoryFragment
}
inAssetCategoryId
inAssetIntegration {
...AssetIntegrationFragment
}
inAssetIntegrationId
isApprovedAssetType
isLockable
isLockedState
isPollingAvailable
isPrivate
isRoom
isVehicle
lockAssetType {
...AssetTypeFragment
}
lockAssetTypeId
make
minDaysBilled
minimalBatteryVoltage
name {
...TranslationFragment
}
nameId
namespace
nominalBatteryVoltage
optimalBatteryVoltage
optimalRuntime
parentParameterKey
preset
presetInitialValue
presetLeasingCostTermination
presetLeasingLevel
presetLeasingMonthlyCost
presetLeasingPartner
presetLeasingPartnerContractNumber
presetLeasingPartnerContractPositionNumber
presetLeasingRenewalRate
presetLowValueAsset
presetMachineCheckInterval
presetMachineCheckLastCreated
presetMachineCheckName
presetOwnership
presetPurchaseCost
presetPurchaseDepreciationMonths
presetPurchaseDepriciation
presetRentalCostTermination
presetRentalMonthlyCost
presetRentalRenewalRate
presetServiceContractCostPerYear
presetServiceContractEmail
presetServiceContractLevel
presetServiceContractPartner
presetSupplier
presetWarrantyPeriod
publicId
reclassifiedAssetsCount
restoreBlockers
restrictedType
rules {
...RuleFragment
}
servicePackage {
...ServicePackageFragment
}
servicePackageId
suggestedPartner {
...AvailableHandlerFragment
}
suggestedServicePartner
ticketContentFields {
...TicketContentFieldFragment
}
updated
userManual
workUnitId
workUnits {
...TranslationFragment
}
workUnitsPerHour
}
}
Variables
{
"chargingVoltageThreshold": 123.45,
"dailyRate": 987.65,
"defaultClassification": "GENERIC",
"displayedRuntimeCode": "RUNTIME",
"externalId": "abc123",
"groupId": HashedId,
"hasAssortmentList": false,
"hasVNC": false,
"image": "abc123",
"inAssetCategoryId": HashedId,
"inAssetIntegrationId": HashedId,
"isApprovedAssetType": false,
"isLockable": false,
"isLockedState": true,
"isPollingAvailable": false,
"isPrivate": true,
"isRoom": false,
"isVehicle": false,
"manufacturer": "xyz789",
"minDaysBilled": 123,
"minimalBatteryVoltage": 987.65,
"name": TranslationInput,
"nominalBatteryVoltage": 123.45,
"optimalBatteryVoltage": 123.45,
"optimalRuntime": 123.45,
"parentParameterKey": "input2",
"preset": true,
"presetInitialValue": "abc123",
"presetLeasingCostTermination": "abc123",
"presetLeasingLevel": "xyz789",
"presetLeasingMonthlyCost": "xyz789",
"presetLeasingPartner": "abc123",
"presetLeasingPartnerContractNumber": "xyz789",
"presetLeasingPartnerContractPositionNumber": "abc123",
"presetLeasingRenewalRate": "abc123",
"presetLowValueAsset": true,
"presetMachineCheckInterval": 987,
"presetMachineCheckLastCreated": true,
"presetMachineCheckName": "abc123",
"presetOwnership": "xyz789",
"presetPurchaseCost": "xyz789",
"presetPurchaseDepreciationMonths": 123,
"presetRentalCostTermination": "abc123",
"presetRentalMonthlyCost": "abc123",
"presetRentalRenewalRate": "abc123",
"presetServiceContractCostPerYear": "abc123",
"presetServiceContractEmail": "abc123",
"presetServiceContractLevel": "abc123",
"presetServiceContractPartner": "abc123",
"presetSupplier": "abc123",
"presetWarrantyPeriod": 987,
"restrictedType": false,
"servicePackageId": HashedId,
"suggestedServicePartner": "xyz789",
"workUnits": TranslationInput,
"workUnitsPerHour": 987.65
}
Response
{
"data": {
"createAssetType": [
{
"assetsCount": 987,
"canEdit": true,
"chargingVoltageThreshold": 123.45,
"created": 1592577642,
"customFields": [CustomField],
"dailyRate": 123.45,
"defaultClassification": "GENERIC",
"deleted": 1592577642,
"deletedAssetsCount": 123,
"deletedBy": "xyz789",
"displayedRuntimeCode": "RUNTIME",
"documents": [Document],
"externalId": "abc123",
"forManufacturer": Manufacturer,
"forManufacturerId": HashedId,
"group": Group,
"groupId": HashedId,
"hasAssortmentList": false,
"hasVNC": true,
"id": HashedId,
"image": "abc123",
"inAssetCategory": AssetCategory,
"inAssetCategoryId": HashedId,
"inAssetIntegration": AssetIntegration,
"inAssetIntegrationId": HashedId,
"isApprovedAssetType": false,
"isLockable": true,
"isLockedState": true,
"isPollingAvailable": false,
"isPrivate": false,
"isRoom": false,
"isVehicle": false,
"lockAssetType": AssetType,
"lockAssetTypeId": HashedId,
"make": "xyz789",
"minDaysBilled": 987,
"minimalBatteryVoltage": 987.65,
"name": Translation,
"nameId": HashedId,
"namespace": "abc123",
"nominalBatteryVoltage": 123.45,
"optimalBatteryVoltage": 987.65,
"optimalRuntime": 123.45,
"parentParameterKey": "input2",
"preset": true,
"presetInitialValue": "abc123",
"presetLeasingCostTermination": "abc123",
"presetLeasingLevel": "abc123",
"presetLeasingMonthlyCost": "xyz789",
"presetLeasingPartner": "abc123",
"presetLeasingPartnerContractNumber": "xyz789",
"presetLeasingPartnerContractPositionNumber": "xyz789",
"presetLeasingRenewalRate": "abc123",
"presetLowValueAsset": true,
"presetMachineCheckInterval": 123,
"presetMachineCheckLastCreated": true,
"presetMachineCheckName": "xyz789",
"presetOwnership": "CUSTOMER_MACHINE",
"presetPurchaseCost": "xyz789",
"presetPurchaseDepreciationMonths": 987,
"presetPurchaseDepriciation": 123,
"presetRentalCostTermination": "xyz789",
"presetRentalMonthlyCost": "abc123",
"presetRentalRenewalRate": "xyz789",
"presetServiceContractCostPerYear": "abc123",
"presetServiceContractEmail": "abc123",
"presetServiceContractLevel": "abc123",
"presetServiceContractPartner": "abc123",
"presetSupplier": "abc123",
"presetWarrantyPeriod": 987,
"publicId": 987,
"reclassifiedAssetsCount": 987,
"restoreBlockers": ["PARENT_ASSET_CATEGORY_DELETED"],
"restrictedType": true,
"rules": [Rule],
"servicePackage": ServicePackage,
"servicePackageId": HashedId,
"suggestedPartner": AvailableHandler,
"suggestedServicePartner": "abc123",
"ticketContentFields": [TicketContentField],
"updated": 1592577642,
"userManual": "xyz789",
"workUnitId": HashedId,
"workUnits": Translation,
"workUnitsPerHour": 123.45
}
]
}
}
createAssetView
Description
Create a new saved asset list view for the current user
Response
Returns an AssetView!
Arguments
| Name | Description |
|---|---|
view - AssetViewCreateInput!
|
View configuration data |
Example
Query
mutation createAssetView($view: AssetViewCreateInput!) {
createAssetView(view: $view) {
created
displayMode
forEntity
id
isActive
isDeletable
isEditable
isShareable
isShared
isSystemView
isUnsharedByParentGroup
options {
...AssetViewOptionsFragment
}
title {
...TranslationFragment
}
titleId
updated
}
}
Variables
{"view": AssetViewCreateInput}
Response
{
"data": {
"createAssetView": {
"created": 1592577642,
"displayMode": "GANTT",
"forEntity": "ASSET",
"id": HashedId,
"isActive": false,
"isDeletable": false,
"isEditable": false,
"isShareable": true,
"isShared": false,
"isSystemView": false,
"isUnsharedByParentGroup": false,
"options": AssetViewOptions,
"title": Translation,
"titleId": HashedId,
"updated": 1592577642
}
}
}
createBrand
Description
Register a new equipment brand
Response
Returns a Brand!
Arguments
| Name | Description |
|---|---|
input - BrandCreateInput!
|
Brand creation fields |
Example
Query
mutation createBrand($input: BrandCreateInput!) {
createBrand(input: $input) {
activationMailVideo
appUrlAndroid
appUrlIos
color
colorDark
colorLight
cornerStyle
created
faviconUrl
fontFamily
group {
...GroupFragment
}
groupId
hasSso
id
isSenderVerified
key
loginBackground
loginLanguageFallback
logo
logoIsSquare
logoWidth
name
ownURL
projects
sectionStyle
supportEmail
surfaceStyle
symbol
systemName
updated
}
}
Variables
{"input": BrandCreateInput}
Response
{
"data": {
"createBrand": {
"activationMailVideo": "xyz789",
"appUrlAndroid": "xyz789",
"appUrlIos": "abc123",
"color": "xyz789",
"colorDark": "abc123",
"colorLight": "xyz789",
"cornerStyle": "ROUND",
"created": 1592577642,
"faviconUrl": "abc123",
"fontFamily": "IBM_PLEX_SANS",
"group": Group,
"groupId": HashedId,
"hasSso": true,
"id": HashedId,
"isSenderVerified": false,
"key": "abc123",
"loginBackground": "abc123",
"loginLanguageFallback": HashedId,
"logo": "abc123",
"logoIsSquare": false,
"logoWidth": 123,
"name": "abc123",
"ownURL": "xyz789",
"projects": "xyz789",
"sectionStyle": "CARDS",
"supportEmail": "xyz789",
"surfaceStyle": "ELEVATED",
"symbol": "xyz789",
"systemName": "abc123",
"updated": 1592577642
}
}
}
createChatbotTicket
Description
Escalate a robot chatbot session into an asset-based support ticket containing the transcript
Response
Returns a Ticket!
Arguments
| Name | Description |
|---|---|
input - ChatbotTicketCreateInput!
|
Input data required to create a ticket from a chatbot session |
Example
Query
mutation createChatbotTicket($input: ChatbotTicketCreateInput!) {
createChatbotTicket(input: $input) {
activityEvents {
... on TicketApprovalUpdate {
...TicketApprovalUpdateFragment
}
... on TicketAssetAvailabilityUpdate {
...TicketAssetAvailabilityUpdateFragment
}
... on TicketAssetCheckComplete {
...TicketAssetCheckCompleteFragment
}
... on TicketAssetSiteUpdate {
...TicketAssetSiteUpdateFragment
}
... on TicketAutomationEmailSent {
...TicketAutomationEmailSentFragment
}
... on TicketHandlerUpdate {
...TicketHandlerUpdateFragment
}
... on TicketTagsUpdate {
...TicketTagsUpdateFragment
}
... on TicketUrgencyUpdate {
...TicketUrgencyUpdateFragment
}
}
approvers {
...TicketApproverFragment
}
assetPackages {
...AssetPackageFragment
}
assignee {
...ProcessHandlerFragment
}
associatedAssetCategories {
...AssetCategoryFragment
}
associatedAssetTypes {
...AssetTypeFragment
}
associatedAssets {
...AssetFragment
}
associatedSites {
...SiteFragment
}
automationDetails {
...TicketAutomationDetailsFragment
}
batteryCosts
canEdit
canEditTags
certificationCosts
checkEvent {
...EventFragment
}
checkEventId
comments {
...TicketCommentFragment
}
consumablesCosts
content
costLines {
...CostLineFragment
}
costs {
...CostFragment
}
created
createdByGroup {
...GroupFragment
}
createdByGroupId
createdByUser {
...UserFragment
}
createdByUserId
createdFrom
creatingSyncedOn
currentState {
...TicketCurrentStateFragment
}
customFieldColumns {
...CustomFieldFragment
}
deleted
documents {
...DocumentFragment
}
externalEmailHandlers {
...TicketHandlerExternalEmailFragment
}
fuelCosts
groupHandlers {
...TicketHandlerGroupFragment
}
groupTicketHandlerHandlers {
...TicketHandlerGroupTicketHandlerFragment
}
history {
...TicketHistoryFragment
}
id
insuranceTaxesCosts
isStatusUpdatedAutomatically
isTicketApproversEnabled
laborCosts
lastActivityAt
lastStatusChange
logisticsCosts
notifications {
...NotificationFilterFragment
}
otherCosts
partsUsed {
...TicketPartUsageFragment
}
pdfCertificateLink {
...DocumentFragment
}
procedureInstance {
...ProcedureInstanceFragment
}
procedureInstanceId
publicId
repairCosts
reporterName
reservation {
...ReservationFragment
}
reservationDisplayId
reservationId
responsibles {
...ProcessHandlerFragment
}
ruleEntryEvent {
...RuleEntryEventFragment
}
service {
...ServiceFragment
}
serviceId
serviceResponseId
siteManagerHandler {
...TicketHandlerSiteManagerFragment
}
sparePartsCosts
status
statusUpdatedAt
statusUpdatedByUser {
...UserFragment
}
statusUpdatedByUserId
tags {
...TagFragment
}
teamHandlers {
...TicketHandlerTeamFragment
}
ticketComments {
...TicketCommentFragment
}
ticketContent {
...TicketContentFieldFragment
}
ticketId
ticketTimeline {
...TicketTimelineFragment
}
title {
...TranslationFragment
}
titleId
totalCosts
totalPartsCost
updated
urgency
userHandlers {
...TicketHandlerUserFragment
}
uuid
workOrders {
...WorkOrderV2Fragment
}
}
}
Variables
{"input": ChatbotTicketCreateInput}
Response
{
"data": {
"createChatbotTicket": {
"activityEvents": [TicketApprovalUpdate],
"approvers": [TicketApprover],
"assetPackages": [AssetPackage],
"assignee": ProcessHandler,
"associatedAssetCategories": [AssetCategory],
"associatedAssetTypes": [AssetType],
"associatedAssets": [Asset],
"associatedSites": [Site],
"automationDetails": TicketAutomationDetails,
"batteryCosts": "xyz789",
"canEdit": true,
"canEditTags": false,
"certificationCosts": "xyz789",
"checkEvent": Event,
"checkEventId": HashedId,
"comments": [TicketComment],
"consumablesCosts": "xyz789",
"content": {},
"costLines": [CostLine],
"costs": [Cost],
"created": 1592577642,
"createdByGroup": Group,
"createdByGroupId": HashedId,
"createdByUser": User,
"createdByUserId": HashedId,
"createdFrom": "ASSET_SERVICE",
"creatingSyncedOn": 1592577642,
"currentState": TicketCurrentState,
"customFieldColumns": [CustomField],
"deleted": 1592577642,
"documents": [Document],
"externalEmailHandlers": [
TicketHandlerExternalEmail
],
"fuelCosts": "abc123",
"groupHandlers": [TicketHandlerGroup],
"groupTicketHandlerHandlers": [
TicketHandlerGroupTicketHandler
],
"history": [TicketHistory],
"id": HashedId,
"insuranceTaxesCosts": "abc123",
"isStatusUpdatedAutomatically": false,
"isTicketApproversEnabled": false,
"laborCosts": "abc123",
"lastActivityAt": 1592577642,
"lastStatusChange": 1592577642,
"logisticsCosts": "abc123",
"notifications": NotificationFilter,
"otherCosts": "xyz789",
"partsUsed": [TicketPartUsage],
"pdfCertificateLink": Document,
"procedureInstance": ProcedureInstance,
"procedureInstanceId": HashedId,
"publicId": 123,
"repairCosts": "abc123",
"reporterName": "abc123",
"reservation": Reservation,
"reservationDisplayId": 123,
"reservationId": HashedId,
"responsibles": [ProcessHandler],
"ruleEntryEvent": RuleEntryEvent,
"service": Service,
"serviceId": HashedId,
"serviceResponseId": HashedId,
"siteManagerHandler": TicketHandlerSiteManager,
"sparePartsCosts": "xyz789",
"status": "approvalNeeded",
"statusUpdatedAt": 1592577642,
"statusUpdatedByUser": User,
"statusUpdatedByUserId": HashedId,
"tags": [Tag],
"teamHandlers": [TicketHandlerTeam],
"ticketComments": [TicketComment],
"ticketContent": [TicketContentField],
"ticketId": 123,
"ticketTimeline": TicketTimeline,
"title": Translation,
"titleId": HashedId,
"totalCosts": "xyz789",
"totalPartsCost": 987.65,
"updated": 1592577642,
"urgency": "CRITICAL",
"userHandlers": [TicketHandlerUser],
"uuid": "xyz789",
"workOrders": [WorkOrderV2]
}
}
}
createCheckSchedule
Description
Create a new check schedule for an asset
Response
Returns an AssetCheckSchedule!
Arguments
| Name | Description |
|---|---|
assetId - HashedId!
|
Associated asset identifier |
externalId - String
|
External system identifier for integration |
interval - Int!
|
Check interval in months |
lastCheck - Date
|
Date of the last completed check |
name - String!
|
Name of the check schedule |
nextCheck - Date!
|
Date of the next scheduled check |
Example
Query
mutation createCheckSchedule(
$assetId: HashedId!,
$externalId: String,
$interval: Int!,
$lastCheck: Date,
$name: String!,
$nextCheck: Date!
) {
createCheckSchedule(
assetId: $assetId,
externalId: $externalId,
interval: $interval,
lastCheck: $lastCheck,
name: $name,
nextCheck: $nextCheck
) {
assetId
daysToNextCheck
externalId
id
interval
lastCheck
lastCheckLastEdited {
...AssetCheckScheduleEditNoteFragment
}
name
nextCheck
nextCheckLastEdited {
...AssetCheckScheduleEditNoteFragment
}
}
}
Variables
{
"assetId": HashedId,
"externalId": "abc123",
"interval": 987,
"lastCheck": "2007-12-03",
"name": "xyz789",
"nextCheck": "2007-12-03"
}
Response
{
"data": {
"createCheckSchedule": {
"assetId": HashedId,
"daysToNextCheck": 123,
"externalId": "xyz789",
"id": HashedId,
"interval": 123,
"lastCheck": "2007-12-03",
"lastCheckLastEdited": AssetCheckScheduleEditNote,
"name": "xyz789",
"nextCheck": "2007-12-03",
"nextCheckLastEdited": AssetCheckScheduleEditNote
}
}
}
createCommentForTicket
Description
Add a new comment to a ticket
Response
Returns a TicketComment!
Arguments
| Name | Description |
|---|---|
input - TicketCommentCreateInput!
|
Data for adding a new comment to a ticket |
Example
Query
mutation createCommentForTicket($input: TicketCommentCreateInput!) {
createCommentForTicket(input: $input) {
attachments {
...DocumentFragment
}
authorEmail
connectedEvent {
...EventFragment
}
connectedEventId
content {
...TicketCommentContentFragment
}
costs {
...CostLineFragment
}
created
createdByUser {
...TicketUserFragment
}
createdByUserId
deleted
history {
...TicketCommentContentFragment
}
id
internal
isAutomated
itemsEvent {
...TicketItemsChangeFragment
}
stateEvent {
...TicketStateFragment
}
ticketHistory {
...TicketHistoryFragment
}
ticketId
ticketStatus
updated
}
}
Variables
{"input": TicketCommentCreateInput}
Response
{
"data": {
"createCommentForTicket": {
"attachments": [Document],
"authorEmail": "abc123",
"connectedEvent": Event,
"connectedEventId": HashedId,
"content": TicketCommentContent,
"costs": [CostLine],
"created": 1592577642,
"createdByUser": TicketUser,
"createdByUserId": HashedId,
"deleted": 1592577642,
"history": [TicketCommentContent],
"id": HashedId,
"internal": true,
"isAutomated": true,
"itemsEvent": TicketItemsChange,
"stateEvent": TicketState,
"ticketHistory": TicketHistory,
"ticketId": HashedId,
"ticketStatus": "approvalNeeded",
"updated": 1592577642
}
}
}
createCost
Description
Record a new cost entry for an asset or ticket
Response
Returns a Cost!
Arguments
| Name | Description |
|---|---|
input - CostCreateInput!
|
Cost creation fields |
Example
Query
mutation createCost($input: CostCreateInput!) {
createCost(input: $input) {
asset {
...AssetFragment
}
assetId
canEdit
costCenter
costLines {
...CostLineFragment
}
created
createdByUser {
...UserFragment
}
createdByUserId
deleted
description
documents {
...DocumentFragment
}
history {
...CostHistoryFragment
}
id
invoiceDate
invoiceDay
invoiceNumber
label {
...CostLabelFragment
}
labelId
operatingCosts
provider
site {
...SiteFragment
}
siteId
ticketId
title
updated
workOrderId
}
}
Variables
{"input": CostCreateInput}
Response
{
"data": {
"createCost": {
"asset": Asset,
"assetId": HashedId,
"canEdit": true,
"costCenter": "abc123",
"costLines": [CostLine],
"created": 1592577642,
"createdByUser": User,
"createdByUserId": HashedId,
"deleted": 1592577642,
"description": "abc123",
"documents": [Document],
"history": [CostHistory],
"id": HashedId,
"invoiceDate": "2007-12-03T10:15:30Z",
"invoiceDay": "2007-12-03",
"invoiceNumber": "abc123",
"label": CostLabel,
"labelId": HashedId,
"operatingCosts": 123.45,
"provider": "xyz789",
"site": Site,
"siteId": HashedId,
"ticketId": HashedId,
"title": "xyz789",
"updated": 1592577642,
"workOrderId": HashedId
}
}
}
createCostLabel
Description
Create a new cost label
Response
Returns a CostLabel!
Arguments
| Name | Description |
|---|---|
label - String!
|
Example
Query
mutation createCostLabel($label: String!) {
createCostLabel(label: $label) {
created
id
label
updated
}
}
Variables
{"label": "xyz789"}
Response
{
"data": {
"createCostLabel": {
"created": 1592577642,
"id": HashedId,
"label": "abc123",
"updated": 1592577642
}
}
}
createCostType
Description
Create cost type
Response
Returns a CostType
Arguments
| Name | Description |
|---|---|
key - String!
|
Unique lookup key |
keyV2 - CostTypeEnum!
|
Standardized enum key |
translationId - String
|
Localization key for the display name |
Example
Query
mutation createCostType(
$key: String!,
$keyV2: CostTypeEnum!,
$translationId: String
) {
createCostType(
key: $key,
keyV2: $keyV2,
translationId: $translationId
) {
created
id
key
keyV2
translation {
...TranslationFragment
}
translationId
updated
}
}
Variables
{
"key": "xyz789",
"keyV2": "BATTERY",
"translationId": "abc123"
}
Response
{
"data": {
"createCostType": {
"created": 1592577642,
"id": HashedId,
"key": "xyz789",
"keyV2": "BATTERY",
"translation": Translation,
"translationId": "abc123",
"updated": 1592577642
}
}
}
createCustomEvent
Description
Create a custom user-defined event
Response
Returns an Event!
Arguments
| Name | Description |
|---|---|
assetId - HashedId
|
Asset identifier |
description - TranslationInput
|
Human-readable description |
isCritical - Boolean
|
Denotes severity. Critical events should have a different, emphasized styling on the ui. |
isImmediateNotification - Boolean
|
Whether immediate notification |
partId - HashedId
|
Part identifier |
title - TranslationInput!
|
Title text |
Example
Query
mutation createCustomEvent(
$assetId: HashedId,
$description: TranslationInput,
$isCritical: Boolean,
$isImmediateNotification: Boolean,
$partId: HashedId,
$title: TranslationInput!
) {
createCustomEvent(
assetId: $assetId,
description: $description,
isCritical: $isCritical,
isImmediateNotification: $isImmediateNotification,
partId: $partId,
title: $title
) {
authorEmail
connectedComment {
...TicketCommentFragment
}
costs {
...CostLineFragment
}
created
createdByIntegrationName
createdByPart {
...PartFragment
}
createdByPartId
createdByRule {
...RuleFragment
}
createdByRuleId
createdBySite {
...SiteFragment
}
createdBySiteId
createdByTicket {
...TicketFragment
}
createdByTicketId
createdByUser {
...UserFragment
}
createdByUserId
createdByWorkOrder {
...WorkOrderSummaryFragment
}
createdByWorkOrderId
data {
...EventEntityDataDtoFragment
}
description {
...TranslationFragment
}
descriptionId
documents {
...DocumentFragment
}
endTime
eventMeta
eventStyle {
...EventStyleFragment
}
eventStyleId
id
isCritical
isImmediateNotification
isOngoing
lastEvent
manualDeactivation
originatingFromAsset {
...AssetFragment
}
originatingFromAssetId
originatingFromModule {
...ModuleFragment
}
originatingFromModuleId
publicId
responseState {
...TicketStateFragment
}
serviceName {
...TranslationFragment
}
shouldNotify
site {
...SiteFragment
}
siteId
startTime
stoppedByUser {
...UserFragment
}
stoppedByUserId
tag
ticketId
ticketStatus
title {
...TranslationFragment
}
titleId
type
updated
workOrderNotifications {
...WorkOrderNotificationsFragment
}
}
}
Variables
{
"assetId": HashedId,
"description": TranslationInput,
"isCritical": true,
"isImmediateNotification": false,
"partId": HashedId,
"title": TranslationInput
}
Response
{
"data": {
"createCustomEvent": {
"authorEmail": "abc123",
"connectedComment": TicketComment,
"costs": [CostLine],
"created": 1592577642,
"createdByIntegrationName": "abc123",
"createdByPart": Part,
"createdByPartId": HashedId,
"createdByRule": Rule,
"createdByRuleId": HashedId,
"createdBySite": Site,
"createdBySiteId": HashedId,
"createdByTicket": Ticket,
"createdByTicketId": HashedId,
"createdByUser": User,
"createdByUserId": HashedId,
"createdByWorkOrder": WorkOrderSummary,
"createdByWorkOrderId": HashedId,
"data": EventEntityDataDto,
"description": Translation,
"descriptionId": HashedId,
"documents": [Document],
"endTime": 1592577642,
"eventMeta": {},
"eventStyle": EventStyle,
"eventStyleId": "xyz789",
"id": HashedId,
"isCritical": true,
"isImmediateNotification": true,
"isOngoing": true,
"lastEvent": 1592577642,
"manualDeactivation": true,
"originatingFromAsset": Asset,
"originatingFromAssetId": HashedId,
"originatingFromModule": Module,
"originatingFromModuleId": HashedId,
"publicId": 123,
"responseState": TicketState,
"serviceName": Translation,
"shouldNotify": true,
"site": Site,
"siteId": HashedId,
"startTime": 1592577642,
"stoppedByUser": User,
"stoppedByUserId": HashedId,
"tag": ["RESPONSIBLE_UPDATE"],
"ticketId": 123,
"ticketStatus": "approvalNeeded",
"title": Translation,
"titleId": HashedId,
"type": "COST",
"updated": 1592577642,
"workOrderNotifications": WorkOrderNotifications
}
}
}
createCustomField
Description
Create a new custom field definition
Response
Returns a CustomField!
Arguments
| Name | Description |
|---|---|
input - CustomFieldCreateInput!
|
Custom field creation fields |
Example
Query
mutation createCustomField($input: CustomFieldCreateInput!) {
createCustomField(input: $input) {
addToAllAssetsInGroupAndBelow
assetCategories {
...AssetCategoryFragment
}
assetTypes {
...AssetTypeFragment
}
assets {
...AssetFragment
}
availableCustomerVisibilityRights
created
createdByGroup {
...GroupFragment
}
createdByGroupId
createdByUser {
...UserFragment
}
createdByUserId
customerVisibilityRights
deleted
dropdownOptions {
...CustomFieldDropdownOptionFragment
}
group {
...GroupFragment
}
groupId
id
isRequired
multiselect
name {
...TranslationFragment
}
nameId
publicId
showInEmail
showInPdf
showOnQrLandingPage
showToNonLoggedInUsers
type
updated
values {
...CustomFieldValueFragment
}
}
}
Variables
{"input": CustomFieldCreateInput}
Response
{
"data": {
"createCustomField": {
"addToAllAssetsInGroupAndBelow": true,
"assetCategories": [AssetCategory],
"assetTypes": [AssetType],
"assets": [Asset],
"availableCustomerVisibilityRights": ["editor"],
"created": 1592577642,
"createdByGroup": Group,
"createdByGroupId": HashedId,
"createdByUser": User,
"createdByUserId": HashedId,
"customerVisibilityRights": "editor",
"deleted": 1592577642,
"dropdownOptions": [CustomFieldDropdownOption],
"group": Group,
"groupId": HashedId,
"id": HashedId,
"isRequired": false,
"multiselect": false,
"name": Translation,
"nameId": HashedId,
"publicId": 123,
"showInEmail": false,
"showInPdf": true,
"showOnQrLandingPage": false,
"showToNonLoggedInUsers": true,
"type": "currency",
"updated": 1592577642,
"values": [CustomFieldValue]
}
}
}
createDashboard
Description
Create a new Grafana-backed dashboard
Response
Returns a Dashboard
Arguments
| Name | Description |
|---|---|
input - DashboardCreateInput!
|
Dashboard creation fields |
Example
Query
mutation createDashboard($input: DashboardCreateInput!) {
createDashboard(input: $input) {
created
createdByGroup {
...GroupFragment
}
createdByGroupId
createdByUser {
...UserFragment
}
createdByUserId
default
filters {
...DashboardFilterFragment
}
grafanaDashboardUID
grafanaDashboardURL
id
order
revision
source
title {
...TranslationFragment
}
titleId
updated
}
}
Variables
{"input": DashboardCreateInput}
Response
{
"data": {
"createDashboard": {
"created": 1592577642,
"createdByGroup": Group,
"createdByGroupId": HashedId,
"createdByUser": User,
"createdByUserId": HashedId,
"default": false,
"filters": [DashboardFilter],
"grafanaDashboardUID": "abc123",
"grafanaDashboardURL": "abc123",
"id": HashedId,
"order": 123,
"revision": 123,
"source": "LEGACY_GRAFANA",
"title": Translation,
"titleId": HashedId,
"updated": 1592577642
}
}
}
createDashboardBoard
Description
Create a new dashboard with its widgets and filters
Response
Returns a DashboardBoard!
Arguments
| Name | Description |
|---|---|
input - DashboardBoardCreateInput!
|
Dashboard creation fields |
Example
Query
mutation createDashboardBoard($input: DashboardBoardCreateInput!) {
createDashboardBoard(input: $input) {
boardFilters {
...DashboardBoardFilterFragment
}
canEdit
created
createdByGroup {
...GroupFragment
}
createdByGroupId
createdByUser {
...UserFragment
}
createdByUserId
displayId
grafanaDashboardUID
hiddenColumnCount
hiddenFeatures
hiddenWidgetCount
icon
id
isHiddenByCostAccess
missingAccess
revision
title {
...TranslationFragment
}
titleId
updated
widgets {
...DashboardWidgetFragment
}
}
}
Variables
{"input": DashboardBoardCreateInput}
Response
{
"data": {
"createDashboardBoard": {
"boardFilters": [DashboardBoardFilter],
"canEdit": false,
"created": "2007-12-03T10:15:30Z",
"createdByGroup": Group,
"createdByGroupId": HashedId,
"createdByUser": User,
"createdByUserId": HashedId,
"displayId": 987,
"grafanaDashboardUID": "abc123",
"hiddenColumnCount": 123,
"hiddenFeatures": ["ASSET_LOCATIONS"],
"hiddenWidgetCount": 987,
"icon": "ALARM",
"id": HashedId,
"isHiddenByCostAccess": true,
"missingAccess": ["COSTS"],
"revision": 987,
"title": Translation,
"titleId": HashedId,
"updated": "2007-12-03T10:15:30Z",
"widgets": [DashboardWidget]
}
}
}
createDashboardReportSchedule
Response
Returns a DashboardReportSchedule!
Arguments
| Name | Description |
|---|---|
input - DashboardReportScheduleInput!
|
Example
Query
mutation createDashboardReportSchedule($input: DashboardReportScheduleInput!) {
createDashboardReportSchedule(input: $input) {
applyToChildGroups
created
createdByUserId
dashboardId
effectiveTargetGroupId
filterOverrides {
...DashboardBoardFilterValueFragment
}
format
frequency
id
inherited
localSendTime
monthDay
name
nextSendAt
originScheduleId
paused
recipientGroupIds
recipientTeamIds
recipientUserIds
resolvedRecipients {
...DashboardReportScheduleResolvedRecipientFragment
}
targetGroupId
timezone
updated
weekday
}
}
Variables
{"input": DashboardReportScheduleInput}
Response
{
"data": {
"createDashboardReportSchedule": {
"applyToChildGroups": true,
"created": "2007-12-03T10:15:30Z",
"createdByUserId": HashedId,
"dashboardId": HashedId,
"effectiveTargetGroupId": HashedId,
"filterOverrides": [DashboardBoardFilterValue],
"format": "CSV",
"frequency": "DAILY",
"id": HashedId,
"inherited": true,
"localSendTime": "xyz789",
"monthDay": 123,
"name": "xyz789",
"nextSendAt": "2007-12-03T10:15:30Z",
"originScheduleId": HashedId,
"paused": true,
"recipientGroupIds": [HashedId],
"recipientTeamIds": [HashedId],
"recipientUserIds": [HashedId],
"resolvedRecipients": [
DashboardReportScheduleResolvedRecipient
],
"targetGroupId": HashedId,
"timezone": "xyz789",
"updated": "2007-12-03T10:15:30Z",
"weekday": 123
}
}
}
createDashboardView
Description
Create a saved filter view of a dashboard for the current user
Response
Returns a DashboardView!
Arguments
| Name | Description |
|---|---|
input - DashboardViewCreateInput!
|
Dashboard view to create |
Example
Query
mutation createDashboardView($input: DashboardViewCreateInput!) {
createDashboardView(input: $input) {
created
forEntity
id
isActive
isDefault
isDeletable
isEditable
isShareable
isShared
isSystemView
isUnsharedByParentGroup
options {
...DashboardViewOptionsFragment
}
title {
...TranslationFragment
}
titleId
updated
}
}
Variables
{"input": DashboardViewCreateInput}
Response
{
"data": {
"createDashboardView": {
"created": 1592577642,
"forEntity": "ASSET",
"id": HashedId,
"isActive": false,
"isDefault": true,
"isDeletable": false,
"isEditable": true,
"isShareable": true,
"isShared": false,
"isSystemView": false,
"isUnsharedByParentGroup": true,
"options": DashboardViewOptions,
"title": Translation,
"titleId": HashedId,
"updated": 1592577642
}
}
}
createDocument
Description
Creates a new document. Allowed extensions: mp4, avi, mov, webm, aac, mp3, m4a, aiff, alac, flac, wav, jpg, jpeg, gif, png, webp, heic, pdf, doc, odt, ods, rtf, docx, xls, xlsx, ppt, pptx, pub, csv, txt, json, eul, md, markdown, 7z, rar, zip.
Response
Returns [Document!]!
Arguments
| Name | Description |
|---|---|
assetId - HashedId
|
Id of the associated asset. Mutually exclusive with other associations. |
assetTypeId - HashedId
|
Id of the associated assetType. Mutually exclusive with other associations. |
documentLink - String
|
Document link |
eventId - HashedId
|
Event identifier |
externalId - String
|
External system identifier |
file - Upload
|
File attachment |
isVisibleToCustomer - Boolean!
|
Whether visible to customer |
name - String!
|
Name of the attachment |
partId - HashedId
|
Id of the associated part. Mutually exclusive with other associations. |
purpose - String
|
A string 'label' to define the purpose of the document. Can only be one of the items of a predefined constant array. |
useForChatbot - Boolean
|
Whether this document is injected into the robot chatbot context |
Example
Query
mutation createDocument(
$assetId: HashedId,
$assetTypeId: HashedId,
$documentLink: String,
$eventId: HashedId,
$externalId: String,
$file: Upload,
$isVisibleToCustomer: Boolean!,
$name: String!,
$partId: HashedId,
$purpose: String,
$useForChatbot: Boolean
) {
createDocument(
assetId: $assetId,
assetTypeId: $assetTypeId,
documentLink: $documentLink,
eventId: $eventId,
externalId: $externalId,
file: $file,
isVisibleToCustomer: $isVisibleToCustomer,
name: $name,
partId: $partId,
purpose: $purpose,
useForChatbot: $useForChatbot
) {
assetId
assetTypeId
commentId
costId
created
documentTicketContentFieldId
editable
eventId
externalId
fileSize
id
inlineFile {
...DocumentInlineFileFragment
}
isExternal
isInherited
isVisibleToCustomer
name
partId
procedureTemplateComponentId
purpose
typeKey
updated
uploadedByCustomer
uploadedByUser {
...UserFragment
}
uploadedByUserId
uploadedDocumentTicketContentFieldId
url
useForChatbot
workOrderCommentId
}
}
Variables
{
"assetId": HashedId,
"assetTypeId": HashedId,
"documentLink": "abc123",
"eventId": HashedId,
"externalId": "abc123",
"file": Upload,
"isVisibleToCustomer": false,
"name": "abc123",
"partId": HashedId,
"purpose": "xyz789",
"useForChatbot": false
}
Response
{
"data": {
"createDocument": [
{
"assetId": HashedId,
"assetTypeId": HashedId,
"commentId": HashedId,
"costId": HashedId,
"created": 1592577642,
"documentTicketContentFieldId": HashedId,
"editable": false,
"eventId": HashedId,
"externalId": "abc123",
"fileSize": 123,
"id": HashedId,
"inlineFile": DocumentInlineFile,
"isExternal": false,
"isInherited": true,
"isVisibleToCustomer": false,
"name": "abc123",
"partId": HashedId,
"procedureTemplateComponentId": HashedId,
"purpose": "xyz789",
"typeKey": "xyz789",
"updated": 1592577642,
"uploadedByCustomer": false,
"uploadedByUser": User,
"uploadedByUserId": HashedId,
"uploadedDocumentTicketContentFieldId": HashedId,
"url": "abc123",
"useForChatbot": true,
"workOrderCommentId": HashedId
}
]
}
}
createEvent
Description
Create a new maintenance or operational event
Response
Returns an Event!
Arguments
| Name | Description |
|---|---|
assetId - HashedId
|
Asset identifier |
attachments - [Upload!]
|
Attached files |
costs - [NewCostInput!]
|
Associated cost entries |
description - TranslationInput
|
Human-readable description |
isCritical - Boolean
|
Denotes severity. Critical events should have a different, emphasized styling on the ui. |
partId - HashedId
|
Part identifier |
siteId - HashedId
|
Site identifier |
title - TranslationInput!
|
Title text |
Example
Query
mutation createEvent(
$assetId: HashedId,
$attachments: [Upload!],
$costs: [NewCostInput!],
$description: TranslationInput,
$isCritical: Boolean,
$partId: HashedId,
$siteId: HashedId,
$title: TranslationInput!
) {
createEvent(
assetId: $assetId,
attachments: $attachments,
costs: $costs,
description: $description,
isCritical: $isCritical,
partId: $partId,
siteId: $siteId,
title: $title
) {
authorEmail
connectedComment {
...TicketCommentFragment
}
costs {
...CostLineFragment
}
created
createdByIntegrationName
createdByPart {
...PartFragment
}
createdByPartId
createdByRule {
...RuleFragment
}
createdByRuleId
createdBySite {
...SiteFragment
}
createdBySiteId
createdByTicket {
...TicketFragment
}
createdByTicketId
createdByUser {
...UserFragment
}
createdByUserId
createdByWorkOrder {
...WorkOrderSummaryFragment
}
createdByWorkOrderId
data {
...EventEntityDataDtoFragment
}
description {
...TranslationFragment
}
descriptionId
documents {
...DocumentFragment
}
endTime
eventMeta
eventStyle {
...EventStyleFragment
}
eventStyleId
id
isCritical
isImmediateNotification
isOngoing
lastEvent
manualDeactivation
originatingFromAsset {
...AssetFragment
}
originatingFromAssetId
originatingFromModule {
...ModuleFragment
}
originatingFromModuleId
publicId
responseState {
...TicketStateFragment
}
serviceName {
...TranslationFragment
}
shouldNotify
site {
...SiteFragment
}
siteId
startTime
stoppedByUser {
...UserFragment
}
stoppedByUserId
tag
ticketId
ticketStatus
title {
...TranslationFragment
}
titleId
type
updated
workOrderNotifications {
...WorkOrderNotificationsFragment
}
}
}
Variables
{
"assetId": HashedId,
"attachments": [Upload],
"costs": [NewCostInput],
"description": TranslationInput,
"isCritical": false,
"partId": HashedId,
"siteId": HashedId,
"title": TranslationInput
}
Response
{
"data": {
"createEvent": {
"authorEmail": "abc123",
"connectedComment": TicketComment,
"costs": [CostLine],
"created": 1592577642,
"createdByIntegrationName": "xyz789",
"createdByPart": Part,
"createdByPartId": HashedId,
"createdByRule": Rule,
"createdByRuleId": HashedId,
"createdBySite": Site,
"createdBySiteId": HashedId,
"createdByTicket": Ticket,
"createdByTicketId": HashedId,
"createdByUser": User,
"createdByUserId": HashedId,
"createdByWorkOrder": WorkOrderSummary,
"createdByWorkOrderId": HashedId,
"data": EventEntityDataDto,
"description": Translation,
"descriptionId": HashedId,
"documents": [Document],
"endTime": 1592577642,
"eventMeta": {},
"eventStyle": EventStyle,
"eventStyleId": "abc123",
"id": HashedId,
"isCritical": true,
"isImmediateNotification": true,
"isOngoing": true,
"lastEvent": 1592577642,
"manualDeactivation": false,
"originatingFromAsset": Asset,
"originatingFromAssetId": HashedId,
"originatingFromModule": Module,
"originatingFromModuleId": HashedId,
"publicId": 987,
"responseState": TicketState,
"serviceName": Translation,
"shouldNotify": true,
"site": Site,
"siteId": HashedId,
"startTime": 1592577642,
"stoppedByUser": User,
"stoppedByUserId": HashedId,
"tag": ["RESPONSIBLE_UPDATE"],
"ticketId": 123,
"ticketStatus": "approvalNeeded",
"title": Translation,
"titleId": HashedId,
"type": "COST",
"updated": 1592577642,
"workOrderNotifications": WorkOrderNotifications
}
}
}
createGroup
Description
Create a new group using the legacy flat input format
Response
Returns [Group!]!
Arguments
| Name | Description |
|---|---|
costSettings - GroupCostSettingsCreateInput
|
Initial cost calculation settings for the new group |
defaultCurrency - String
|
ISO 4217 currency code for cost calculations within this group |
getRawFlow - Boolean
|
Whether to return the unprocessed workflow configuration in the response |
handlerAlias - String
|
Short alias displayed instead of the full ticket handler name |
hasTicketHandling - Boolean
|
Whether the record has ticket handling |
identificationNumber - String
|
External business registration or tax identification number |
isCustomer - Boolean
|
Whether this represents a customer |
name - String!
|
Human-readable label for the new group |
parentGroupId - HashedId!
|
Parent group identifier in the hierarchy |
servicePackageId - HashedId
|
Can only be changed by internal TS users currently |
settings - JSON
|
Raw JSON settings blob to apply to the new group |
vatNumber - String
|
VAT registration number for tax invoicing purposes |
Example
Query
mutation createGroup(
$costSettings: GroupCostSettingsCreateInput,
$defaultCurrency: String,
$getRawFlow: Boolean,
$handlerAlias: String,
$hasTicketHandling: Boolean,
$identificationNumber: String,
$isCustomer: Boolean,
$name: String!,
$parentGroupId: HashedId!,
$servicePackageId: HashedId,
$settings: JSON,
$vatNumber: String
) {
createGroup(
costSettings: $costSettings,
defaultCurrency: $defaultCurrency,
getRawFlow: $getRawFlow,
handlerAlias: $handlerAlias,
hasTicketHandling: $hasTicketHandling,
identificationNumber: $identificationNumber,
isCustomer: $isCustomer,
name: $name,
parentGroupId: $parentGroupId,
servicePackageId: $servicePackageId,
settings: $settings,
vatNumber: $vatNumber
) {
activeCustomFields {
...CustomFieldFragment
}
archivedCustomFields {
...CustomFieldFragment
}
assetIds
assetLocationsHidden
assets {
...AssetFragment
}
belongsToCurrentGroup
brand {
...BrandFragment
}
canGrantJotformConversion
childGroupIds
childGroups {
...GroupFragment
}
costSettings {
...GroupCostSettingsFragment
}
costSettingsId
created
customerName
customerRootGroup {
...GroupFragment
}
deleted
deletedAssetCategoriesCount
deletedAssetTypesCount
deletedAssetsCount
deletedBy
deletedGroupsCount
deletedSitesCount
effectiveTimezone
flow {
...ServicePackageFragment
}
flowId
flowMaintainers {
...NotificationRelationFragment
}
groupType {
...ServicePackageFragment
}
groupTypeId
handlerAlias
hasTicketHandling
id
identificationNumber
image
internalSettings
isCustomer
isRoot
maintainedManufacturer {
...ManufacturerFragment
}
maintainedManufacturerId
name
nonCustomerParentGroup {
...GroupFragment
}
ownSettings
parentGroup {
...GroupFragment
}
parentGroupId
parentName
resolvedCurrency
restoreBlockers
roleIds
rootBrand {
...BrandFragment
}
rootGroupId
rootGroupName
servicePackage {
...ServicePackageFragment
}
servicePackageId
servicePackageV2 {
... on RestrictedServicePackage {
...RestrictedServicePackageFragment
}
... on ServicePackage {
...ServicePackageFragment
}
}
services {
...ServiceFragment
}
servicesV2 {
...ServiceFragment
}
settings
ticketAfterApprovalAssigneeTeam {
...TeamFragment
}
ticketAfterApprovalAssigneeUser {
...UserFragment
}
ticketDefaultAssignee {
...UserFragment
}
ticketHandler {
...GroupTicketHandlerFragment
}
treeRootId
updated
userIds
userRequestNotifiers {
...NotificationRelationFragment
}
users {
...UserFragment
}
vatNumber
workingHours {
...GroupWorkingHoursFragment
}
}
}
Variables
{
"costSettings": GroupCostSettingsCreateInput,
"defaultCurrency": "xyz789",
"getRawFlow": false,
"handlerAlias": "abc123",
"hasTicketHandling": false,
"identificationNumber": "abc123",
"isCustomer": false,
"name": "abc123",
"parentGroupId": HashedId,
"servicePackageId": HashedId,
"settings": {},
"vatNumber": "xyz789"
}
Response
{
"data": {
"createGroup": [
{
"activeCustomFields": [CustomField],
"archivedCustomFields": [CustomField],
"assetIds": [HashedId],
"assetLocationsHidden": false,
"assets": [Asset],
"belongsToCurrentGroup": false,
"brand": Brand,
"canGrantJotformConversion": true,
"childGroupIds": [HashedId],
"childGroups": [Group],
"costSettings": GroupCostSettings,
"costSettingsId": HashedId,
"created": 1592577642,
"customerName": "abc123",
"customerRootGroup": Group,
"deleted": 1592577642,
"deletedAssetCategoriesCount": 987,
"deletedAssetTypesCount": 123,
"deletedAssetsCount": 987,
"deletedBy": "xyz789",
"deletedGroupsCount": 987,
"deletedSitesCount": 123,
"effectiveTimezone": "xyz789",
"flow": ServicePackage,
"flowId": HashedId,
"flowMaintainers": [NotificationRelation],
"groupType": ServicePackage,
"groupTypeId": HashedId,
"handlerAlias": "xyz789",
"hasTicketHandling": true,
"id": HashedId,
"identificationNumber": "xyz789",
"image": "xyz789",
"internalSettings": {},
"isCustomer": false,
"isRoot": false,
"maintainedManufacturer": [Manufacturer],
"maintainedManufacturerId": [HashedId],
"name": "abc123",
"nonCustomerParentGroup": Group,
"ownSettings": {},
"parentGroup": Group,
"parentGroupId": HashedId,
"parentName": "abc123",
"resolvedCurrency": "AED",
"restoreBlockers": ["PARENT_ASSET_CATEGORY_DELETED"],
"roleIds": [HashedId],
"rootBrand": Brand,
"rootGroupId": HashedId,
"rootGroupName": "xyz789",
"servicePackage": ServicePackage,
"servicePackageId": HashedId,
"servicePackageV2": RestrictedServicePackage,
"services": [Service],
"servicesV2": [Service],
"settings": {},
"ticketAfterApprovalAssigneeTeam": Team,
"ticketAfterApprovalAssigneeUser": User,
"ticketDefaultAssignee": User,
"ticketHandler": GroupTicketHandler,
"treeRootId": HashedId,
"updated": 1592577642,
"userIds": [HashedId],
"userRequestNotifiers": [NotificationRelation],
"users": [User],
"vatNumber": "abc123",
"workingHours": GroupWorkingHours
}
]
}
}
createGroupTicketHandlerExternalEmailList
Description
Add an external email to group ticket handler assignment
Response
Arguments
| Name | Description |
|---|---|
input - [GroupTicketHandlerExternalEmailCreateInput!]!
|
Group ticket handler external email creation fields |
Example
Query
mutation createGroupTicketHandlerExternalEmailList($input: [GroupTicketHandlerExternalEmailCreateInput!]!) {
createGroupTicketHandlerExternalEmailList(input: $input) {
created
email
groupTicketHandlerId
id
isNotifiable
updated
}
}
Variables
{"input": [GroupTicketHandlerExternalEmailCreateInput]}
Response
{
"data": {
"createGroupTicketHandlerExternalEmailList": [
{
"created": 1592577642,
"email": "abc123",
"groupTicketHandlerId": HashedId,
"id": HashedId,
"isNotifiable": false,
"updated": 1592577642
}
]
}
}
createGroupTicketHandlerGroupList
Description
Create a group-level ticket handler configuration
Response
Returns [GroupTicketHandlerGroup!]!
Arguments
| Name | Description |
|---|---|
input - [GroupTicketHandlerGroupCreateInput!]!
|
Group ticket handler group creation fields |
Example
Query
mutation createGroupTicketHandlerGroupList($input: [GroupTicketHandlerGroupCreateInput!]!) {
createGroupTicketHandlerGroupList(input: $input) {
created
group {
...GroupFragment
}
groupId
groupTicketHandlerId
id
isNotifiable
isRemovable
updated
}
}
Variables
{"input": [GroupTicketHandlerGroupCreateInput]}
Response
{
"data": {
"createGroupTicketHandlerGroupList": [
{
"created": 1592577642,
"group": Group,
"groupId": HashedId,
"groupTicketHandlerId": HashedId,
"id": HashedId,
"isNotifiable": false,
"isRemovable": false,
"updated": 1592577642
}
]
}
}
createGroupTicketHandlerSiteManagerByGroupHandlerId
Description
Assign the site manager as a group ticket handler
Response
Returns a Boolean!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Unique identifier of the entity |
Example
Query
mutation createGroupTicketHandlerSiteManagerByGroupHandlerId($id: HashedId!) {
createGroupTicketHandlerSiteManagerByGroupHandlerId(id: $id)
}
Variables
{"id": HashedId}
Response
{"data": {"createGroupTicketHandlerSiteManagerByGroupHandlerId": true}}
createGroupTicketHandlerTeamList
Description
Assign multiple teams to a group ticket handler
Response
Returns [GroupTicketHandlerTeam!]!
Arguments
| Name | Description |
|---|---|
input - [GroupTicketHandlerTeamCreateInput!]!
|
Group ticket handler team creation fields |
Example
Query
mutation createGroupTicketHandlerTeamList($input: [GroupTicketHandlerTeamCreateInput!]!) {
createGroupTicketHandlerTeamList(input: $input) {
created
groupTicketHandlerId
id
isNotifiable
team {
...TeamFragment
}
teamId
updated
}
}
Variables
{"input": [GroupTicketHandlerTeamCreateInput]}
Response
{
"data": {
"createGroupTicketHandlerTeamList": [
{
"created": 1592577642,
"groupTicketHandlerId": HashedId,
"id": HashedId,
"isNotifiable": true,
"team": Team,
"teamId": HashedId,
"updated": 1592577642
}
]
}
}
createGroupTicketHandlerUserList
Description
Assign multiple users to a group ticket handler
Response
Returns [GroupTicketHandlerUser!]!
Arguments
| Name | Description |
|---|---|
input - [GroupTicketHandlerUserCreateInput!]!
|
Group ticket handler user creation fields |
Example
Query
mutation createGroupTicketHandlerUserList($input: [GroupTicketHandlerUserCreateInput!]!) {
createGroupTicketHandlerUserList(input: $input) {
created
groupTicketHandlerId
id
isNotifiable
updated
user {
...UserFragment
}
userId
}
}
Variables
{"input": [GroupTicketHandlerUserCreateInput]}
Response
{
"data": {
"createGroupTicketHandlerUserList": [
{
"created": 1592577642,
"groupTicketHandlerId": HashedId,
"id": HashedId,
"isNotifiable": false,
"updated": 1592577642,
"user": User,
"userId": HashedId
}
]
}
}
createGroupV2
Description
Create a new group with structured settings, cost configuration, and hierarchy placement
Response
Returns a Group!
Arguments
| Name | Description |
|---|---|
input - GroupCreateInput!
|
Group creation fields |
Example
Query
mutation createGroupV2($input: GroupCreateInput!) {
createGroupV2(input: $input) {
activeCustomFields {
...CustomFieldFragment
}
archivedCustomFields {
...CustomFieldFragment
}
assetIds
assetLocationsHidden
assets {
...AssetFragment
}
belongsToCurrentGroup
brand {
...BrandFragment
}
canGrantJotformConversion
childGroupIds
childGroups {
...GroupFragment
}
costSettings {
...GroupCostSettingsFragment
}
costSettingsId
created
customerName
customerRootGroup {
...GroupFragment
}
deleted
deletedAssetCategoriesCount
deletedAssetTypesCount
deletedAssetsCount
deletedBy
deletedGroupsCount
deletedSitesCount
effectiveTimezone
flow {
...ServicePackageFragment
}
flowId
flowMaintainers {
...NotificationRelationFragment
}
groupType {
...ServicePackageFragment
}
groupTypeId
handlerAlias
hasTicketHandling
id
identificationNumber
image
internalSettings
isCustomer
isRoot
maintainedManufacturer {
...ManufacturerFragment
}
maintainedManufacturerId
name
nonCustomerParentGroup {
...GroupFragment
}
ownSettings
parentGroup {
...GroupFragment
}
parentGroupId
parentName
resolvedCurrency
restoreBlockers
roleIds
rootBrand {
...BrandFragment
}
rootGroupId
rootGroupName
servicePackage {
...ServicePackageFragment
}
servicePackageId
servicePackageV2 {
... on RestrictedServicePackage {
...RestrictedServicePackageFragment
}
... on ServicePackage {
...ServicePackageFragment
}
}
services {
...ServiceFragment
}
servicesV2 {
...ServiceFragment
}
settings
ticketAfterApprovalAssigneeTeam {
...TeamFragment
}
ticketAfterApprovalAssigneeUser {
...UserFragment
}
ticketDefaultAssignee {
...UserFragment
}
ticketHandler {
...GroupTicketHandlerFragment
}
treeRootId
updated
userIds
userRequestNotifiers {
...NotificationRelationFragment
}
users {
...UserFragment
}
vatNumber
workingHours {
...GroupWorkingHoursFragment
}
}
}
Variables
{"input": GroupCreateInput}
Response
{
"data": {
"createGroupV2": {
"activeCustomFields": [CustomField],
"archivedCustomFields": [CustomField],
"assetIds": [HashedId],
"assetLocationsHidden": true,
"assets": [Asset],
"belongsToCurrentGroup": true,
"brand": Brand,
"canGrantJotformConversion": true,
"childGroupIds": [HashedId],
"childGroups": [Group],
"costSettings": GroupCostSettings,
"costSettingsId": HashedId,
"created": 1592577642,
"customerName": "xyz789",
"customerRootGroup": Group,
"deleted": 1592577642,
"deletedAssetCategoriesCount": 123,
"deletedAssetTypesCount": 123,
"deletedAssetsCount": 987,
"deletedBy": "abc123",
"deletedGroupsCount": 123,
"deletedSitesCount": 987,
"effectiveTimezone": "abc123",
"flow": ServicePackage,
"flowId": HashedId,
"flowMaintainers": [NotificationRelation],
"groupType": ServicePackage,
"groupTypeId": HashedId,
"handlerAlias": "xyz789",
"hasTicketHandling": true,
"id": HashedId,
"identificationNumber": "abc123",
"image": "xyz789",
"internalSettings": {},
"isCustomer": true,
"isRoot": true,
"maintainedManufacturer": [Manufacturer],
"maintainedManufacturerId": [HashedId],
"name": "abc123",
"nonCustomerParentGroup": Group,
"ownSettings": {},
"parentGroup": Group,
"parentGroupId": HashedId,
"parentName": "xyz789",
"resolvedCurrency": "AED",
"restoreBlockers": ["PARENT_ASSET_CATEGORY_DELETED"],
"roleIds": [HashedId],
"rootBrand": Brand,
"rootGroupId": HashedId,
"rootGroupName": "xyz789",
"servicePackage": ServicePackage,
"servicePackageId": HashedId,
"servicePackageV2": RestrictedServicePackage,
"services": [Service],
"servicesV2": [Service],
"settings": {},
"ticketAfterApprovalAssigneeTeam": Team,
"ticketAfterApprovalAssigneeUser": User,
"ticketDefaultAssignee": User,
"ticketHandler": GroupTicketHandler,
"treeRootId": HashedId,
"updated": 1592577642,
"userIds": [HashedId],
"userRequestNotifiers": [NotificationRelation],
"users": [User],
"vatNumber": "abc123",
"workingHours": GroupWorkingHours
}
}
}
createIntegration
Description
Register a new external system integration
Response
Returns an IntegrationNew!
Arguments
| Name | Description |
|---|---|
config - [IntegrationConfigUpdateInput!]!
|
Key-value configuration parameters |
groupId - HashedId
|
Group to scope this integration to |
name - String
|
Name prefix, defaults to the group name; the provider suffix, and a counter when the name is taken, are always appended |
provider - IntegrationProviderEnum!
|
External provider or vendor name |
userId - HashedId
|
User account to link as integration owner |
Example
Query
mutation createIntegration(
$config: [IntegrationConfigUpdateInput!]!,
$groupId: HashedId,
$name: String,
$provider: IntegrationProviderEnum!,
$userId: HashedId
) {
createIntegration(
config: $config,
groupId: $groupId,
name: $name,
provider: $provider,
userId: $userId
) {
config {
...IntegrationConfigKeyFragment
}
created
cronTime
group {
...GroupFragment
}
groupId
id
isBase
isScheduled
name
provider
treeRootGroup {
...GroupFragment
}
treeRootGroupId
updated
userId
}
}
Variables
{
"config": [IntegrationConfigUpdateInput],
"groupId": HashedId,
"name": "abc123",
"provider": "ACHELIS_PROVIDER",
"userId": HashedId
}
Response
{
"data": {
"createIntegration": {
"config": [IntegrationConfigKey],
"created": 1592577642,
"cronTime": "xyz789",
"group": Group,
"groupId": HashedId,
"id": HashedId,
"isBase": false,
"isScheduled": false,
"name": "abc123",
"provider": "ACHELIS_PROVIDER",
"treeRootGroup": Group,
"treeRootGroupId": HashedId,
"updated": 1592577642,
"userId": HashedId
}
}
}
createLoginInterrupt
Description
Create a new login interrupt message for users
Response
Returns a LoginInterrupt
Arguments
| Name | Description |
|---|---|
title - String!
|
Example
Query
mutation createLoginInterrupt($title: String!) {
createLoginInterrupt(title: $title) {
content {
...TranslationFragment
}
contentId
created
id
isActive
title {
...TranslationFragment
}
titleId
updated
visibleToGroupIds
visibleToGroups {
...GroupFragment
}
}
}
Variables
{"title": "xyz789"}
Response
{
"data": {
"createLoginInterrupt": {
"content": Translation,
"contentId": HashedId,
"created": 1592577642,
"id": HashedId,
"isActive": false,
"title": Translation,
"titleId": HashedId,
"updated": 1592577642,
"visibleToGroupIds": [HashedId],
"visibleToGroups": [Group]
}
}
}
createMaintenanceSchedule
Description
Create a new maintenance schedule for an asset
Response
Returns an AssetMaintenanceSchedule!
Example
Query
mutation createMaintenanceSchedule(
$assetId: HashedId!,
$interval: Int!,
$lastMaintenance: Date,
$nextMaintenance: Date!
) {
createMaintenanceSchedule(
assetId: $assetId,
interval: $interval,
lastMaintenance: $lastMaintenance,
nextMaintenance: $nextMaintenance
) {
assetId
id
interval
lastMaintenance
lastMaintenanceLastEdited {
...AssetMaintenanceScheduleEditNoteFragment
}
nextMaintenance
nextMaintenanceLastEdited {
...AssetMaintenanceScheduleEditNoteFragment
}
}
}
Variables
{
"assetId": HashedId,
"interval": 987,
"lastMaintenance": "2007-12-03",
"nextMaintenance": "2007-12-03"
}
Response
{
"data": {
"createMaintenanceSchedule": {
"assetId": HashedId,
"id": HashedId,
"interval": 123,
"lastMaintenance": "2007-12-03",
"lastMaintenanceLastEdited": AssetMaintenanceScheduleEditNote,
"nextMaintenance": "2007-12-03",
"nextMaintenanceLastEdited": AssetMaintenanceScheduleEditNote
}
}
}
createManufacturer
Description
Register a new equipment manufacturer
Response
Returns a Manufacturer!
Arguments
| Name | Description |
|---|---|
input - ManufacturerCreateInput!
|
Manufacturer creation fields |
Example
Query
mutation createManufacturer($input: ManufacturerCreateInput!) {
createManufacturer(input: $input) {
assetIntegrationIds
assetIntegrations {
...AssetIntegrationFragment
}
created
id
maintainedByGroup {
...GroupFragment
}
maintainedByGroupId
name
nameKey
notificationsEnabled
updated
}
}
Variables
{"input": ManufacturerCreateInput}
Response
{
"data": {
"createManufacturer": {
"assetIntegrationIds": [HashedId],
"assetIntegrations": [AssetIntegration],
"created": 1592577642,
"id": HashedId,
"maintainedByGroup": Group,
"maintainedByGroupId": 987,
"name": "abc123",
"nameKey": "abc123",
"notificationsEnabled": false,
"updated": 1592577642
}
}
}
createModule
Description
Register a new IoT module
Response
Returns a Module!
Arguments
| Name | Description |
|---|---|
externalId - String
|
External system identifier |
imei - String!
|
IMEI of the module |
isFake - Boolean
|
Whether fake |
moduleRevision - String
|
Some value that is specifying what kind of module this is |
stripeCustomerId - String
|
Used to connect the Module to a Stripe Customer |
stripePriceId - String
|
Used to connect the Module to a Stripe Product |
Example
Query
mutation createModule(
$externalId: String,
$imei: String!,
$isFake: Boolean,
$moduleRevision: String,
$stripeCustomerId: String,
$stripePriceId: String
) {
createModule(
externalId: $externalId,
imei: $imei,
isFake: $isFake,
moduleRevision: $moduleRevision,
stripeCustomerId: $stripeCustomerId,
stripePriceId: $stripePriceId
) {
assetVersionNr
assignedToAsset {
...AssetFragment
}
assignedToAssetId
assignedToAssetIds
assignedToAssets {
...AssetFragment
}
controlId
created
currentPrice
externalId
id
imei
isFake
moduleRevision
moduleType {
...ModuleTypeFragment
}
moduleTypeId
moduleVersionNr
price {
...StripePriceFragment
}
stripeCustomerId
stripePriceId
updated
}
}
Variables
{
"externalId": "abc123",
"imei": "abc123",
"isFake": false,
"moduleRevision": "abc123",
"stripeCustomerId": "abc123",
"stripePriceId": "xyz789"
}
Response
{
"data": {
"createModule": {
"assetVersionNr": "abc123",
"assignedToAsset": Asset,
"assignedToAssetId": HashedId,
"assignedToAssetIds": [HashedId],
"assignedToAssets": [Asset],
"controlId": "abc123",
"created": 1592577642,
"currentPrice": 987.65,
"externalId": "abc123",
"id": HashedId,
"imei": "abc123",
"isFake": true,
"moduleRevision": "abc123",
"moduleType": ModuleType,
"moduleTypeId": HashedId,
"moduleVersionNr": "xyz789",
"price": StripePrice,
"stripeCustomerId": "abc123",
"stripePriceId": "xyz789",
"updated": 1592577642
}
}
}
createOTAUpdate
Description
Create a new OTA firmware update for an asset integration
Response
Returns an OTAUpdate
Arguments
| Name | Description |
|---|---|
assetIntegrationId - HashedId!
|
Target asset integration to create the firmware update for |
Example
Query
mutation createOTAUpdate($assetIntegrationId: HashedId!) {
createOTAUpdate(assetIntegrationId: $assetIntegrationId) {
assetIntegration {
...AssetIntegrationFragment
}
assetIntegrationId
created
description {
...TranslationFragment
}
descriptionId
fileName
id
updated
versionName
}
}
Variables
{"assetIntegrationId": HashedId}
Response
{
"data": {
"createOTAUpdate": {
"assetIntegration": AssetIntegration,
"assetIntegrationId": HashedId,
"created": 1592577642,
"description": Translation,
"descriptionId": HashedId,
"fileName": "xyz789",
"id": HashedId,
"updated": 1592577642,
"versionName": "xyz789"
}
}
}
createOperationalCostsView
Description
Create a new saved operational costs view for the current user
Response
Returns an OperationalCostsView!
Arguments
| Name | Description |
|---|---|
view - OperationalCostsViewCreateInput!
|
View configuration data |
Example
Query
mutation createOperationalCostsView($view: OperationalCostsViewCreateInput!) {
createOperationalCostsView(view: $view) {
created
displayMode
forEntity
id
isActive
isDeletable
isEditable
isShareable
isShared
isSystemView
isUnsharedByParentGroup
options {
...OperationalCostsViewOptionsFragment
}
title {
...TranslationFragment
}
titleId
updated
}
}
Variables
{"view": OperationalCostsViewCreateInput}
Response
{
"data": {
"createOperationalCostsView": {
"created": 1592577642,
"displayMode": "GANTT",
"forEntity": "ASSET",
"id": HashedId,
"isActive": true,
"isDeletable": true,
"isEditable": false,
"isShareable": false,
"isShared": true,
"isSystemView": true,
"isUnsharedByParentGroup": false,
"options": OperationalCostsViewOptions,
"title": Translation,
"titleId": HashedId,
"updated": 1592577642
}
}
}
createPart
Description
Create a new spare part record
Response
Returns a Part!
Arguments
| Name | Description |
|---|---|
input - PartCreateInput!
|
Part creation fields |
Example
Query
mutation createPart($input: PartCreateInput!) {
createPart(input: $input) {
area
availableQuantity
brand
created
createdByGroup {
...GroupFragment
}
createdByGroupId
createdByUser {
...UserFragment
}
createdByUserId
currency
customer {
...GroupFragment
}
customerId
description {
...TranslationFragment
}
descriptionId
documents {
...DocumentFragment
}
events {
...EventFragment
}
externalId
group {
...GroupFragment
}
groupId
id
image
isCurrencyLocked
maxQuantity
minQuantity
name {
...TranslationFragment
}
nameId
previousQuantity
publicId
qrAttached
responsiblePerson
sendNotificationsTo {
...RuleNotificationRelationFragment
}
shouldNotifyCriticalStockLevel
site {
...SiteFragment
}
siteId
totalStockValue
type
unitCost
unitOfMeasure
updated
uuid
vendor
}
}
Variables
{"input": PartCreateInput}
Response
{
"data": {
"createPart": {
"area": "xyz789",
"availableQuantity": 987.65,
"brand": "xyz789",
"created": 1592577642,
"createdByGroup": Group,
"createdByGroupId": HashedId,
"createdByUser": User,
"createdByUserId": HashedId,
"currency": "abc123",
"customer": Group,
"customerId": HashedId,
"description": Translation,
"descriptionId": HashedId,
"documents": [Document],
"events": [Event],
"externalId": "xyz789",
"group": Group,
"groupId": HashedId,
"id": HashedId,
"image": "xyz789",
"isCurrencyLocked": true,
"maxQuantity": 987.65,
"minQuantity": 123.45,
"name": Translation,
"nameId": HashedId,
"previousQuantity": 987.65,
"publicId": 987,
"qrAttached": true,
"responsiblePerson": "abc123",
"sendNotificationsTo": [RuleNotificationRelation],
"shouldNotifyCriticalStockLevel": false,
"site": Site,
"siteId": HashedId,
"totalStockValue": 987.65,
"type": "abc123",
"unitCost": 123.45,
"unitOfMeasure": "xyz789",
"updated": 1592577642,
"uuid": "abc123",
"vendor": "xyz789"
}
}
}
createPartMoving
Description
Record a part movement between assets or locations
Response
Returns a PartMoving
Arguments
| Name | Description |
|---|---|
input - PartMovingCreateInput!
|
Part creation fields |
Example
Query
mutation createPartMoving($input: PartMovingCreateInput!) {
createPartMoving(input: $input) {
contentQuantity
correctsMovingId
created
createdByUser {
...UserFragment
}
createdByUserId
direction
id
movementType
note
operationDate
part {
...PartFragment
}
partId
quantity
site {
...SiteFragment
}
siteId
ticketId
totalValue
unitCost
updated
workOrderId
}
}
Variables
{"input": PartMovingCreateInput}
Response
{
"data": {
"createPartMoving": {
"contentQuantity": 987.65,
"correctsMovingId": HashedId,
"created": 1592577642,
"createdByUser": User,
"createdByUserId": HashedId,
"direction": "IN",
"id": HashedId,
"movementType": "ADJUSTMENT_DOWN",
"note": "xyz789",
"operationDate": "2007-12-03T10:15:30Z",
"part": Part,
"partId": HashedId,
"quantity": 987.65,
"site": Site,
"siteId": HashedId,
"ticketId": HashedId,
"totalValue": 987.65,
"unitCost": 123.45,
"updated": 1592577642,
"workOrderId": HashedId
}
}
}
createPersonnel
Description
Create a personnel record
Response
Returns a Personnel!
Arguments
| Name | Description |
|---|---|
input - PersonnelCreateInput!
|
Personnel create input |
Example
Query
mutation createPersonnel($input: PersonnelCreateInput!) {
createPersonnel(input: $input) {
certificationCount
certifications {
...PersonnelCertificationFragment
}
city
contractType
contractWorkCategory
country
countryOfBirth
created
createdByGroupId
createdByUser {
...UserFragment
}
createdByUserId
customFieldValues {
...CustomFieldValueFragment
}
dateOfBirth
dependentChildren
dependentHandicappedChildren
dependentPersonsOver65
dependentPersonsUnder65
dependentPersonsUnder65Income
driversLicenceNumber
email
email2
employmentEndDate
employmentSchedule
employmentStartDate
externalErpId
firstName
fullName
gender
group {
...GroupFragment
}
groupId
homeBase
id
jobFunction
jointCommitteeNumber
languageId
lastName
licenceCategory
licenceExpiryDate
maritalStatus
marriageDate
nationalInsuranceNumber
nationality
notes
personnelNumber
personnelNumberPrefix
personnelNumberSequence
phone {
...PhoneFragment
}
photoDocument {
...DocumentFragment
}
photoDocumentId
placeOfBirth
postalCode
publicId
salaryIBAN
salaryPaymentType
salaryScaleStartDate
seniorityStartDate
shownOnDispositionPage
specializationLevel
spouseBirthDate
spousePartnerName
street
studyLevel
updated
updatedByUser {
...UserFragment
}
updatedByUserId
usedInCustomFieldCount
user {
...UserFragment
}
userId
workOrders {
...WorkOrderV2Fragment
}
workingHours {
...PersonnelWorkingHoursFragment
}
}
}
Variables
{"input": PersonnelCreateInput}
Response
{
"data": {
"createPersonnel": {
"certificationCount": 987,
"certifications": [PersonnelCertification],
"city": "xyz789",
"contractType": "APPRENTICE_WHITE_COLLAR",
"contractWorkCategory": "MANAGING_DIRECTOR",
"country": "xyz789",
"countryOfBirth": "xyz789",
"created": 1592577642,
"createdByGroupId": HashedId,
"createdByUser": User,
"createdByUserId": HashedId,
"customFieldValues": [CustomFieldValue],
"dateOfBirth": "2007-12-03",
"dependentChildren": 987,
"dependentHandicappedChildren": 987,
"dependentPersonsOver65": 987,
"dependentPersonsUnder65": 123,
"dependentPersonsUnder65Income": 123.45,
"driversLicenceNumber": "abc123",
"email": "abc123",
"email2": "abc123",
"employmentEndDate": "2007-12-03",
"employmentSchedule": "FULL_TIME",
"employmentStartDate": "2007-12-03",
"externalErpId": "abc123",
"firstName": "xyz789",
"fullName": "xyz789",
"gender": "FEMALE",
"group": Group,
"groupId": HashedId,
"homeBase": "abc123",
"id": HashedId,
"jobFunction": "abc123",
"jointCommitteeNumber": "abc123",
"languageId": HashedId,
"lastName": "abc123",
"licenceCategory": "xyz789",
"licenceExpiryDate": "2007-12-03",
"maritalStatus": "COHABITING_LEGALLY",
"marriageDate": "2007-12-03",
"nationalInsuranceNumber": "abc123",
"nationality": "abc123",
"notes": "xyz789",
"personnelNumber": "xyz789",
"personnelNumberPrefix": "abc123",
"personnelNumberSequence": 123,
"phone": Phone,
"photoDocument": Document,
"photoDocumentId": HashedId,
"placeOfBirth": "abc123",
"postalCode": "xyz789",
"publicId": 123,
"salaryIBAN": "abc123",
"salaryPaymentType": "HOUR",
"salaryScaleStartDate": "2007-12-03",
"seniorityStartDate": "2007-12-03",
"shownOnDispositionPage": true,
"specializationLevel": "FIRST_LEVEL",
"spouseBirthDate": "2007-12-03",
"spousePartnerName": "xyz789",
"street": "xyz789",
"studyLevel": "EXECUTIVE_STAFF",
"updated": 1592577642,
"updatedByUser": User,
"updatedByUserId": HashedId,
"usedInCustomFieldCount": 987,
"user": User,
"userId": HashedId,
"workOrders": [WorkOrderV2],
"workingHours": PersonnelWorkingHours
}
}
}
createProcedureInstance
Description
Creates a procedure instance and attaches it to a ticket; use createProcedureTicket instead
Response
Returns a ProcedureInstance!
Arguments
| Name | Description |
|---|---|
input - ProcedureInstanceCreateInput!
|
Procedure instance creation fields |
Example
Query
mutation createProcedureInstance($input: ProcedureInstanceCreateInput!) {
createProcedureInstance(input: $input) {
checkEventId
components {
...ProcedureInstanceComponentFragment
}
created
createdByGroup {
...GroupFragment
}
createdByGroupId
createdByUser {
...UserFragment
}
createdByUserId
id
scannedAsset {
...AssetFragment
}
scannedAssetId
scannedSite {
...SiteFragment
}
scannedSiteId
service {
...ServiceFragment
}
serviceId
template {
...ProcedureTemplateFragment
}
templateId
ticket {
...TicketFragment
}
updated
}
}
Variables
{"input": ProcedureInstanceCreateInput}
Response
{
"data": {
"createProcedureInstance": {
"checkEventId": HashedId,
"components": [ProcedureInstanceComponent],
"created": 1592577642,
"createdByGroup": Group,
"createdByGroupId": HashedId,
"createdByUser": User,
"createdByUserId": HashedId,
"id": HashedId,
"scannedAsset": Asset,
"scannedAssetId": HashedId,
"scannedSite": Site,
"scannedSiteId": HashedId,
"service": Service,
"serviceId": HashedId,
"template": ProcedureTemplate,
"templateId": HashedId,
"ticket": Ticket,
"updated": 1592577642
}
}
}
createProcedureTemplate
Description
Creates a new procedure template with components, automations, and conditional logic
Response
Returns a ProcedureTemplate!
Arguments
| Name | Description |
|---|---|
input - ProcedureTemplateCreateInput!
|
Procedure template creation fields |
Example
Query
mutation createProcedureTemplate($input: ProcedureTemplateCreateInput!) {
createProcedureTemplate(input: $input) {
accessLevel
automations {
...ProcedureTemplateAutomationFragment
}
componentCount
components {
...ProcedureTemplateComponentFragment
}
conditions {
...ProcedureConditionFragment
}
created
createdByGroup {
...GroupFragment
}
createdByGroupId
createdByUser {
...UserFragment
}
createdByUserId
deleted
description {
...TranslationFragment
}
descriptionId
hasAutomations
hasConditions
iconUrl
id
itemType
parent {
...ProcedureTemplateFragment
}
parentId
preset
publicId
publicRootId
rootId
servicePackageCount
servicePackages {
...ServicePackageFragment
}
ticketCount
title {
...TranslationFragment
}
titleId
type
updated
updatedByUser {
...UserFragment
}
updatedByUserId
}
}
Variables
{"input": ProcedureTemplateCreateInput}
Response
{
"data": {
"createProcedureTemplate": {
"accessLevel": "branch",
"automations": [ProcedureTemplateAutomation],
"componentCount": 123,
"components": [ProcedureTemplateComponent],
"conditions": [ProcedureCondition],
"created": 1592577642,
"createdByGroup": Group,
"createdByGroupId": HashedId,
"createdByUser": User,
"createdByUserId": HashedId,
"deleted": 1592577642,
"description": Translation,
"descriptionId": HashedId,
"hasAutomations": false,
"hasConditions": false,
"iconUrl": "abc123",
"id": HashedId,
"itemType": "asset",
"parent": ProcedureTemplate,
"parentId": HashedId,
"preset": "check",
"publicId": 987,
"publicRootId": 123,
"rootId": HashedId,
"servicePackageCount": 123,
"servicePackages": [ServicePackage],
"ticketCount": 123,
"title": Translation,
"titleId": HashedId,
"type": "tickets",
"updated": 1592577642,
"updatedByUser": User,
"updatedByUserId": HashedId
}
}
}
createProcedureTicket
Description
Create a ticket from a procedure template
Response
Returns a Ticket!
Arguments
| Name | Description |
|---|---|
input - TicketProcedureCreateInput!
|
Procedure steps to attach to a ticket |
uuid - String
|
UUID of the scanned QR code; required for an anonymous caller and must belong to the scanned asset or site. When linking "checkEventId", it must belong to the asset the event originates from |
Example
Query
mutation createProcedureTicket(
$input: TicketProcedureCreateInput!,
$uuid: String
) {
createProcedureTicket(
input: $input,
uuid: $uuid
) {
activityEvents {
... on TicketApprovalUpdate {
...TicketApprovalUpdateFragment
}
... on TicketAssetAvailabilityUpdate {
...TicketAssetAvailabilityUpdateFragment
}
... on TicketAssetCheckComplete {
...TicketAssetCheckCompleteFragment
}
... on TicketAssetSiteUpdate {
...TicketAssetSiteUpdateFragment
}
... on TicketAutomationEmailSent {
...TicketAutomationEmailSentFragment
}
... on TicketHandlerUpdate {
...TicketHandlerUpdateFragment
}
... on TicketTagsUpdate {
...TicketTagsUpdateFragment
}
... on TicketUrgencyUpdate {
...TicketUrgencyUpdateFragment
}
}
approvers {
...TicketApproverFragment
}
assetPackages {
...AssetPackageFragment
}
assignee {
...ProcessHandlerFragment
}
associatedAssetCategories {
...AssetCategoryFragment
}
associatedAssetTypes {
...AssetTypeFragment
}
associatedAssets {
...AssetFragment
}
associatedSites {
...SiteFragment
}
automationDetails {
...TicketAutomationDetailsFragment
}
batteryCosts
canEdit
canEditTags
certificationCosts
checkEvent {
...EventFragment
}
checkEventId
comments {
...TicketCommentFragment
}
consumablesCosts
content
costLines {
...CostLineFragment
}
costs {
...CostFragment
}
created
createdByGroup {
...GroupFragment
}
createdByGroupId
createdByUser {
...UserFragment
}
createdByUserId
createdFrom
creatingSyncedOn
currentState {
...TicketCurrentStateFragment
}
customFieldColumns {
...CustomFieldFragment
}
deleted
documents {
...DocumentFragment
}
externalEmailHandlers {
...TicketHandlerExternalEmailFragment
}
fuelCosts
groupHandlers {
...TicketHandlerGroupFragment
}
groupTicketHandlerHandlers {
...TicketHandlerGroupTicketHandlerFragment
}
history {
...TicketHistoryFragment
}
id
insuranceTaxesCosts
isStatusUpdatedAutomatically
isTicketApproversEnabled
laborCosts
lastActivityAt
lastStatusChange
logisticsCosts
notifications {
...NotificationFilterFragment
}
otherCosts
partsUsed {
...TicketPartUsageFragment
}
pdfCertificateLink {
...DocumentFragment
}
procedureInstance {
...ProcedureInstanceFragment
}
procedureInstanceId
publicId
repairCosts
reporterName
reservation {
...ReservationFragment
}
reservationDisplayId
reservationId
responsibles {
...ProcessHandlerFragment
}
ruleEntryEvent {
...RuleEntryEventFragment
}
service {
...ServiceFragment
}
serviceId
serviceResponseId
siteManagerHandler {
...TicketHandlerSiteManagerFragment
}
sparePartsCosts
status
statusUpdatedAt
statusUpdatedByUser {
...UserFragment
}
statusUpdatedByUserId
tags {
...TagFragment
}
teamHandlers {
...TicketHandlerTeamFragment
}
ticketComments {
...TicketCommentFragment
}
ticketContent {
...TicketContentFieldFragment
}
ticketId
ticketTimeline {
...TicketTimelineFragment
}
title {
...TranslationFragment
}
titleId
totalCosts
totalPartsCost
updated
urgency
userHandlers {
...TicketHandlerUserFragment
}
uuid
workOrders {
...WorkOrderV2Fragment
}
}
}
Variables
{
"input": TicketProcedureCreateInput,
"uuid": "xyz789"
}
Response
{
"data": {
"createProcedureTicket": {
"activityEvents": [TicketApprovalUpdate],
"approvers": [TicketApprover],
"assetPackages": [AssetPackage],
"assignee": ProcessHandler,
"associatedAssetCategories": [AssetCategory],
"associatedAssetTypes": [AssetType],
"associatedAssets": [Asset],
"associatedSites": [Site],
"automationDetails": TicketAutomationDetails,
"batteryCosts": "abc123",
"canEdit": false,
"canEditTags": false,
"certificationCosts": "xyz789",
"checkEvent": Event,
"checkEventId": HashedId,
"comments": [TicketComment],
"consumablesCosts": "abc123",
"content": {},
"costLines": [CostLine],
"costs": [Cost],
"created": 1592577642,
"createdByGroup": Group,
"createdByGroupId": HashedId,
"createdByUser": User,
"createdByUserId": HashedId,
"createdFrom": "ASSET_SERVICE",
"creatingSyncedOn": 1592577642,
"currentState": TicketCurrentState,
"customFieldColumns": [CustomField],
"deleted": 1592577642,
"documents": [Document],
"externalEmailHandlers": [
TicketHandlerExternalEmail
],
"fuelCosts": "abc123",
"groupHandlers": [TicketHandlerGroup],
"groupTicketHandlerHandlers": [
TicketHandlerGroupTicketHandler
],
"history": [TicketHistory],
"id": HashedId,
"insuranceTaxesCosts": "xyz789",
"isStatusUpdatedAutomatically": false,
"isTicketApproversEnabled": true,
"laborCosts": "xyz789",
"lastActivityAt": 1592577642,
"lastStatusChange": 1592577642,
"logisticsCosts": "xyz789",
"notifications": NotificationFilter,
"otherCosts": "xyz789",
"partsUsed": [TicketPartUsage],
"pdfCertificateLink": Document,
"procedureInstance": ProcedureInstance,
"procedureInstanceId": HashedId,
"publicId": 123,
"repairCosts": "xyz789",
"reporterName": "abc123",
"reservation": Reservation,
"reservationDisplayId": 987,
"reservationId": HashedId,
"responsibles": [ProcessHandler],
"ruleEntryEvent": RuleEntryEvent,
"service": Service,
"serviceId": HashedId,
"serviceResponseId": HashedId,
"siteManagerHandler": TicketHandlerSiteManager,
"sparePartsCosts": "abc123",
"status": "approvalNeeded",
"statusUpdatedAt": 1592577642,
"statusUpdatedByUser": User,
"statusUpdatedByUserId": HashedId,
"tags": [Tag],
"teamHandlers": [TicketHandlerTeam],
"ticketComments": [TicketComment],
"ticketContent": [TicketContentField],
"ticketId": 987,
"ticketTimeline": TicketTimeline,
"title": Translation,
"titleId": HashedId,
"totalCosts": "xyz789",
"totalPartsCost": 987.65,
"updated": 1592577642,
"urgency": "CRITICAL",
"userHandlers": [TicketHandlerUser],
"uuid": "xyz789",
"workOrders": [WorkOrderV2]
}
}
}
createReservation
Description
Create a new reservation with line items
Response
Returns a Reservation!
Arguments
| Name | Description |
|---|---|
input - ReservationCreateInput!
|
Input data required to create a new reservation |
Example
Query
mutation createReservation($input: ReservationCreateInput!) {
createReservation(input: $input) {
approvedAt
cancelledAt
cancelledByUser {
...UserFragment
}
cancelledByUserId
confirmedAt
confirmedByUser {
...UserFragment
}
confirmedByUserId
created
createdByGroup {
...GroupFragment
}
createdByGroupId
createdByUser {
...UserFragment
}
createdByUserId
expectedArrivalAt
externalErpId
externalErpRequestedBy
id
issues {
...ReservationLineItemIssueFragment
}
lineItems {
...ReservationLineItemFragment
}
notes
publicId
rejectedAt
rejectedByUser {
...UserFragment
}
rejectedByUserId
rejectionReason
site {
...SiteFragment
}
siteId
status
tickets {
...TicketFragment
}
updated
uuid
}
}
Variables
{"input": ReservationCreateInput}
Response
{
"data": {
"createReservation": {
"approvedAt": "2007-12-03",
"cancelledAt": "2007-12-03T10:15:30Z",
"cancelledByUser": User,
"cancelledByUserId": HashedId,
"confirmedAt": "2007-12-03T10:15:30Z",
"confirmedByUser": User,
"confirmedByUserId": HashedId,
"created": 1592577642,
"createdByGroup": Group,
"createdByGroupId": HashedId,
"createdByUser": User,
"createdByUserId": HashedId,
"expectedArrivalAt": "2007-12-03",
"externalErpId": "xyz789",
"externalErpRequestedBy": "xyz789",
"id": HashedId,
"issues": [ReservationLineItemIssue],
"lineItems": [ReservationLineItem],
"notes": "xyz789",
"publicId": 987,
"rejectedAt": "2007-12-03T10:15:30Z",
"rejectedByUser": User,
"rejectedByUserId": HashedId,
"rejectionReason": "xyz789",
"site": Site,
"siteId": HashedId,
"status": "CANCELLED",
"tickets": [Ticket],
"updated": 1592577642,
"uuid": "xyz789"
}
}
}
createReservationLineItemIssue
Description
Create an issue against a reservation line item
Response
Returns a ReservationLineItemIssue!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Unique identifier of the entity |
input - ReservationLineItemIssueCreateInput!
|
Reservation line item issue creation fields |
Example
Query
mutation createReservationLineItemIssue(
$id: HashedId!,
$input: ReservationLineItemIssueCreateInput!
) {
createReservationLineItemIssue(
id: $id,
input: $input
) {
assets {
...AssetFragment
}
attachments {
...DocumentFragment
}
created
createdByUser {
...UserFragment
}
createdByUserId
id
notes
reason
reservationLineItem {
...ReservationLineItemFragment
}
reservationLineItemId
ticket {
...TicketFragment
}
ticketId
updated
}
}
Variables
{
"id": HashedId,
"input": ReservationLineItemIssueCreateInput
}
Response
{
"data": {
"createReservationLineItemIssue": {
"assets": [Asset],
"attachments": [Document],
"created": 1592577642,
"createdByUser": User,
"createdByUserId": HashedId,
"id": HashedId,
"notes": "xyz789",
"reason": "DAMAGED",
"reservationLineItem": ReservationLineItem,
"reservationLineItemId": HashedId,
"ticket": Ticket,
"ticketId": HashedId,
"updated": 1592577642
}
}
}
createRule
Description
Create a new automation rule
Response
Returns a Rule!
Arguments
| Name | Description |
|---|---|
assetBlacklistIds - [HashedId!]
|
Asset blacklist identifiers |
assetIds - [HashedId!]
|
Asset identifiers |
assetTypeIds - [HashedId!]
|
Asset type identifiers |
assignedToGroupId - HashedId
|
Group the record is assigned to |
definition - JSON!
|
Condition logic tree defining when this rule triggers |
description - TranslationInput
|
Human-readable description |
eventType - EventTypeEnum
|
Event type |
eventsConfigs - [EventConfigInput]
|
Per-asset scheduling configurations for time-based rules |
isActive - Boolean
|
Rules can be temporarily disabled. Disabled rules are not evaluated. |
isCheckAllowedForUnauthorizedUsers - Boolean
|
This setting allows anyone to execute the check and allow changes to the connected asset |
isCritical - Boolean
|
Denotes severity. This rule will create 'critical' notifications that are styled differently. |
isGlobalRule - Boolean
|
Apply rule for custom assets |
isImmediateNotification - Boolean
|
Whether immediate notification |
isOneshot - Boolean
|
One-shot rules are only triggered once. After this, they are deactivated (isActive is false) |
isOnetime - Boolean
|
One time rules trigger only once per asset. Once a rule is triggered, the asset emitting it is set on a blacklist for this rule. |
manualDeactivation - Boolean
|
Events created by manualDeactivation rules can only be deactivated (=not ongoing) "manually" through explicit request. They can not be deactivated by incoming module data. |
relations - RuleRelationInput!
|
Asset type and asset associations for the new rule |
sendNotificationsTo - [RuleNotificationRelationInput]
|
Recipients who receive notifications when this rule triggers |
serviceIds - [HashedId]
|
Service identifiers |
source - RuleSource!
|
Evaluation source determining how and when the rule is checked |
title - TranslationInput!
|
Title text |
Example
Query
mutation createRule(
$assetBlacklistIds: [HashedId!],
$assetIds: [HashedId!],
$assetTypeIds: [HashedId!],
$assignedToGroupId: HashedId,
$definition: JSON!,
$description: TranslationInput,
$eventType: EventTypeEnum,
$eventsConfigs: [EventConfigInput],
$isActive: Boolean,
$isCheckAllowedForUnauthorizedUsers: Boolean,
$isCritical: Boolean,
$isGlobalRule: Boolean,
$isImmediateNotification: Boolean,
$isOneshot: Boolean,
$isOnetime: Boolean,
$manualDeactivation: Boolean,
$relations: RuleRelationInput!,
$sendNotificationsTo: [RuleNotificationRelationInput],
$serviceIds: [HashedId],
$source: RuleSource!,
$title: TranslationInput!
) {
createRule(
assetBlacklistIds: $assetBlacklistIds,
assetIds: $assetIds,
assetTypeIds: $assetTypeIds,
assignedToGroupId: $assignedToGroupId,
definition: $definition,
description: $description,
eventType: $eventType,
eventsConfigs: $eventsConfigs,
isActive: $isActive,
isCheckAllowedForUnauthorizedUsers: $isCheckAllowedForUnauthorizedUsers,
isCritical: $isCritical,
isGlobalRule: $isGlobalRule,
isImmediateNotification: $isImmediateNotification,
isOneshot: $isOneshot,
isOnetime: $isOnetime,
manualDeactivation: $manualDeactivation,
relations: $relations,
sendNotificationsTo: $sendNotificationsTo,
serviceIds: $serviceIds,
source: $source,
title: $title
) {
assetBlacklist {
...AssetFragment
}
assignedToGroup {
...GroupFragment
}
assignedToGroupId
checkAssetsPaginated {
...PaginatedRuleCheckAssetsFragment
}
created
createdByGroup {
...GroupFragment
}
createdByGroupId
createdByUser {
...UserFragment
}
createdByUserId
definition
description {
...TranslationFragment
}
descriptionId
enabled
eventStyle {
...EventStyleFragment
}
eventStyleId
eventType
eventsConfigs {
...EventConfigFragment
}
id
isActive
isArchived
isCheckAllowedForUnauthorizedUsers
isCritical
isGlobalRule
isImmediateNotification
isOneshot
isOnetime
manualDeactivation
publicId
purpose
relations {
...RuleRelationFragment
}
relationsV2 {
...RuleRelationFragment
}
sendNotificationsTo {
...RuleNotificationRelationFragment
}
services {
...ServiceFragment
}
servicesV2 {
...ServiceFragment
}
source
title {
...TranslationFragment
}
titleId
updated
}
}
Variables
{
"assetBlacklistIds": [HashedId],
"assetIds": [HashedId],
"assetTypeIds": [HashedId],
"assignedToGroupId": HashedId,
"definition": {},
"description": TranslationInput,
"eventType": "COST",
"eventsConfigs": [EventConfigInput],
"isActive": false,
"isCheckAllowedForUnauthorizedUsers": false,
"isCritical": true,
"isGlobalRule": true,
"isImmediateNotification": false,
"isOneshot": true,
"isOnetime": false,
"manualDeactivation": true,
"relations": RuleRelationInput,
"sendNotificationsTo": [RuleNotificationRelationInput],
"serviceIds": [HashedId],
"source": "BLE",
"title": TranslationInput
}
Response
{
"data": {
"createRule": {
"assetBlacklist": [Asset],
"assignedToGroup": Group,
"assignedToGroupId": HashedId,
"checkAssetsPaginated": PaginatedRuleCheckAssets,
"created": 1592577642,
"createdByGroup": Group,
"createdByGroupId": HashedId,
"createdByUser": User,
"createdByUserId": HashedId,
"definition": {},
"description": Translation,
"descriptionId": HashedId,
"enabled": true,
"eventStyle": EventStyle,
"eventStyleId": HashedId,
"eventType": "COST",
"eventsConfigs": [EventConfig],
"id": HashedId,
"isActive": false,
"isArchived": true,
"isCheckAllowedForUnauthorizedUsers": false,
"isCritical": true,
"isGlobalRule": true,
"isImmediateNotification": true,
"isOneshot": true,
"isOnetime": true,
"manualDeactivation": true,
"publicId": "xyz789",
"purpose": "GEOFENCE",
"relations": [RuleRelation],
"relationsV2": [RuleRelation],
"sendNotificationsTo": [RuleNotificationRelation],
"services": [Service],
"servicesV2": [Service],
"source": "BLE",
"title": Translation,
"titleId": HashedId,
"updated": 1592577642
}
}
}
createRuleEntry
Description
Create rule entry
Response
Returns a RuleEntry!
Arguments
| Name | Description |
|---|---|
input - RuleEntryCreateInput!
|
Rule entry creation fields |
Example
Query
mutation createRuleEntry($input: RuleEntryCreateInput!) {
createRuleEntry(input: $input) {
activatedAt
assetCount
assetFilters {
...FiltersFragment
}
assetGroup {
...GroupFragment
}
assetGroupId
created
createdByGroup {
...GroupFragment
}
createdByGroupId
createdByUser {
...UserFragment
}
createdByUserId
description {
...TranslationFragment
}
firstCheckMode
geofenceSite {
...SiteFragment
}
geofenceSiteId
group {
...GroupFragment
}
groupId
hasNotification
hasNotificationCritical
hasNotificationEmail
hasNotificationImmediate
hasNotificationOnNewAsset
hasNotificationPush
hasNotificationTimingBeforeDue
hasNotificationTimingWhenDue
id
isAssetAssignNew
isAssetTriggerForCustomers
isAssetVehicle
isCheckAllowedForUnauthorizedUsers
isForAllAssets
isManualOnly
isScheduleFixed
isScheduleManualDeactivation
isSkipOverdueEnabled
manuallyAddedAssets {
...AssetFragment
}
materializedAt
name {
...TranslationFragment
}
notificationRecipients {
...RuleEntryNotificationRecipientFragment
}
notificationTimings {
...RuleEntryNotificationTimingFragment
}
scheduleStartAt
scheduleStartPointCustomField {
...CustomFieldFragment
}
scheduleStartPointCustomFieldId
scheduleStartPointFallback
scheduleStartPointField
scheduleTriggers {
...RuleEntryScheduleTriggerFragment
}
site {
...SiteFragment
}
status
subType
type
updated
workingHoursAsset {
...AssetFragment
}
workingHoursAssetId
}
}
Variables
{"input": RuleEntryCreateInput}
Response
{
"data": {
"createRuleEntry": {
"activatedAt": "2007-12-03T10:15:30Z",
"assetCount": 987,
"assetFilters": [Filters],
"assetGroup": Group,
"assetGroupId": HashedId,
"created": 1592577642,
"createdByGroup": Group,
"createdByGroupId": HashedId,
"createdByUser": User,
"createdByUserId": HashedId,
"description": Translation,
"firstCheckMode": "AFTER_INTERVAL",
"geofenceSite": Site,
"geofenceSiteId": HashedId,
"group": Group,
"groupId": HashedId,
"hasNotification": false,
"hasNotificationCritical": true,
"hasNotificationEmail": true,
"hasNotificationImmediate": false,
"hasNotificationOnNewAsset": true,
"hasNotificationPush": false,
"hasNotificationTimingBeforeDue": false,
"hasNotificationTimingWhenDue": false,
"id": HashedId,
"isAssetAssignNew": true,
"isAssetTriggerForCustomers": false,
"isAssetVehicle": false,
"isCheckAllowedForUnauthorizedUsers": true,
"isForAllAssets": true,
"isManualOnly": false,
"isScheduleFixed": false,
"isScheduleManualDeactivation": false,
"isSkipOverdueEnabled": true,
"manuallyAddedAssets": [Asset],
"materializedAt": "2007-12-03T10:15:30Z",
"name": Translation,
"notificationRecipients": [
RuleEntryNotificationRecipient
],
"notificationTimings": [
RuleEntryNotificationTiming
],
"scheduleStartAt": "2007-12-03T10:15:30Z",
"scheduleStartPointCustomField": CustomField,
"scheduleStartPointCustomFieldId": HashedId,
"scheduleStartPointFallback": "EXCLUDE",
"scheduleStartPointField": "COMMISSION_DATE",
"scheduleTriggers": [RuleEntryScheduleTrigger],
"site": Site,
"status": "ACTIVE",
"subType": "ERROR",
"type": "GEOFENCE",
"updated": 1592577642,
"workingHoursAsset": Asset,
"workingHoursAssetId": HashedId
}
}
}
createRuleEntryAlertEventView
Description
Create a new saved IoT alert rule entry event view for the current user
Response
Returns a RuleEntryEventView!
Arguments
| Name | Description |
|---|---|
view - RuleEntryEventViewCreateInput!
|
View configuration data |
Example
Query
mutation createRuleEntryAlertEventView($view: RuleEntryEventViewCreateInput!) {
createRuleEntryAlertEventView(view: $view) {
created
displayMode
forEntity
id
isActive
isDeletable
isEditable
isShareable
isShared
isSystemView
isUnsharedByParentGroup
options {
...RuleEntryEventViewOptionsFragment
}
title {
...TranslationFragment
}
titleId
updated
}
}
Variables
{"view": RuleEntryEventViewCreateInput}
Response
{
"data": {
"createRuleEntryAlertEventView": {
"created": 1592577642,
"displayMode": "GANTT",
"forEntity": "ASSET",
"id": HashedId,
"isActive": true,
"isDeletable": false,
"isEditable": false,
"isShareable": false,
"isShared": false,
"isSystemView": true,
"isUnsharedByParentGroup": false,
"options": RuleEntryEventViewOptions,
"title": Translation,
"titleId": HashedId,
"updated": 1592577642
}
}
}
createRuleEntryEventView
Description
Create a new saved rule entry event view for the current user
Response
Returns a RuleEntryEventView!
Arguments
| Name | Description |
|---|---|
view - RuleEntryEventViewCreateInput!
|
View configuration data |
Example
Query
mutation createRuleEntryEventView($view: RuleEntryEventViewCreateInput!) {
createRuleEntryEventView(view: $view) {
created
displayMode
forEntity
id
isActive
isDeletable
isEditable
isShareable
isShared
isSystemView
isUnsharedByParentGroup
options {
...RuleEntryEventViewOptionsFragment
}
title {
...TranslationFragment
}
titleId
updated
}
}
Variables
{"view": RuleEntryEventViewCreateInput}
Response
{
"data": {
"createRuleEntryEventView": {
"created": 1592577642,
"displayMode": "GANTT",
"forEntity": "ASSET",
"id": HashedId,
"isActive": true,
"isDeletable": true,
"isEditable": true,
"isShareable": false,
"isShared": false,
"isSystemView": true,
"isUnsharedByParentGroup": true,
"options": RuleEntryEventViewOptions,
"title": Translation,
"titleId": HashedId,
"updated": 1592577642
}
}
}
createRuleEntryView
Description
Create a new saved rule entry view for the current user
Response
Returns a RuleEntryView!
Arguments
| Name | Description |
|---|---|
view - RuleEntryViewCreateInput!
|
View configuration data |
Example
Query
mutation createRuleEntryView($view: RuleEntryViewCreateInput!) {
createRuleEntryView(view: $view) {
created
displayMode
forEntity
id
isActive
isDeletable
isEditable
isShareable
isShared
isSystemView
isUnsharedByParentGroup
options {
...RuleEntryViewOptionsFragment
}
title {
...TranslationFragment
}
titleId
updated
}
}
Variables
{"view": RuleEntryViewCreateInput}
Response
{
"data": {
"createRuleEntryView": {
"created": 1592577642,
"displayMode": "GANTT",
"forEntity": "ASSET",
"id": HashedId,
"isActive": true,
"isDeletable": true,
"isEditable": true,
"isShareable": true,
"isShared": true,
"isSystemView": true,
"isUnsharedByParentGroup": true,
"options": RuleEntryViewOptions,
"title": Translation,
"titleId": HashedId,
"updated": 1592577642
}
}
}
createServicePackage
Description
Create a new service package
Response
Returns a ServicePackage!
Arguments
| Name | Description |
|---|---|
input - ServicePackageCreateInput!
|
Service package creation fields |
Example
Query
mutation createServicePackage($input: ServicePackageCreateInput!) {
createServicePackage(input: $input) {
assignedGroupsCount
assignedSitesCount
canBeDeleted
created
createdByGroup {
...GroupFragment
}
createdByGroupId
createdByUser {
...UserFragment
}
createdByUserId
deleted
id
restrictionReason
services {
...ServiceFragment
}
title {
...TranslationFragment
}
titleId
updated
}
}
Variables
{"input": ServicePackageCreateInput}
Response
{
"data": {
"createServicePackage": {
"assignedGroupsCount": 987,
"assignedSitesCount": 123,
"canBeDeleted": true,
"created": 1592577642,
"createdByGroup": Group,
"createdByGroupId": HashedId,
"createdByUser": User,
"createdByUserId": HashedId,
"deleted": 1592577642,
"id": HashedId,
"restrictionReason": "NOT_IN_CUSTOMER_TREE",
"services": [Service],
"title": Translation,
"titleId": HashedId,
"updated": 1592577642
}
}
}
createServices
Description
Bulk-create new services (restricted to ToolSense platform administrators)
Response
Returns [Service!]!
Arguments
| Name | Description |
|---|---|
servicePackageId - HashedId!
|
Service package identifier |
services - [ServiceCreateInput!]!
|
Associated services |
Example
Query
mutation createServices(
$servicePackageId: HashedId!,
$services: [ServiceCreateInput!]!
) {
createServices(
servicePackageId: $servicePackageId,
services: $services
) {
afterApprovalAssignee
afterApprovalTeamId
afterApprovalUserId
askAiAssistantFirst
assigneeAutomation
assigneeAutomationId
availableHandlers {
...AvailableServiceHandlerDtoFragment
}
belongsToGroupTypeId
canBeDeleted
contentType
created
createdByGroup {
...GroupFragment
}
createdByGroupId
deleted
formId
iconUrl
id
isApprovalRequired
isServiceCheck
jotformId
jotformSource
keys
preset
procedureTemplate {
...ProcedureTemplateFragment
}
procedureTemplateId
publicId
publicProcedureTemplateId
rules {
...RuleFragment
}
servicePackage {
...ServicePackageFragment
}
servicePackages {
...ServicePackageFragment
}
servicePartner {
...AvailableHandlerFragment
}
serviceTags {
...ServiceTagFragment
}
suggestedServicePartner
ticketHandlers {
...ServiceTicketHandlerFragment
}
title {
...TranslationFragment
}
titleId
type
updated
}
}
Variables
{
"servicePackageId": HashedId,
"services": [ServiceCreateInput]
}
Response
{
"data": {
"createServices": [
{
"afterApprovalAssignee": "FIXED",
"afterApprovalTeamId": HashedId,
"afterApprovalUserId": HashedId,
"askAiAssistantFirst": false,
"assigneeAutomation": "AUTO_ASSIGN",
"assigneeAutomationId": 123,
"availableHandlers": [AvailableServiceHandlerDto],
"belongsToGroupTypeId": HashedId,
"canBeDeleted": true,
"contentType": "formHtml",
"created": 1592577642,
"createdByGroup": Group,
"createdByGroupId": HashedId,
"deleted": 1592577642,
"formId": "xyz789",
"iconUrl": "xyz789",
"id": HashedId,
"isApprovalRequired": true,
"isServiceCheck": true,
"jotformId": "xyz789",
"jotformSource": "abc123",
"keys": ["abc123"],
"preset": "BLE",
"procedureTemplate": ProcedureTemplate,
"procedureTemplateId": HashedId,
"publicId": 987,
"publicProcedureTemplateId": 987,
"rules": [Rule],
"servicePackage": ServicePackage,
"servicePackages": [ServicePackage],
"servicePartner": AvailableHandler,
"serviceTags": [ServiceTag],
"suggestedServicePartner": "abc123",
"ticketHandlers": [ServiceTicketHandler],
"title": Translation,
"titleId": HashedId,
"type": "JOT_FORM",
"updated": 1592577642
}
]
}
}
createSite
Description
Create a new site using the legacy flat input format
Response
Returns [Site!]
Arguments
| Name | Description |
|---|---|
accountNumber - String
|
Account number - arbitrary, for the Manufacturer to assign them their interal description |
address - String
|
Formatted address consisting of street and street number |
assignedToGroupId - HashedId
|
Group the record is assigned to |
coordinates - CoordinatesInput
|
Geographic latitude and longitude of the site |
country - String
|
Country where the site is located |
customerNumber - String
|
Customer number - arbitrary, for the Customer to manage their own Customers |
disableWebhooks - Boolean
|
When true, suppresses webhook notifications for this creation |
externalId - String
|
An id that is referring to some external source. Like an ERP System or another external Task/Order management system This is not a unique identifier in our system. This is technically not feasible! |
geofenceNotification - [RuleNotificationRelationInput]
|
When a geofence event happens, send notifications to these entities |
geofenceSettings - JSON
|
Geofence settings, if set. See Rules schema for syntax. |
isFixed - Boolean!
|
Specifies if the site is tied to a fixed location - like a building. Not fixed locations could be a moving vehicle or a team. |
locationText - String
|
Human-readable location description such as floor or building wing |
name - String!
|
The name of the a site. This is usualy not a clear identifier. Examples of site names would be:
|
note - String
|
Free-text notes or additional remarks about this site |
postalCode - String
|
Postal or ZIP code of the site address |
Example
Query
mutation createSite(
$accountNumber: String,
$address: String,
$assignedToGroupId: HashedId,
$coordinates: CoordinatesInput,
$country: String,
$customerNumber: String,
$disableWebhooks: Boolean,
$externalId: String,
$geofenceNotification: [RuleNotificationRelationInput],
$geofenceSettings: JSON,
$isFixed: Boolean!,
$locationText: String,
$name: String!,
$note: String,
$postalCode: String
) {
createSite(
accountNumber: $accountNumber,
address: $address,
assignedToGroupId: $assignedToGroupId,
coordinates: $coordinates,
country: $country,
customerNumber: $customerNumber,
disableWebhooks: $disableWebhooks,
externalId: $externalId,
geofenceNotification: $geofenceNotification,
geofenceSettings: $geofenceSettings,
isFixed: $isFixed,
locationText: $locationText,
name: $name,
note: $note,
postalCode: $postalCode
) {
accountNumber
address
assetsCount
assignedToGroup {
...GroupFragment
}
assignedToGroupId
containsAssetsToModifyByGroup
coordinates {
...CoordinatesFragment
}
costCenter
country
created
createdByGroup {
...GroupFragment
}
createdByGroupId
customerNumber
deleted
deletedBy
deletedSitesCount
email
events {
...EventFragment
}
externalId
geofenceNotification {
...RuleNotificationRelationFragment
}
geofenceSettings
groupTreeRootId
id
image
isFixed
lat
lng
locationText
name
note
parentSite {
...SiteFragment
}
parentSiteId
postalCode
publicId
qrAttached
restoreBlockers
servicePackage {
...ServicePackageFragment
}
servicePackageId
shouldInheritGeofenceSettings
shouldInheritManagerDetails
shouldInheritServicePackage
siteManagerName
siteManagers {
...SiteManagerFragment
}
siteType {
...SiteTypeFragment
}
siteTypeId
telephone
updated
uuid
}
}
Variables
{
"accountNumber": "xyz789",
"address": "abc123",
"assignedToGroupId": HashedId,
"coordinates": CoordinatesInput,
"country": "xyz789",
"customerNumber": "abc123",
"disableWebhooks": true,
"externalId": "abc123",
"geofenceNotification": [RuleNotificationRelationInput],
"geofenceSettings": {},
"isFixed": true,
"locationText": "xyz789",
"name": "xyz789",
"note": "abc123",
"postalCode": "xyz789"
}
Response
{
"data": {
"createSite": [
{
"accountNumber": "abc123",
"address": "abc123",
"assetsCount": 987,
"assignedToGroup": Group,
"assignedToGroupId": HashedId,
"containsAssetsToModifyByGroup": true,
"coordinates": Coordinates,
"costCenter": "abc123",
"country": "abc123",
"created": 1592577642,
"createdByGroup": Group,
"createdByGroupId": HashedId,
"customerNumber": "xyz789",
"deleted": 1592577642,
"deletedBy": "abc123",
"deletedSitesCount": 987,
"email": "abc123",
"events": [Event],
"externalId": "xyz789",
"geofenceNotification": [
RuleNotificationRelation
],
"geofenceSettings": {},
"groupTreeRootId": HashedId,
"id": HashedId,
"image": "xyz789",
"isFixed": false,
"lat": "abc123",
"lng": "abc123",
"locationText": "abc123",
"name": "xyz789",
"note": "abc123",
"parentSite": Site,
"parentSiteId": HashedId,
"postalCode": "xyz789",
"publicId": 987,
"qrAttached": true,
"restoreBlockers": ["PARENT_ASSET_CATEGORY_DELETED"],
"servicePackage": ServicePackage,
"servicePackageId": HashedId,
"shouldInheritGeofenceSettings": false,
"shouldInheritManagerDetails": true,
"shouldInheritServicePackage": false,
"siteManagerName": "abc123",
"siteManagers": [SiteManager],
"siteType": SiteType,
"siteTypeId": HashedId,
"telephone": "abc123",
"updated": 1592577642,
"uuid": "xyz789"
}
]
}
}
createSiteV2
Description
Create a new site with structured input for location, managers, and options
Response
Returns a Site
Arguments
| Name | Description |
|---|---|
optionsInput - SiteCreateOptionsInput
|
Additional options like group assignment, webhooks, and managers |
siteInput - SiteCreateInput!
|
Core site fields such as name, address, and location |
Example
Query
mutation createSiteV2(
$optionsInput: SiteCreateOptionsInput,
$siteInput: SiteCreateInput!
) {
createSiteV2(
optionsInput: $optionsInput,
siteInput: $siteInput
) {
accountNumber
address
assetsCount
assignedToGroup {
...GroupFragment
}
assignedToGroupId
containsAssetsToModifyByGroup
coordinates {
...CoordinatesFragment
}
costCenter
country
created
createdByGroup {
...GroupFragment
}
createdByGroupId
customerNumber
deleted
deletedBy
deletedSitesCount
email
events {
...EventFragment
}
externalId
geofenceNotification {
...RuleNotificationRelationFragment
}
geofenceSettings
groupTreeRootId
id
image
isFixed
lat
lng
locationText
name
note
parentSite {
...SiteFragment
}
parentSiteId
postalCode
publicId
qrAttached
restoreBlockers
servicePackage {
...ServicePackageFragment
}
servicePackageId
shouldInheritGeofenceSettings
shouldInheritManagerDetails
shouldInheritServicePackage
siteManagerName
siteManagers {
...SiteManagerFragment
}
siteType {
...SiteTypeFragment
}
siteTypeId
telephone
updated
uuid
}
}
Variables
{
"optionsInput": SiteCreateOptionsInput,
"siteInput": SiteCreateInput
}
Response
{
"data": {
"createSiteV2": {
"accountNumber": "abc123",
"address": "xyz789",
"assetsCount": 123,
"assignedToGroup": Group,
"assignedToGroupId": HashedId,
"containsAssetsToModifyByGroup": true,
"coordinates": Coordinates,
"costCenter": "xyz789",
"country": "abc123",
"created": 1592577642,
"createdByGroup": Group,
"createdByGroupId": HashedId,
"customerNumber": "abc123",
"deleted": 1592577642,
"deletedBy": "abc123",
"deletedSitesCount": 123,
"email": "xyz789",
"events": [Event],
"externalId": "abc123",
"geofenceNotification": [RuleNotificationRelation],
"geofenceSettings": {},
"groupTreeRootId": HashedId,
"id": HashedId,
"image": "abc123",
"isFixed": false,
"lat": "abc123",
"lng": "abc123",
"locationText": "abc123",
"name": "xyz789",
"note": "abc123",
"parentSite": Site,
"parentSiteId": HashedId,
"postalCode": "xyz789",
"publicId": 987,
"qrAttached": true,
"restoreBlockers": ["PARENT_ASSET_CATEGORY_DELETED"],
"servicePackage": ServicePackage,
"servicePackageId": HashedId,
"shouldInheritGeofenceSettings": false,
"shouldInheritManagerDetails": false,
"shouldInheritServicePackage": true,
"siteManagerName": "abc123",
"siteManagers": [SiteManager],
"siteType": SiteType,
"siteTypeId": HashedId,
"telephone": "xyz789",
"updated": 1592577642,
"uuid": "abc123"
}
}
}
createTeam
Description
Create a new team for ticket assignment
Response
Returns a Team!
Arguments
| Name | Description |
|---|---|
input - TeamCreateInput!
|
Team creation fields |
Example
Query
mutation createTeam($input: TeamCreateInput!) {
createTeam(input: $input) {
assignedToActiveTicketIds
created
createdByGroup {
...GroupFragment
}
createdByGroupId
createdByUser {
...UserFragment
}
createdByUserId
deleted
group {
...GroupFragment
}
groupId
id
members {
...TeamMemberFragment
}
name {
...TranslationFragment
}
nameId
publicId
servicePackages {
... on RestrictedServicePackage {
...RestrictedServicePackageFragment
}
... on ServicePackage {
...ServicePackageFragment
}
}
updated
}
}
Variables
{"input": TeamCreateInput}
Response
{
"data": {
"createTeam": {
"assignedToActiveTicketIds": [123],
"created": 1592577642,
"createdByGroup": Group,
"createdByGroupId": HashedId,
"createdByUser": User,
"createdByUserId": HashedId,
"deleted": 1592577642,
"group": Group,
"groupId": HashedId,
"id": HashedId,
"members": [TeamMember],
"name": Translation,
"nameId": HashedId,
"publicId": 987,
"servicePackages": [RestrictedServicePackage],
"updated": 1592577642
}
}
}
createTerms
Description
Create a new terms and conditions document
Response
Returns a Terms!
Arguments
| Name | Description |
|---|---|
content - TranslationInput!
|
Content body or payload |
title - TranslationInput!
|
Title text |
Example
Query
mutation createTerms(
$content: TranslationInput!,
$title: TranslationInput!
) {
createTerms(
content: $content,
title: $title
) {
content {
...TranslationFragment
}
contentId
created
id
isActive
title {
...TranslationFragment
}
titleId
updated
version
versions {
...TermsHasVersionFragment
}
}
}
Variables
{
"content": TranslationInput,
"title": TranslationInput
}
Response
{
"data": {
"createTerms": {
"content": Translation,
"contentId": HashedId,
"created": 1592577642,
"id": HashedId,
"isActive": true,
"title": Translation,
"titleId": HashedId,
"updated": 1592577642,
"version": 123,
"versions": [TermsHasVersion]
}
}
}
createTicket
Description
Create a ticket with custom content fields
Response
Returns a Ticket!
Arguments
| Name | Description |
|---|---|
associatedAssetIds - [HashedId!]
|
Assets to link to this ticket at creation |
content - String!
|
Detailed description of the ticket issue |
disableWebhooks - Boolean
|
Whether to skip webhook notifications for this operation. Default = false |
status - TicketStateEnum
|
New workflow status for the ticket |
title - TranslationInput!
|
Translatable title of the new ticket |
Example
Query
mutation createTicket(
$associatedAssetIds: [HashedId!],
$content: String!,
$disableWebhooks: Boolean,
$status: TicketStateEnum,
$title: TranslationInput!
) {
createTicket(
associatedAssetIds: $associatedAssetIds,
content: $content,
disableWebhooks: $disableWebhooks,
status: $status,
title: $title
) {
activityEvents {
... on TicketApprovalUpdate {
...TicketApprovalUpdateFragment
}
... on TicketAssetAvailabilityUpdate {
...TicketAssetAvailabilityUpdateFragment
}
... on TicketAssetCheckComplete {
...TicketAssetCheckCompleteFragment
}
... on TicketAssetSiteUpdate {
...TicketAssetSiteUpdateFragment
}
... on TicketAutomationEmailSent {
...TicketAutomationEmailSentFragment
}
... on TicketHandlerUpdate {
...TicketHandlerUpdateFragment
}
... on TicketTagsUpdate {
...TicketTagsUpdateFragment
}
... on TicketUrgencyUpdate {
...TicketUrgencyUpdateFragment
}
}
approvers {
...TicketApproverFragment
}
assetPackages {
...AssetPackageFragment
}
assignee {
...ProcessHandlerFragment
}
associatedAssetCategories {
...AssetCategoryFragment
}
associatedAssetTypes {
...AssetTypeFragment
}
associatedAssets {
...AssetFragment
}
associatedSites {
...SiteFragment
}
automationDetails {
...TicketAutomationDetailsFragment
}
batteryCosts
canEdit
canEditTags
certificationCosts
checkEvent {
...EventFragment
}
checkEventId
comments {
...TicketCommentFragment
}
consumablesCosts
content
costLines {
...CostLineFragment
}
costs {
...CostFragment
}
created
createdByGroup {
...GroupFragment
}
createdByGroupId
createdByUser {
...UserFragment
}
createdByUserId
createdFrom
creatingSyncedOn
currentState {
...TicketCurrentStateFragment
}
customFieldColumns {
...CustomFieldFragment
}
deleted
documents {
...DocumentFragment
}
externalEmailHandlers {
...TicketHandlerExternalEmailFragment
}
fuelCosts
groupHandlers {
...TicketHandlerGroupFragment
}
groupTicketHandlerHandlers {
...TicketHandlerGroupTicketHandlerFragment
}
history {
...TicketHistoryFragment
}
id
insuranceTaxesCosts
isStatusUpdatedAutomatically
isTicketApproversEnabled
laborCosts
lastActivityAt
lastStatusChange
logisticsCosts
notifications {
...NotificationFilterFragment
}
otherCosts
partsUsed {
...TicketPartUsageFragment
}
pdfCertificateLink {
...DocumentFragment
}
procedureInstance {
...ProcedureInstanceFragment
}
procedureInstanceId
publicId
repairCosts
reporterName
reservation {
...ReservationFragment
}
reservationDisplayId
reservationId
responsibles {
...ProcessHandlerFragment
}
ruleEntryEvent {
...RuleEntryEventFragment
}
service {
...ServiceFragment
}
serviceId
serviceResponseId
siteManagerHandler {
...TicketHandlerSiteManagerFragment
}
sparePartsCosts
status
statusUpdatedAt
statusUpdatedByUser {
...UserFragment
}
statusUpdatedByUserId
tags {
...TagFragment
}
teamHandlers {
...TicketHandlerTeamFragment
}
ticketComments {
...TicketCommentFragment
}
ticketContent {
...TicketContentFieldFragment
}
ticketId
ticketTimeline {
...TicketTimelineFragment
}
title {
...TranslationFragment
}
titleId
totalCosts
totalPartsCost
updated
urgency
userHandlers {
...TicketHandlerUserFragment
}
uuid
workOrders {
...WorkOrderV2Fragment
}
}
}
Variables
{
"associatedAssetIds": [HashedId],
"content": "abc123",
"disableWebhooks": false,
"status": "approvalNeeded",
"title": TranslationInput
}
Response
{
"data": {
"createTicket": {
"activityEvents": [TicketApprovalUpdate],
"approvers": [TicketApprover],
"assetPackages": [AssetPackage],
"assignee": ProcessHandler,
"associatedAssetCategories": [AssetCategory],
"associatedAssetTypes": [AssetType],
"associatedAssets": [Asset],
"associatedSites": [Site],
"automationDetails": TicketAutomationDetails,
"batteryCosts": "abc123",
"canEdit": false,
"canEditTags": false,
"certificationCosts": "abc123",
"checkEvent": Event,
"checkEventId": HashedId,
"comments": [TicketComment],
"consumablesCosts": "xyz789",
"content": {},
"costLines": [CostLine],
"costs": [Cost],
"created": 1592577642,
"createdByGroup": Group,
"createdByGroupId": HashedId,
"createdByUser": User,
"createdByUserId": HashedId,
"createdFrom": "ASSET_SERVICE",
"creatingSyncedOn": 1592577642,
"currentState": TicketCurrentState,
"customFieldColumns": [CustomField],
"deleted": 1592577642,
"documents": [Document],
"externalEmailHandlers": [
TicketHandlerExternalEmail
],
"fuelCosts": "abc123",
"groupHandlers": [TicketHandlerGroup],
"groupTicketHandlerHandlers": [
TicketHandlerGroupTicketHandler
],
"history": [TicketHistory],
"id": HashedId,
"insuranceTaxesCosts": "xyz789",
"isStatusUpdatedAutomatically": false,
"isTicketApproversEnabled": false,
"laborCosts": "abc123",
"lastActivityAt": 1592577642,
"lastStatusChange": 1592577642,
"logisticsCosts": "xyz789",
"notifications": NotificationFilter,
"otherCosts": "abc123",
"partsUsed": [TicketPartUsage],
"pdfCertificateLink": Document,
"procedureInstance": ProcedureInstance,
"procedureInstanceId": HashedId,
"publicId": 123,
"repairCosts": "abc123",
"reporterName": "abc123",
"reservation": Reservation,
"reservationDisplayId": 123,
"reservationId": HashedId,
"responsibles": [ProcessHandler],
"ruleEntryEvent": RuleEntryEvent,
"service": Service,
"serviceId": HashedId,
"serviceResponseId": HashedId,
"siteManagerHandler": TicketHandlerSiteManager,
"sparePartsCosts": "abc123",
"status": "approvalNeeded",
"statusUpdatedAt": 1592577642,
"statusUpdatedByUser": User,
"statusUpdatedByUserId": HashedId,
"tags": [Tag],
"teamHandlers": [TicketHandlerTeam],
"ticketComments": [TicketComment],
"ticketContent": [TicketContentField],
"ticketId": 987,
"ticketTimeline": TicketTimeline,
"title": Translation,
"titleId": HashedId,
"totalCosts": "xyz789",
"totalPartsCost": 123.45,
"updated": 1592577642,
"urgency": "CRITICAL",
"userHandlers": [TicketHandlerUser],
"uuid": "xyz789",
"workOrders": [WorkOrderV2]
}
}
}
createTicketComment
Description
Add a comment to a ticket using legacy format
Response
Returns a TicketComment!
Arguments
| Name | Description |
|---|---|
attachments - [Upload!]
|
Files attached to the comment |
content - String!
|
Comment message text |
disableWebhooks - Boolean
|
Whether to skip webhook notifications for this operation. Default = false |
internal - Boolean
|
Whether the comment is internal-only |
ticketId - HashedId!
|
Ticket to add the comment to |
Example
Query
mutation createTicketComment(
$attachments: [Upload!],
$content: String!,
$disableWebhooks: Boolean,
$internal: Boolean,
$ticketId: HashedId!
) {
createTicketComment(
attachments: $attachments,
content: $content,
disableWebhooks: $disableWebhooks,
internal: $internal,
ticketId: $ticketId
) {
attachments {
...DocumentFragment
}
authorEmail
connectedEvent {
...EventFragment
}
connectedEventId
content {
...TicketCommentContentFragment
}
costs {
...CostLineFragment
}
created
createdByUser {
...TicketUserFragment
}
createdByUserId
deleted
history {
...TicketCommentContentFragment
}
id
internal
isAutomated
itemsEvent {
...TicketItemsChangeFragment
}
stateEvent {
...TicketStateFragment
}
ticketHistory {
...TicketHistoryFragment
}
ticketId
ticketStatus
updated
}
}
Variables
{
"attachments": [Upload],
"content": "xyz789",
"disableWebhooks": false,
"internal": false,
"ticketId": HashedId
}
Response
{
"data": {
"createTicketComment": {
"attachments": [Document],
"authorEmail": "xyz789",
"connectedEvent": Event,
"connectedEventId": HashedId,
"content": TicketCommentContent,
"costs": [CostLine],
"created": 1592577642,
"createdByUser": TicketUser,
"createdByUserId": HashedId,
"deleted": 1592577642,
"history": [TicketCommentContent],
"id": HashedId,
"internal": false,
"isAutomated": false,
"itemsEvent": TicketItemsChange,
"stateEvent": TicketState,
"ticketHistory": TicketHistory,
"ticketId": HashedId,
"ticketStatus": "approvalNeeded",
"updated": 1592577642
}
}
}
createTicketFromReservation
Description
Create a fulfillment ticket from a reservation
Response
Returns a Reservation!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Unique identifier of the entity |
Example
Query
mutation createTicketFromReservation($id: HashedId!) {
createTicketFromReservation(id: $id) {
approvedAt
cancelledAt
cancelledByUser {
...UserFragment
}
cancelledByUserId
confirmedAt
confirmedByUser {
...UserFragment
}
confirmedByUserId
created
createdByGroup {
...GroupFragment
}
createdByGroupId
createdByUser {
...UserFragment
}
createdByUserId
expectedArrivalAt
externalErpId
externalErpRequestedBy
id
issues {
...ReservationLineItemIssueFragment
}
lineItems {
...ReservationLineItemFragment
}
notes
publicId
rejectedAt
rejectedByUser {
...UserFragment
}
rejectedByUserId
rejectionReason
site {
...SiteFragment
}
siteId
status
tickets {
...TicketFragment
}
updated
uuid
}
}
Variables
{"id": HashedId}
Response
{
"data": {
"createTicketFromReservation": {
"approvedAt": "2007-12-03",
"cancelledAt": "2007-12-03T10:15:30Z",
"cancelledByUser": User,
"cancelledByUserId": HashedId,
"confirmedAt": "2007-12-03T10:15:30Z",
"confirmedByUser": User,
"confirmedByUserId": HashedId,
"created": 1592577642,
"createdByGroup": Group,
"createdByGroupId": HashedId,
"createdByUser": User,
"createdByUserId": HashedId,
"expectedArrivalAt": "2007-12-03",
"externalErpId": "xyz789",
"externalErpRequestedBy": "abc123",
"id": HashedId,
"issues": [ReservationLineItemIssue],
"lineItems": [ReservationLineItem],
"notes": "abc123",
"publicId": 123,
"rejectedAt": "2007-12-03T10:15:30Z",
"rejectedByUser": User,
"rejectedByUserId": HashedId,
"rejectionReason": "xyz789",
"site": Site,
"siteId": HashedId,
"status": "CANCELLED",
"tickets": [Ticket],
"updated": 1592577642,
"uuid": "abc123"
}
}
}
createTicketHandlerExternalEmail
Description
Add multiple external emails as ticket handlers
Response
Returns a TicketHandlerExternalEmail!
Arguments
| Name | Description |
|---|---|
input - TicketHandlerExternalEmailCreateInput!
|
Ticket handler external email creation fields |
Example
Query
mutation createTicketHandlerExternalEmail($input: TicketHandlerExternalEmailCreateInput!) {
createTicketHandlerExternalEmail(input: $input) {
created
email
id
isNotifiable
isRemovable
role
ticketId
updated
}
}
Variables
{"input": TicketHandlerExternalEmailCreateInput}
Response
{
"data": {
"createTicketHandlerExternalEmail": {
"created": 1592577642,
"email": "xyz789",
"id": HashedId,
"isNotifiable": true,
"isRemovable": true,
"role": "ASSIGNEE",
"ticketId": HashedId,
"updated": 1592577642
}
}
}
createTicketHandlerGroup
Description
Assign multiple groups as ticket handlers
Response
Returns a TicketHandlerGroup!
Arguments
| Name | Description |
|---|---|
input - TicketHandlerGroupCreateInput!
|
Ticket handler group creation fields |
Example
Query
mutation createTicketHandlerGroup($input: TicketHandlerGroupCreateInput!) {
createTicketHandlerGroup(input: $input) {
created
group {
...GroupFragment
}
groupId
id
isNotifiable
isRemovable
role
ticketId
updated
}
}
Variables
{"input": TicketHandlerGroupCreateInput}
Response
{
"data": {
"createTicketHandlerGroup": {
"created": 1592577642,
"group": Group,
"groupId": HashedId,
"id": HashedId,
"isNotifiable": false,
"isRemovable": false,
"role": "ASSIGNEE",
"ticketId": HashedId,
"updated": 1592577642
}
}
}
createTicketHandlerGroupTicketHandler
Description
Assign a group ticket handler to the ticket
Response
Returns a TicketHandlerGroupTicketHandler!
Arguments
| Name | Description |
|---|---|
input - TicketHandlerGroupTicketHandlerCreateInput!
|
Ticket handler group ticket handler creation fields |
Example
Query
mutation createTicketHandlerGroupTicketHandler($input: TicketHandlerGroupTicketHandlerCreateInput!) {
createTicketHandlerGroupTicketHandler(input: $input) {
created
groupTicketHandler {
...GroupTicketHandlerFragment
}
groupTicketHandlerId
id
isNotifiable
isRemovable
role
ticketId
updated
}
}
Variables
{"input": TicketHandlerGroupTicketHandlerCreateInput}
Response
{
"data": {
"createTicketHandlerGroupTicketHandler": {
"created": 1592577642,
"groupTicketHandler": GroupTicketHandler,
"groupTicketHandlerId": HashedId,
"id": HashedId,
"isNotifiable": true,
"isRemovable": true,
"role": "ASSIGNEE",
"ticketId": HashedId,
"updated": 1592577642
}
}
}
createTicketHandlerSiteManagerByTicketId
Description
Assign the site manager as a ticket handler
Response
Returns a TicketHandlerSiteManager!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Unique identifier of the entity |
Example
Query
mutation createTicketHandlerSiteManagerByTicketId($id: HashedId!) {
createTicketHandlerSiteManagerByTicketId(id: $id) {
created
id
isNotifiable
isRemovable
role
ticketId
updated
}
}
Variables
{"id": HashedId}
Response
{
"data": {
"createTicketHandlerSiteManagerByTicketId": {
"created": 1592577642,
"id": HashedId,
"isNotifiable": false,
"isRemovable": true,
"role": "ASSIGNEE",
"ticketId": HashedId,
"updated": 1592577642
}
}
}
createTicketHandlerTeam
Description
Assign a team as a ticket handler
Response
Returns a TicketHandlerTeam!
Arguments
| Name | Description |
|---|---|
input - TicketHandlerTeamCreateInput!
|
Ticket handler team creation fields |
Example
Query
mutation createTicketHandlerTeam($input: TicketHandlerTeamCreateInput!) {
createTicketHandlerTeam(input: $input) {
created
id
isNotifiable
isRemovable
role
team {
...TeamFragment
}
teamId
ticketId
updated
}
}
Variables
{"input": TicketHandlerTeamCreateInput}
Response
{
"data": {
"createTicketHandlerTeam": {
"created": 1592577642,
"id": HashedId,
"isNotifiable": true,
"isRemovable": true,
"role": "ASSIGNEE",
"team": Team,
"teamId": HashedId,
"ticketId": HashedId,
"updated": 1592577642
}
}
}
createTicketHandlerUser
Description
Assign a user as a ticket handler
Response
Returns a TicketHandlerUser!
Arguments
| Name | Description |
|---|---|
input - TicketHandlerUserCreateInput!
|
Ticket handler user creation fields |
Example
Query
mutation createTicketHandlerUser($input: TicketHandlerUserCreateInput!) {
createTicketHandlerUser(input: $input) {
created
id
isNotifiable
isRemovable
role
ticketId
updated
user {
...UserFragment
}
userId
}
}
Variables
{"input": TicketHandlerUserCreateInput}
Response
{
"data": {
"createTicketHandlerUser": {
"created": 1592577642,
"id": HashedId,
"isNotifiable": true,
"isRemovable": true,
"role": "ASSIGNEE",
"ticketId": HashedId,
"updated": 1592577642,
"user": User,
"userId": HashedId
}
}
}
createTicketView
Description
Create a new saved ticket list view for the current user
Response
Returns a TicketView!
Arguments
| Name | Description |
|---|---|
view - TicketViewCreateInput!
|
View configuration data |
Example
Query
mutation createTicketView($view: TicketViewCreateInput!) {
createTicketView(view: $view) {
created
displayMode
forEntity
id
isActive
isDeletable
isEditable
isShareable
isShared
isSystemView
isUnsharedByParentGroup
options {
...TicketViewOptionsFragment
}
title {
...TranslationFragment
}
titleId
updated
}
}
Variables
{"view": TicketViewCreateInput}
Response
{
"data": {
"createTicketView": {
"created": 1592577642,
"displayMode": "GANTT",
"forEntity": "ASSET",
"id": HashedId,
"isActive": true,
"isDeletable": false,
"isEditable": true,
"isShareable": false,
"isShared": true,
"isSystemView": true,
"isUnsharedByParentGroup": true,
"options": TicketViewOptions,
"title": Translation,
"titleId": HashedId,
"updated": 1592577642
}
}
}
createTripsView
Description
Create a new saved trips view for the current user
Response
Returns a TripsView!
Arguments
| Name | Description |
|---|---|
view - TripsViewCreateInput!
|
View configuration data |
Example
Query
mutation createTripsView($view: TripsViewCreateInput!) {
createTripsView(view: $view) {
created
displayMode
forEntity
id
isActive
isDeletable
isEditable
isShareable
isShared
isSystemView
isUnsharedByParentGroup
options {
...TripsViewOptionsFragment
}
title {
...TranslationFragment
}
titleId
updated
}
}
Variables
{"view": TripsViewCreateInput}
Response
{
"data": {
"createTripsView": {
"created": 1592577642,
"displayMode": "GANTT",
"forEntity": "ASSET",
"id": HashedId,
"isActive": true,
"isDeletable": true,
"isEditable": true,
"isShareable": false,
"isShared": false,
"isSystemView": false,
"isUnsharedByParentGroup": false,
"options": TripsViewOptions,
"title": Translation,
"titleId": HashedId,
"updated": 1592577642
}
}
}
createUser
Description
Create a new user account (deprecated: use createUserV2)
Response
Returns [User!]
Arguments
| Name | Description |
|---|---|
activationRoute - String
|
Activation route |
belongsToGroupId - HashedId!
|
Group this record belongs to |
canConvertServiceJotforms - Boolean
|
Whether the admin user can convert and revert Jotform forms |
canEditInspectionsAssignee - Boolean
|
Whether this user can edit the assignee of rule entry events (Inspections) |
canEditOnlyOwnDocuments - Boolean
|
Whether this user can only edit and delete their own documents |
canEditTicketTags - Boolean
|
Whether this user can add or remove tags on tickets when the group setting ticketTagsByPermission is on |
canManageIntegrations - Boolean
|
Whether the admin user can manage integrations |
canScheduleDisposition - Boolean
|
Whether the user can schedule work orders on the disposition Gantt |
canShareViews - Boolean
|
Whether the user can share views |
dashboardId - HashedId
|
Dashboard identifier |
email - String!
|
Email address |
firstname - String
|
First name |
hasAccessToPersonnelManagement - Boolean
|
Whether the user can manage the personnel database |
info - JSON
|
Info |
isCostEnabled - Boolean
|
Whether cost enabled |
isSSOEnabled - Boolean
|
Whether s s o enabled |
label - String
|
Display label |
languageId - HashedId!
|
Language preference identifier |
lastname - String
|
Last name |
locale - String
|
Locale tag |
password - String
|
Account password. Default = "INVALID" |
personnelId - HashedId
|
Personnel record to link to the new user instead of creating one |
phone - String
|
Phone number |
preventInviteEmail - Boolean
|
Prevent invite email |
roleId - HashedId!
|
Role identifier |
settings - JSON
|
Configuration settings |
settingsPath - String
|
Settings path |
supportAdmin - Boolean
|
Support admin |
timezone - String
|
Timezone identifier |
username - String
|
keeping it for backward compatibility, if passed value for username it will be ignored |
Example
Query
mutation createUser(
$activationRoute: String,
$belongsToGroupId: HashedId!,
$canConvertServiceJotforms: Boolean,
$canEditInspectionsAssignee: Boolean,
$canEditOnlyOwnDocuments: Boolean,
$canEditTicketTags: Boolean,
$canManageIntegrations: Boolean,
$canScheduleDisposition: Boolean,
$canShareViews: Boolean,
$dashboardId: HashedId,
$email: String!,
$firstname: String,
$hasAccessToPersonnelManagement: Boolean,
$info: JSON,
$isCostEnabled: Boolean,
$isSSOEnabled: Boolean,
$label: String,
$languageId: HashedId!,
$lastname: String,
$locale: String,
$password: String,
$personnelId: HashedId,
$phone: String,
$preventInviteEmail: Boolean,
$roleId: HashedId!,
$settings: JSON,
$settingsPath: String,
$supportAdmin: Boolean,
$timezone: String,
$username: String
) {
createUser(
activationRoute: $activationRoute,
belongsToGroupId: $belongsToGroupId,
canConvertServiceJotforms: $canConvertServiceJotforms,
canEditInspectionsAssignee: $canEditInspectionsAssignee,
canEditOnlyOwnDocuments: $canEditOnlyOwnDocuments,
canEditTicketTags: $canEditTicketTags,
canManageIntegrations: $canManageIntegrations,
canScheduleDisposition: $canScheduleDisposition,
canShareViews: $canShareViews,
dashboardId: $dashboardId,
email: $email,
firstname: $firstname,
hasAccessToPersonnelManagement: $hasAccessToPersonnelManagement,
info: $info,
isCostEnabled: $isCostEnabled,
isSSOEnabled: $isSSOEnabled,
label: $label,
languageId: $languageId,
lastname: $lastname,
locale: $locale,
password: $password,
personnelId: $personnelId,
phone: $phone,
preventInviteEmail: $preventInviteEmail,
roleId: $roleId,
settings: $settings,
settingsPath: $settingsPath,
supportAdmin: $supportAdmin,
timezone: $timezone,
username: $username
) {
activated
additionalGroups {
...GroupFragment
}
apiKey
belongsToGroup {
...GroupFragment
}
belongsToGroupId
canConvertServiceJotforms
canEditInspectionsAssignee
canEditOnlyOwnDocuments
canEditTicketTags
canManageIntegrations
canScheduleDisposition
canShareViews
checkPassword
created
dashboard
dashboardId
deleted
email
firstname
fullName
group {
...GroupFragment
}
groupId
groups {
...GroupFragment
}
hasAccessToPersonnelManagement
hasApiKey
hasMultipleGroups
id
image
info
isAnyAdmin
isCostEnabled
isSSOEnabled
isServicing
isSupportAdmin
label
language
languageCode
languageId
lastLogin
lastname
locale
loginInterruptIds
loginInterrupts
notificationIds
notifications
password
personnel {
...PersonnelFragment
}
phone
publicId
resolvedLocale
resolvedTimezone
role {
...RoleFragment
}
roleId
roleKey
services
settings
stripeSubscriptionId
subscription {
...StripeSubscriptionPlanFragment
}
supportAdmin
teams {
...TeamFragment
}
timezone
toolsenseAdmin
unavailability {
...UserUnavailabilityFragment
}
updated
username
}
}
Variables
{
"activationRoute": "xyz789",
"belongsToGroupId": HashedId,
"canConvertServiceJotforms": true,
"canEditInspectionsAssignee": false,
"canEditOnlyOwnDocuments": true,
"canEditTicketTags": false,
"canManageIntegrations": true,
"canScheduleDisposition": true,
"canShareViews": true,
"dashboardId": HashedId,
"email": "abc123",
"firstname": "abc123",
"hasAccessToPersonnelManagement": true,
"info": {},
"isCostEnabled": true,
"isSSOEnabled": true,
"label": "abc123",
"languageId": HashedId,
"lastname": "abc123",
"locale": "xyz789",
"password": "INVALID",
"personnelId": HashedId,
"phone": "xyz789",
"preventInviteEmail": false,
"roleId": HashedId,
"settings": {},
"settingsPath": "xyz789",
"supportAdmin": false,
"timezone": "abc123",
"username": "abc123"
}
Response
{
"data": {
"createUser": [
{
"activated": 1592577642,
"additionalGroups": [Group],
"apiKey": "xyz789",
"belongsToGroup": Group,
"belongsToGroupId": HashedId,
"canConvertServiceJotforms": true,
"canEditInspectionsAssignee": true,
"canEditOnlyOwnDocuments": true,
"canEditTicketTags": false,
"canManageIntegrations": true,
"canScheduleDisposition": false,
"canShareViews": true,
"checkPassword": false,
"created": 1592577642,
"dashboard": {},
"dashboardId": HashedId,
"deleted": 1592577642,
"email": "abc123",
"firstname": "xyz789",
"fullName": "abc123",
"group": Group,
"groupId": HashedId,
"groups": [Group],
"hasAccessToPersonnelManagement": true,
"hasApiKey": true,
"hasMultipleGroups": true,
"id": HashedId,
"image": "xyz789",
"info": {},
"isAnyAdmin": true,
"isCostEnabled": false,
"isSSOEnabled": false,
"isServicing": true,
"isSupportAdmin": true,
"label": "abc123",
"language": HashedId,
"languageCode": "ar_ar",
"languageId": HashedId,
"lastLogin": "2007-12-03T10:15:30Z",
"lastname": "abc123",
"locale": LanguageTag,
"loginInterruptIds": [HashedId],
"loginInterrupts": {},
"notificationIds": [HashedId],
"notifications": [{}],
"password": "abc123",
"personnel": Personnel,
"phone": "xyz789",
"publicId": 123,
"resolvedLocale": LanguageTag,
"resolvedTimezone": "abc123",
"role": Role,
"roleId": HashedId,
"roleKey": "EditorUser",
"services": [{}],
"settings": {},
"stripeSubscriptionId": "abc123",
"subscription": StripeSubscriptionPlan,
"supportAdmin": true,
"teams": [Team],
"timezone": "xyz789",
"toolsenseAdmin": false,
"unavailability": [UserUnavailability],
"updated": 1592577642,
"username": "abc123"
}
]
}
}
createUserV2
Description
Create a new user account with password reset link
Response
Returns a CreateUserDto
Arguments
| Name | Description |
|---|---|
activationRoute - String
|
Activation route |
belongsToGroupId - HashedId!
|
Group this record belongs to |
canConvertServiceJotforms - Boolean
|
Whether the admin user can convert and revert Jotform forms |
canEditInspectionsAssignee - Boolean
|
Whether this user can edit the assignee of rule entry events (Inspections) |
canEditOnlyOwnDocuments - Boolean
|
Whether this user can only edit and delete their own documents |
canEditTicketTags - Boolean
|
Whether this user can add or remove tags on tickets when the group setting ticketTagsByPermission is on |
canManageIntegrations - Boolean
|
Whether the admin user can manage integrations |
canScheduleDisposition - Boolean
|
Whether the user can schedule work orders on the disposition Gantt |
canShareViews - Boolean
|
Whether the user can share views |
dashboardId - HashedId
|
Dashboard identifier |
email - String!
|
Email address |
firstname - String
|
First name |
hasAccessToPersonnelManagement - Boolean
|
Whether the user can manage the personnel database |
info - JSON
|
Info |
isCostEnabled - Boolean
|
Whether cost enabled |
isSSOEnabled - Boolean
|
Whether s s o enabled |
label - String
|
Display label |
languageId - HashedId!
|
Language preference identifier |
lastname - String
|
Last name |
locale - String
|
Locale tag |
password - String
|
Account password. Default = "INVALID" |
personnelId - HashedId
|
Personnel record to link to the new user instead of creating one |
phone - String
|
Phone number |
preventInviteEmail - Boolean
|
Prevent invite email |
roleId - HashedId!
|
Role identifier |
settings - JSON
|
Configuration settings |
settingsPath - String
|
Settings path |
supportAdmin - Boolean
|
Support admin |
timezone - String
|
Timezone identifier |
username - String
|
keeping it for backward compatibility, if passed value for username it will be ignored |
Example
Query
mutation createUserV2(
$activationRoute: String,
$belongsToGroupId: HashedId!,
$canConvertServiceJotforms: Boolean,
$canEditInspectionsAssignee: Boolean,
$canEditOnlyOwnDocuments: Boolean,
$canEditTicketTags: Boolean,
$canManageIntegrations: Boolean,
$canScheduleDisposition: Boolean,
$canShareViews: Boolean,
$dashboardId: HashedId,
$email: String!,
$firstname: String,
$hasAccessToPersonnelManagement: Boolean,
$info: JSON,
$isCostEnabled: Boolean,
$isSSOEnabled: Boolean,
$label: String,
$languageId: HashedId!,
$lastname: String,
$locale: String,
$password: String,
$personnelId: HashedId,
$phone: String,
$preventInviteEmail: Boolean,
$roleId: HashedId!,
$settings: JSON,
$settingsPath: String,
$supportAdmin: Boolean,
$timezone: String,
$username: String
) {
createUserV2(
activationRoute: $activationRoute,
belongsToGroupId: $belongsToGroupId,
canConvertServiceJotforms: $canConvertServiceJotforms,
canEditInspectionsAssignee: $canEditInspectionsAssignee,
canEditOnlyOwnDocuments: $canEditOnlyOwnDocuments,
canEditTicketTags: $canEditTicketTags,
canManageIntegrations: $canManageIntegrations,
canScheduleDisposition: $canScheduleDisposition,
canShareViews: $canShareViews,
dashboardId: $dashboardId,
email: $email,
firstname: $firstname,
hasAccessToPersonnelManagement: $hasAccessToPersonnelManagement,
info: $info,
isCostEnabled: $isCostEnabled,
isSSOEnabled: $isSSOEnabled,
label: $label,
languageId: $languageId,
lastname: $lastname,
locale: $locale,
password: $password,
personnelId: $personnelId,
phone: $phone,
preventInviteEmail: $preventInviteEmail,
roleId: $roleId,
settings: $settings,
settingsPath: $settingsPath,
supportAdmin: $supportAdmin,
timezone: $timezone,
username: $username
) {
passwordResetLink
user {
...UserFragment
}
}
}
Variables
{
"activationRoute": "xyz789",
"belongsToGroupId": HashedId,
"canConvertServiceJotforms": true,
"canEditInspectionsAssignee": true,
"canEditOnlyOwnDocuments": false,
"canEditTicketTags": false,
"canManageIntegrations": true,
"canScheduleDisposition": true,
"canShareViews": false,
"dashboardId": HashedId,
"email": "abc123",
"firstname": "xyz789",
"hasAccessToPersonnelManagement": true,
"info": {},
"isCostEnabled": true,
"isSSOEnabled": true,
"label": "abc123",
"languageId": HashedId,
"lastname": "xyz789",
"locale": "xyz789",
"password": "INVALID",
"personnelId": HashedId,
"phone": "xyz789",
"preventInviteEmail": true,
"roleId": HashedId,
"settings": {},
"settingsPath": "abc123",
"supportAdmin": true,
"timezone": "xyz789",
"username": "abc123"
}
Response
{
"data": {
"createUserV2": {
"passwordResetLink": "abc123",
"user": User
}
}
}
createWebhook
Description
Register a new webhook notification endpoint
Response
Returns a Webhook!
Arguments
| Name | Description |
|---|---|
input - WebhookCreateInput!
|
Webhook creation fields |
Example
Query
mutation createWebhook($input: WebhookCreateInput!) {
createWebhook(input: $input) {
created
forAssetPackages
forAssets
forReservations
forSites
forTickets
forWorkOrders
groupId
id
updated
url
}
}
Variables
{"input": WebhookCreateInput}
Response
{
"data": {
"createWebhook": {
"created": 1592577642,
"forAssetPackages": false,
"forAssets": false,
"forReservations": true,
"forSites": false,
"forTickets": false,
"forWorkOrders": true,
"groupId": HashedId,
"id": HashedId,
"updated": 1592577642,
"url": "xyz789"
}
}
}
createWorkOrder
Description
Create a new work order for the current user group
Response
Returns a WorkOrderV2!
Arguments
| Name | Description |
|---|---|
input - WorkOrderCreateInput
|
Input data required to create a new work order |
Example
Query
mutation createWorkOrder($input: WorkOrderCreateInput) {
createWorkOrder(input: $input) {
assetCollections {
...WorkOrderAssetCollectionFragment
}
assets {
...AssetFragment
}
assignee {
...WorkOrderPersonnelV2Fragment
}
comments {
...WorkOrderCommentFragment
}
costCenter
costs {
...WorkOrderCostFragment
}
created
createdByGroup {
...GroupFragment
}
createdByGroupId
creationDate
creator {
...UserFragment
}
creatorId
customerName
customerSignatures {
...WorkOrderCustomerSignatureFragment
}
dailyRate {
...WorkOrderCostFragment
}
deleted
description {
...TranslationFragment
}
endDate
externalEmailHandlers {
...WorkOrderHandlerExternalEmailFragment
}
followers {
...WorkOrderPersonnelV2Fragment
}
groupHandlers {
...WorkOrderHandlerGroupFragment
}
groupTicketHandlerHandlers {
...WorkOrderHandlerGroupTicketHandlerFragment
}
history {
...WorkOrderHistoryEntryFragment
}
historyV2 {
...WorkOrderHistoryFragment
}
id
linkedTickets {
...TicketFragment
}
locations {
...WorkOrderLocationFragment
}
name
notes {
...TranslationFragment
}
notesId
operatingCosts {
...CostFragment
}
partsUsed {
...TicketPartUsageFragment
}
personnel {
...WorkOrderCostFragment
}
personnelHandlers {
...WorkOrderHandlerPersonnelFragment
}
procedureTemplate {
...ProcedureTemplateFragment
}
procedureTemplateId
site {
...SiteFragment
}
siteId
siteManagerHandler {
...WorkOrderHandlerSiteManagerFragment
}
sourceTicket {
...TicketFragment
}
sourceTicketId
startDate
status
teamHandlers {
...WorkOrderHandlerTeamFragment
}
timeEntries {
...WorkOrderTimeEntryFragment
}
timeEntriesSummary {
...WorkOrderTimeEntrySummaryFragment
}
title {
...TranslationFragment
}
totalPartsCost
updated
userHandlers {
...WorkOrderHandlerUserFragment
}
workOrderNumber
workers {
...WorkOrderPersonnelV2Fragment
}
}
}
Variables
{"input": WorkOrderCreateInput}
Response
{
"data": {
"createWorkOrder": {
"assetCollections": [WorkOrderAssetCollection],
"assets": [Asset],
"assignee": WorkOrderPersonnelV2,
"comments": [WorkOrderComment],
"costCenter": "abc123",
"costs": [WorkOrderCost],
"created": 1592577642,
"createdByGroup": Group,
"createdByGroupId": HashedId,
"creationDate": "2007-12-03T10:15:30Z",
"creator": User,
"creatorId": HashedId,
"customerName": "xyz789",
"customerSignatures": [WorkOrderCustomerSignature],
"dailyRate": WorkOrderCost,
"deleted": 1592577642,
"description": Translation,
"endDate": "2007-12-03T10:15:30Z",
"externalEmailHandlers": [
WorkOrderHandlerExternalEmail
],
"followers": [WorkOrderPersonnelV2],
"groupHandlers": [WorkOrderHandlerGroup],
"groupTicketHandlerHandlers": [
WorkOrderHandlerGroupTicketHandler
],
"history": [WorkOrderHistoryEntry],
"historyV2": [WorkOrderHistory],
"id": HashedId,
"linkedTickets": [Ticket],
"locations": [WorkOrderLocation],
"name": "xyz789",
"notes": Translation,
"notesId": HashedId,
"operatingCosts": [Cost],
"partsUsed": [TicketPartUsage],
"personnel": [WorkOrderCost],
"personnelHandlers": [WorkOrderHandlerPersonnel],
"procedureTemplate": ProcedureTemplate,
"procedureTemplateId": HashedId,
"site": Site,
"siteId": HashedId,
"siteManagerHandler": WorkOrderHandlerSiteManager,
"sourceTicket": Ticket,
"sourceTicketId": HashedId,
"startDate": "2007-12-03T10:15:30Z",
"status": "CANCELLED",
"teamHandlers": [WorkOrderHandlerTeam],
"timeEntries": [WorkOrderTimeEntry],
"timeEntriesSummary": WorkOrderTimeEntrySummary,
"title": Translation,
"totalPartsCost": 987.65,
"updated": 1592577642,
"userHandlers": [WorkOrderHandlerUser],
"workOrderNumber": 987,
"workers": [WorkOrderPersonnelV2]
}
}
}
createWorkOrderComment
Description
Create a new comment on a work order, optionally with attachments
Response
Returns a WorkOrderComment!
Arguments
| Name | Description |
|---|---|
input - WorkOrderCommentCreateInput!
|
Input data for creating the work order comment |
Example
Query
mutation createWorkOrderComment($input: WorkOrderCommentCreateInput!) {
createWorkOrderComment(input: $input) {
attachments {
...DocumentFragment
}
content
created
createdByGroupId
createdByUser {
...UserFragment
}
createdByUserId
deleted
history {
...WorkOrderCommentHistoryFragment
}
id
internal
updated
workOrderId
}
}
Variables
{"input": WorkOrderCommentCreateInput}
Response
{
"data": {
"createWorkOrderComment": {
"attachments": [Document],
"content": "xyz789",
"created": 1592577642,
"createdByGroupId": HashedId,
"createdByUser": User,
"createdByUserId": HashedId,
"deleted": 1592577642,
"history": [WorkOrderCommentHistory],
"id": HashedId,
"internal": true,
"updated": 1592577642,
"workOrderId": HashedId
}
}
}
createWorkOrderFromTicket
Description
Create a new work order from an existing ticket
Response
Returns a WorkOrderV2!
Arguments
| Name | Description |
|---|---|
input - WorkOrderTicketCreateInput
|
ID of the ticket to create the work order from |
Example
Query
mutation createWorkOrderFromTicket($input: WorkOrderTicketCreateInput) {
createWorkOrderFromTicket(input: $input) {
assetCollections {
...WorkOrderAssetCollectionFragment
}
assets {
...AssetFragment
}
assignee {
...WorkOrderPersonnelV2Fragment
}
comments {
...WorkOrderCommentFragment
}
costCenter
costs {
...WorkOrderCostFragment
}
created
createdByGroup {
...GroupFragment
}
createdByGroupId
creationDate
creator {
...UserFragment
}
creatorId
customerName
customerSignatures {
...WorkOrderCustomerSignatureFragment
}
dailyRate {
...WorkOrderCostFragment
}
deleted
description {
...TranslationFragment
}
endDate
externalEmailHandlers {
...WorkOrderHandlerExternalEmailFragment
}
followers {
...WorkOrderPersonnelV2Fragment
}
groupHandlers {
...WorkOrderHandlerGroupFragment
}
groupTicketHandlerHandlers {
...WorkOrderHandlerGroupTicketHandlerFragment
}
history {
...WorkOrderHistoryEntryFragment
}
historyV2 {
...WorkOrderHistoryFragment
}
id
linkedTickets {
...TicketFragment
}
locations {
...WorkOrderLocationFragment
}
name
notes {
...TranslationFragment
}
notesId
operatingCosts {
...CostFragment
}
partsUsed {
...TicketPartUsageFragment
}
personnel {
...WorkOrderCostFragment
}
personnelHandlers {
...WorkOrderHandlerPersonnelFragment
}
procedureTemplate {
...ProcedureTemplateFragment
}
procedureTemplateId
site {
...SiteFragment
}
siteId
siteManagerHandler {
...WorkOrderHandlerSiteManagerFragment
}
sourceTicket {
...TicketFragment
}
sourceTicketId
startDate
status
teamHandlers {
...WorkOrderHandlerTeamFragment
}
timeEntries {
...WorkOrderTimeEntryFragment
}
timeEntriesSummary {
...WorkOrderTimeEntrySummaryFragment
}
title {
...TranslationFragment
}
totalPartsCost
updated
userHandlers {
...WorkOrderHandlerUserFragment
}
workOrderNumber
workers {
...WorkOrderPersonnelV2Fragment
}
}
}
Variables
{"input": WorkOrderTicketCreateInput}
Response
{
"data": {
"createWorkOrderFromTicket": {
"assetCollections": [WorkOrderAssetCollection],
"assets": [Asset],
"assignee": WorkOrderPersonnelV2,
"comments": [WorkOrderComment],
"costCenter": "xyz789",
"costs": [WorkOrderCost],
"created": 1592577642,
"createdByGroup": Group,
"createdByGroupId": HashedId,
"creationDate": "2007-12-03T10:15:30Z",
"creator": User,
"creatorId": HashedId,
"customerName": "xyz789",
"customerSignatures": [WorkOrderCustomerSignature],
"dailyRate": WorkOrderCost,
"deleted": 1592577642,
"description": Translation,
"endDate": "2007-12-03T10:15:30Z",
"externalEmailHandlers": [
WorkOrderHandlerExternalEmail
],
"followers": [WorkOrderPersonnelV2],
"groupHandlers": [WorkOrderHandlerGroup],
"groupTicketHandlerHandlers": [
WorkOrderHandlerGroupTicketHandler
],
"history": [WorkOrderHistoryEntry],
"historyV2": [WorkOrderHistory],
"id": HashedId,
"linkedTickets": [Ticket],
"locations": [WorkOrderLocation],
"name": "abc123",
"notes": Translation,
"notesId": HashedId,
"operatingCosts": [Cost],
"partsUsed": [TicketPartUsage],
"personnel": [WorkOrderCost],
"personnelHandlers": [WorkOrderHandlerPersonnel],
"procedureTemplate": ProcedureTemplate,
"procedureTemplateId": HashedId,
"site": Site,
"siteId": HashedId,
"siteManagerHandler": WorkOrderHandlerSiteManager,
"sourceTicket": Ticket,
"sourceTicketId": HashedId,
"startDate": "2007-12-03T10:15:30Z",
"status": "CANCELLED",
"teamHandlers": [WorkOrderHandlerTeam],
"timeEntries": [WorkOrderTimeEntry],
"timeEntriesSummary": WorkOrderTimeEntrySummary,
"title": Translation,
"totalPartsCost": 123.45,
"updated": 1592577642,
"userHandlers": [WorkOrderHandlerUser],
"workOrderNumber": 123,
"workers": [WorkOrderPersonnelV2]
}
}
}
createWorkOrderHandlerExternalEmail
Description
Assign an external email as a work order handler
Response
Returns a WorkOrderHandlerExternalEmail!
Arguments
| Name | Description |
|---|---|
input - WorkOrderHandlerExternalEmailCreateInput!
|
Work order handler external email creation fields |
Example
Query
mutation createWorkOrderHandlerExternalEmail($input: WorkOrderHandlerExternalEmailCreateInput!) {
createWorkOrderHandlerExternalEmail(input: $input) {
created
deleted
email
id
isNotifiable
isRemovable
role
updated
widgetHint
workOrderId
}
}
Variables
{"input": WorkOrderHandlerExternalEmailCreateInput}
Response
{
"data": {
"createWorkOrderHandlerExternalEmail": {
"created": 1592577642,
"deleted": 1592577642,
"email": "xyz789",
"id": HashedId,
"isNotifiable": false,
"isRemovable": false,
"role": "ASSIGNEE",
"updated": 1592577642,
"widgetHint": "abc123",
"workOrderId": HashedId
}
}
}
createWorkOrderHandlerGroup
Description
Assign a group as a work order handler
Response
Returns a WorkOrderHandlerGroup!
Arguments
| Name | Description |
|---|---|
input - WorkOrderHandlerGroupCreateInput!
|
Work order handler group creation fields |
Example
Query
mutation createWorkOrderHandlerGroup($input: WorkOrderHandlerGroupCreateInput!) {
createWorkOrderHandlerGroup(input: $input) {
created
deleted
group {
...GroupFragment
}
groupId
id
isNotifiable
isRemovable
role
updated
widgetHint
workOrderId
}
}
Variables
{"input": WorkOrderHandlerGroupCreateInput}
Response
{
"data": {
"createWorkOrderHandlerGroup": {
"created": 1592577642,
"deleted": 1592577642,
"group": Group,
"groupId": HashedId,
"id": HashedId,
"isNotifiable": true,
"isRemovable": false,
"role": "ASSIGNEE",
"updated": 1592577642,
"widgetHint": "abc123",
"workOrderId": HashedId
}
}
}
createWorkOrderHandlerGroupTicketHandler
Description
Assign a group ticket handler as a work order handler
Response
Returns a WorkOrderHandlerGroupTicketHandler!
Arguments
| Name | Description |
|---|---|
input - WorkOrderHandlerGroupTicketHandlerCreateInput!
|
Work order handler group ticket handler creation fields |
Example
Query
mutation createWorkOrderHandlerGroupTicketHandler($input: WorkOrderHandlerGroupTicketHandlerCreateInput!) {
createWorkOrderHandlerGroupTicketHandler(input: $input) {
created
deleted
groupTicketHandler {
...GroupTicketHandlerFragment
}
groupTicketHandlerId
id
isNotifiable
isRemovable
role
updated
widgetHint
workOrderId
}
}
Variables
{"input": WorkOrderHandlerGroupTicketHandlerCreateInput}
Response
{
"data": {
"createWorkOrderHandlerGroupTicketHandler": {
"created": 1592577642,
"deleted": 1592577642,
"groupTicketHandler": GroupTicketHandler,
"groupTicketHandlerId": HashedId,
"id": HashedId,
"isNotifiable": true,
"isRemovable": true,
"role": "ASSIGNEE",
"updated": 1592577642,
"widgetHint": "abc123",
"workOrderId": HashedId
}
}
}
createWorkOrderHandlerPersonnel
Description
Assign a personnel as a work order handler
Response
Returns a WorkOrderHandlerPersonnel!
Arguments
| Name | Description |
|---|---|
input - WorkOrderHandlerPersonnelCreateInput!
|
Work order handler personnel creation fields |
Example
Query
mutation createWorkOrderHandlerPersonnel($input: WorkOrderHandlerPersonnelCreateInput!) {
createWorkOrderHandlerPersonnel(input: $input) {
created
deleted
id
isNotifiable
isRemovable
personnel {
...PersonnelValueFragment
}
personnelId
role
updated
widgetHint
workOrderId
}
}
Variables
{"input": WorkOrderHandlerPersonnelCreateInput}
Response
{
"data": {
"createWorkOrderHandlerPersonnel": {
"created": 1592577642,
"deleted": 1592577642,
"id": HashedId,
"isNotifiable": true,
"isRemovable": false,
"personnel": PersonnelValue,
"personnelId": HashedId,
"role": "ASSIGNEE",
"updated": 1592577642,
"widgetHint": "xyz789",
"workOrderId": HashedId
}
}
}
createWorkOrderHandlerSiteManagerByWorkOrderId
Description
Assign the asset site manager as a work order handler
Response
Returns a WorkOrderHandlerSiteManager!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Unique identifier of the entity |
Example
Query
mutation createWorkOrderHandlerSiteManagerByWorkOrderId($id: HashedId!) {
createWorkOrderHandlerSiteManagerByWorkOrderId(id: $id) {
created
deleted
id
isNotifiable
isRemovable
role
updated
widgetHint
workOrderId
}
}
Variables
{"id": HashedId}
Response
{
"data": {
"createWorkOrderHandlerSiteManagerByWorkOrderId": {
"created": 1592577642,
"deleted": 1592577642,
"id": HashedId,
"isNotifiable": false,
"isRemovable": false,
"role": "ASSIGNEE",
"updated": 1592577642,
"widgetHint": "abc123",
"workOrderId": HashedId
}
}
}
createWorkOrderHandlerTeam
Description
Assign a team as a work order handler
Response
Returns a WorkOrderHandlerTeam!
Arguments
| Name | Description |
|---|---|
input - WorkOrderHandlerTeamCreateInput!
|
Work order handler team creation fields |
Example
Query
mutation createWorkOrderHandlerTeam($input: WorkOrderHandlerTeamCreateInput!) {
createWorkOrderHandlerTeam(input: $input) {
created
deleted
id
isNotifiable
isRemovable
role
team {
...TeamFragment
}
teamId
updated
widgetHint
workOrderId
}
}
Variables
{"input": WorkOrderHandlerTeamCreateInput}
Response
{
"data": {
"createWorkOrderHandlerTeam": {
"created": 1592577642,
"deleted": 1592577642,
"id": HashedId,
"isNotifiable": false,
"isRemovable": false,
"role": "ASSIGNEE",
"team": Team,
"teamId": HashedId,
"updated": 1592577642,
"widgetHint": "xyz789",
"workOrderId": HashedId
}
}
}
createWorkOrderHandlerUser
Description
Assign a user as a work order handler
Response
Returns a WorkOrderHandlerUser!
Arguments
| Name | Description |
|---|---|
input - WorkOrderHandlerUserCreateInput!
|
Work order handler user creation fields |
Example
Query
mutation createWorkOrderHandlerUser($input: WorkOrderHandlerUserCreateInput!) {
createWorkOrderHandlerUser(input: $input) {
created
deleted
id
isNotifiable
isRemovable
personnel {
...PersonnelValueFragment
}
role
updated
user {
...UserFragment
}
userId
widgetHint
workOrderId
}
}
Variables
{"input": WorkOrderHandlerUserCreateInput}
Response
{
"data": {
"createWorkOrderHandlerUser": {
"created": 1592577642,
"deleted": 1592577642,
"id": HashedId,
"isNotifiable": false,
"isRemovable": true,
"personnel": PersonnelValue,
"role": "ASSIGNEE",
"updated": 1592577642,
"user": User,
"userId": HashedId,
"widgetHint": "abc123",
"workOrderId": HashedId
}
}
}
createWorkOrderTimeEntry
Description
Create a completed work order time entry manually
Response
Returns a WorkOrderTimeEntry!
Arguments
| Name | Description |
|---|---|
input - WorkOrderTimeEntryCreateInput!
|
Input data for creating the completed time entry |
Example
Query
mutation createWorkOrderTimeEntry($input: WorkOrderTimeEntryCreateInput!) {
createWorkOrderTimeEntry(input: $input) {
created
createdByGroupId
createdByUserId
createdManually
endedAt
groupTicketHandlerHandler {
...WorkOrderHandlerGroupTicketHandlerFragment
}
id
kind
note
personnelHandler {
...WorkOrderHandlerPersonnelFragment
}
startedAt
teamHandler {
...WorkOrderHandlerTeamFragment
}
updated
userHandler {
...WorkOrderHandlerUserFragment
}
workOrderHandlerGroupTicketHandlerId
workOrderHandlerPersonnelId
workOrderHandlerTeamId
workOrderHandlerUserId
workOrderId
}
}
Variables
{"input": WorkOrderTimeEntryCreateInput}
Response
{
"data": {
"createWorkOrderTimeEntry": {
"created": 1592577642,
"createdByGroupId": HashedId,
"createdByUserId": HashedId,
"createdManually": false,
"endedAt": "2007-12-03T10:15:30Z",
"groupTicketHandlerHandler": WorkOrderHandlerGroupTicketHandler,
"id": HashedId,
"kind": "BREAK",
"note": "xyz789",
"personnelHandler": WorkOrderHandlerPersonnel,
"startedAt": "2007-12-03T10:15:30Z",
"teamHandler": WorkOrderHandlerTeam,
"updated": 1592577642,
"userHandler": WorkOrderHandlerUser,
"workOrderHandlerGroupTicketHandlerId": HashedId,
"workOrderHandlerPersonnelId": HashedId,
"workOrderHandlerTeamId": HashedId,
"workOrderHandlerUserId": HashedId,
"workOrderId": HashedId
}
}
}
createWorkOrderView
Description
Create a new saved work order list view for the current user
Response
Returns a WorkOrderView!
Arguments
| Name | Description |
|---|---|
view - WorkOrderViewCreateInput!
|
View configuration data |
Example
Query
mutation createWorkOrderView($view: WorkOrderViewCreateInput!) {
createWorkOrderView(view: $view) {
created
displayMode
forEntity
id
isActive
isDeletable
isEditable
isShareable
isShared
isSystemView
isUnsharedByParentGroup
options {
...WorkOrderViewOptionsFragment
}
title {
...TranslationFragment
}
titleId
updated
}
}
Variables
{"view": WorkOrderViewCreateInput}
Response
{
"data": {
"createWorkOrderView": {
"created": 1592577642,
"displayMode": "GANTT",
"forEntity": "ASSET",
"id": HashedId,
"isActive": false,
"isDeletable": true,
"isEditable": true,
"isShareable": true,
"isShared": true,
"isSystemView": true,
"isUnsharedByParentGroup": false,
"options": WorkOrderViewOptions,
"title": Translation,
"titleId": HashedId,
"updated": 1592577642
}
}
}
deactivateTerms
Description
Deactivate terms and conditions documents by their IDs
Response
Returns a Boolean!
Arguments
| Name | Description |
|---|---|
id - [HashedId!]!
|
List of unique identifiers |
Example
Query
mutation deactivateTerms($id: [HashedId!]!) {
deactivateTerms(id: $id)
}
Variables
{"id": [HashedId]}
Response
{"data": {"deactivateTerms": true}}
deactivateTicketComment
Description
Soft-delete a ticket comment by marking it inactive
deallocateReservationLineItemAssets
Description
Deallocate assets from a reservation line item
Response
Returns a ReservationLineItem!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Unique identifier of the entity |
input - ReservationLineItemDeallocateAssetsInput!
|
Input data required to deallocate assets from a reservation line item |
Example
Query
mutation deallocateReservationLineItemAssets(
$id: HashedId!,
$input: ReservationLineItemDeallocateAssetsInput!
) {
deallocateReservationLineItemAssets(
id: $id,
input: $input
) {
allocatedAssets {
...AssetFragment
}
allocatedCount
assetCategory {
...AssetCategoryFragment
}
assetCategoryId
assetType {
...AssetTypeFragment
}
assetTypeId
created
from
id
issues {
...ReservationLineItemIssueFragment
}
order
quantity
reservationId
until
updated
}
}
Variables
{
"id": HashedId,
"input": ReservationLineItemDeallocateAssetsInput
}
Response
{
"data": {
"deallocateReservationLineItemAssets": {
"allocatedAssets": [Asset],
"allocatedCount": 987,
"assetCategory": AssetCategory,
"assetCategoryId": HashedId,
"assetType": AssetType,
"assetTypeId": HashedId,
"created": 1592577642,
"from": "2007-12-03",
"id": HashedId,
"issues": [ReservationLineItemIssue],
"order": 123,
"quantity": 123,
"reservationId": HashedId,
"until": "2007-12-03",
"updated": 1592577642
}
}
}
deleteAsset
Description
Permanently delete an asset (legacy, use deleteAssetV2)
Response
Returns [Boolean!]!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Unique identifier of the entity |
Example
Query
mutation deleteAsset($id: HashedId!) {
deleteAsset(id: $id)
}
Variables
{"id": HashedId}
Response
{"data": {"deleteAsset": [true]}}
deleteAssetCategory
Description
Delete an asset category and unlink its assets
Response
Returns [Boolean!]
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
ID of the asset category to delete |
Example
Query
mutation deleteAssetCategory($id: HashedId!) {
deleteAssetCategory(id: $id)
}
Variables
{"id": HashedId}
Response
{"data": {"deleteAssetCategory": [true]}}
deleteAssetDataByAssetId
Description
Delete all telemetry data for a given asset
Response
Returns a Boolean!
Arguments
| Name | Description |
|---|---|
assetId - HashedId!
|
ID of the asset whose data to delete |
Example
Query
mutation deleteAssetDataByAssetId($assetId: HashedId!) {
deleteAssetDataByAssetId(assetId: $assetId)
}
Variables
{"assetId": HashedId}
Response
{"data": {"deleteAssetDataByAssetId": true}}
deleteAssetIntegrationById
Description
Delete an asset integration by ID
deleteAssetPackage
Description
Delete an asset package by ID, releasing all packageAsset assets
Response
Returns an AssetPackage!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Unique identifier of the entity |
Example
Query
mutation deleteAssetPackage($id: HashedId!) {
deleteAssetPackage(id: $id) {
assetCount
assets {
...AssetPackageAssetFragment
}
created
group {
...GroupFragment
}
groupId
id
isDeleted
name {
...TranslationFragment
}
primaryAsset {
...AssetFragment
}
primaryAssetId
publicId
site {
...SiteFragment
}
siteId
siteInheritance
siteMismatchCount
updated
}
}
Variables
{"id": HashedId}
Response
{
"data": {
"deleteAssetPackage": {
"assetCount": 987,
"assets": [AssetPackageAsset],
"created": 1592577642,
"group": Group,
"groupId": HashedId,
"id": HashedId,
"isDeleted": false,
"name": Translation,
"primaryAsset": Asset,
"primaryAssetId": HashedId,
"publicId": 987,
"site": Site,
"siteId": HashedId,
"siteInheritance": "CUSTOM",
"siteMismatchCount": 123,
"updated": 1592577642
}
}
}
deleteAssetSiteAssignment
Description
Delete an asset site assignment by ID
Response
Returns an AssetSiteAssignment!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Unique identifier of the entity |
Example
Query
mutation deleteAssetSiteAssignment($id: HashedId!) {
deleteAssetSiteAssignment(id: $id) {
asset {
...AssetFragment
}
assetId
averageDailyRate
costCenter
costCenterResolved
costCenterSelected
costCenterSource
costCenterSourceResolved
costs {
...AssetSiteAssignmentCostDtoFragment
}
created
dailyRateInPeriod
externalId
id
notes
onSiteFrom
onSiteUntil
publicId
site {
...SiteFragment
}
siteId
status
totalCosts
totalCostsInPeriod
totalDaysBilled
totalDaysBilledInPeriod
totalDaysPlanned
totalDaysPlannedInPeriod
totalDaysUntilNow
totalDaysUntilNowInPeriod
updated
}
}
Variables
{"id": HashedId}
Response
{
"data": {
"deleteAssetSiteAssignment": {
"asset": Asset,
"assetId": HashedId,
"averageDailyRate": 123.45,
"costCenter": "xyz789",
"costCenterResolved": "abc123",
"costCenterSelected": "abc123",
"costCenterSource": "ASSET",
"costCenterSourceResolved": "ASSET",
"costs": [AssetSiteAssignmentCostDto],
"created": 1592577642,
"dailyRateInPeriod": 987.65,
"externalId": "xyz789",
"id": HashedId,
"notes": "abc123",
"onSiteFrom": "2007-12-03T10:15:30Z",
"onSiteUntil": "2007-12-03T10:15:30Z",
"publicId": 987,
"site": Site,
"siteId": HashedId,
"status": "ACTIVE",
"totalCosts": 987.65,
"totalCostsInPeriod": 987.65,
"totalDaysBilled": 123,
"totalDaysBilledInPeriod": 123,
"totalDaysPlanned": 987,
"totalDaysPlannedInPeriod": 987,
"totalDaysUntilNow": 987,
"totalDaysUntilNowInPeriod": 123,
"updated": 1592577642
}
}
}
deleteAssetType
Description
Delete an asset type if no assets are assigned
deleteAssetV2
Description
Permanently delete an asset and its related data
Response
Returns [Boolean!]!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Unique identifier of the entity |
Example
Query
mutation deleteAssetV2($id: HashedId!) {
deleteAssetV2(id: $id)
}
Variables
{"id": HashedId}
Response
{"data": {"deleteAssetV2": [true]}}
deleteBrandById
Description
Remove a brand by its ID
deleteCost
Description
Remove a cost entry by its ID
Example
Query
mutation deleteCost($id: HashedId!) {
deleteCost(id: $id) {
asset {
...AssetFragment
}
assetId
canEdit
costCenter
costLines {
...CostLineFragment
}
created
createdByUser {
...UserFragment
}
createdByUserId
deleted
description
documents {
...DocumentFragment
}
history {
...CostHistoryFragment
}
id
invoiceDate
invoiceDay
invoiceNumber
label {
...CostLabelFragment
}
labelId
operatingCosts
provider
site {
...SiteFragment
}
siteId
ticketId
title
updated
workOrderId
}
}
Variables
{"id": HashedId}
Response
{
"data": {
"deleteCost": {
"asset": Asset,
"assetId": HashedId,
"canEdit": true,
"costCenter": "xyz789",
"costLines": [CostLine],
"created": 1592577642,
"createdByUser": User,
"createdByUserId": HashedId,
"deleted": 1592577642,
"description": "abc123",
"documents": [Document],
"history": [CostHistory],
"id": HashedId,
"invoiceDate": "2007-12-03T10:15:30Z",
"invoiceDay": "2007-12-03",
"invoiceNumber": "xyz789",
"label": CostLabel,
"labelId": HashedId,
"operatingCosts": 123.45,
"provider": "xyz789",
"site": Site,
"siteId": HashedId,
"ticketId": HashedId,
"title": "abc123",
"updated": 1592577642,
"workOrderId": HashedId
}
}
}
deleteDashboardBoard
Description
Delete a dashboard and every widget on it
deleteDashboardById
Description
Delete dashboard by id
deleteDashboardReportSchedule
Response
Returns a Boolean!
Example
Query
mutation deleteDashboardReportSchedule(
$expectedUpdatedAt: DateTime,
$id: HashedId!
) {
deleteDashboardReportSchedule(
expectedUpdatedAt: $expectedUpdatedAt,
id: $id
)
}
Variables
{
"expectedUpdatedAt": "2007-12-03T10:15:30Z",
"id": HashedId
}
Response
{"data": {"deleteDashboardReportSchedule": true}}
deleteDocument
Description
Delete document
Response
Returns [Boolean!]!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Unique identifier of the entity |
Example
Query
mutation deleteDocument($id: HashedId!) {
deleteDocument(id: $id)
}
Variables
{"id": HashedId}
Response
{"data": {"deleteDocument": [false]}}
deleteEvent
Description
Remove an event by its ID
Response
Returns an Event!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Unique identifier of the entity |
Example
Query
mutation deleteEvent($id: HashedId!) {
deleteEvent(id: $id) {
authorEmail
connectedComment {
...TicketCommentFragment
}
costs {
...CostLineFragment
}
created
createdByIntegrationName
createdByPart {
...PartFragment
}
createdByPartId
createdByRule {
...RuleFragment
}
createdByRuleId
createdBySite {
...SiteFragment
}
createdBySiteId
createdByTicket {
...TicketFragment
}
createdByTicketId
createdByUser {
...UserFragment
}
createdByUserId
createdByWorkOrder {
...WorkOrderSummaryFragment
}
createdByWorkOrderId
data {
...EventEntityDataDtoFragment
}
description {
...TranslationFragment
}
descriptionId
documents {
...DocumentFragment
}
endTime
eventMeta
eventStyle {
...EventStyleFragment
}
eventStyleId
id
isCritical
isImmediateNotification
isOngoing
lastEvent
manualDeactivation
originatingFromAsset {
...AssetFragment
}
originatingFromAssetId
originatingFromModule {
...ModuleFragment
}
originatingFromModuleId
publicId
responseState {
...TicketStateFragment
}
serviceName {
...TranslationFragment
}
shouldNotify
site {
...SiteFragment
}
siteId
startTime
stoppedByUser {
...UserFragment
}
stoppedByUserId
tag
ticketId
ticketStatus
title {
...TranslationFragment
}
titleId
type
updated
workOrderNotifications {
...WorkOrderNotificationsFragment
}
}
}
Variables
{"id": HashedId}
Response
{
"data": {
"deleteEvent": {
"authorEmail": "xyz789",
"connectedComment": TicketComment,
"costs": [CostLine],
"created": 1592577642,
"createdByIntegrationName": "xyz789",
"createdByPart": Part,
"createdByPartId": HashedId,
"createdByRule": Rule,
"createdByRuleId": HashedId,
"createdBySite": Site,
"createdBySiteId": HashedId,
"createdByTicket": Ticket,
"createdByTicketId": HashedId,
"createdByUser": User,
"createdByUserId": HashedId,
"createdByWorkOrder": WorkOrderSummary,
"createdByWorkOrderId": HashedId,
"data": EventEntityDataDto,
"description": Translation,
"descriptionId": HashedId,
"documents": [Document],
"endTime": 1592577642,
"eventMeta": {},
"eventStyle": EventStyle,
"eventStyleId": "abc123",
"id": HashedId,
"isCritical": true,
"isImmediateNotification": false,
"isOngoing": false,
"lastEvent": 1592577642,
"manualDeactivation": false,
"originatingFromAsset": Asset,
"originatingFromAssetId": HashedId,
"originatingFromModule": Module,
"originatingFromModuleId": HashedId,
"publicId": 987,
"responseState": TicketState,
"serviceName": Translation,
"shouldNotify": false,
"site": Site,
"siteId": HashedId,
"startTime": 1592577642,
"stoppedByUser": User,
"stoppedByUserId": HashedId,
"tag": ["RESPONSIBLE_UPDATE"],
"ticketId": 123,
"ticketStatus": "approvalNeeded",
"title": Translation,
"titleId": HashedId,
"type": "COST",
"updated": 1592577642,
"workOrderNotifications": WorkOrderNotifications
}
}
}
deleteGroup
Description
Delete a group using the legacy endpoint that returns a boolean array
Response
Returns [Boolean!]!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Unique identifier of the entity |
Example
Query
mutation deleteGroup($id: HashedId!) {
deleteGroup(id: $id)
}
Variables
{"id": HashedId}
Response
{"data": {"deleteGroup": [true]}}
deleteGroupById
Description
Permanently delete a group and cascade-remove its settings and child associations
deleteGroupTicketHandlerExternalEmailById
Description
Remove an external email from group ticket handler assignment
Response
Returns a Boolean!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Unique identifier of the entity |
Example
Query
mutation deleteGroupTicketHandlerExternalEmailById($id: HashedId!) {
deleteGroupTicketHandlerExternalEmailById(id: $id)
}
Variables
{"id": HashedId}
Response
{"data": {"deleteGroupTicketHandlerExternalEmailById": true}}
deleteGroupTicketHandlerGroupById
Description
Remove a group-level ticket handler configuration
Response
Returns a Boolean!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Unique identifier of the entity |
Example
Query
mutation deleteGroupTicketHandlerGroupById($id: HashedId!) {
deleteGroupTicketHandlerGroupById(id: $id)
}
Variables
{"id": HashedId}
Response
{"data": {"deleteGroupTicketHandlerGroupById": false}}
deleteGroupTicketHandlerSiteManagerByGroupHandlerId
Description
Remove the site manager from group ticket handler assignment
Response
Returns a Boolean!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Unique identifier of the entity |
Example
Query
mutation deleteGroupTicketHandlerSiteManagerByGroupHandlerId($id: HashedId!) {
deleteGroupTicketHandlerSiteManagerByGroupHandlerId(id: $id)
}
Variables
{"id": HashedId}
Response
{"data": {"deleteGroupTicketHandlerSiteManagerByGroupHandlerId": true}}
deleteGroupTicketHandlerTeamById
Description
Remove a team from group ticket handler assignment
Response
Returns a Boolean!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Unique identifier of the entity |
Example
Query
mutation deleteGroupTicketHandlerTeamById($id: HashedId!) {
deleteGroupTicketHandlerTeamById(id: $id)
}
Variables
{"id": HashedId}
Response
{"data": {"deleteGroupTicketHandlerTeamById": true}}
deleteGroupTicketHandlerUserById
Description
Remove a user from group ticket handler assignment
Response
Returns a Boolean!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Unique identifier of the entity |
Example
Query
mutation deleteGroupTicketHandlerUserById($id: HashedId!) {
deleteGroupTicketHandlerUserById(id: $id)
}
Variables
{"id": HashedId}
Response
{"data": {"deleteGroupTicketHandlerUserById": false}}
deleteIntegration
Description
Remove an integration and its configuration
deleteManufacturerById
Description
Remove a manufacturer by its ID
deleteModuleById
Description
Remove an IoT module by its ID
deletePart
Description
Remove a spare part by its ID
deletePersonnel
Description
Delete a personnel record
deleteProcedureTemplateById
Description
Soft-deletes a procedure template if the caller has delete access
deleteReservation
Description
Delete a reservation by ID
deleteRuleEntryById
Description
Delete rule entry by id
deleteServicePackageById
Description
Remove a service package by its ID
deleteSite
Description
Permanently delete a site and disassociate its related records
deleteTagById
Description
Delete a tag
deleteTeamById
Description
Remove a team by its ID
deleteTicketById
Description
Permanently delete a ticket by its ID
deleteTicketHandlerExternalEmailById
Description
Remove an external email from ticket handler assignment
Response
Returns a Boolean!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Unique identifier of the entity |
Example
Query
mutation deleteTicketHandlerExternalEmailById($id: HashedId!) {
deleteTicketHandlerExternalEmailById(id: $id)
}
Variables
{"id": HashedId}
Response
{"data": {"deleteTicketHandlerExternalEmailById": true}}
deleteTicketHandlerGroupById
Description
Remove a group from ticket handler assignment
deleteTicketHandlerGroupTicketHandlerById
Description
Remove a group ticket handler from the ticket
Response
Returns a Boolean!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Unique identifier of the entity |
Example
Query
mutation deleteTicketHandlerGroupTicketHandlerById($id: HashedId!) {
deleteTicketHandlerGroupTicketHandlerById(id: $id)
}
Variables
{"id": HashedId}
Response
{"data": {"deleteTicketHandlerGroupTicketHandlerById": false}}
deleteTicketHandlerSiteManagerByTicketId
Description
Remove the site manager from ticket handler assignment
Response
Returns a Boolean!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Unique identifier of the entity |
Example
Query
mutation deleteTicketHandlerSiteManagerByTicketId($id: HashedId!) {
deleteTicketHandlerSiteManagerByTicketId(id: $id)
}
Variables
{"id": HashedId}
Response
{"data": {"deleteTicketHandlerSiteManagerByTicketId": true}}
deleteTicketHandlerTeamById
Description
Remove a team from ticket handler assignment
deleteTicketHandlerUserById
Description
Remove a user from ticket handler assignment
deleteUser
Description
Remove user accounts by their IDs
Response
Returns [Boolean!]!
Arguments
| Name | Description |
|---|---|
id - [HashedId!]!
|
List of unique identifiers |
Example
Query
mutation deleteUser($id: [HashedId!]!) {
deleteUser(id: $id)
}
Variables
{"id": [HashedId]}
Response
{"data": {"deleteUser": [true]}}
deleteView
Description
Permanently delete a saved view
deleteWebhook
Description
Remove a webhook endpoint by its ID
deleteWorkOrder
Description
Permanently delete a work order
deleteWorkOrderById
Description
Permanently delete a work order by ID
deleteWorkOrderComment
Description
Delete a work order comment
deleteWorkOrderHandlerExternalEmailById
Description
Remove an external email from a work order assignment by its identifier
Response
Returns a Boolean!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Unique identifier of the entity |
Example
Query
mutation deleteWorkOrderHandlerExternalEmailById($id: HashedId!) {
deleteWorkOrderHandlerExternalEmailById(id: $id)
}
Variables
{"id": HashedId}
Response
{"data": {"deleteWorkOrderHandlerExternalEmailById": true}}
deleteWorkOrderHandlerGroupById
Description
Remove a group from a work order assignment by its identifier
Response
Returns a Boolean!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Unique identifier of the entity |
Example
Query
mutation deleteWorkOrderHandlerGroupById($id: HashedId!) {
deleteWorkOrderHandlerGroupById(id: $id)
}
Variables
{"id": HashedId}
Response
{"data": {"deleteWorkOrderHandlerGroupById": true}}
deleteWorkOrderHandlerGroupTicketHandlerById
Description
Remove a group ticket handler from a work order assignment by its identifier
Response
Returns a Boolean!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Unique identifier of the entity |
Example
Query
mutation deleteWorkOrderHandlerGroupTicketHandlerById($id: HashedId!) {
deleteWorkOrderHandlerGroupTicketHandlerById(id: $id)
}
Variables
{"id": HashedId}
Response
{"data": {"deleteWorkOrderHandlerGroupTicketHandlerById": true}}
deleteWorkOrderHandlerPersonnelById
Description
Remove a personnel from a work order handler assignment by its identifier
Response
Returns a Boolean!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Unique identifier of the entity |
Example
Query
mutation deleteWorkOrderHandlerPersonnelById($id: HashedId!) {
deleteWorkOrderHandlerPersonnelById(id: $id)
}
Variables
{"id": HashedId}
Response
{"data": {"deleteWorkOrderHandlerPersonnelById": true}}
deleteWorkOrderHandlerSiteManagerByWorkOrderId
Description
Remove the site manager handler from a work order by the work order identifier
Response
Returns a Boolean!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Unique identifier of the entity |
Example
Query
mutation deleteWorkOrderHandlerSiteManagerByWorkOrderId($id: HashedId!) {
deleteWorkOrderHandlerSiteManagerByWorkOrderId(id: $id)
}
Variables
{"id": HashedId}
Response
{"data": {"deleteWorkOrderHandlerSiteManagerByWorkOrderId": false}}
deleteWorkOrderHandlerTeamById
Description
Remove a team from a work order assignment by its identifier
Response
Returns a Boolean!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Unique identifier of the entity |
Example
Query
mutation deleteWorkOrderHandlerTeamById($id: HashedId!) {
deleteWorkOrderHandlerTeamById(id: $id)
}
Variables
{"id": HashedId}
Response
{"data": {"deleteWorkOrderHandlerTeamById": false}}
deleteWorkOrderHandlerUserById
Description
Remove a user from a work order handler assignment by its identifier
Response
Returns a Boolean!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Unique identifier of the entity |
Example
Query
mutation deleteWorkOrderHandlerUserById($id: HashedId!) {
deleteWorkOrderHandlerUserById(id: $id)
}
Variables
{"id": HashedId}
Response
{"data": {"deleteWorkOrderHandlerUserById": true}}
deleteWorkOrderTimeEntry
Description
Delete a work order time entry
detachGroupToRoot
Description
Detach a group from its current tree and promote it to a root, cloning all required data
Response
Returns a Group!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Unique identifier of the group to detach |
input - GroupDetachToRootInput!
|
Fields required to detach a group to a new root tree |
Example
Query
mutation detachGroupToRoot(
$id: HashedId!,
$input: GroupDetachToRootInput!
) {
detachGroupToRoot(
id: $id,
input: $input
) {
activeCustomFields {
...CustomFieldFragment
}
archivedCustomFields {
...CustomFieldFragment
}
assetIds
assetLocationsHidden
assets {
...AssetFragment
}
belongsToCurrentGroup
brand {
...BrandFragment
}
canGrantJotformConversion
childGroupIds
childGroups {
...GroupFragment
}
costSettings {
...GroupCostSettingsFragment
}
costSettingsId
created
customerName
customerRootGroup {
...GroupFragment
}
deleted
deletedAssetCategoriesCount
deletedAssetTypesCount
deletedAssetsCount
deletedBy
deletedGroupsCount
deletedSitesCount
effectiveTimezone
flow {
...ServicePackageFragment
}
flowId
flowMaintainers {
...NotificationRelationFragment
}
groupType {
...ServicePackageFragment
}
groupTypeId
handlerAlias
hasTicketHandling
id
identificationNumber
image
internalSettings
isCustomer
isRoot
maintainedManufacturer {
...ManufacturerFragment
}
maintainedManufacturerId
name
nonCustomerParentGroup {
...GroupFragment
}
ownSettings
parentGroup {
...GroupFragment
}
parentGroupId
parentName
resolvedCurrency
restoreBlockers
roleIds
rootBrand {
...BrandFragment
}
rootGroupId
rootGroupName
servicePackage {
...ServicePackageFragment
}
servicePackageId
servicePackageV2 {
... on RestrictedServicePackage {
...RestrictedServicePackageFragment
}
... on ServicePackage {
...ServicePackageFragment
}
}
services {
...ServiceFragment
}
servicesV2 {
...ServiceFragment
}
settings
ticketAfterApprovalAssigneeTeam {
...TeamFragment
}
ticketAfterApprovalAssigneeUser {
...UserFragment
}
ticketDefaultAssignee {
...UserFragment
}
ticketHandler {
...GroupTicketHandlerFragment
}
treeRootId
updated
userIds
userRequestNotifiers {
...NotificationRelationFragment
}
users {
...UserFragment
}
vatNumber
workingHours {
...GroupWorkingHoursFragment
}
}
}
Variables
{
"id": HashedId,
"input": GroupDetachToRootInput
}
Response
{
"data": {
"detachGroupToRoot": {
"activeCustomFields": [CustomField],
"archivedCustomFields": [CustomField],
"assetIds": [HashedId],
"assetLocationsHidden": false,
"assets": [Asset],
"belongsToCurrentGroup": true,
"brand": Brand,
"canGrantJotformConversion": true,
"childGroupIds": [HashedId],
"childGroups": [Group],
"costSettings": GroupCostSettings,
"costSettingsId": HashedId,
"created": 1592577642,
"customerName": "abc123",
"customerRootGroup": Group,
"deleted": 1592577642,
"deletedAssetCategoriesCount": 123,
"deletedAssetTypesCount": 123,
"deletedAssetsCount": 123,
"deletedBy": "abc123",
"deletedGroupsCount": 987,
"deletedSitesCount": 123,
"effectiveTimezone": "xyz789",
"flow": ServicePackage,
"flowId": HashedId,
"flowMaintainers": [NotificationRelation],
"groupType": ServicePackage,
"groupTypeId": HashedId,
"handlerAlias": "xyz789",
"hasTicketHandling": true,
"id": HashedId,
"identificationNumber": "xyz789",
"image": "xyz789",
"internalSettings": {},
"isCustomer": false,
"isRoot": false,
"maintainedManufacturer": [Manufacturer],
"maintainedManufacturerId": [HashedId],
"name": "abc123",
"nonCustomerParentGroup": Group,
"ownSettings": {},
"parentGroup": Group,
"parentGroupId": HashedId,
"parentName": "abc123",
"resolvedCurrency": "AED",
"restoreBlockers": ["PARENT_ASSET_CATEGORY_DELETED"],
"roleIds": [HashedId],
"rootBrand": Brand,
"rootGroupId": HashedId,
"rootGroupName": "xyz789",
"servicePackage": ServicePackage,
"servicePackageId": HashedId,
"servicePackageV2": RestrictedServicePackage,
"services": [Service],
"servicesV2": [Service],
"settings": {},
"ticketAfterApprovalAssigneeTeam": Team,
"ticketAfterApprovalAssigneeUser": User,
"ticketDefaultAssignee": User,
"ticketHandler": GroupTicketHandler,
"treeRootId": HashedId,
"updated": 1592577642,
"userIds": [HashedId],
"userRequestNotifiers": [NotificationRelation],
"users": [User],
"vatNumber": "abc123",
"workingHours": GroupWorkingHours
}
}
}
duplicateDashboardBoard
Description
Copy a dashboard with its widgets and filters into the current group
Response
Returns a DashboardBoard!
Arguments
| Name | Description |
|---|---|
input - DashboardBoardDuplicateInput!
|
Dashboard duplication fields |
Example
Query
mutation duplicateDashboardBoard($input: DashboardBoardDuplicateInput!) {
duplicateDashboardBoard(input: $input) {
boardFilters {
...DashboardBoardFilterFragment
}
canEdit
created
createdByGroup {
...GroupFragment
}
createdByGroupId
createdByUser {
...UserFragment
}
createdByUserId
displayId
grafanaDashboardUID
hiddenColumnCount
hiddenFeatures
hiddenWidgetCount
icon
id
isHiddenByCostAccess
missingAccess
revision
title {
...TranslationFragment
}
titleId
updated
widgets {
...DashboardWidgetFragment
}
}
}
Variables
{"input": DashboardBoardDuplicateInput}
Response
{
"data": {
"duplicateDashboardBoard": {
"boardFilters": [DashboardBoardFilter],
"canEdit": false,
"created": "2007-12-03T10:15:30Z",
"createdByGroup": Group,
"createdByGroupId": HashedId,
"createdByUser": User,
"createdByUserId": HashedId,
"displayId": 123,
"grafanaDashboardUID": "xyz789",
"hiddenColumnCount": 987,
"hiddenFeatures": ["ASSET_LOCATIONS"],
"hiddenWidgetCount": 987,
"icon": "ALARM",
"id": HashedId,
"isHiddenByCostAccess": false,
"missingAccess": ["COSTS"],
"revision": 123,
"title": Translation,
"titleId": HashedId,
"updated": "2007-12-03T10:15:30Z",
"widgets": [DashboardWidget]
}
}
}
elasticsearchReindex
Description
Trigger a reindex for the given index type and tree-root group (ToolSense staff only)
Response
Returns an EsReindexResult!
Arguments
| Name | Description |
|---|---|
input - EsReindexInput!
|
Elasticsearch reindex request fields |
Example
Query
mutation elasticsearchReindex($input: EsReindexInput!) {
elasticsearchReindex(input: $input) {
runId
started
targetIndexName
}
}
Variables
{"input": EsReindexInput}
Response
{
"data": {
"elasticsearchReindex": {
"runId": "xyz789",
"started": true,
"targetIndexName": "xyz789"
}
}
}
endActiveAssetSiteAssignment
Description
End the currently active asset site assignment
Response
Returns an AssetSiteAssignment!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Unique identifier of the entity |
Example
Query
mutation endActiveAssetSiteAssignment($id: HashedId!) {
endActiveAssetSiteAssignment(id: $id) {
asset {
...AssetFragment
}
assetId
averageDailyRate
costCenter
costCenterResolved
costCenterSelected
costCenterSource
costCenterSourceResolved
costs {
...AssetSiteAssignmentCostDtoFragment
}
created
dailyRateInPeriod
externalId
id
notes
onSiteFrom
onSiteUntil
publicId
site {
...SiteFragment
}
siteId
status
totalCosts
totalCostsInPeriod
totalDaysBilled
totalDaysBilledInPeriod
totalDaysPlanned
totalDaysPlannedInPeriod
totalDaysUntilNow
totalDaysUntilNowInPeriod
updated
}
}
Variables
{"id": HashedId}
Response
{
"data": {
"endActiveAssetSiteAssignment": {
"asset": Asset,
"assetId": HashedId,
"averageDailyRate": 987.65,
"costCenter": "xyz789",
"costCenterResolved": "xyz789",
"costCenterSelected": "xyz789",
"costCenterSource": "ASSET",
"costCenterSourceResolved": "ASSET",
"costs": [AssetSiteAssignmentCostDto],
"created": 1592577642,
"dailyRateInPeriod": 987.65,
"externalId": "abc123",
"id": HashedId,
"notes": "xyz789",
"onSiteFrom": "2007-12-03T10:15:30Z",
"onSiteUntil": "2007-12-03T10:15:30Z",
"publicId": 987,
"site": Site,
"siteId": HashedId,
"status": "ACTIVE",
"totalCosts": 123.45,
"totalCostsInPeriod": 987.65,
"totalDaysBilled": 987,
"totalDaysBilledInPeriod": 987,
"totalDaysPlanned": 987,
"totalDaysPlannedInPeriod": 987,
"totalDaysUntilNow": 987,
"totalDaysUntilNowInPeriod": 987,
"updated": 1592577642
}
}
}
ensureRobotFleetDemoData
Description
Ensure the robot fleet dashboard sample data exists and is current for the current account
Response
Returns a Boolean!
Example
Query
mutation ensureRobotFleetDemoData {
ensureRobotFleetDemoData
}
Response
{"data": {"ensureRobotFleetDemoData": false}}
generateDashboardBoard
Description
Turn a question into a dashboards board and the widgets that answer it
Response
Returns a DashboardGeneratedBoard!
Arguments
| Name | Description |
|---|---|
input - DashboardBoardGenerateInput!
|
Example
Query
mutation generateDashboardBoard($input: DashboardBoardGenerateInput!) {
generateDashboardBoard(input: $input) {
rejections {
...DashboardGeneratedWidgetRejectionFragment
}
timeRangePreset
title
widgets {
...DashboardGeneratedWidgetFragment
}
}
}
Variables
{"input": DashboardBoardGenerateInput}
Response
{
"data": {
"generateDashboardBoard": {
"rejections": [DashboardGeneratedWidgetRejection],
"timeRangePreset": "LAST_3_MONTHS",
"title": "xyz789",
"widgets": [DashboardGeneratedWidget]
}
}
}
generateDashboardWidget
Description
Turn a question into one dashboards widget configuration
Response
Returns a DashboardGeneratedWidget!
Arguments
| Name | Description |
|---|---|
input - DashboardWidgetGenerateInput!
|
Example
Query
mutation generateDashboardWidget($input: DashboardWidgetGenerateInput!) {
generateDashboardWidget(input: $input) {
chartType
ignoredFilterConcepts
spec
title
}
}
Variables
{"input": DashboardWidgetGenerateInput}
Response
{
"data": {
"generateDashboardWidget": {
"chartType": "BAR",
"ignoredFilterConcepts": ["ASSET"],
"spec": "abc123",
"title": "abc123"
}
}
}
generateRobotFleetReport
Description
Generate a sustainability and performance report for the fleet
Response
Returns a ReportResult!
Arguments
| Name | Description |
|---|---|
format - ReportFormatEnum!
|
Output format for the report |
from - DateTime!
|
Start of time range |
to - DateTime!
|
End of time range |
type - ReportTypeEnum!
|
Type of report to generate |
Example
Query
mutation generateRobotFleetReport(
$format: ReportFormatEnum!,
$from: DateTime!,
$to: DateTime!,
$type: ReportTypeEnum!
) {
generateRobotFleetReport(
format: $format,
from: $from,
to: $to,
type: $type
) {
downloadUrl
errorMessage
expiresAt
jobId
status
}
}
Variables
{
"format": "PDF",
"from": "2007-12-03T10:15:30Z",
"to": "2007-12-03T10:15:30Z",
"type": "FLEET_PERFORMANCE"
}
Response
{
"data": {
"generateRobotFleetReport": {
"downloadUrl": "abc123",
"errorMessage": "abc123",
"expiresAt": "xyz789",
"jobId": HashedId,
"status": "FAILED"
}
}
}
importAssets
Description
Imports a previously-validated batch of asset rows; respects the mode argument for create-only or update-only behavior.
Response
Returns an ImporterEntryResult!
Arguments
| Name | Description |
|---|---|
excludedInput - [ImporterValidateAssetInput!]
|
Rows the review rejected. They are validated with input and count when deciding a new asset type's default classification, but nothing is written or created from them. |
input - [ImporterValidateAssetInput!]!
|
List of validated asset rows to import |
mode - ImporterMode!
|
Importer mode: CREATE inserts new assets and rejects rows referencing existing ones; UPDATE only modifies existing assets and rejects rows that do not match. |
Example
Query
mutation importAssets(
$excludedInput: [ImporterValidateAssetInput!],
$input: [ImporterValidateAssetInput!]!,
$mode: ImporterMode!
) {
importAssets(
excludedInput: $excludedInput,
input: $input,
mode: $mode
) {
createdCount
error
id
message
status
unchangedCount
updatedCount
validationErrorCount
validationErrors {
...ImporterEntryValidationErrorFragment
}
}
}
Variables
{
"excludedInput": [ImporterValidateAssetInput],
"input": [ImporterValidateAssetInput],
"mode": "CREATE"
}
Response
{
"data": {
"importAssets": {
"createdCount": 987,
"error": "xyz789",
"id": "abc123",
"message": "xyz789",
"status": true,
"unchangedCount": 123,
"updatedCount": 123,
"validationErrorCount": 123,
"validationErrors": [ImporterEntryValidationError]
}
}
}
importBleEddystoneTags
Response
Returns a BleEddystoneTagImportSummary!
Arguments
| Name | Description |
|---|---|
file - Upload!
|
CSV file containing Eddystone tag reference data exported from ERPNext |
Example
Query
mutation importBleEddystoneTags($file: Upload!) {
importBleEddystoneTags(file: $file) {
imported
skipped
updated
}
}
Variables
{"file": Upload}
Response
{
"data": {
"importBleEddystoneTags": {"imported": 987, "skipped": 123, "updated": 987}
}
}
importParts
Description
Imports a batch of part rows, re-validating server-side first and rejecting the whole batch when any row has validation errors.
Response
Returns an ImporterEntryResult!
Arguments
| Name | Description |
|---|---|
input - [PartImporterValidateInput!]!
|
List of validated part rows to import |
mode - ImporterMode!
|
Importer mode: CREATE inserts new parts; UPDATE only modifies existing parts and rejects rows that do not match. |
Example
Query
mutation importParts(
$input: [PartImporterValidateInput!]!,
$mode: ImporterMode!
) {
importParts(
input: $input,
mode: $mode
) {
createdCount
error
id
message
status
unchangedCount
updatedCount
validationErrorCount
validationErrors {
...ImporterEntryValidationErrorFragment
}
}
}
Variables
{"input": [PartImporterValidateInput], "mode": "CREATE"}
Response
{
"data": {
"importParts": {
"createdCount": 123,
"error": "xyz789",
"id": "xyz789",
"message": "xyz789",
"status": false,
"unchangedCount": 123,
"updatedCount": 987,
"validationErrorCount": 987,
"validationErrors": [ImporterEntryValidationError]
}
}
}
importPersonnel
Description
Imports a batch of personnel rows, re-validating server-side first and rejecting the whole batch when any row has validation errors.
Response
Returns an ImporterEntryResult!
Arguments
| Name | Description |
|---|---|
input - [ImporterValidatePersonnelInput!]!
|
List of personnel rows to import |
mode - ImporterMode!
|
Importer mode for the write: CREATE creates new personnel, UPDATE resolves each row against an existing record before writing. |
Example
Query
mutation importPersonnel(
$input: [ImporterValidatePersonnelInput!]!,
$mode: ImporterMode!
) {
importPersonnel(
input: $input,
mode: $mode
) {
createdCount
error
id
message
status
unchangedCount
updatedCount
validationErrorCount
validationErrors {
...ImporterEntryValidationErrorFragment
}
}
}
Variables
{
"input": [ImporterValidatePersonnelInput],
"mode": "CREATE"
}
Response
{
"data": {
"importPersonnel": {
"createdCount": 987,
"error": "abc123",
"id": "xyz789",
"message": "xyz789",
"status": false,
"unchangedCount": 987,
"updatedCount": 123,
"validationErrorCount": 123,
"validationErrors": [ImporterEntryValidationError]
}
}
}
importRuleEntryAssetDateOverrides
Description
Imports a previously-validated batch of rule entry asset date override rows.
Response
Returns an ImporterEntryResult!
Arguments
| Name | Description |
|---|---|
input - [ImporterValidateRuleEntryAssetDateOverrideInput!]!
|
List of validated rule entry asset date override rows to import |
ruleId - HashedId!
|
Identifier of the rule entry the date overrides belong to |
Example
Query
mutation importRuleEntryAssetDateOverrides(
$input: [ImporterValidateRuleEntryAssetDateOverrideInput!]!,
$ruleId: HashedId!
) {
importRuleEntryAssetDateOverrides(
input: $input,
ruleId: $ruleId
) {
createdCount
error
id
message
status
unchangedCount
updatedCount
validationErrorCount
validationErrors {
...ImporterEntryValidationErrorFragment
}
}
}
Variables
{
"input": [
ImporterValidateRuleEntryAssetDateOverrideInput
],
"ruleId": HashedId
}
Response
{
"data": {
"importRuleEntryAssetDateOverrides": {
"createdCount": 123,
"error": "xyz789",
"id": "xyz789",
"message": "xyz789",
"status": true,
"unchangedCount": 987,
"updatedCount": 123,
"validationErrorCount": 123,
"validationErrors": [ImporterEntryValidationError]
}
}
}
importSites
Description
Imports a previously-validated batch of site rows; respects the mode argument for create-only or update-only behavior.
Response
Returns an ImporterEntryResult!
Arguments
| Name | Description |
|---|---|
input - [ImporterValidateSiteInput!]!
|
List of validated site rows to import |
mode - ImporterMode!
|
Importer mode: CREATE inserts new sites and rejects rows referencing existing ones; UPDATE only modifies existing sites and rejects rows that do not match. |
Example
Query
mutation importSites(
$input: [ImporterValidateSiteInput!]!,
$mode: ImporterMode!
) {
importSites(
input: $input,
mode: $mode
) {
createdCount
error
id
message
status
unchangedCount
updatedCount
validationErrorCount
validationErrors {
...ImporterEntryValidationErrorFragment
}
}
}
Variables
{"input": [ImporterValidateSiteInput], "mode": "CREATE"}
Response
{
"data": {
"importSites": {
"createdCount": 123,
"error": "xyz789",
"id": "xyz789",
"message": "xyz789",
"status": false,
"unchangedCount": 987,
"updatedCount": 987,
"validationErrorCount": 123,
"validationErrors": [ImporterEntryValidationError]
}
}
}
incrementPageviewCount
Description
Increment pageview count
Response
Returns a Boolean!
Example
Query
mutation incrementPageviewCount {
incrementPageviewCount
}
Response
{"data": {"incrementPageviewCount": true}}
mergeAssetTypes
Response
Returns an AssetTypeMergeResult!
Arguments
| Name | Description |
|---|---|
input - AssetTypesMergeInput!
|
Asset type merge parameters |
Example
Query
mutation mergeAssetTypes($input: AssetTypesMergeInput!) {
mergeAssetTypes(input: $input) {
failed {
...AssetTypeMergeFailureFragment
}
succeededMergedIds
}
}
Variables
{"input": AssetTypesMergeInput}
Response
{
"data": {
"mergeAssetTypes": {
"failed": [AssetTypeMergeFailure],
"succeededMergedIds": [HashedId]
}
}
}
notificationConfig
Description
Update notification config
Response
Returns a NotificationConfigDto!
Arguments
| Name | Description |
|---|---|
config - NotificationConfigInput!
|
Key-value configuration parameters |
Example
Query
mutation notificationConfig($config: NotificationConfigInput!) {
notificationConfig(config: $config) {
maintenanceEmail
maintenancePush
ticketEmail
ticketPush
workOrderEmail
workOrderPush
}
}
Variables
{"config": NotificationConfigInput}
Response
{
"data": {
"notificationConfig": {
"maintenanceEmail": false,
"maintenancePush": false,
"ticketEmail": false,
"ticketPush": true,
"workOrderEmail": false,
"workOrderPush": false
}
}
}
openRobotChatbotSession
Description
Open or resume a robot chatbot session for an asset and the current operator
Response
Returns a ChatbotSession!
Arguments
| Name | Description |
|---|---|
input - ChatbotSessionOpenInput!
|
Input data required to open or resume a robot chatbot session |
Example
Query
mutation openRobotChatbotSession($input: ChatbotSessionOpenInput!) {
openRobotChatbotSession(input: $input) {
assetId
created
id
locale
messages {
...ChatbotMessageFragment
}
serviceId
status
statusSnapshot {
...ChatbotStatusSnapshotFragment
}
updated
}
}
Variables
{"input": ChatbotSessionOpenInput}
Response
{
"data": {
"openRobotChatbotSession": {
"assetId": HashedId,
"created": 1592577642,
"id": HashedId,
"locale": "ar_ar",
"messages": [ChatbotMessage],
"serviceId": HashedId,
"status": "ACTIVE",
"statusSnapshot": ChatbotStatusSnapshot,
"updated": 1592577642
}
}
}
partIssueToTicket
Description
Issue a part to a ticket as material consumption (creates an OUT moving row)
Response
Returns a PartMoving!
Arguments
| Name | Description |
|---|---|
input - PartIssueToTicketInput!
|
Issue input payload |
Example
Query
mutation partIssueToTicket($input: PartIssueToTicketInput!) {
partIssueToTicket(input: $input) {
contentQuantity
correctsMovingId
created
createdByUser {
...UserFragment
}
createdByUserId
direction
id
movementType
note
operationDate
part {
...PartFragment
}
partId
quantity
site {
...SiteFragment
}
siteId
ticketId
totalValue
unitCost
updated
workOrderId
}
}
Variables
{"input": PartIssueToTicketInput}
Response
{
"data": {
"partIssueToTicket": {
"contentQuantity": 987.65,
"correctsMovingId": HashedId,
"created": 1592577642,
"createdByUser": User,
"createdByUserId": HashedId,
"direction": "IN",
"id": HashedId,
"movementType": "ADJUSTMENT_DOWN",
"note": "xyz789",
"operationDate": "2007-12-03T10:15:30Z",
"part": Part,
"partId": HashedId,
"quantity": 987.65,
"site": Site,
"siteId": HashedId,
"ticketId": HashedId,
"totalValue": 987.65,
"unitCost": 987.65,
"updated": 1592577642,
"workOrderId": HashedId
}
}
}
partIssueToWorkOrder
Description
Issue a part to a work order as material consumption
Response
Returns a PartMoving!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Unique identifier of the entity |
input - PartIssueToWorkOrderInput!
|
Issue input payload |
Example
Query
mutation partIssueToWorkOrder(
$id: HashedId!,
$input: PartIssueToWorkOrderInput!
) {
partIssueToWorkOrder(
id: $id,
input: $input
) {
contentQuantity
correctsMovingId
created
createdByUser {
...UserFragment
}
createdByUserId
direction
id
movementType
note
operationDate
part {
...PartFragment
}
partId
quantity
site {
...SiteFragment
}
siteId
ticketId
totalValue
unitCost
updated
workOrderId
}
}
Variables
{
"id": HashedId,
"input": PartIssueToWorkOrderInput
}
Response
{
"data": {
"partIssueToWorkOrder": {
"contentQuantity": 123.45,
"correctsMovingId": HashedId,
"created": 1592577642,
"createdByUser": User,
"createdByUserId": HashedId,
"direction": "IN",
"id": HashedId,
"movementType": "ADJUSTMENT_DOWN",
"note": "xyz789",
"operationDate": "2007-12-03T10:15:30Z",
"part": Part,
"partId": HashedId,
"quantity": 123.45,
"site": Site,
"siteId": HashedId,
"ticketId": HashedId,
"totalValue": 987.65,
"unitCost": 123.45,
"updated": 1592577642,
"workOrderId": HashedId
}
}
}
partReturnFromTicket
Description
Return a previously issued part back to stock (creates an IN/RETURN moving row)
Response
Returns a PartMoving!
Arguments
| Name | Description |
|---|---|
input - PartReturnFromTicketInput!
|
Return input payload |
Example
Query
mutation partReturnFromTicket($input: PartReturnFromTicketInput!) {
partReturnFromTicket(input: $input) {
contentQuantity
correctsMovingId
created
createdByUser {
...UserFragment
}
createdByUserId
direction
id
movementType
note
operationDate
part {
...PartFragment
}
partId
quantity
site {
...SiteFragment
}
siteId
ticketId
totalValue
unitCost
updated
workOrderId
}
}
Variables
{"input": PartReturnFromTicketInput}
Response
{
"data": {
"partReturnFromTicket": {
"contentQuantity": 987.65,
"correctsMovingId": HashedId,
"created": 1592577642,
"createdByUser": User,
"createdByUserId": HashedId,
"direction": "IN",
"id": HashedId,
"movementType": "ADJUSTMENT_DOWN",
"note": "abc123",
"operationDate": "2007-12-03T10:15:30Z",
"part": Part,
"partId": HashedId,
"quantity": 987.65,
"site": Site,
"siteId": HashedId,
"ticketId": HashedId,
"totalValue": 987.65,
"unitCost": 987.65,
"updated": 1592577642,
"workOrderId": HashedId
}
}
}
partReturnFromWorkOrder
Description
Return a previously issued work order part back to stock
Response
Returns a PartMoving!
Arguments
| Name | Description |
|---|---|
input - PartReturnFromWorkOrderInput!
|
Return input payload |
Example
Query
mutation partReturnFromWorkOrder($input: PartReturnFromWorkOrderInput!) {
partReturnFromWorkOrder(input: $input) {
contentQuantity
correctsMovingId
created
createdByUser {
...UserFragment
}
createdByUserId
direction
id
movementType
note
operationDate
part {
...PartFragment
}
partId
quantity
site {
...SiteFragment
}
siteId
ticketId
totalValue
unitCost
updated
workOrderId
}
}
Variables
{"input": PartReturnFromWorkOrderInput}
Response
{
"data": {
"partReturnFromWorkOrder": {
"contentQuantity": 123.45,
"correctsMovingId": HashedId,
"created": 1592577642,
"createdByUser": User,
"createdByUserId": HashedId,
"direction": "IN",
"id": HashedId,
"movementType": "ADJUSTMENT_DOWN",
"note": "abc123",
"operationDate": "2007-12-03T10:15:30Z",
"part": Part,
"partId": HashedId,
"quantity": 123.45,
"site": Site,
"siteId": HashedId,
"ticketId": HashedId,
"totalValue": 123.45,
"unitCost": 123.45,
"updated": 1592577642,
"workOrderId": HashedId
}
}
}
processAssetRequest
Description
Approve or deny pending asset access requests
Response
Returns a Boolean!
Arguments
| Name | Description |
|---|---|
requests - [AssetRequestItem!]
|
Asset requests to approve or deny |
Example
Query
mutation processAssetRequest($requests: [AssetRequestItem!]) {
processAssetRequest(requests: $requests)
}
Variables
{"requests": [AssetRequestItem]}
Response
{"data": {"processAssetRequest": false}}
processRegistrationRequest
Description
Approve or deny a pending registration request
Response
Returns a RegistrationRequest!
Arguments
| Name | Description |
|---|---|
activationRoute - String!
|
Activation route |
denialMessage - String
|
Denial message |
id - HashedId!
|
Unique identifier of the entity |
targetGroup - RequestGroupInput
|
Target group |
username - String
|
Username for authentication |
Example
Query
mutation processRegistrationRequest(
$activationRoute: String!,
$denialMessage: String,
$id: HashedId!,
$targetGroup: RequestGroupInput,
$username: String
) {
processRegistrationRequest(
activationRoute: $activationRoute,
denialMessage: $denialMessage,
id: $id,
targetGroup: $targetGroup,
username: $username
) {
acceptedTermsVersionId
assetsCount
companyAddress
created
customerNumber
dealerName
denialMessage
email
firstname
forGroup {
...GroupFragment
}
forGroupId
groupName
id
isActive
isDenied
isProcessed
languageId
lastname
phone
processedByUser {
...UserFragment
}
processedByUserId
resultingGroup {
...GroupFragment
}
resultingGroupId
resultingUser {
...UserFragment
}
resultingUserId
salesRepresentative
updated
vatNumber
}
}
Variables
{
"activationRoute": "abc123",
"denialMessage": "abc123",
"id": HashedId,
"targetGroup": RequestGroupInput,
"username": "abc123"
}
Response
{
"data": {
"processRegistrationRequest": {
"acceptedTermsVersionId": HashedId,
"assetsCount": 123,
"companyAddress": "xyz789",
"created": 1592577642,
"customerNumber": "abc123",
"dealerName": "xyz789",
"denialMessage": "abc123",
"email": "abc123",
"firstname": "abc123",
"forGroup": Group,
"forGroupId": HashedId,
"groupName": "abc123",
"id": HashedId,
"isActive": true,
"isDenied": true,
"isProcessed": false,
"languageId": HashedId,
"lastname": "abc123",
"phone": "abc123",
"processedByUser": User,
"processedByUserId": HashedId,
"resultingGroup": Group,
"resultingGroupId": HashedId,
"resultingUser": User,
"resultingUserId": HashedId,
"salesRepresentative": "abc123",
"updated": 1592577642,
"vatNumber": "xyz789"
}
}
}
qrLandingCreateChatbotTicket
Description
Escalate an anonymous chatbot session into a support ticket containing the transcript
Response
Returns a ChatbotQrLandingTicket!
Arguments
| Name | Description |
|---|---|
input - ChatbotQrLandingTicketCreateInput!
|
Input data required to create a ticket from an anonymous chatbot session |
Example
Query
mutation qrLandingCreateChatbotTicket($input: ChatbotQrLandingTicketCreateInput!) {
qrLandingCreateChatbotTicket(input: $input) {
id
status
ticketId
}
}
Variables
{"input": ChatbotQrLandingTicketCreateInput}
Response
{
"data": {
"qrLandingCreateChatbotTicket": {
"id": HashedId,
"status": "approvalNeeded",
"ticketId": 123
}
}
}
qrLandingOpenChatbotSession
Description
Open an anonymous robot chatbot session from the QR landing by asset uuid
Response
Returns a ChatbotQrLandingOpenSession!
Arguments
| Name | Description |
|---|---|
input - ChatbotQrLandingSessionOpenInput!
|
Input data required to open an anonymous chatbot session from the QR landing |
Example
Query
mutation qrLandingOpenChatbotSession($input: ChatbotQrLandingSessionOpenInput!) {
qrLandingOpenChatbotSession(input: $input) {
session {
...ChatbotSessionFragment
}
sessionToken
}
}
Variables
{"input": ChatbotQrLandingSessionOpenInput}
Response
{
"data": {
"qrLandingOpenChatbotSession": {
"session": ChatbotSession,
"sessionToken": "xyz789"
}
}
}
qrLandingRescheduleAssetEvent
Description
Reschedule an asset event from the public QR landing page: an event of the asset the scanned QR code "uuid" belongs to, or one the authenticated caller can update
Response
Returns an Event!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Unique identifier of the entity |
input - EventRescheduleV2Input!
|
Event v reschedule parameters |
uuid - String
|
UUID of the scanned QR code; required for anonymous callers and must belong to the asset the event originates from |
Example
Query
mutation qrLandingRescheduleAssetEvent(
$id: HashedId!,
$input: EventRescheduleV2Input!,
$uuid: String
) {
qrLandingRescheduleAssetEvent(
id: $id,
input: $input,
uuid: $uuid
) {
authorEmail
connectedComment {
...TicketCommentFragment
}
costs {
...CostLineFragment
}
created
createdByIntegrationName
createdByPart {
...PartFragment
}
createdByPartId
createdByRule {
...RuleFragment
}
createdByRuleId
createdBySite {
...SiteFragment
}
createdBySiteId
createdByTicket {
...TicketFragment
}
createdByTicketId
createdByUser {
...UserFragment
}
createdByUserId
createdByWorkOrder {
...WorkOrderSummaryFragment
}
createdByWorkOrderId
data {
...EventEntityDataDtoFragment
}
description {
...TranslationFragment
}
descriptionId
documents {
...DocumentFragment
}
endTime
eventMeta
eventStyle {
...EventStyleFragment
}
eventStyleId
id
isCritical
isImmediateNotification
isOngoing
lastEvent
manualDeactivation
originatingFromAsset {
...AssetFragment
}
originatingFromAssetId
originatingFromModule {
...ModuleFragment
}
originatingFromModuleId
publicId
responseState {
...TicketStateFragment
}
serviceName {
...TranslationFragment
}
shouldNotify
site {
...SiteFragment
}
siteId
startTime
stoppedByUser {
...UserFragment
}
stoppedByUserId
tag
ticketId
ticketStatus
title {
...TranslationFragment
}
titleId
type
updated
workOrderNotifications {
...WorkOrderNotificationsFragment
}
}
}
Variables
{
"id": HashedId,
"input": EventRescheduleV2Input,
"uuid": "xyz789"
}
Response
{
"data": {
"qrLandingRescheduleAssetEvent": {
"authorEmail": "xyz789",
"connectedComment": TicketComment,
"costs": [CostLine],
"created": 1592577642,
"createdByIntegrationName": "xyz789",
"createdByPart": Part,
"createdByPartId": HashedId,
"createdByRule": Rule,
"createdByRuleId": HashedId,
"createdBySite": Site,
"createdBySiteId": HashedId,
"createdByTicket": Ticket,
"createdByTicketId": HashedId,
"createdByUser": User,
"createdByUserId": HashedId,
"createdByWorkOrder": WorkOrderSummary,
"createdByWorkOrderId": HashedId,
"data": EventEntityDataDto,
"description": Translation,
"descriptionId": HashedId,
"documents": [Document],
"endTime": 1592577642,
"eventMeta": {},
"eventStyle": EventStyle,
"eventStyleId": "abc123",
"id": HashedId,
"isCritical": false,
"isImmediateNotification": true,
"isOngoing": true,
"lastEvent": 1592577642,
"manualDeactivation": true,
"originatingFromAsset": Asset,
"originatingFromAssetId": HashedId,
"originatingFromModule": Module,
"originatingFromModuleId": HashedId,
"publicId": 123,
"responseState": TicketState,
"serviceName": Translation,
"shouldNotify": true,
"site": Site,
"siteId": HashedId,
"startTime": 1592577642,
"stoppedByUser": User,
"stoppedByUserId": HashedId,
"tag": ["RESPONSIBLE_UPDATE"],
"ticketId": 987,
"ticketStatus": "approvalNeeded",
"title": Translation,
"titleId": HashedId,
"type": "COST",
"updated": 1592577642,
"workOrderNotifications": WorkOrderNotifications
}
}
}
qrLandingSendChatbotMessage
Description
Send an anonymous operator message to a chatbot session and receive the reply
Response
Returns a ChatbotMessage!
Arguments
| Name | Description |
|---|---|
input - ChatbotQrLandingMessageSendInput!
|
Input data required to send an anonymous message to a chatbot session |
Example
Query
mutation qrLandingSendChatbotMessage($input: ChatbotQrLandingMessageSendInput!) {
qrLandingSendChatbotMessage(input: $input) {
attachment {
...ChatbotMessageAttachmentFragment
}
content
created
id
quickReplies {
...ChatbotQuickReplyFragment
}
resources {
...ChatbotMessageResourceFragment
}
role
sessionStatus
sources
updated
}
}
Variables
{"input": ChatbotQrLandingMessageSendInput}
Response
{
"data": {
"qrLandingSendChatbotMessage": {
"attachment": ChatbotMessageAttachment,
"content": "abc123",
"created": 1592577642,
"id": HashedId,
"quickReplies": [ChatbotQuickReply],
"resources": [ChatbotMessageResource],
"role": "ASSISTANT",
"sessionStatus": "ACTIVE",
"sources": ["xyz789"],
"updated": 1592577642
}
}
}
refreshTicketServiceResponse
Description
Re-fetch and update the service response data for a ticket
Response
Returns a Ticket!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Unique identifier of the entity |
Example
Query
mutation refreshTicketServiceResponse($id: HashedId!) {
refreshTicketServiceResponse(id: $id) {
activityEvents {
... on TicketApprovalUpdate {
...TicketApprovalUpdateFragment
}
... on TicketAssetAvailabilityUpdate {
...TicketAssetAvailabilityUpdateFragment
}
... on TicketAssetCheckComplete {
...TicketAssetCheckCompleteFragment
}
... on TicketAssetSiteUpdate {
...TicketAssetSiteUpdateFragment
}
... on TicketAutomationEmailSent {
...TicketAutomationEmailSentFragment
}
... on TicketHandlerUpdate {
...TicketHandlerUpdateFragment
}
... on TicketTagsUpdate {
...TicketTagsUpdateFragment
}
... on TicketUrgencyUpdate {
...TicketUrgencyUpdateFragment
}
}
approvers {
...TicketApproverFragment
}
assetPackages {
...AssetPackageFragment
}
assignee {
...ProcessHandlerFragment
}
associatedAssetCategories {
...AssetCategoryFragment
}
associatedAssetTypes {
...AssetTypeFragment
}
associatedAssets {
...AssetFragment
}
associatedSites {
...SiteFragment
}
automationDetails {
...TicketAutomationDetailsFragment
}
batteryCosts
canEdit
canEditTags
certificationCosts
checkEvent {
...EventFragment
}
checkEventId
comments {
...TicketCommentFragment
}
consumablesCosts
content
costLines {
...CostLineFragment
}
costs {
...CostFragment
}
created
createdByGroup {
...GroupFragment
}
createdByGroupId
createdByUser {
...UserFragment
}
createdByUserId
createdFrom
creatingSyncedOn
currentState {
...TicketCurrentStateFragment
}
customFieldColumns {
...CustomFieldFragment
}
deleted
documents {
...DocumentFragment
}
externalEmailHandlers {
...TicketHandlerExternalEmailFragment
}
fuelCosts
groupHandlers {
...TicketHandlerGroupFragment
}
groupTicketHandlerHandlers {
...TicketHandlerGroupTicketHandlerFragment
}
history {
...TicketHistoryFragment
}
id
insuranceTaxesCosts
isStatusUpdatedAutomatically
isTicketApproversEnabled
laborCosts
lastActivityAt
lastStatusChange
logisticsCosts
notifications {
...NotificationFilterFragment
}
otherCosts
partsUsed {
...TicketPartUsageFragment
}
pdfCertificateLink {
...DocumentFragment
}
procedureInstance {
...ProcedureInstanceFragment
}
procedureInstanceId
publicId
repairCosts
reporterName
reservation {
...ReservationFragment
}
reservationDisplayId
reservationId
responsibles {
...ProcessHandlerFragment
}
ruleEntryEvent {
...RuleEntryEventFragment
}
service {
...ServiceFragment
}
serviceId
serviceResponseId
siteManagerHandler {
...TicketHandlerSiteManagerFragment
}
sparePartsCosts
status
statusUpdatedAt
statusUpdatedByUser {
...UserFragment
}
statusUpdatedByUserId
tags {
...TagFragment
}
teamHandlers {
...TicketHandlerTeamFragment
}
ticketComments {
...TicketCommentFragment
}
ticketContent {
...TicketContentFieldFragment
}
ticketId
ticketTimeline {
...TicketTimelineFragment
}
title {
...TranslationFragment
}
titleId
totalCosts
totalPartsCost
updated
urgency
userHandlers {
...TicketHandlerUserFragment
}
uuid
workOrders {
...WorkOrderV2Fragment
}
}
}
Variables
{"id": HashedId}
Response
{
"data": {
"refreshTicketServiceResponse": {
"activityEvents": [TicketApprovalUpdate],
"approvers": [TicketApprover],
"assetPackages": [AssetPackage],
"assignee": ProcessHandler,
"associatedAssetCategories": [AssetCategory],
"associatedAssetTypes": [AssetType],
"associatedAssets": [Asset],
"associatedSites": [Site],
"automationDetails": TicketAutomationDetails,
"batteryCosts": "xyz789",
"canEdit": false,
"canEditTags": true,
"certificationCosts": "abc123",
"checkEvent": Event,
"checkEventId": HashedId,
"comments": [TicketComment],
"consumablesCosts": "xyz789",
"content": {},
"costLines": [CostLine],
"costs": [Cost],
"created": 1592577642,
"createdByGroup": Group,
"createdByGroupId": HashedId,
"createdByUser": User,
"createdByUserId": HashedId,
"createdFrom": "ASSET_SERVICE",
"creatingSyncedOn": 1592577642,
"currentState": TicketCurrentState,
"customFieldColumns": [CustomField],
"deleted": 1592577642,
"documents": [Document],
"externalEmailHandlers": [
TicketHandlerExternalEmail
],
"fuelCosts": "xyz789",
"groupHandlers": [TicketHandlerGroup],
"groupTicketHandlerHandlers": [
TicketHandlerGroupTicketHandler
],
"history": [TicketHistory],
"id": HashedId,
"insuranceTaxesCosts": "abc123",
"isStatusUpdatedAutomatically": false,
"isTicketApproversEnabled": true,
"laborCosts": "xyz789",
"lastActivityAt": 1592577642,
"lastStatusChange": 1592577642,
"logisticsCosts": "abc123",
"notifications": NotificationFilter,
"otherCosts": "xyz789",
"partsUsed": [TicketPartUsage],
"pdfCertificateLink": Document,
"procedureInstance": ProcedureInstance,
"procedureInstanceId": HashedId,
"publicId": 987,
"repairCosts": "xyz789",
"reporterName": "abc123",
"reservation": Reservation,
"reservationDisplayId": 123,
"reservationId": HashedId,
"responsibles": [ProcessHandler],
"ruleEntryEvent": RuleEntryEvent,
"service": Service,
"serviceId": HashedId,
"serviceResponseId": HashedId,
"siteManagerHandler": TicketHandlerSiteManager,
"sparePartsCosts": "xyz789",
"status": "approvalNeeded",
"statusUpdatedAt": 1592577642,
"statusUpdatedByUser": User,
"statusUpdatedByUserId": HashedId,
"tags": [Tag],
"teamHandlers": [TicketHandlerTeam],
"ticketComments": [TicketComment],
"ticketContent": [TicketContentField],
"ticketId": 123,
"ticketTimeline": TicketTimeline,
"title": Translation,
"titleId": HashedId,
"totalCosts": "xyz789",
"totalPartsCost": 987.65,
"updated": 1592577642,
"urgency": "CRITICAL",
"userHandlers": [TicketHandlerUser],
"uuid": "abc123",
"workOrders": [WorkOrderV2]
}
}
}
registerAssetRequest
Description
Submit new asset access requests with verification
Response
Returns a Boolean!
Arguments
| Name | Description |
|---|---|
requests - [RequestForAsset!]
|
Asset access requests to submit |
Example
Query
mutation registerAssetRequest($requests: [RequestForAsset!]) {
registerAssetRequest(requests: $requests)
}
Variables
{"requests": [RequestForAsset]}
Response
{"data": {"registerAssetRequest": false}}
registerSignupAssetRequests
Description
Submit asset access requests during signup with staged verification documents, authorised by the signup upload token
Response
Returns a Boolean!
Arguments
| Name | Description |
|---|---|
input - AssetRequestSignupRegisterInput!
|
Example
Query
mutation registerSignupAssetRequests($input: AssetRequestSignupRegisterInput!) {
registerSignupAssetRequests(input: $input)
}
Variables
{"input": AssetRequestSignupRegisterInput}
Response
{"data": {"registerSignupAssetRequests": false}}
rejectReservation
Description
Reject a reservation with a reason
Response
Returns a Reservation!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Unique identifier of the entity |
input - ReservationRejectInput!
|
Reservation rejection fields |
Example
Query
mutation rejectReservation(
$id: HashedId!,
$input: ReservationRejectInput!
) {
rejectReservation(
id: $id,
input: $input
) {
approvedAt
cancelledAt
cancelledByUser {
...UserFragment
}
cancelledByUserId
confirmedAt
confirmedByUser {
...UserFragment
}
confirmedByUserId
created
createdByGroup {
...GroupFragment
}
createdByGroupId
createdByUser {
...UserFragment
}
createdByUserId
expectedArrivalAt
externalErpId
externalErpRequestedBy
id
issues {
...ReservationLineItemIssueFragment
}
lineItems {
...ReservationLineItemFragment
}
notes
publicId
rejectedAt
rejectedByUser {
...UserFragment
}
rejectedByUserId
rejectionReason
site {
...SiteFragment
}
siteId
status
tickets {
...TicketFragment
}
updated
uuid
}
}
Variables
{
"id": HashedId,
"input": ReservationRejectInput
}
Response
{
"data": {
"rejectReservation": {
"approvedAt": "2007-12-03",
"cancelledAt": "2007-12-03T10:15:30Z",
"cancelledByUser": User,
"cancelledByUserId": HashedId,
"confirmedAt": "2007-12-03T10:15:30Z",
"confirmedByUser": User,
"confirmedByUserId": HashedId,
"created": 1592577642,
"createdByGroup": Group,
"createdByGroupId": HashedId,
"createdByUser": User,
"createdByUserId": HashedId,
"expectedArrivalAt": "2007-12-03",
"externalErpId": "xyz789",
"externalErpRequestedBy": "abc123",
"id": HashedId,
"issues": [ReservationLineItemIssue],
"lineItems": [ReservationLineItem],
"notes": "abc123",
"publicId": 123,
"rejectedAt": "2007-12-03T10:15:30Z",
"rejectedByUser": User,
"rejectedByUserId": HashedId,
"rejectionReason": "xyz789",
"site": Site,
"siteId": HashedId,
"status": "CANCELLED",
"tickets": [Ticket],
"updated": 1592577642,
"uuid": "abc123"
}
}
}
removeAssetFromAssetPackage
Description
Remove an asset from an asset package
Response
Returns an AssetPackage!
Arguments
| Name | Description |
|---|---|
input - AssetPackageAssetRemoveInput!
|
Input data for removing an asset from an asset package |
Example
Query
mutation removeAssetFromAssetPackage($input: AssetPackageAssetRemoveInput!) {
removeAssetFromAssetPackage(input: $input) {
assetCount
assets {
...AssetPackageAssetFragment
}
created
group {
...GroupFragment
}
groupId
id
isDeleted
name {
...TranslationFragment
}
primaryAsset {
...AssetFragment
}
primaryAssetId
publicId
site {
...SiteFragment
}
siteId
siteInheritance
siteMismatchCount
updated
}
}
Variables
{"input": AssetPackageAssetRemoveInput}
Response
{
"data": {
"removeAssetFromAssetPackage": {
"assetCount": 123,
"assets": [AssetPackageAsset],
"created": 1592577642,
"group": Group,
"groupId": HashedId,
"id": HashedId,
"isDeleted": true,
"name": Translation,
"primaryAsset": Asset,
"primaryAssetId": HashedId,
"publicId": 123,
"site": Site,
"siteId": HashedId,
"siteInheritance": "CUSTOM",
"siteMismatchCount": 123,
"updated": 1592577642
}
}
}
removeAssetFromRule
Description
Remove a specific asset from an existing automation rule
Response
Returns a Rule!
Arguments
| Name | Description |
|---|---|
input - RemoveAssetFromRuleInput!
|
Asset to remove from rule |
Example
Query
mutation removeAssetFromRule($input: RemoveAssetFromRuleInput!) {
removeAssetFromRule(input: $input) {
assetBlacklist {
...AssetFragment
}
assignedToGroup {
...GroupFragment
}
assignedToGroupId
checkAssetsPaginated {
...PaginatedRuleCheckAssetsFragment
}
created
createdByGroup {
...GroupFragment
}
createdByGroupId
createdByUser {
...UserFragment
}
createdByUserId
definition
description {
...TranslationFragment
}
descriptionId
enabled
eventStyle {
...EventStyleFragment
}
eventStyleId
eventType
eventsConfigs {
...EventConfigFragment
}
id
isActive
isArchived
isCheckAllowedForUnauthorizedUsers
isCritical
isGlobalRule
isImmediateNotification
isOneshot
isOnetime
manualDeactivation
publicId
purpose
relations {
...RuleRelationFragment
}
relationsV2 {
...RuleRelationFragment
}
sendNotificationsTo {
...RuleNotificationRelationFragment
}
services {
...ServiceFragment
}
servicesV2 {
...ServiceFragment
}
source
title {
...TranslationFragment
}
titleId
updated
}
}
Variables
{"input": RemoveAssetFromRuleInput}
Response
{
"data": {
"removeAssetFromRule": {
"assetBlacklist": [Asset],
"assignedToGroup": Group,
"assignedToGroupId": HashedId,
"checkAssetsPaginated": PaginatedRuleCheckAssets,
"created": 1592577642,
"createdByGroup": Group,
"createdByGroupId": HashedId,
"createdByUser": User,
"createdByUserId": HashedId,
"definition": {},
"description": Translation,
"descriptionId": HashedId,
"enabled": false,
"eventStyle": EventStyle,
"eventStyleId": HashedId,
"eventType": "COST",
"eventsConfigs": [EventConfig],
"id": HashedId,
"isActive": true,
"isArchived": true,
"isCheckAllowedForUnauthorizedUsers": true,
"isCritical": false,
"isGlobalRule": false,
"isImmediateNotification": false,
"isOneshot": false,
"isOnetime": true,
"manualDeactivation": true,
"publicId": "abc123",
"purpose": "GEOFENCE",
"relations": [RuleRelation],
"relationsV2": [RuleRelation],
"sendNotificationsTo": [RuleNotificationRelation],
"services": [Service],
"servicesV2": [Service],
"source": "BLE",
"title": Translation,
"titleId": HashedId,
"updated": 1592577642
}
}
}
removeAssetsByTicketId
Description
Unlink assets from a ticket content field, returns boolean
Response
Returns a Boolean!
Arguments
| Name | Description |
|---|---|
assetIds - [HashedId!]!
|
Assets to associate with or remove from tickets |
input - TicketChangeItemsInput!
|
Tickets to add to or remove from the selected assets |
Example
Query
mutation removeAssetsByTicketId(
$assetIds: [HashedId!]!,
$input: TicketChangeItemsInput!
) {
removeAssetsByTicketId(
assetIds: $assetIds,
input: $input
)
}
Variables
{
"assetIds": [HashedId],
"input": TicketChangeItemsInput
}
Response
{"data": {"removeAssetsByTicketId": true}}
removeAssetsFromTicketContentField
Description
Unlink assets from a ticket content field
Response
Returns a TicketContentField!
Arguments
| Name | Description |
|---|---|
assetIds - [HashedId!]!
|
Assets to associate with or remove from tickets |
input - TicketChangeItemsInput!
|
Tickets to add to or remove from the selected assets |
Example
Query
mutation removeAssetsFromTicketContentField(
$assetIds: [HashedId!]!,
$input: TicketChangeItemsInput!
) {
removeAssetsFromTicketContentField(
assetIds: $assetIds,
input: $input
) {
assetCategories {
...AssetCategoryFragment
}
assetTypes {
...AssetTypeFragment
}
assets {
...AssetFragment
}
assignees {
...AvailableHandlerFragment
}
automations
checkedValue
children {
...TicketContentFieldFragment
}
choiceOptions {
...TicketContentFieldChoiceOptionFragment
}
choiceValue
comment
contentType
created
customFieldColumns {
...CustomFieldFragment
}
dateValue
description {
...TranslationFragment
}
descriptionId
documents {
...DocumentFragment
}
emails {
...TicketContentFieldEmailFragment
}
filters {
...FiltersFragment
}
id
includeTime
isChangeAllowed
isEditableInTicket
isHiddenInTicket
isReservationConstrained
issues {
...ReservationLineItemIssueFragment
}
location {
...AddressFragment
}
locationId
numberValue
numberValueDecimal
order
parentId
phone {
...PhoneFragment
}
phoneId
reservationLineItem {
...ReservationLineItemFragment
}
reservationLineItemId
sites {
...SiteFragment
}
suggestedAssignees {
...AvailableHandlerFragment
}
table {
...TicketContentFieldTableFragment
}
tableId
tags {
...TagFragment
}
textValue
ticketId
title {
...TranslationFragment
}
titleId
updated
uploadedDocuments {
...DocumentFragment
}
yesNoValue
}
}
Variables
{
"assetIds": [HashedId],
"input": TicketChangeItemsInput
}
Response
{
"data": {
"removeAssetsFromTicketContentField": {
"assetCategories": [AssetCategory],
"assetTypes": [AssetType],
"assets": [Asset],
"assignees": [AvailableHandler],
"automations": 123,
"checkedValue": false,
"children": [TicketContentField],
"choiceOptions": [TicketContentFieldChoiceOption],
"choiceValue": "good",
"comment": "abc123",
"contentType": "asset",
"created": 1592577642,
"customFieldColumns": [CustomField],
"dateValue": "2007-12-03T10:15:30Z",
"description": Translation,
"descriptionId": HashedId,
"documents": [Document],
"emails": [TicketContentFieldEmail],
"filters": [Filters],
"id": HashedId,
"includeTime": false,
"isChangeAllowed": true,
"isEditableInTicket": true,
"isHiddenInTicket": true,
"isReservationConstrained": true,
"issues": [ReservationLineItemIssue],
"location": Address,
"locationId": HashedId,
"numberValue": 987,
"numberValueDecimal": 123.45,
"order": 987,
"parentId": HashedId,
"phone": Phone,
"phoneId": HashedId,
"reservationLineItem": ReservationLineItem,
"reservationLineItemId": HashedId,
"sites": [Site],
"suggestedAssignees": [AvailableHandler],
"table": TicketContentFieldTable,
"tableId": HashedId,
"tags": [Tag],
"textValue": "abc123",
"ticketId": HashedId,
"title": Translation,
"titleId": HashedId,
"updated": 1592577642,
"uploadedDocuments": [Document],
"yesNoValue": "na"
}
}
}
removeCheckSchedule
Description
Delete a check schedule by its ID
removeHandlerById
Description
Remove ticket handler legacy v2
removeMaintenanceSchedule
Description
Delete a maintenance schedule by its ID
removePersonnelAssignment
Description
Remove a personnel assignment from an asset custom field
Response
Returns a Personnel!
Arguments
| Name | Description |
|---|---|
input - PersonnelAssignmentRemoveInput!
|
Personnel assignment remove input |
Example
Query
mutation removePersonnelAssignment($input: PersonnelAssignmentRemoveInput!) {
removePersonnelAssignment(input: $input) {
certificationCount
certifications {
...PersonnelCertificationFragment
}
city
contractType
contractWorkCategory
country
countryOfBirth
created
createdByGroupId
createdByUser {
...UserFragment
}
createdByUserId
customFieldValues {
...CustomFieldValueFragment
}
dateOfBirth
dependentChildren
dependentHandicappedChildren
dependentPersonsOver65
dependentPersonsUnder65
dependentPersonsUnder65Income
driversLicenceNumber
email
email2
employmentEndDate
employmentSchedule
employmentStartDate
externalErpId
firstName
fullName
gender
group {
...GroupFragment
}
groupId
homeBase
id
jobFunction
jointCommitteeNumber
languageId
lastName
licenceCategory
licenceExpiryDate
maritalStatus
marriageDate
nationalInsuranceNumber
nationality
notes
personnelNumber
personnelNumberPrefix
personnelNumberSequence
phone {
...PhoneFragment
}
photoDocument {
...DocumentFragment
}
photoDocumentId
placeOfBirth
postalCode
publicId
salaryIBAN
salaryPaymentType
salaryScaleStartDate
seniorityStartDate
shownOnDispositionPage
specializationLevel
spouseBirthDate
spousePartnerName
street
studyLevel
updated
updatedByUser {
...UserFragment
}
updatedByUserId
usedInCustomFieldCount
user {
...UserFragment
}
userId
workOrders {
...WorkOrderV2Fragment
}
workingHours {
...PersonnelWorkingHoursFragment
}
}
}
Variables
{"input": PersonnelAssignmentRemoveInput}
Response
{
"data": {
"removePersonnelAssignment": {
"certificationCount": 987,
"certifications": [PersonnelCertification],
"city": "xyz789",
"contractType": "APPRENTICE_WHITE_COLLAR",
"contractWorkCategory": "MANAGING_DIRECTOR",
"country": "abc123",
"countryOfBirth": "xyz789",
"created": 1592577642,
"createdByGroupId": HashedId,
"createdByUser": User,
"createdByUserId": HashedId,
"customFieldValues": [CustomFieldValue],
"dateOfBirth": "2007-12-03",
"dependentChildren": 987,
"dependentHandicappedChildren": 123,
"dependentPersonsOver65": 123,
"dependentPersonsUnder65": 123,
"dependentPersonsUnder65Income": 123.45,
"driversLicenceNumber": "xyz789",
"email": "abc123",
"email2": "abc123",
"employmentEndDate": "2007-12-03",
"employmentSchedule": "FULL_TIME",
"employmentStartDate": "2007-12-03",
"externalErpId": "abc123",
"firstName": "abc123",
"fullName": "abc123",
"gender": "FEMALE",
"group": Group,
"groupId": HashedId,
"homeBase": "xyz789",
"id": HashedId,
"jobFunction": "xyz789",
"jointCommitteeNumber": "xyz789",
"languageId": HashedId,
"lastName": "abc123",
"licenceCategory": "xyz789",
"licenceExpiryDate": "2007-12-03",
"maritalStatus": "COHABITING_LEGALLY",
"marriageDate": "2007-12-03",
"nationalInsuranceNumber": "abc123",
"nationality": "abc123",
"notes": "xyz789",
"personnelNumber": "xyz789",
"personnelNumberPrefix": "xyz789",
"personnelNumberSequence": 987,
"phone": Phone,
"photoDocument": Document,
"photoDocumentId": HashedId,
"placeOfBirth": "abc123",
"postalCode": "abc123",
"publicId": 987,
"salaryIBAN": "abc123",
"salaryPaymentType": "HOUR",
"salaryScaleStartDate": "2007-12-03",
"seniorityStartDate": "2007-12-03",
"shownOnDispositionPage": true,
"specializationLevel": "FIRST_LEVEL",
"spouseBirthDate": "2007-12-03",
"spousePartnerName": "abc123",
"street": "xyz789",
"studyLevel": "EXECUTIVE_STAFF",
"updated": 1592577642,
"updatedByUser": User,
"updatedByUserId": HashedId,
"usedInCustomFieldCount": 123,
"user": User,
"userId": HashedId,
"workOrders": [WorkOrderV2],
"workingHours": PersonnelWorkingHours
}
}
}
removePushToken
Description
Remove push notification token
removeReservationTicketFieldAssets
Description
Remove assets from a reservation-constrained ticket content field
Response
Returns a TicketContentField!
Arguments
| Name | Description |
|---|---|
assetIds - [HashedId!]!
|
Assets to associate with or remove from tickets |
input - ReservationTicketFieldRemoveAssetsInput!
|
Example
Query
mutation removeReservationTicketFieldAssets(
$assetIds: [HashedId!]!,
$input: ReservationTicketFieldRemoveAssetsInput!
) {
removeReservationTicketFieldAssets(
assetIds: $assetIds,
input: $input
) {
assetCategories {
...AssetCategoryFragment
}
assetTypes {
...AssetTypeFragment
}
assets {
...AssetFragment
}
assignees {
...AvailableHandlerFragment
}
automations
checkedValue
children {
...TicketContentFieldFragment
}
choiceOptions {
...TicketContentFieldChoiceOptionFragment
}
choiceValue
comment
contentType
created
customFieldColumns {
...CustomFieldFragment
}
dateValue
description {
...TranslationFragment
}
descriptionId
documents {
...DocumentFragment
}
emails {
...TicketContentFieldEmailFragment
}
filters {
...FiltersFragment
}
id
includeTime
isChangeAllowed
isEditableInTicket
isHiddenInTicket
isReservationConstrained
issues {
...ReservationLineItemIssueFragment
}
location {
...AddressFragment
}
locationId
numberValue
numberValueDecimal
order
parentId
phone {
...PhoneFragment
}
phoneId
reservationLineItem {
...ReservationLineItemFragment
}
reservationLineItemId
sites {
...SiteFragment
}
suggestedAssignees {
...AvailableHandlerFragment
}
table {
...TicketContentFieldTableFragment
}
tableId
tags {
...TagFragment
}
textValue
ticketId
title {
...TranslationFragment
}
titleId
updated
uploadedDocuments {
...DocumentFragment
}
yesNoValue
}
}
Variables
{
"assetIds": [HashedId],
"input": ReservationTicketFieldRemoveAssetsInput
}
Response
{
"data": {
"removeReservationTicketFieldAssets": {
"assetCategories": [AssetCategory],
"assetTypes": [AssetType],
"assets": [Asset],
"assignees": [AvailableHandler],
"automations": 123,
"checkedValue": true,
"children": [TicketContentField],
"choiceOptions": [TicketContentFieldChoiceOption],
"choiceValue": "good",
"comment": "abc123",
"contentType": "asset",
"created": 1592577642,
"customFieldColumns": [CustomField],
"dateValue": "2007-12-03T10:15:30Z",
"description": Translation,
"descriptionId": HashedId,
"documents": [Document],
"emails": [TicketContentFieldEmail],
"filters": [Filters],
"id": HashedId,
"includeTime": false,
"isChangeAllowed": false,
"isEditableInTicket": false,
"isHiddenInTicket": false,
"isReservationConstrained": true,
"issues": [ReservationLineItemIssue],
"location": Address,
"locationId": HashedId,
"numberValue": 123,
"numberValueDecimal": 987.65,
"order": 987,
"parentId": HashedId,
"phone": Phone,
"phoneId": HashedId,
"reservationLineItem": ReservationLineItem,
"reservationLineItemId": HashedId,
"sites": [Site],
"suggestedAssignees": [AvailableHandler],
"table": TicketContentFieldTable,
"tableId": HashedId,
"tags": [Tag],
"textValue": "xyz789",
"ticketId": HashedId,
"title": Translation,
"titleId": HashedId,
"updated": 1592577642,
"uploadedDocuments": [Document],
"yesNoValue": "na"
}
}
}
removeSitesByTicketId
Description
Unlink sites from a ticket content field, returns boolean
Response
Returns a Boolean!
Arguments
| Name | Description |
|---|---|
input - TicketChangeItemsInput!
|
Tickets to add to or remove from the selected sites |
siteIds - [HashedId!]!
|
Sites to associate with or remove from tickets |
Example
Query
mutation removeSitesByTicketId(
$input: TicketChangeItemsInput!,
$siteIds: [HashedId!]!
) {
removeSitesByTicketId(
input: $input,
siteIds: $siteIds
)
}
Variables
{
"input": TicketChangeItemsInput,
"siteIds": [HashedId]
}
Response
{"data": {"removeSitesByTicketId": true}}
removeSitesFromTicketContentField
Description
Unlink sites from a ticket content field
Response
Returns a TicketContentField!
Arguments
| Name | Description |
|---|---|
input - TicketChangeItemsInput!
|
Tickets to add to or remove from the selected sites |
siteIds - [HashedId!]!
|
Sites to associate with or remove from tickets |
Example
Query
mutation removeSitesFromTicketContentField(
$input: TicketChangeItemsInput!,
$siteIds: [HashedId!]!
) {
removeSitesFromTicketContentField(
input: $input,
siteIds: $siteIds
) {
assetCategories {
...AssetCategoryFragment
}
assetTypes {
...AssetTypeFragment
}
assets {
...AssetFragment
}
assignees {
...AvailableHandlerFragment
}
automations
checkedValue
children {
...TicketContentFieldFragment
}
choiceOptions {
...TicketContentFieldChoiceOptionFragment
}
choiceValue
comment
contentType
created
customFieldColumns {
...CustomFieldFragment
}
dateValue
description {
...TranslationFragment
}
descriptionId
documents {
...DocumentFragment
}
emails {
...TicketContentFieldEmailFragment
}
filters {
...FiltersFragment
}
id
includeTime
isChangeAllowed
isEditableInTicket
isHiddenInTicket
isReservationConstrained
issues {
...ReservationLineItemIssueFragment
}
location {
...AddressFragment
}
locationId
numberValue
numberValueDecimal
order
parentId
phone {
...PhoneFragment
}
phoneId
reservationLineItem {
...ReservationLineItemFragment
}
reservationLineItemId
sites {
...SiteFragment
}
suggestedAssignees {
...AvailableHandlerFragment
}
table {
...TicketContentFieldTableFragment
}
tableId
tags {
...TagFragment
}
textValue
ticketId
title {
...TranslationFragment
}
titleId
updated
uploadedDocuments {
...DocumentFragment
}
yesNoValue
}
}
Variables
{
"input": TicketChangeItemsInput,
"siteIds": [HashedId]
}
Response
{
"data": {
"removeSitesFromTicketContentField": {
"assetCategories": [AssetCategory],
"assetTypes": [AssetType],
"assets": [Asset],
"assignees": [AvailableHandler],
"automations": 987,
"checkedValue": true,
"children": [TicketContentField],
"choiceOptions": [TicketContentFieldChoiceOption],
"choiceValue": "good",
"comment": "xyz789",
"contentType": "asset",
"created": 1592577642,
"customFieldColumns": [CustomField],
"dateValue": "2007-12-03T10:15:30Z",
"description": Translation,
"descriptionId": HashedId,
"documents": [Document],
"emails": [TicketContentFieldEmail],
"filters": [Filters],
"id": HashedId,
"includeTime": false,
"isChangeAllowed": false,
"isEditableInTicket": false,
"isHiddenInTicket": false,
"isReservationConstrained": false,
"issues": [ReservationLineItemIssue],
"location": Address,
"locationId": HashedId,
"numberValue": 987,
"numberValueDecimal": 987.65,
"order": 987,
"parentId": HashedId,
"phone": Phone,
"phoneId": HashedId,
"reservationLineItem": ReservationLineItem,
"reservationLineItemId": HashedId,
"sites": [Site],
"suggestedAssignees": [AvailableHandler],
"table": TicketContentFieldTable,
"tableId": HashedId,
"tags": [Tag],
"textValue": "xyz789",
"ticketId": HashedId,
"title": Translation,
"titleId": HashedId,
"updated": 1592577642,
"uploadedDocuments": [Document],
"yesNoValue": "na"
}
}
}
removeTicketRelation
Description
Remove ticket handler legacy v1
Response
Returns a Boolean!
Example
Query
mutation removeTicketRelation(
$relationId: HashedId!,
$ticketId: HashedId!
) {
removeTicketRelation(
relationId: $relationId,
ticketId: $ticketId
)
}
Variables
{
"relationId": HashedId,
"ticketId": HashedId
}
Response
{"data": {"removeTicketRelation": false}}
removeWorkOrderWorker
Description
Remove a worker from a work order on the Disposition board
Response
Returns a WorkOrderV2!
Arguments
| Name | Description |
|---|---|
input - WorkOrderWorkerInput!
|
Work order worker input payload |
Example
Query
mutation removeWorkOrderWorker($input: WorkOrderWorkerInput!) {
removeWorkOrderWorker(input: $input) {
assetCollections {
...WorkOrderAssetCollectionFragment
}
assets {
...AssetFragment
}
assignee {
...WorkOrderPersonnelV2Fragment
}
comments {
...WorkOrderCommentFragment
}
costCenter
costs {
...WorkOrderCostFragment
}
created
createdByGroup {
...GroupFragment
}
createdByGroupId
creationDate
creator {
...UserFragment
}
creatorId
customerName
customerSignatures {
...WorkOrderCustomerSignatureFragment
}
dailyRate {
...WorkOrderCostFragment
}
deleted
description {
...TranslationFragment
}
endDate
externalEmailHandlers {
...WorkOrderHandlerExternalEmailFragment
}
followers {
...WorkOrderPersonnelV2Fragment
}
groupHandlers {
...WorkOrderHandlerGroupFragment
}
groupTicketHandlerHandlers {
...WorkOrderHandlerGroupTicketHandlerFragment
}
history {
...WorkOrderHistoryEntryFragment
}
historyV2 {
...WorkOrderHistoryFragment
}
id
linkedTickets {
...TicketFragment
}
locations {
...WorkOrderLocationFragment
}
name
notes {
...TranslationFragment
}
notesId
operatingCosts {
...CostFragment
}
partsUsed {
...TicketPartUsageFragment
}
personnel {
...WorkOrderCostFragment
}
personnelHandlers {
...WorkOrderHandlerPersonnelFragment
}
procedureTemplate {
...ProcedureTemplateFragment
}
procedureTemplateId
site {
...SiteFragment
}
siteId
siteManagerHandler {
...WorkOrderHandlerSiteManagerFragment
}
sourceTicket {
...TicketFragment
}
sourceTicketId
startDate
status
teamHandlers {
...WorkOrderHandlerTeamFragment
}
timeEntries {
...WorkOrderTimeEntryFragment
}
timeEntriesSummary {
...WorkOrderTimeEntrySummaryFragment
}
title {
...TranslationFragment
}
totalPartsCost
updated
userHandlers {
...WorkOrderHandlerUserFragment
}
workOrderNumber
workers {
...WorkOrderPersonnelV2Fragment
}
}
}
Variables
{"input": WorkOrderWorkerInput}
Response
{
"data": {
"removeWorkOrderWorker": {
"assetCollections": [WorkOrderAssetCollection],
"assets": [Asset],
"assignee": WorkOrderPersonnelV2,
"comments": [WorkOrderComment],
"costCenter": "xyz789",
"costs": [WorkOrderCost],
"created": 1592577642,
"createdByGroup": Group,
"createdByGroupId": HashedId,
"creationDate": "2007-12-03T10:15:30Z",
"creator": User,
"creatorId": HashedId,
"customerName": "xyz789",
"customerSignatures": [WorkOrderCustomerSignature],
"dailyRate": WorkOrderCost,
"deleted": 1592577642,
"description": Translation,
"endDate": "2007-12-03T10:15:30Z",
"externalEmailHandlers": [
WorkOrderHandlerExternalEmail
],
"followers": [WorkOrderPersonnelV2],
"groupHandlers": [WorkOrderHandlerGroup],
"groupTicketHandlerHandlers": [
WorkOrderHandlerGroupTicketHandler
],
"history": [WorkOrderHistoryEntry],
"historyV2": [WorkOrderHistory],
"id": HashedId,
"linkedTickets": [Ticket],
"locations": [WorkOrderLocation],
"name": "abc123",
"notes": Translation,
"notesId": HashedId,
"operatingCosts": [Cost],
"partsUsed": [TicketPartUsage],
"personnel": [WorkOrderCost],
"personnelHandlers": [WorkOrderHandlerPersonnel],
"procedureTemplate": ProcedureTemplate,
"procedureTemplateId": HashedId,
"site": Site,
"siteId": HashedId,
"siteManagerHandler": WorkOrderHandlerSiteManager,
"sourceTicket": Ticket,
"sourceTicketId": HashedId,
"startDate": "2007-12-03T10:15:30Z",
"status": "CANCELLED",
"teamHandlers": [WorkOrderHandlerTeam],
"timeEntries": [WorkOrderTimeEntry],
"timeEntriesSummary": WorkOrderTimeEntrySummary,
"title": Translation,
"totalPartsCost": 123.45,
"updated": 1592577642,
"userHandlers": [WorkOrderHandlerUser],
"workOrderNumber": 987,
"workers": [WorkOrderPersonnelV2]
}
}
}
renderDashboardReportScheduleSample
Description
Renders the scheduled PDF report for the caller and returns a short-lived link
Response
Returns a String!
Arguments
| Name | Description |
|---|---|
input - DashboardReportScheduleInput!
|
|
scheduleId - HashedId
|
Example
Query
mutation renderDashboardReportScheduleSample(
$input: DashboardReportScheduleInput!,
$scheduleId: HashedId
) {
renderDashboardReportScheduleSample(
input: $input,
scheduleId: $scheduleId
)
}
Variables
{
"input": DashboardReportScheduleInput,
"scheduleId": HashedId
}
Response
{
"data": {
"renderDashboardReportScheduleSample": "xyz789"
}
}
reorderAllViews
Description
Set the display order of all views for the current user
Response
Returns [HashedId!]!
Arguments
| Name | Description |
|---|---|
viewIds - [HashedId!]!
|
Ordered list of view IDs defining the desired display order |
Example
Query
mutation reorderAllViews($viewIds: [HashedId!]!) {
reorderAllViews(viewIds: $viewIds)
}
Variables
{"viewIds": [HashedId]}
Response
{"data": {"reorderAllViews": [HashedId]}}
reorderAssetPackageAssets
Description
Persist a new manual ordering of asset package packageAssets
Response
Returns an AssetPackage!
Arguments
| Name | Description |
|---|---|
input - AssetPackageAssetReorderInput!
|
Input data for reordering asset package packageAssets |
Example
Query
mutation reorderAssetPackageAssets($input: AssetPackageAssetReorderInput!) {
reorderAssetPackageAssets(input: $input) {
assetCount
assets {
...AssetPackageAssetFragment
}
created
group {
...GroupFragment
}
groupId
id
isDeleted
name {
...TranslationFragment
}
primaryAsset {
...AssetFragment
}
primaryAssetId
publicId
site {
...SiteFragment
}
siteId
siteInheritance
siteMismatchCount
updated
}
}
Variables
{"input": AssetPackageAssetReorderInput}
Response
{
"data": {
"reorderAssetPackageAssets": {
"assetCount": 123,
"assets": [AssetPackageAsset],
"created": 1592577642,
"group": Group,
"groupId": HashedId,
"id": HashedId,
"isDeleted": true,
"name": Translation,
"primaryAsset": Asset,
"primaryAssetId": HashedId,
"publicId": 123,
"site": Site,
"siteId": HashedId,
"siteInheritance": "CUSTOM",
"siteMismatchCount": 987,
"updated": 1592577642
}
}
}
requestAssetDataExport
Description
Request an asynchronous asset IoT data export, delivered by email
Response
Returns a BackgroundJob!
Arguments
| Name | Description |
|---|---|
input - AssetDataExportRequestInput!
|
Asset IoT data export request fields |
Example
Query
mutation requestAssetDataExport($input: AssetDataExportRequestInput!) {
requestAssetDataExport(input: $input) {
attempts
created
createdByUser {
...BackgroundJobUserFragment
}
downloadUrl
errorMessage
expiresAt
finishedAt
id
label
procedureTemplateDocumentImportPreview {
...ProcedureTemplateDocumentImportPreviewFragment
}
progressDone
progressTotal
startedAt
status
type
updated
}
}
Variables
{"input": AssetDataExportRequestInput}
Response
{
"data": {
"requestAssetDataExport": {
"attempts": 123,
"created": 1592577642,
"createdByUser": BackgroundJobUser,
"downloadUrl": "xyz789",
"errorMessage": "abc123",
"expiresAt": "2007-12-03T10:15:30Z",
"finishedAt": "2007-12-03T10:15:30Z",
"id": HashedId,
"label": "xyz789",
"procedureTemplateDocumentImportPreview": ProcedureTemplateDocumentImportPreview,
"progressDone": 987,
"progressTotal": 123,
"startedAt": "2007-12-03T10:15:30Z",
"status": "FAILED",
"type": "ASSET_DATA_XLSX_EXPORT",
"updated": 1592577642
}
}
}
requestAssetEventListExport
Description
Request an asynchronous asset event list export, delivered by email
Response
Returns a BackgroundJob!
Arguments
| Name | Description |
|---|---|
input - AssetEventExportRequestInput!
|
Asset event list export request fields |
Example
Query
mutation requestAssetEventListExport($input: AssetEventExportRequestInput!) {
requestAssetEventListExport(input: $input) {
attempts
created
createdByUser {
...BackgroundJobUserFragment
}
downloadUrl
errorMessage
expiresAt
finishedAt
id
label
procedureTemplateDocumentImportPreview {
...ProcedureTemplateDocumentImportPreviewFragment
}
progressDone
progressTotal
startedAt
status
type
updated
}
}
Variables
{"input": AssetEventExportRequestInput}
Response
{
"data": {
"requestAssetEventListExport": {
"attempts": 123,
"created": 1592577642,
"createdByUser": BackgroundJobUser,
"downloadUrl": "xyz789",
"errorMessage": "xyz789",
"expiresAt": "2007-12-03T10:15:30Z",
"finishedAt": "2007-12-03T10:15:30Z",
"id": HashedId,
"label": "xyz789",
"procedureTemplateDocumentImportPreview": ProcedureTemplateDocumentImportPreview,
"progressDone": 123,
"progressTotal": 123,
"startedAt": "2007-12-03T10:15:30Z",
"status": "FAILED",
"type": "ASSET_DATA_XLSX_EXPORT",
"updated": 1592577642
}
}
}
requestAssetImport
Description
Requests a background job that imports an uploaded file of asset rows in one transaction.
Response
Returns a BackgroundJob!
Arguments
| Name | Description |
|---|---|
input - AssetImportRequestInput!
|
Importer request fields |
Example
Query
mutation requestAssetImport($input: AssetImportRequestInput!) {
requestAssetImport(input: $input) {
attempts
created
createdByUser {
...BackgroundJobUserFragment
}
downloadUrl
errorMessage
expiresAt
finishedAt
id
label
procedureTemplateDocumentImportPreview {
...ProcedureTemplateDocumentImportPreviewFragment
}
progressDone
progressTotal
startedAt
status
type
updated
}
}
Variables
{"input": AssetImportRequestInput}
Response
{
"data": {
"requestAssetImport": {
"attempts": 987,
"created": 1592577642,
"createdByUser": BackgroundJobUser,
"downloadUrl": "abc123",
"errorMessage": "xyz789",
"expiresAt": "2007-12-03T10:15:30Z",
"finishedAt": "2007-12-03T10:15:30Z",
"id": HashedId,
"label": "abc123",
"procedureTemplateDocumentImportPreview": ProcedureTemplateDocumentImportPreview,
"progressDone": 987,
"progressTotal": 123,
"startedAt": "2007-12-03T10:15:30Z",
"status": "FAILED",
"type": "ASSET_DATA_XLSX_EXPORT",
"updated": 1592577642
}
}
}
requestAssetImportValidation
Description
Requests a background job that validates an uploaded file of asset rows against the import schema.
Response
Returns a BackgroundJob!
Arguments
| Name | Description |
|---|---|
input - AssetImportValidationRequestInput!
|
Importer request fields |
Example
Query
mutation requestAssetImportValidation($input: AssetImportValidationRequestInput!) {
requestAssetImportValidation(input: $input) {
attempts
created
createdByUser {
...BackgroundJobUserFragment
}
downloadUrl
errorMessage
expiresAt
finishedAt
id
label
procedureTemplateDocumentImportPreview {
...ProcedureTemplateDocumentImportPreviewFragment
}
progressDone
progressTotal
startedAt
status
type
updated
}
}
Variables
{"input": AssetImportValidationRequestInput}
Response
{
"data": {
"requestAssetImportValidation": {
"attempts": 123,
"created": 1592577642,
"createdByUser": BackgroundJobUser,
"downloadUrl": "xyz789",
"errorMessage": "xyz789",
"expiresAt": "2007-12-03T10:15:30Z",
"finishedAt": "2007-12-03T10:15:30Z",
"id": HashedId,
"label": "abc123",
"procedureTemplateDocumentImportPreview": ProcedureTemplateDocumentImportPreview,
"progressDone": 123,
"progressTotal": 123,
"startedAt": "2007-12-03T10:15:30Z",
"status": "FAILED",
"type": "ASSET_DATA_XLSX_EXPORT",
"updated": 1592577642
}
}
}
requestAssetListExport
Description
Request an asynchronous asset list export, delivered by email
Response
Returns a BackgroundJob!
Arguments
| Name | Description |
|---|---|
input - AssetExportRequestInput!
|
Asset list export request fields |
Example
Query
mutation requestAssetListExport($input: AssetExportRequestInput!) {
requestAssetListExport(input: $input) {
attempts
created
createdByUser {
...BackgroundJobUserFragment
}
downloadUrl
errorMessage
expiresAt
finishedAt
id
label
procedureTemplateDocumentImportPreview {
...ProcedureTemplateDocumentImportPreviewFragment
}
progressDone
progressTotal
startedAt
status
type
updated
}
}
Variables
{"input": AssetExportRequestInput}
Response
{
"data": {
"requestAssetListExport": {
"attempts": 987,
"created": 1592577642,
"createdByUser": BackgroundJobUser,
"downloadUrl": "abc123",
"errorMessage": "abc123",
"expiresAt": "2007-12-03T10:15:30Z",
"finishedAt": "2007-12-03T10:15:30Z",
"id": HashedId,
"label": "abc123",
"procedureTemplateDocumentImportPreview": ProcedureTemplateDocumentImportPreview,
"progressDone": 987,
"progressTotal": 123,
"startedAt": "2007-12-03T10:15:30Z",
"status": "FAILED",
"type": "ASSET_DATA_XLSX_EXPORT",
"updated": 1592577642
}
}
}
requestAssetSiteAssignmentListExport
Description
Request an asynchronous asset site assignment list export, delivered by email
Response
Returns a BackgroundJob!
Arguments
| Name | Description |
|---|---|
input - AssetSiteAssignmentExportRequestInput!
|
Asset site assignment list export request fields |
Example
Query
mutation requestAssetSiteAssignmentListExport($input: AssetSiteAssignmentExportRequestInput!) {
requestAssetSiteAssignmentListExport(input: $input) {
attempts
created
createdByUser {
...BackgroundJobUserFragment
}
downloadUrl
errorMessage
expiresAt
finishedAt
id
label
procedureTemplateDocumentImportPreview {
...ProcedureTemplateDocumentImportPreviewFragment
}
progressDone
progressTotal
startedAt
status
type
updated
}
}
Variables
{"input": AssetSiteAssignmentExportRequestInput}
Response
{
"data": {
"requestAssetSiteAssignmentListExport": {
"attempts": 987,
"created": 1592577642,
"createdByUser": BackgroundJobUser,
"downloadUrl": "abc123",
"errorMessage": "abc123",
"expiresAt": "2007-12-03T10:15:30Z",
"finishedAt": "2007-12-03T10:15:30Z",
"id": HashedId,
"label": "abc123",
"procedureTemplateDocumentImportPreview": ProcedureTemplateDocumentImportPreview,
"progressDone": 987,
"progressTotal": 123,
"startedAt": "2007-12-03T10:15:30Z",
"status": "FAILED",
"type": "ASSET_DATA_XLSX_EXPORT",
"updated": 1592577642
}
}
}
requestCostLineListExport
Description
Request an asynchronous operational cost line list export, delivered by email
Response
Returns a BackgroundJob!
Arguments
| Name | Description |
|---|---|
input - CostExportRequestInput!
|
Operational cost line list export request fields |
Example
Query
mutation requestCostLineListExport($input: CostExportRequestInput!) {
requestCostLineListExport(input: $input) {
attempts
created
createdByUser {
...BackgroundJobUserFragment
}
downloadUrl
errorMessage
expiresAt
finishedAt
id
label
procedureTemplateDocumentImportPreview {
...ProcedureTemplateDocumentImportPreviewFragment
}
progressDone
progressTotal
startedAt
status
type
updated
}
}
Variables
{"input": CostExportRequestInput}
Response
{
"data": {
"requestCostLineListExport": {
"attempts": 123,
"created": 1592577642,
"createdByUser": BackgroundJobUser,
"downloadUrl": "abc123",
"errorMessage": "abc123",
"expiresAt": "2007-12-03T10:15:30Z",
"finishedAt": "2007-12-03T10:15:30Z",
"id": HashedId,
"label": "abc123",
"procedureTemplateDocumentImportPreview": ProcedureTemplateDocumentImportPreview,
"progressDone": 987,
"progressTotal": 123,
"startedAt": "2007-12-03T10:15:30Z",
"status": "FAILED",
"type": "ASSET_DATA_XLSX_EXPORT",
"updated": 1592577642
}
}
}
requestCostListExport
Description
Request an asynchronous operational cost list export, delivered by email
Response
Returns a BackgroundJob!
Arguments
| Name | Description |
|---|---|
input - CostExportRequestInput!
|
Operational cost list export request fields |
Example
Query
mutation requestCostListExport($input: CostExportRequestInput!) {
requestCostListExport(input: $input) {
attempts
created
createdByUser {
...BackgroundJobUserFragment
}
downloadUrl
errorMessage
expiresAt
finishedAt
id
label
procedureTemplateDocumentImportPreview {
...ProcedureTemplateDocumentImportPreviewFragment
}
progressDone
progressTotal
startedAt
status
type
updated
}
}
Variables
{"input": CostExportRequestInput}
Response
{
"data": {
"requestCostListExport": {
"attempts": 987,
"created": 1592577642,
"createdByUser": BackgroundJobUser,
"downloadUrl": "xyz789",
"errorMessage": "xyz789",
"expiresAt": "2007-12-03T10:15:30Z",
"finishedAt": "2007-12-03T10:15:30Z",
"id": HashedId,
"label": "abc123",
"procedureTemplateDocumentImportPreview": ProcedureTemplateDocumentImportPreview,
"progressDone": 123,
"progressTotal": 123,
"startedAt": "2007-12-03T10:15:30Z",
"status": "FAILED",
"type": "ASSET_DATA_XLSX_EXPORT",
"updated": 1592577642
}
}
}
requestDashboardBoardDataExport
Description
Request complete dashboard data as CSV ZIP or XLSX
Response
Returns a BackgroundJob!
Arguments
| Name | Description |
|---|---|
input - DashboardBoardDataExportRequestInput!
|
Example
Query
mutation requestDashboardBoardDataExport($input: DashboardBoardDataExportRequestInput!) {
requestDashboardBoardDataExport(input: $input) {
attempts
created
createdByUser {
...BackgroundJobUserFragment
}
downloadUrl
errorMessage
expiresAt
finishedAt
id
label
procedureTemplateDocumentImportPreview {
...ProcedureTemplateDocumentImportPreviewFragment
}
progressDone
progressTotal
startedAt
status
type
updated
}
}
Variables
{"input": DashboardBoardDataExportRequestInput}
Response
{
"data": {
"requestDashboardBoardDataExport": {
"attempts": 987,
"created": 1592577642,
"createdByUser": BackgroundJobUser,
"downloadUrl": "abc123",
"errorMessage": "xyz789",
"expiresAt": "2007-12-03T10:15:30Z",
"finishedAt": "2007-12-03T10:15:30Z",
"id": HashedId,
"label": "abc123",
"procedureTemplateDocumentImportPreview": ProcedureTemplateDocumentImportPreview,
"progressDone": 987,
"progressTotal": 987,
"startedAt": "2007-12-03T10:15:30Z",
"status": "FAILED",
"type": "ASSET_DATA_XLSX_EXPORT",
"updated": 1592577642
}
}
}
requestDashboardBoardWidgetExport
Description
Request a background export of a widget saved on a dashboard the caller can read
Response
Returns a BackgroundJob!
Arguments
| Name | Description |
|---|---|
input - DashboardBoardWidgetExportRequestInput!
|
Saved dashboard widget export request |
Example
Query
mutation requestDashboardBoardWidgetExport($input: DashboardBoardWidgetExportRequestInput!) {
requestDashboardBoardWidgetExport(input: $input) {
attempts
created
createdByUser {
...BackgroundJobUserFragment
}
downloadUrl
errorMessage
expiresAt
finishedAt
id
label
procedureTemplateDocumentImportPreview {
...ProcedureTemplateDocumentImportPreviewFragment
}
progressDone
progressTotal
startedAt
status
type
updated
}
}
Variables
{"input": DashboardBoardWidgetExportRequestInput}
Response
{
"data": {
"requestDashboardBoardWidgetExport": {
"attempts": 123,
"created": 1592577642,
"createdByUser": BackgroundJobUser,
"downloadUrl": "abc123",
"errorMessage": "abc123",
"expiresAt": "2007-12-03T10:15:30Z",
"finishedAt": "2007-12-03T10:15:30Z",
"id": HashedId,
"label": "xyz789",
"procedureTemplateDocumentImportPreview": ProcedureTemplateDocumentImportPreview,
"progressDone": 123,
"progressTotal": 123,
"startedAt": "2007-12-03T10:15:30Z",
"status": "FAILED",
"type": "ASSET_DATA_XLSX_EXPORT",
"updated": 1592577642
}
}
}
requestDashboardPdfExport
Description
Request a background PDF export of a dashboard
Response
Returns a BackgroundJob!
Arguments
| Name | Description |
|---|---|
input - DashboardPdfExportRequestInput!
|
Example
Query
mutation requestDashboardPdfExport($input: DashboardPdfExportRequestInput!) {
requestDashboardPdfExport(input: $input) {
attempts
created
createdByUser {
...BackgroundJobUserFragment
}
downloadUrl
errorMessage
expiresAt
finishedAt
id
label
procedureTemplateDocumentImportPreview {
...ProcedureTemplateDocumentImportPreviewFragment
}
progressDone
progressTotal
startedAt
status
type
updated
}
}
Variables
{"input": DashboardPdfExportRequestInput}
Response
{
"data": {
"requestDashboardPdfExport": {
"attempts": 987,
"created": 1592577642,
"createdByUser": BackgroundJobUser,
"downloadUrl": "xyz789",
"errorMessage": "abc123",
"expiresAt": "2007-12-03T10:15:30Z",
"finishedAt": "2007-12-03T10:15:30Z",
"id": HashedId,
"label": "abc123",
"procedureTemplateDocumentImportPreview": ProcedureTemplateDocumentImportPreview,
"progressDone": 987,
"progressTotal": 123,
"startedAt": "2007-12-03T10:15:30Z",
"status": "FAILED",
"type": "ASSET_DATA_XLSX_EXPORT",
"updated": 1592577642
}
}
}
requestModuleSubscriptionListExport
Description
Request an asynchronous module subscription list export, delivered by email
Response
Returns a BackgroundJob!
Arguments
| Name | Description |
|---|---|
input - ModuleSubscriptionExportRequestInput!
|
Module subscription list export request fields |
Example
Query
mutation requestModuleSubscriptionListExport($input: ModuleSubscriptionExportRequestInput!) {
requestModuleSubscriptionListExport(input: $input) {
attempts
created
createdByUser {
...BackgroundJobUserFragment
}
downloadUrl
errorMessage
expiresAt
finishedAt
id
label
procedureTemplateDocumentImportPreview {
...ProcedureTemplateDocumentImportPreviewFragment
}
progressDone
progressTotal
startedAt
status
type
updated
}
}
Variables
{"input": ModuleSubscriptionExportRequestInput}
Response
{
"data": {
"requestModuleSubscriptionListExport": {
"attempts": 123,
"created": 1592577642,
"createdByUser": BackgroundJobUser,
"downloadUrl": "abc123",
"errorMessage": "abc123",
"expiresAt": "2007-12-03T10:15:30Z",
"finishedAt": "2007-12-03T10:15:30Z",
"id": HashedId,
"label": "xyz789",
"procedureTemplateDocumentImportPreview": ProcedureTemplateDocumentImportPreview,
"progressDone": 123,
"progressTotal": 123,
"startedAt": "2007-12-03T10:15:30Z",
"status": "FAILED",
"type": "ASSET_DATA_XLSX_EXPORT",
"updated": 1592577642
}
}
}
requestPartImport
Description
Requests a background job that imports an uploaded file of part rows in one transaction.
Response
Returns a BackgroundJob!
Arguments
| Name | Description |
|---|---|
input - PartImportRequestInput!
|
Importer request fields |
Example
Query
mutation requestPartImport($input: PartImportRequestInput!) {
requestPartImport(input: $input) {
attempts
created
createdByUser {
...BackgroundJobUserFragment
}
downloadUrl
errorMessage
expiresAt
finishedAt
id
label
procedureTemplateDocumentImportPreview {
...ProcedureTemplateDocumentImportPreviewFragment
}
progressDone
progressTotal
startedAt
status
type
updated
}
}
Variables
{"input": PartImportRequestInput}
Response
{
"data": {
"requestPartImport": {
"attempts": 123,
"created": 1592577642,
"createdByUser": BackgroundJobUser,
"downloadUrl": "xyz789",
"errorMessage": "abc123",
"expiresAt": "2007-12-03T10:15:30Z",
"finishedAt": "2007-12-03T10:15:30Z",
"id": HashedId,
"label": "xyz789",
"procedureTemplateDocumentImportPreview": ProcedureTemplateDocumentImportPreview,
"progressDone": 123,
"progressTotal": 123,
"startedAt": "2007-12-03T10:15:30Z",
"status": "FAILED",
"type": "ASSET_DATA_XLSX_EXPORT",
"updated": 1592577642
}
}
}
requestPartImportValidation
Description
Requests a background job that validates an uploaded file of part rows against the import schema.
Response
Returns a BackgroundJob!
Arguments
| Name | Description |
|---|---|
input - PartImportValidationRequestInput!
|
Importer request fields |
Example
Query
mutation requestPartImportValidation($input: PartImportValidationRequestInput!) {
requestPartImportValidation(input: $input) {
attempts
created
createdByUser {
...BackgroundJobUserFragment
}
downloadUrl
errorMessage
expiresAt
finishedAt
id
label
procedureTemplateDocumentImportPreview {
...ProcedureTemplateDocumentImportPreviewFragment
}
progressDone
progressTotal
startedAt
status
type
updated
}
}
Variables
{"input": PartImportValidationRequestInput}
Response
{
"data": {
"requestPartImportValidation": {
"attempts": 123,
"created": 1592577642,
"createdByUser": BackgroundJobUser,
"downloadUrl": "xyz789",
"errorMessage": "abc123",
"expiresAt": "2007-12-03T10:15:30Z",
"finishedAt": "2007-12-03T10:15:30Z",
"id": HashedId,
"label": "xyz789",
"procedureTemplateDocumentImportPreview": ProcedureTemplateDocumentImportPreview,
"progressDone": 987,
"progressTotal": 123,
"startedAt": "2007-12-03T10:15:30Z",
"status": "FAILED",
"type": "ASSET_DATA_XLSX_EXPORT",
"updated": 1592577642
}
}
}
requestPartListExport
Description
Request an asynchronous part list export, delivered by email
Response
Returns a BackgroundJob!
Arguments
| Name | Description |
|---|---|
input - PartExportRequestInput!
|
Part list export request fields |
Example
Query
mutation requestPartListExport($input: PartExportRequestInput!) {
requestPartListExport(input: $input) {
attempts
created
createdByUser {
...BackgroundJobUserFragment
}
downloadUrl
errorMessage
expiresAt
finishedAt
id
label
procedureTemplateDocumentImportPreview {
...ProcedureTemplateDocumentImportPreviewFragment
}
progressDone
progressTotal
startedAt
status
type
updated
}
}
Variables
{"input": PartExportRequestInput}
Response
{
"data": {
"requestPartListExport": {
"attempts": 123,
"created": 1592577642,
"createdByUser": BackgroundJobUser,
"downloadUrl": "abc123",
"errorMessage": "abc123",
"expiresAt": "2007-12-03T10:15:30Z",
"finishedAt": "2007-12-03T10:15:30Z",
"id": HashedId,
"label": "abc123",
"procedureTemplateDocumentImportPreview": ProcedureTemplateDocumentImportPreview,
"progressDone": 987,
"progressTotal": 987,
"startedAt": "2007-12-03T10:15:30Z",
"status": "FAILED",
"type": "ASSET_DATA_XLSX_EXPORT",
"updated": 1592577642
}
}
}
requestPersonnelListExport
Description
Request an asynchronous personnel list export, delivered by email
Response
Returns a BackgroundJob!
Arguments
| Name | Description |
|---|---|
input - PersonnelExportRequestInput!
|
Personnel list export request fields |
Example
Query
mutation requestPersonnelListExport($input: PersonnelExportRequestInput!) {
requestPersonnelListExport(input: $input) {
attempts
created
createdByUser {
...BackgroundJobUserFragment
}
downloadUrl
errorMessage
expiresAt
finishedAt
id
label
procedureTemplateDocumentImportPreview {
...ProcedureTemplateDocumentImportPreviewFragment
}
progressDone
progressTotal
startedAt
status
type
updated
}
}
Variables
{"input": PersonnelExportRequestInput}
Response
{
"data": {
"requestPersonnelListExport": {
"attempts": 123,
"created": 1592577642,
"createdByUser": BackgroundJobUser,
"downloadUrl": "xyz789",
"errorMessage": "abc123",
"expiresAt": "2007-12-03T10:15:30Z",
"finishedAt": "2007-12-03T10:15:30Z",
"id": HashedId,
"label": "abc123",
"procedureTemplateDocumentImportPreview": ProcedureTemplateDocumentImportPreview,
"progressDone": 123,
"progressTotal": 123,
"startedAt": "2007-12-03T10:15:30Z",
"status": "FAILED",
"type": "ASSET_DATA_XLSX_EXPORT",
"updated": 1592577642
}
}
}
requestProcedureTemplateDocumentImport
Description
Requests a procedure template draft generated from an uploaded document
Response
Returns a BackgroundJob!
Arguments
| Name | Description |
|---|---|
input - ProcedureTemplateDocumentImportRequestInput!
|
Procedure template document import fields |
Example
Query
mutation requestProcedureTemplateDocumentImport($input: ProcedureTemplateDocumentImportRequestInput!) {
requestProcedureTemplateDocumentImport(input: $input) {
attempts
created
createdByUser {
...BackgroundJobUserFragment
}
downloadUrl
errorMessage
expiresAt
finishedAt
id
label
procedureTemplateDocumentImportPreview {
...ProcedureTemplateDocumentImportPreviewFragment
}
progressDone
progressTotal
startedAt
status
type
updated
}
}
Variables
{"input": ProcedureTemplateDocumentImportRequestInput}
Response
{
"data": {
"requestProcedureTemplateDocumentImport": {
"attempts": 123,
"created": 1592577642,
"createdByUser": BackgroundJobUser,
"downloadUrl": "xyz789",
"errorMessage": "abc123",
"expiresAt": "2007-12-03T10:15:30Z",
"finishedAt": "2007-12-03T10:15:30Z",
"id": HashedId,
"label": "abc123",
"procedureTemplateDocumentImportPreview": ProcedureTemplateDocumentImportPreview,
"progressDone": 123,
"progressTotal": 123,
"startedAt": "2007-12-03T10:15:30Z",
"status": "FAILED",
"type": "ASSET_DATA_XLSX_EXPORT",
"updated": 1592577642
}
}
}
requestRuleEntryAssetListExport
Description
Request an asynchronous rule entry asset list export, delivered by email
Response
Returns a BackgroundJob!
Arguments
| Name | Description |
|---|---|
input - RuleEntryAssetExportRequestInput!
|
Rule entry asset list export request fields |
Example
Query
mutation requestRuleEntryAssetListExport($input: RuleEntryAssetExportRequestInput!) {
requestRuleEntryAssetListExport(input: $input) {
attempts
created
createdByUser {
...BackgroundJobUserFragment
}
downloadUrl
errorMessage
expiresAt
finishedAt
id
label
procedureTemplateDocumentImportPreview {
...ProcedureTemplateDocumentImportPreviewFragment
}
progressDone
progressTotal
startedAt
status
type
updated
}
}
Variables
{"input": RuleEntryAssetExportRequestInput}
Response
{
"data": {
"requestRuleEntryAssetListExport": {
"attempts": 987,
"created": 1592577642,
"createdByUser": BackgroundJobUser,
"downloadUrl": "xyz789",
"errorMessage": "xyz789",
"expiresAt": "2007-12-03T10:15:30Z",
"finishedAt": "2007-12-03T10:15:30Z",
"id": HashedId,
"label": "abc123",
"procedureTemplateDocumentImportPreview": ProcedureTemplateDocumentImportPreview,
"progressDone": 987,
"progressTotal": 987,
"startedAt": "2007-12-03T10:15:30Z",
"status": "FAILED",
"type": "ASSET_DATA_XLSX_EXPORT",
"updated": 1592577642
}
}
}
requestSiteImport
Description
Requests a background job that imports an uploaded file of site rows in one transaction.
Response
Returns a BackgroundJob!
Arguments
| Name | Description |
|---|---|
input - SiteImportRequestInput!
|
Importer request fields |
Example
Query
mutation requestSiteImport($input: SiteImportRequestInput!) {
requestSiteImport(input: $input) {
attempts
created
createdByUser {
...BackgroundJobUserFragment
}
downloadUrl
errorMessage
expiresAt
finishedAt
id
label
procedureTemplateDocumentImportPreview {
...ProcedureTemplateDocumentImportPreviewFragment
}
progressDone
progressTotal
startedAt
status
type
updated
}
}
Variables
{"input": SiteImportRequestInput}
Response
{
"data": {
"requestSiteImport": {
"attempts": 987,
"created": 1592577642,
"createdByUser": BackgroundJobUser,
"downloadUrl": "xyz789",
"errorMessage": "abc123",
"expiresAt": "2007-12-03T10:15:30Z",
"finishedAt": "2007-12-03T10:15:30Z",
"id": HashedId,
"label": "abc123",
"procedureTemplateDocumentImportPreview": ProcedureTemplateDocumentImportPreview,
"progressDone": 123,
"progressTotal": 987,
"startedAt": "2007-12-03T10:15:30Z",
"status": "FAILED",
"type": "ASSET_DATA_XLSX_EXPORT",
"updated": 1592577642
}
}
}
requestSiteImportValidation
Description
Requests a background job that validates an uploaded file of site rows against the import schema.
Response
Returns a BackgroundJob!
Arguments
| Name | Description |
|---|---|
input - SiteImportValidationRequestInput!
|
Importer request fields |
Example
Query
mutation requestSiteImportValidation($input: SiteImportValidationRequestInput!) {
requestSiteImportValidation(input: $input) {
attempts
created
createdByUser {
...BackgroundJobUserFragment
}
downloadUrl
errorMessage
expiresAt
finishedAt
id
label
procedureTemplateDocumentImportPreview {
...ProcedureTemplateDocumentImportPreviewFragment
}
progressDone
progressTotal
startedAt
status
type
updated
}
}
Variables
{"input": SiteImportValidationRequestInput}
Response
{
"data": {
"requestSiteImportValidation": {
"attempts": 123,
"created": 1592577642,
"createdByUser": BackgroundJobUser,
"downloadUrl": "abc123",
"errorMessage": "abc123",
"expiresAt": "2007-12-03T10:15:30Z",
"finishedAt": "2007-12-03T10:15:30Z",
"id": HashedId,
"label": "abc123",
"procedureTemplateDocumentImportPreview": ProcedureTemplateDocumentImportPreview,
"progressDone": 987,
"progressTotal": 123,
"startedAt": "2007-12-03T10:15:30Z",
"status": "FAILED",
"type": "ASSET_DATA_XLSX_EXPORT",
"updated": 1592577642
}
}
}
requestSiteListExport
Description
Request an asynchronous site list export, delivered by email
Response
Returns a BackgroundJob!
Arguments
| Name | Description |
|---|---|
input - SiteExportRequestInput!
|
Site list export request fields |
Example
Query
mutation requestSiteListExport($input: SiteExportRequestInput!) {
requestSiteListExport(input: $input) {
attempts
created
createdByUser {
...BackgroundJobUserFragment
}
downloadUrl
errorMessage
expiresAt
finishedAt
id
label
procedureTemplateDocumentImportPreview {
...ProcedureTemplateDocumentImportPreviewFragment
}
progressDone
progressTotal
startedAt
status
type
updated
}
}
Variables
{"input": SiteExportRequestInput}
Response
{
"data": {
"requestSiteListExport": {
"attempts": 987,
"created": 1592577642,
"createdByUser": BackgroundJobUser,
"downloadUrl": "abc123",
"errorMessage": "xyz789",
"expiresAt": "2007-12-03T10:15:30Z",
"finishedAt": "2007-12-03T10:15:30Z",
"id": HashedId,
"label": "abc123",
"procedureTemplateDocumentImportPreview": ProcedureTemplateDocumentImportPreview,
"progressDone": 123,
"progressTotal": 123,
"startedAt": "2007-12-03T10:15:30Z",
"status": "FAILED",
"type": "ASSET_DATA_XLSX_EXPORT",
"updated": 1592577642
}
}
}
requestTicketListExport
Description
Request an asynchronous ticket list export, delivered by email
Response
Returns a BackgroundJob!
Arguments
| Name | Description |
|---|---|
input - TicketExportRequestInput!
|
Ticket list export request fields |
Example
Query
mutation requestTicketListExport($input: TicketExportRequestInput!) {
requestTicketListExport(input: $input) {
attempts
created
createdByUser {
...BackgroundJobUserFragment
}
downloadUrl
errorMessage
expiresAt
finishedAt
id
label
procedureTemplateDocumentImportPreview {
...ProcedureTemplateDocumentImportPreviewFragment
}
progressDone
progressTotal
startedAt
status
type
updated
}
}
Variables
{"input": TicketExportRequestInput}
Response
{
"data": {
"requestTicketListExport": {
"attempts": 987,
"created": 1592577642,
"createdByUser": BackgroundJobUser,
"downloadUrl": "xyz789",
"errorMessage": "xyz789",
"expiresAt": "2007-12-03T10:15:30Z",
"finishedAt": "2007-12-03T10:15:30Z",
"id": HashedId,
"label": "abc123",
"procedureTemplateDocumentImportPreview": ProcedureTemplateDocumentImportPreview,
"progressDone": 987,
"progressTotal": 987,
"startedAt": "2007-12-03T10:15:30Z",
"status": "FAILED",
"type": "ASSET_DATA_XLSX_EXPORT",
"updated": 1592577642
}
}
}
requestTripListExport
Description
Request an asynchronous trip list export, delivered by email
Response
Returns a BackgroundJob!
Arguments
| Name | Description |
|---|---|
input - TripExportRequestInput!
|
Trip list export request fields |
Example
Query
mutation requestTripListExport($input: TripExportRequestInput!) {
requestTripListExport(input: $input) {
attempts
created
createdByUser {
...BackgroundJobUserFragment
}
downloadUrl
errorMessage
expiresAt
finishedAt
id
label
procedureTemplateDocumentImportPreview {
...ProcedureTemplateDocumentImportPreviewFragment
}
progressDone
progressTotal
startedAt
status
type
updated
}
}
Variables
{"input": TripExportRequestInput}
Response
{
"data": {
"requestTripListExport": {
"attempts": 123,
"created": 1592577642,
"createdByUser": BackgroundJobUser,
"downloadUrl": "xyz789",
"errorMessage": "abc123",
"expiresAt": "2007-12-03T10:15:30Z",
"finishedAt": "2007-12-03T10:15:30Z",
"id": HashedId,
"label": "abc123",
"procedureTemplateDocumentImportPreview": ProcedureTemplateDocumentImportPreview,
"progressDone": 987,
"progressTotal": 987,
"startedAt": "2007-12-03T10:15:30Z",
"status": "FAILED",
"type": "ASSET_DATA_XLSX_EXPORT",
"updated": 1592577642
}
}
}
requestUserListExport
Description
Request an asynchronous user list export, delivered by email
Response
Returns a BackgroundJob!
Arguments
| Name | Description |
|---|---|
input - UserExportRequestInput!
|
User list export request fields |
Example
Query
mutation requestUserListExport($input: UserExportRequestInput!) {
requestUserListExport(input: $input) {
attempts
created
createdByUser {
...BackgroundJobUserFragment
}
downloadUrl
errorMessage
expiresAt
finishedAt
id
label
procedureTemplateDocumentImportPreview {
...ProcedureTemplateDocumentImportPreviewFragment
}
progressDone
progressTotal
startedAt
status
type
updated
}
}
Variables
{"input": UserExportRequestInput}
Response
{
"data": {
"requestUserListExport": {
"attempts": 987,
"created": 1592577642,
"createdByUser": BackgroundJobUser,
"downloadUrl": "xyz789",
"errorMessage": "xyz789",
"expiresAt": "2007-12-03T10:15:30Z",
"finishedAt": "2007-12-03T10:15:30Z",
"id": HashedId,
"label": "xyz789",
"procedureTemplateDocumentImportPreview": ProcedureTemplateDocumentImportPreview,
"progressDone": 123,
"progressTotal": 987,
"startedAt": "2007-12-03T10:15:30Z",
"status": "FAILED",
"type": "ASSET_DATA_XLSX_EXPORT",
"updated": 1592577642
}
}
}
requestWorkOrderListExport
Description
Request an asynchronous work order list export, delivered by email
Response
Returns a BackgroundJob!
Arguments
| Name | Description |
|---|---|
input - WorkOrderExportRequestInput!
|
Work order list export request fields |
Example
Query
mutation requestWorkOrderListExport($input: WorkOrderExportRequestInput!) {
requestWorkOrderListExport(input: $input) {
attempts
created
createdByUser {
...BackgroundJobUserFragment
}
downloadUrl
errorMessage
expiresAt
finishedAt
id
label
procedureTemplateDocumentImportPreview {
...ProcedureTemplateDocumentImportPreviewFragment
}
progressDone
progressTotal
startedAt
status
type
updated
}
}
Variables
{"input": WorkOrderExportRequestInput}
Response
{
"data": {
"requestWorkOrderListExport": {
"attempts": 123,
"created": 1592577642,
"createdByUser": BackgroundJobUser,
"downloadUrl": "abc123",
"errorMessage": "xyz789",
"expiresAt": "2007-12-03T10:15:30Z",
"finishedAt": "2007-12-03T10:15:30Z",
"id": HashedId,
"label": "abc123",
"procedureTemplateDocumentImportPreview": ProcedureTemplateDocumentImportPreview,
"progressDone": 987,
"progressTotal": 987,
"startedAt": "2007-12-03T10:15:30Z",
"status": "FAILED",
"type": "ASSET_DATA_XLSX_EXPORT",
"updated": 1592577642
}
}
}
rescheduleAssetEvent
Description
Reschedule a maintenance or check event for an asset
Response
Returns an Event!
Arguments
| Name | Description |
|---|---|
input - EventRescheduleInput!
|
Event reschedule parameters |
Example
Query
mutation rescheduleAssetEvent($input: EventRescheduleInput!) {
rescheduleAssetEvent(input: $input) {
authorEmail
connectedComment {
...TicketCommentFragment
}
costs {
...CostLineFragment
}
created
createdByIntegrationName
createdByPart {
...PartFragment
}
createdByPartId
createdByRule {
...RuleFragment
}
createdByRuleId
createdBySite {
...SiteFragment
}
createdBySiteId
createdByTicket {
...TicketFragment
}
createdByTicketId
createdByUser {
...UserFragment
}
createdByUserId
createdByWorkOrder {
...WorkOrderSummaryFragment
}
createdByWorkOrderId
data {
...EventEntityDataDtoFragment
}
description {
...TranslationFragment
}
descriptionId
documents {
...DocumentFragment
}
endTime
eventMeta
eventStyle {
...EventStyleFragment
}
eventStyleId
id
isCritical
isImmediateNotification
isOngoing
lastEvent
manualDeactivation
originatingFromAsset {
...AssetFragment
}
originatingFromAssetId
originatingFromModule {
...ModuleFragment
}
originatingFromModuleId
publicId
responseState {
...TicketStateFragment
}
serviceName {
...TranslationFragment
}
shouldNotify
site {
...SiteFragment
}
siteId
startTime
stoppedByUser {
...UserFragment
}
stoppedByUserId
tag
ticketId
ticketStatus
title {
...TranslationFragment
}
titleId
type
updated
workOrderNotifications {
...WorkOrderNotificationsFragment
}
}
}
Variables
{"input": EventRescheduleInput}
Response
{
"data": {
"rescheduleAssetEvent": {
"authorEmail": "xyz789",
"connectedComment": TicketComment,
"costs": [CostLine],
"created": 1592577642,
"createdByIntegrationName": "abc123",
"createdByPart": Part,
"createdByPartId": HashedId,
"createdByRule": Rule,
"createdByRuleId": HashedId,
"createdBySite": Site,
"createdBySiteId": HashedId,
"createdByTicket": Ticket,
"createdByTicketId": HashedId,
"createdByUser": User,
"createdByUserId": HashedId,
"createdByWorkOrder": WorkOrderSummary,
"createdByWorkOrderId": HashedId,
"data": EventEntityDataDto,
"description": Translation,
"descriptionId": HashedId,
"documents": [Document],
"endTime": 1592577642,
"eventMeta": {},
"eventStyle": EventStyle,
"eventStyleId": "abc123",
"id": HashedId,
"isCritical": false,
"isImmediateNotification": false,
"isOngoing": false,
"lastEvent": 1592577642,
"manualDeactivation": true,
"originatingFromAsset": Asset,
"originatingFromAssetId": HashedId,
"originatingFromModule": Module,
"originatingFromModuleId": HashedId,
"publicId": 123,
"responseState": TicketState,
"serviceName": Translation,
"shouldNotify": true,
"site": Site,
"siteId": HashedId,
"startTime": 1592577642,
"stoppedByUser": User,
"stoppedByUserId": HashedId,
"tag": ["RESPONSIBLE_UPDATE"],
"ticketId": 987,
"ticketStatus": "approvalNeeded",
"title": Translation,
"titleId": HashedId,
"type": "COST",
"updated": 1592577642,
"workOrderNotifications": WorkOrderNotifications
}
}
}
resendDashboardReportRun
Description
Queues the report again for recipients the mail server never received it for
resendRegistrationRequestManufacturerNotification
Response
Returns a Boolean!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Unique identifier of the entity |
Example
Query
mutation resendRegistrationRequestManufacturerNotification($id: HashedId!) {
resendRegistrationRequestManufacturerNotification(id: $id)
}
Variables
{"id": HashedId}
Response
{"data": {"resendRegistrationRequestManufacturerNotification": false}}
resetNotificationCounter
Description
Reset notification counter
restoreAsset
Description
Restore a soft-deleted asset in the current group tree, for ToolSense admins only. Modules, QR stickers, BLE, schedules, rules and site assignments are not restored.
restoreAssetCategory
Description
Restore a soft-deleted asset category in the current group tree, for ToolSense admins only
restoreAssetType
Description
Restore a soft-deleted asset type in the current group tree, for ToolSense admins only. Types retired by a merge cannot be restored.
restoreGroup
Description
Restore a soft-deleted group in the current group tree, for ToolSense admins only. Settings, cost settings and site types come back; users, additional-group assignments and archived rules do not.
restoreSite
Description
Restore a soft-deleted site in the current group tree, for ToolSense admins only. Its group assignment comes back; archived rules and site managers do not.
retryBackgroundJob
Description
Retry a failed background job
Response
Returns a BackgroundJob!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Unique identifier of the entity |
Example
Query
mutation retryBackgroundJob($id: HashedId!) {
retryBackgroundJob(id: $id) {
attempts
created
createdByUser {
...BackgroundJobUserFragment
}
downloadUrl
errorMessage
expiresAt
finishedAt
id
label
procedureTemplateDocumentImportPreview {
...ProcedureTemplateDocumentImportPreviewFragment
}
progressDone
progressTotal
startedAt
status
type
updated
}
}
Variables
{"id": HashedId}
Response
{
"data": {
"retryBackgroundJob": {
"attempts": 123,
"created": 1592577642,
"createdByUser": BackgroundJobUser,
"downloadUrl": "abc123",
"errorMessage": "abc123",
"expiresAt": "2007-12-03T10:15:30Z",
"finishedAt": "2007-12-03T10:15:30Z",
"id": HashedId,
"label": "xyz789",
"procedureTemplateDocumentImportPreview": ProcedureTemplateDocumentImportPreview,
"progressDone": 123,
"progressTotal": 123,
"startedAt": "2007-12-03T10:15:30Z",
"status": "FAILED",
"type": "ASSET_DATA_XLSX_EXPORT",
"updated": 1592577642
}
}
}
revealPersonnelNationalInsuranceNumber
Description
Reveal the personnel national insurance number
Response
Returns a String
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Unique identifier of the entity |
input - PersonnelRevealNationalInsuranceNumberInput!
|
Field reveal input |
Example
Query
mutation revealPersonnelNationalInsuranceNumber(
$id: HashedId!,
$input: PersonnelRevealNationalInsuranceNumberInput!
) {
revealPersonnelNationalInsuranceNumber(
id: $id,
input: $input
)
}
Variables
{
"id": HashedId,
"input": PersonnelRevealNationalInsuranceNumberInput
}
Response
{
"data": {
"revealPersonnelNationalInsuranceNumber": "xyz789"
}
}
revertServiceJotformConversionForm
Description
Restores the converted services of a Jotform form and conversion preset
Response
Returns a ServiceJotformConversionForm!
Arguments
| Name | Description |
|---|---|
input - ServiceJotformConversionRevertInput!
|
Jotform conversion revert fields |
Example
Query
mutation revertServiceJotformConversionForm($input: ServiceJotformConversionRevertInput!) {
revertServiceJotformConversionForm(input: $input) {
conversionPreset
convertedCount
id
jotformId
notConvertibleReason
procedureTemplate {
...ProcedureTemplateFragment
}
serviceCount
skippedCount
}
}
Variables
{"input": ServiceJotformConversionRevertInput}
Response
{
"data": {
"revertServiceJotformConversionForm": {
"conversionPreset": "CHECK",
"convertedCount": 123,
"id": "xyz789",
"jotformId": "abc123",
"notConvertibleReason": "BLE_PRESET",
"procedureTemplate": ProcedureTemplate,
"serviceCount": 123,
"skippedCount": 987
}
}
}
ruleEntryEventAssigneeUpdate
Description
Update the assignee of a rule entry event
Response
Returns a RuleEntryEvent!
Arguments
| Name | Description |
|---|---|
input - RuleEntryEventAssigneeUpdateInput!
|
Data required to update the assignee of a rule entry event |
Example
Query
mutation ruleEntryEventAssigneeUpdate($input: RuleEntryEventAssigneeUpdateInput!) {
ruleEntryEventAssigneeUpdate(input: $input) {
asset {
...AssetFragment
}
assetId
assignee {
...UserFragment
}
assigneePublic {
...UserPublicFragment
}
assigneeUserId
cancelledAt
cancelledByUser {
...UserFragment
}
cancelledByUserId
completedAt
completedByUser {
...UserFragment
}
completedByUserId
completedParameterValue
created
currentParameterReading
description {
...TranslationFragment
}
displayStatus
dueAt
dueParameterValue
id
isCheckAllowedForUnauthorizedUsers
lastRescheduledAt
name {
...TranslationFragment
}
nextTrigger {
...RuleEntryScheduleTriggerFragment
}
notifications {
...RuleEntryEventNotificationFragment
}
originalDueAt
originalDueParameterValue
previousCompletedAt
previousCompletedParameterValue
ruleEntry {
...RuleEntryFragment
}
ruleEntryId
status
subType
ticket {
...TicketFragment
}
ticketId
translations {
...RuleEntryEventTranslationFragment
}
trigger {
...RuleEntryScheduleTriggerFragment
}
triggerId
triggerType
triggeredAt
triggeredGeofenceDirection
triggeredParameterValue
updated
}
}
Variables
{"input": RuleEntryEventAssigneeUpdateInput}
Response
{
"data": {
"ruleEntryEventAssigneeUpdate": {
"asset": Asset,
"assetId": HashedId,
"assignee": User,
"assigneePublic": UserPublic,
"assigneeUserId": HashedId,
"cancelledAt": "2007-12-03T10:15:30Z",
"cancelledByUser": User,
"cancelledByUserId": HashedId,
"completedAt": "2007-12-03T10:15:30Z",
"completedByUser": User,
"completedByUserId": HashedId,
"completedParameterValue": 987.65,
"created": 1592577642,
"currentParameterReading": 987.65,
"description": Translation,
"displayStatus": "CANCELLED",
"dueAt": "2007-12-03T10:15:30Z",
"dueParameterValue": 987.65,
"id": HashedId,
"isCheckAllowedForUnauthorizedUsers": true,
"lastRescheduledAt": "2007-12-03T10:15:30Z",
"name": Translation,
"nextTrigger": RuleEntryScheduleTrigger,
"notifications": [RuleEntryEventNotification],
"originalDueAt": "2007-12-03T10:15:30Z",
"originalDueParameterValue": 123.45,
"previousCompletedAt": "2007-12-03T10:15:30Z",
"previousCompletedParameterValue": 123.45,
"ruleEntry": RuleEntry,
"ruleEntryId": HashedId,
"status": "CANCELLED",
"subType": "ERROR",
"ticket": Ticket,
"ticketId": HashedId,
"translations": [RuleEntryEventTranslation],
"trigger": RuleEntryScheduleTrigger,
"triggerId": HashedId,
"triggerType": "COMBINED",
"triggeredAt": "2007-12-03T10:15:30Z",
"triggeredGeofenceDirection": "ENTER",
"triggeredParameterValue": 987.65,
"updated": 1592577642
}
}
}
ruleEntryEventComplete
Description
Complete an open IoT alert rule entry event whose trigger is set to manual completion
Response
Returns a RuleEntryEvent!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Unique identifier of the entity |
Example
Query
mutation ruleEntryEventComplete($id: HashedId!) {
ruleEntryEventComplete(id: $id) {
asset {
...AssetFragment
}
assetId
assignee {
...UserFragment
}
assigneePublic {
...UserPublicFragment
}
assigneeUserId
cancelledAt
cancelledByUser {
...UserFragment
}
cancelledByUserId
completedAt
completedByUser {
...UserFragment
}
completedByUserId
completedParameterValue
created
currentParameterReading
description {
...TranslationFragment
}
displayStatus
dueAt
dueParameterValue
id
isCheckAllowedForUnauthorizedUsers
lastRescheduledAt
name {
...TranslationFragment
}
nextTrigger {
...RuleEntryScheduleTriggerFragment
}
notifications {
...RuleEntryEventNotificationFragment
}
originalDueAt
originalDueParameterValue
previousCompletedAt
previousCompletedParameterValue
ruleEntry {
...RuleEntryFragment
}
ruleEntryId
status
subType
ticket {
...TicketFragment
}
ticketId
translations {
...RuleEntryEventTranslationFragment
}
trigger {
...RuleEntryScheduleTriggerFragment
}
triggerId
triggerType
triggeredAt
triggeredGeofenceDirection
triggeredParameterValue
updated
}
}
Variables
{"id": HashedId}
Response
{
"data": {
"ruleEntryEventComplete": {
"asset": Asset,
"assetId": HashedId,
"assignee": User,
"assigneePublic": UserPublic,
"assigneeUserId": HashedId,
"cancelledAt": "2007-12-03T10:15:30Z",
"cancelledByUser": User,
"cancelledByUserId": HashedId,
"completedAt": "2007-12-03T10:15:30Z",
"completedByUser": User,
"completedByUserId": HashedId,
"completedParameterValue": 987.65,
"created": 1592577642,
"currentParameterReading": 987.65,
"description": Translation,
"displayStatus": "CANCELLED",
"dueAt": "2007-12-03T10:15:30Z",
"dueParameterValue": 123.45,
"id": HashedId,
"isCheckAllowedForUnauthorizedUsers": false,
"lastRescheduledAt": "2007-12-03T10:15:30Z",
"name": Translation,
"nextTrigger": RuleEntryScheduleTrigger,
"notifications": [RuleEntryEventNotification],
"originalDueAt": "2007-12-03T10:15:30Z",
"originalDueParameterValue": 123.45,
"previousCompletedAt": "2007-12-03T10:15:30Z",
"previousCompletedParameterValue": 123.45,
"ruleEntry": RuleEntry,
"ruleEntryId": HashedId,
"status": "CANCELLED",
"subType": "ERROR",
"ticket": Ticket,
"ticketId": HashedId,
"translations": [RuleEntryEventTranslation],
"trigger": RuleEntryScheduleTrigger,
"triggerId": HashedId,
"triggerType": "COMBINED",
"triggeredAt": "2007-12-03T10:15:30Z",
"triggeredGeofenceDirection": "ENTER",
"triggeredParameterValue": 123.45,
"updated": 1592577642
}
}
}
ruleEntryEventReschedule
Description
Reschedule an upcoming rule entry event to a new due date
Response
Returns a RuleEntryEvent!
Arguments
| Name | Description |
|---|---|
input - RuleEntryEventRescheduleInput!
|
Example
Query
mutation ruleEntryEventReschedule($input: RuleEntryEventRescheduleInput!) {
ruleEntryEventReschedule(input: $input) {
asset {
...AssetFragment
}
assetId
assignee {
...UserFragment
}
assigneePublic {
...UserPublicFragment
}
assigneeUserId
cancelledAt
cancelledByUser {
...UserFragment
}
cancelledByUserId
completedAt
completedByUser {
...UserFragment
}
completedByUserId
completedParameterValue
created
currentParameterReading
description {
...TranslationFragment
}
displayStatus
dueAt
dueParameterValue
id
isCheckAllowedForUnauthorizedUsers
lastRescheduledAt
name {
...TranslationFragment
}
nextTrigger {
...RuleEntryScheduleTriggerFragment
}
notifications {
...RuleEntryEventNotificationFragment
}
originalDueAt
originalDueParameterValue
previousCompletedAt
previousCompletedParameterValue
ruleEntry {
...RuleEntryFragment
}
ruleEntryId
status
subType
ticket {
...TicketFragment
}
ticketId
translations {
...RuleEntryEventTranslationFragment
}
trigger {
...RuleEntryScheduleTriggerFragment
}
triggerId
triggerType
triggeredAt
triggeredGeofenceDirection
triggeredParameterValue
updated
}
}
Variables
{"input": RuleEntryEventRescheduleInput}
Response
{
"data": {
"ruleEntryEventReschedule": {
"asset": Asset,
"assetId": HashedId,
"assignee": User,
"assigneePublic": UserPublic,
"assigneeUserId": HashedId,
"cancelledAt": "2007-12-03T10:15:30Z",
"cancelledByUser": User,
"cancelledByUserId": HashedId,
"completedAt": "2007-12-03T10:15:30Z",
"completedByUser": User,
"completedByUserId": HashedId,
"completedParameterValue": 987.65,
"created": 1592577642,
"currentParameterReading": 123.45,
"description": Translation,
"displayStatus": "CANCELLED",
"dueAt": "2007-12-03T10:15:30Z",
"dueParameterValue": 987.65,
"id": HashedId,
"isCheckAllowedForUnauthorizedUsers": false,
"lastRescheduledAt": "2007-12-03T10:15:30Z",
"name": Translation,
"nextTrigger": RuleEntryScheduleTrigger,
"notifications": [RuleEntryEventNotification],
"originalDueAt": "2007-12-03T10:15:30Z",
"originalDueParameterValue": 123.45,
"previousCompletedAt": "2007-12-03T10:15:30Z",
"previousCompletedParameterValue": 987.65,
"ruleEntry": RuleEntry,
"ruleEntryId": HashedId,
"status": "CANCELLED",
"subType": "ERROR",
"ticket": Ticket,
"ticketId": HashedId,
"translations": [RuleEntryEventTranslation],
"trigger": RuleEntryScheduleTrigger,
"triggerId": HashedId,
"triggerType": "COMBINED",
"triggeredAt": "2007-12-03T10:15:30Z",
"triggeredGeofenceDirection": "ENTER",
"triggeredParameterValue": 987.65,
"updated": 1592577642
}
}
}
runAssetIntegration
Description
Trigger an integration sync run scoped to a single asset
Response
Returns a Boolean
Arguments
| Name | Description |
|---|---|
assetId - HashedId!
|
Asset to run a scoped integration sync for |
Example
Query
mutation runAssetIntegration($assetId: HashedId!) {
runAssetIntegration(assetId: $assetId)
}
Variables
{"assetId": HashedId}
Response
{"data": {"runAssetIntegration": false}}
runIntegration
Description
Trigger a manual sync run for an integration identified by its id
runIntegrationByName
Description
Trigger a manual sync run for an integration identified by its string-based name
runIntegrationExplorer
Description
Execute an integration explorer request through the backend using the stored integration credentials
Response
Returns an IntegrationExplorerRunDto!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Unique identifier of the entity |
input - IntegrationExplorerRunInput!
|
Example
Query
mutation runIntegrationExplorer(
$id: HashedId!,
$input: IntegrationExplorerRunInput!
) {
runIntegrationExplorer(
id: $id,
input: $input
) {
error
request
requestData {
...IntegrationExplorerRequestDataDtoFragment
}
summary
}
}
Variables
{
"id": HashedId,
"input": IntegrationExplorerRunInput
}
Response
{
"data": {
"runIntegrationExplorer": {
"error": "xyz789",
"request": "xyz789",
"requestData": IntegrationExplorerRequestDataDto,
"summary": "abc123"
}
}
}
s3CreateUpload
Description
Create a staging S3 upload slot. Returns a presigned PUT URL plus an opaque uploadId the client passes back on submit.
Response
Returns a S3Upload!
Arguments
| Name | Description |
|---|---|
input - S3CreateUploadInput!
|
Upload metadata supplied by the client |
Example
Query
mutation s3CreateUpload($input: S3CreateUploadInput!) {
s3CreateUpload(input: $input) {
expiresIn
key
publicUrl
uploadId
url
}
}
Variables
{"input": S3CreateUploadInput}
Response
{
"data": {
"s3CreateUpload": {
"expiresIn": 987,
"key": "xyz789",
"publicUrl": "xyz789",
"uploadId": "xyz789",
"url": "abc123"
}
}
}
s3DeleteUpload
Description
Delete an unclaimed S3 upload slot (object + DB row). Idempotent for missing rows; rejects with Conflict when already claimed.
savePushToken
Description
Save push notification token
Response
Returns a Boolean!
Arguments
| Name | Description |
|---|---|
deviceId - String!
|
Device identifier |
platform - PushPlatformTypeEnum!
|
Target platform identifier |
token - String!
|
Authentication or registration token |
Example
Query
mutation savePushToken(
$deviceId: String!,
$platform: PushPlatformTypeEnum!,
$token: String!
) {
savePushToken(
deviceId: $deviceId,
platform: $platform,
token: $token
)
}
Variables
{
"deviceId": "xyz789",
"platform": "ANDROID",
"token": "xyz789"
}
Response
{"data": {"savePushToken": true}}
scheduleWorkOrder
Description
Schedule a work order on a Disposition row; moving it to another row hands the dragged person's place to the target personnel
Response
Returns a WorkOrderV2!
Arguments
| Name | Description |
|---|---|
input - ScheduleWorkOrderInput!
|
Scheduling input payload |
Example
Query
mutation scheduleWorkOrder($input: ScheduleWorkOrderInput!) {
scheduleWorkOrder(input: $input) {
assetCollections {
...WorkOrderAssetCollectionFragment
}
assets {
...AssetFragment
}
assignee {
...WorkOrderPersonnelV2Fragment
}
comments {
...WorkOrderCommentFragment
}
costCenter
costs {
...WorkOrderCostFragment
}
created
createdByGroup {
...GroupFragment
}
createdByGroupId
creationDate
creator {
...UserFragment
}
creatorId
customerName
customerSignatures {
...WorkOrderCustomerSignatureFragment
}
dailyRate {
...WorkOrderCostFragment
}
deleted
description {
...TranslationFragment
}
endDate
externalEmailHandlers {
...WorkOrderHandlerExternalEmailFragment
}
followers {
...WorkOrderPersonnelV2Fragment
}
groupHandlers {
...WorkOrderHandlerGroupFragment
}
groupTicketHandlerHandlers {
...WorkOrderHandlerGroupTicketHandlerFragment
}
history {
...WorkOrderHistoryEntryFragment
}
historyV2 {
...WorkOrderHistoryFragment
}
id
linkedTickets {
...TicketFragment
}
locations {
...WorkOrderLocationFragment
}
name
notes {
...TranslationFragment
}
notesId
operatingCosts {
...CostFragment
}
partsUsed {
...TicketPartUsageFragment
}
personnel {
...WorkOrderCostFragment
}
personnelHandlers {
...WorkOrderHandlerPersonnelFragment
}
procedureTemplate {
...ProcedureTemplateFragment
}
procedureTemplateId
site {
...SiteFragment
}
siteId
siteManagerHandler {
...WorkOrderHandlerSiteManagerFragment
}
sourceTicket {
...TicketFragment
}
sourceTicketId
startDate
status
teamHandlers {
...WorkOrderHandlerTeamFragment
}
timeEntries {
...WorkOrderTimeEntryFragment
}
timeEntriesSummary {
...WorkOrderTimeEntrySummaryFragment
}
title {
...TranslationFragment
}
totalPartsCost
updated
userHandlers {
...WorkOrderHandlerUserFragment
}
workOrderNumber
workers {
...WorkOrderPersonnelV2Fragment
}
}
}
Variables
{"input": ScheduleWorkOrderInput}
Response
{
"data": {
"scheduleWorkOrder": {
"assetCollections": [WorkOrderAssetCollection],
"assets": [Asset],
"assignee": WorkOrderPersonnelV2,
"comments": [WorkOrderComment],
"costCenter": "xyz789",
"costs": [WorkOrderCost],
"created": 1592577642,
"createdByGroup": Group,
"createdByGroupId": HashedId,
"creationDate": "2007-12-03T10:15:30Z",
"creator": User,
"creatorId": HashedId,
"customerName": "abc123",
"customerSignatures": [WorkOrderCustomerSignature],
"dailyRate": WorkOrderCost,
"deleted": 1592577642,
"description": Translation,
"endDate": "2007-12-03T10:15:30Z",
"externalEmailHandlers": [
WorkOrderHandlerExternalEmail
],
"followers": [WorkOrderPersonnelV2],
"groupHandlers": [WorkOrderHandlerGroup],
"groupTicketHandlerHandlers": [
WorkOrderHandlerGroupTicketHandler
],
"history": [WorkOrderHistoryEntry],
"historyV2": [WorkOrderHistory],
"id": HashedId,
"linkedTickets": [Ticket],
"locations": [WorkOrderLocation],
"name": "abc123",
"notes": Translation,
"notesId": HashedId,
"operatingCosts": [Cost],
"partsUsed": [TicketPartUsage],
"personnel": [WorkOrderCost],
"personnelHandlers": [WorkOrderHandlerPersonnel],
"procedureTemplate": ProcedureTemplate,
"procedureTemplateId": HashedId,
"site": Site,
"siteId": HashedId,
"siteManagerHandler": WorkOrderHandlerSiteManager,
"sourceTicket": Ticket,
"sourceTicketId": HashedId,
"startDate": "2007-12-03T10:15:30Z",
"status": "CANCELLED",
"teamHandlers": [WorkOrderHandlerTeam],
"timeEntries": [WorkOrderTimeEntry],
"timeEntriesSummary": WorkOrderTimeEntrySummary,
"title": Translation,
"totalPartsCost": 123.45,
"updated": 1592577642,
"userHandlers": [WorkOrderHandlerUser],
"workOrderNumber": 123,
"workers": [WorkOrderPersonnelV2]
}
}
}
sendChatbotMessage
Description
Send an operator message to a robot chatbot session and receive the reply
Response
Returns a ChatbotMessage!
Arguments
| Name | Description |
|---|---|
input - ChatbotMessageSendInput!
|
Input data required to send an operator message to a robot chatbot session |
Example
Query
mutation sendChatbotMessage($input: ChatbotMessageSendInput!) {
sendChatbotMessage(input: $input) {
attachment {
...ChatbotMessageAttachmentFragment
}
content
created
id
quickReplies {
...ChatbotQuickReplyFragment
}
resources {
...ChatbotMessageResourceFragment
}
role
sessionStatus
sources
updated
}
}
Variables
{"input": ChatbotMessageSendInput}
Response
{
"data": {
"sendChatbotMessage": {
"attachment": ChatbotMessageAttachment,
"content": "abc123",
"created": 1592577642,
"id": HashedId,
"quickReplies": [ChatbotQuickReply],
"resources": [ChatbotMessageResource],
"role": "ASSISTANT",
"sessionStatus": "ACTIVE",
"sources": ["xyz789"],
"updated": 1592577642
}
}
}
sendSiteManagerTodoEmail
Response
Returns a Boolean!
Example
Query
mutation sendSiteManagerTodoEmail {
sendSiteManagerTodoEmail
}
Response
{"data": {"sendSiteManagerTodoEmail": false}}
sendTestDashboardReport
Response
Returns a Boolean!
Example
Query
mutation sendTestDashboardReport(
$scheduleId: HashedId!,
$targetGroupId: HashedId!
) {
sendTestDashboardReport(
scheduleId: $scheduleId,
targetGroupId: $targetGroupId
)
}
Variables
{
"scheduleId": HashedId,
"targetGroupId": HashedId
}
Response
{"data": {"sendTestDashboardReport": false}}
sendTestPushNotification
Description
Send test push notification
Response
Returns a Boolean
Example
Query
mutation sendTestPushNotification {
sendTestPushNotification
}
Response
{"data": {"sendTestPushNotification": false}}
setAssetIntegrationSyncPaused
Description
Pause or resume the integration sync of one asset
Response
Returns an Asset!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Unique identifier of the entity |
input - AssetIntegrationSyncPausedInput!
|
Integration sync state to set on the asset |
Example
Query
mutation setAssetIntegrationSyncPaused(
$id: HashedId!,
$input: AssetIntegrationSyncPausedInput!
) {
setAssetIntegrationSyncPaused(
id: $id,
input: $input
) {
BLE
activeCustomFields {
...CustomFieldFragment
}
activity {
...AssetActivityFragment
}
allowReservations
archivedCustomFields {
...CustomFieldFragment
}
assetCategory {
...AssetCategoryFragment
}
assetCategoryId
assetPackageAsset {
...AssetPackageAssetFragment
}
assetSiteAssignments {
...AssetSiteAssignmentFragment
}
assetType {
...AssetTypeFragment
}
assetTypeId
assignedSiteLocation {
...SiteLocationFragment
}
assignedToGroup {
...GroupFragment
}
assignedToGroupId
assignedToPreviousSite {
...SiteFragment
}
assignedToSite {
...SiteFragment
}
assignedToSiteId
assignment
availability
availabilityId
batteryLevel
canEdit
checkSchedule {
...AssetCheckScheduleFragment
}
checkScheduleRule {
...AssetCheckScheduleRuleFragment
}
classification
client
commissionDate
costCenter
costLines {
...CostLineFragment
}
costs {
...CostLineFragment
}
costsSum
costsSumBattery
costsSumCertification
costsSumConsumables
costsSumFuel
costsSumLabor
costsSumLogistics
costsSumMaintenance
costsSumOther
costsSumParts
costsSumRepair
costsSumTaxes
countNonArchivedSiteAssignments
created
createdByGroup {
...GroupFragment
}
createdByGroupId
currency
currentAlerts {
...EventFragment
}
customer
customerEditable
dailyRate
deleted
deletedBy
description {
...TranslationFragment
}
descriptionId
displayParameters {
...DisplayParameterFragment
}
documents {
...DocumentFragment
}
eventIds
events {
...EventFragment
}
externalId
firmwareVersion
firstTripDate
fixedAssetNumber
floorRoom
gatewayAsset {
...AssetFragment
}
geofence {
...AssetGeofenceFragment
}
group {
...GroupFragment
}
groupId
groupTimezone
id
image
imei
initialValue
inlineImage {
...DocumentInlineFileFragment
}
integrationId
integrationSummary {
...AssetIntegrationSummaryFragment
}
inventoryNumber
inventoryPrefix
inventorySequence
iot {
...IotAssetDataFragment
}
iotIntegrationProvider
iotRuleEntryEvents {
...RuleEntryEventFragment
}
isCommodity
isInStationaryGateway
isIntegrationSyncPaused
isLocked
isUsedPrivately
lastContactInfo {
...AssetLastContactInfoFragment
}
lastContacted
lastContactedSource
lastIntegrationRun {
...AssetIntegrationRunFragment
}
lastTicketDate
latestAssetData
latestTrip {
...AssetTripLatestFragment
}
leasingCostTermination
leasingEnd
leasingLevel
leasingMonthlyCost
leasingPartner
leasingPartnerContractNumber
leasingPartnerContractPositionNumber
leasingRenewalDate
leasingRenewalRate
leasingStart
location {
...LocationFragment
}
locationHiddenReason
locationV2 {
... on Location {
...LocationFragment
}
... on SiteLocation {
...SiteLocationFragment
}
... on TripLocation {
...TripLocationFragment
}
}
maintenanceSchedule {
...AssetMaintenanceScheduleFragment
}
manuals {
...DocumentFragment
}
manufacturer {
...ManufacturerFragment
}
manufacturerId
minDaysBilled
module {
...ModuleFragment
}
moduleConnectionStatus
moduleId
nextService
nonWorkingDays {
...AssetNonWorkingDaysFragment
}
operationalCosts {
...CostFragment
}
optionalAssetID
ownership
ownershipId
parameterOffsetIds
parameterOffsets {
...AssetParameterOffsetFragment
}
parameterSets {
...ParameterSetFragment
}
partsNumber
plateNumber
previousSiteId
primaryServicePackage {
...ServicePackageWithSourceTypeFragment
}
projectNumber
publicId
purchaseCost
purchaseCurrentBookValue
purchaseDepreciation
purchaseDepreciationMonths
purchaseDepreciationRemainingMonths
purchaseDepriciation
purchaseInvoiceNumber
purchaseLowValueAsset
purchaseMonthlyCost
purchaseStart
purchaseWarrantyEnd
purchaseWarrantyPeriod
purchaseWarrantyStart
qrAttached
quantity
relatedGroups {
...RelatedGroupFragment
}
rentalCostTermination
rentalEnd
rentalMonthlyCost
rentalRenewalDate
rentalRenewalRate
rentalStart
reservationLineItemIssues {
...ReservationLineItemIssueFragment
}
reservations {
...LegacyAssetReservationFragment
}
resolvedCurrency
responsiblePerson
responsiblePersonUpdatedAt
responsiblePersonUpdatedByUser {
...UserFragment
}
responsiblePersonUpdatedByUserId
restoreBlockers
runtimeWithOffsetInSeconds
scanTime
serial
serviceContract
serviceContractCostPerYear
serviceContractDocuments {
...DocumentFragment
}
serviceContractEmail
serviceContractEnd
serviceContractFrom
serviceContractLevel
serviceContractPartner
serviceContractStart
serviceContractTo
services {
...ServiceFragment
}
shouldShowLastSeenByGateway
shouldUpdateActiveAssetSiteAssignment
site {
...SiteFragment
}
siteId
state {
...AssetStateFragment
}
stateV2 {
...AssetStateItemFragment
}
status {
...StatusItemFragment
}
subscription
supplier
tickets {
...TicketFragment
}
ticketsCount
totalUtilization
totalWorkDone
trips {
...TripFragment
}
unavailability {
...AssetUnavailabilityFragment
}
updated
utilization {
...AssetUtilizationFragment
}
uuid
vncTunnelUrl
workOrders {
...WorkOrderV2Fragment
}
workingHours {
...AssetWorkingHoursFragment
}
workingHoursNotification {
...RuleNotificationRelationFragment
}
workingHoursSettings
}
}
Variables
{
"id": HashedId,
"input": AssetIntegrationSyncPausedInput
}
Response
{
"data": {
"setAssetIntegrationSyncPaused": {
"BLE": "abc123",
"activeCustomFields": [CustomField],
"activity": AssetActivity,
"allowReservations": true,
"archivedCustomFields": [CustomField],
"assetCategory": AssetCategory,
"assetCategoryId": HashedId,
"assetPackageAsset": AssetPackageAsset,
"assetSiteAssignments": [AssetSiteAssignment],
"assetType": AssetType,
"assetTypeId": HashedId,
"assignedSiteLocation": SiteLocation,
"assignedToGroup": Group,
"assignedToGroupId": HashedId,
"assignedToPreviousSite": Site,
"assignedToSite": Site,
"assignedToSiteId": HashedId,
"assignment": "xyz789",
"availability": "BORROWED",
"availabilityId": HashedId,
"batteryLevel": "abc123",
"canEdit": false,
"checkSchedule": AssetCheckSchedule,
"checkScheduleRule": AssetCheckScheduleRule,
"classification": "GENERIC",
"client": "xyz789",
"commissionDate": "2007-12-03",
"costCenter": "xyz789",
"costLines": [CostLine],
"costs": [CostLine],
"costsSum": 123.45,
"costsSumBattery": 987.65,
"costsSumCertification": 987.65,
"costsSumConsumables": 987.65,
"costsSumFuel": 123.45,
"costsSumLabor": 123.45,
"costsSumLogistics": 987.65,
"costsSumMaintenance": 123.45,
"costsSumOther": 123.45,
"costsSumParts": 123.45,
"costsSumRepair": 987.65,
"costsSumTaxes": 123.45,
"countNonArchivedSiteAssignments": 987,
"created": 1592577642,
"createdByGroup": Group,
"createdByGroupId": HashedId,
"currency": "abc123",
"currentAlerts": [Event],
"customer": "xyz789",
"customerEditable": false,
"dailyRate": 987.65,
"deleted": 1592577642,
"deletedBy": "abc123",
"description": Translation,
"descriptionId": HashedId,
"displayParameters": [DisplayParameter],
"documents": [Document],
"eventIds": [HashedId],
"events": [Event],
"externalId": "xyz789",
"firmwareVersion": "abc123",
"firstTripDate": 123.45,
"fixedAssetNumber": "xyz789",
"floorRoom": "xyz789",
"gatewayAsset": Asset,
"geofence": AssetGeofence,
"group": Group,
"groupId": HashedId,
"groupTimezone": "xyz789",
"id": HashedId,
"image": "xyz789",
"imei": "xyz789",
"initialValue": "abc123",
"inlineImage": DocumentInlineFile,
"integrationId": HashedId,
"integrationSummary": AssetIntegrationSummary,
"inventoryNumber": "xyz789",
"inventoryPrefix": "xyz789",
"inventorySequence": 123,
"iot": IotAssetData,
"iotIntegrationProvider": "ACHELIS_PROVIDER",
"iotRuleEntryEvents": [RuleEntryEvent],
"isCommodity": true,
"isInStationaryGateway": true,
"isIntegrationSyncPaused": true,
"isLocked": true,
"isUsedPrivately": true,
"lastContactInfo": AssetLastContactInfo,
"lastContacted": 1592577642,
"lastContactedSource": "BLE",
"lastIntegrationRun": AssetIntegrationRun,
"lastTicketDate": "2007-12-03T10:15:30Z",
"latestAssetData": {},
"latestTrip": AssetTripLatest,
"leasingCostTermination": "abc123",
"leasingEnd": "2007-12-03",
"leasingLevel": "xyz789",
"leasingMonthlyCost": "abc123",
"leasingPartner": "xyz789",
"leasingPartnerContractNumber": "xyz789",
"leasingPartnerContractPositionNumber": "abc123",
"leasingRenewalDate": "2007-12-03",
"leasingRenewalRate": "xyz789",
"leasingStart": "2007-12-03",
"location": Location,
"locationHiddenReason": "PRIVATE_USE",
"locationV2": Location,
"maintenanceSchedule": AssetMaintenanceSchedule,
"manuals": [Document],
"manufacturer": Manufacturer,
"manufacturerId": HashedId,
"minDaysBilled": 123,
"module": Module,
"moduleConnectionStatus": "disconnected",
"moduleId": HashedId,
"nextService": 123,
"nonWorkingDays": [AssetNonWorkingDays],
"operationalCosts": [Cost],
"optionalAssetID": "xyz789",
"ownership": "CUSTOMER_MACHINE",
"ownershipId": HashedId,
"parameterOffsetIds": [HashedId],
"parameterOffsets": [AssetParameterOffset],
"parameterSets": [ParameterSet],
"partsNumber": "xyz789",
"plateNumber": "abc123",
"previousSiteId": HashedId,
"primaryServicePackage": ServicePackageWithSourceType,
"projectNumber": "abc123",
"publicId": 987,
"purchaseCost": "xyz789",
"purchaseCurrentBookValue": "abc123",
"purchaseDepreciation": 987.65,
"purchaseDepreciationMonths": 123,
"purchaseDepreciationRemainingMonths": 123,
"purchaseDepriciation": 987,
"purchaseInvoiceNumber": "xyz789",
"purchaseLowValueAsset": true,
"purchaseMonthlyCost": "abc123",
"purchaseStart": "2007-12-03",
"purchaseWarrantyEnd": "2007-12-03",
"purchaseWarrantyPeriod": 123,
"purchaseWarrantyStart": "2007-12-03",
"qrAttached": true,
"quantity": 123,
"relatedGroups": [RelatedGroup],
"rentalCostTermination": "xyz789",
"rentalEnd": "2007-12-03",
"rentalMonthlyCost": "abc123",
"rentalRenewalDate": "2007-12-03",
"rentalRenewalRate": "xyz789",
"rentalStart": "2007-12-03",
"reservationLineItemIssues": [
ReservationLineItemIssue
],
"reservations": [LegacyAssetReservation],
"resolvedCurrency": "AED",
"responsiblePerson": "xyz789",
"responsiblePersonUpdatedAt": 1592577642,
"responsiblePersonUpdatedByUser": User,
"responsiblePersonUpdatedByUserId": HashedId,
"restoreBlockers": ["PARENT_ASSET_CATEGORY_DELETED"],
"runtimeWithOffsetInSeconds": 987,
"scanTime": "2007-12-03",
"serial": "abc123",
"serviceContract": true,
"serviceContractCostPerYear": "abc123",
"serviceContractDocuments": [Document],
"serviceContractEmail": "xyz789",
"serviceContractEnd": "2007-12-03",
"serviceContractFrom": 1592577642,
"serviceContractLevel": "abc123",
"serviceContractPartner": "xyz789",
"serviceContractStart": "2007-12-03",
"serviceContractTo": 1592577642,
"services": [Service],
"shouldShowLastSeenByGateway": false,
"shouldUpdateActiveAssetSiteAssignment": true,
"site": Site,
"siteId": HashedId,
"state": AssetState,
"stateV2": [AssetStateItem],
"status": [StatusItem],
"subscription": "abc123",
"supplier": "abc123",
"tickets": [Ticket],
"ticketsCount": "xyz789",
"totalUtilization": "abc123",
"totalWorkDone": "abc123",
"trips": [Trip],
"unavailability": [AssetUnavailability],
"updated": 1592577642,
"utilization": AssetUtilization,
"uuid": "abc123",
"vncTunnelUrl": "xyz789",
"workOrders": [WorkOrderV2],
"workingHours": AssetWorkingHours,
"workingHoursNotification": [
RuleNotificationRelation
],
"workingHoursSettings": {}
}
}
}
setAssetPackagePrimaryAsset
Description
Set or clear the primary asset of an asset package
Response
Returns an AssetPackage!
Arguments
| Name | Description |
|---|---|
input - AssetPackageSetPrimaryInput!
|
Input data for setting or clearing the primary asset of a package |
Example
Query
mutation setAssetPackagePrimaryAsset($input: AssetPackageSetPrimaryInput!) {
setAssetPackagePrimaryAsset(input: $input) {
assetCount
assets {
...AssetPackageAssetFragment
}
created
group {
...GroupFragment
}
groupId
id
isDeleted
name {
...TranslationFragment
}
primaryAsset {
...AssetFragment
}
primaryAssetId
publicId
site {
...SiteFragment
}
siteId
siteInheritance
siteMismatchCount
updated
}
}
Variables
{"input": AssetPackageSetPrimaryInput}
Response
{
"data": {
"setAssetPackagePrimaryAsset": {
"assetCount": 123,
"assets": [AssetPackageAsset],
"created": 1592577642,
"group": Group,
"groupId": HashedId,
"id": HashedId,
"isDeleted": false,
"name": Translation,
"primaryAsset": Asset,
"primaryAssetId": HashedId,
"publicId": 987,
"site": Site,
"siteId": HashedId,
"siteInheritance": "CUSTOM",
"siteMismatchCount": 987,
"updated": 1592577642
}
}
}
setCustomFieldsValues
Description
Create or update
Response
Returns [CustomFieldValue!]!
Arguments
| Name | Description |
|---|---|
values - [CustomFieldsValuesSetInput!]!
|
Custom field values to create or update |
Example
Query
mutation setCustomFieldsValues($values: [CustomFieldsValuesSetInput!]!) {
setCustomFieldsValues(values: $values) {
asset {
...AssetFragment
}
assetId
created
currencyValue
customField {
...CustomFieldFragment
}
customFieldId
dateValue
dropdownOptions {
...CustomFieldDropdownOptionFragment
}
id
numberValue
personnelPublicValue {
...PersonnelPublicValueFragment
}
personnelValue {
...PersonnelValueFragment
}
personnelValueId
textValue {
...TranslationFragment
}
textValueId
updated
}
}
Variables
{"values": [CustomFieldsValuesSetInput]}
Response
{
"data": {
"setCustomFieldsValues": [
{
"asset": Asset,
"assetId": HashedId,
"created": 1592577642,
"currencyValue": 123.45,
"customField": CustomField,
"customFieldId": HashedId,
"dateValue": "2007-12-03",
"dropdownOptions": [CustomFieldDropdownOption],
"id": HashedId,
"numberValue": 987.65,
"personnelPublicValue": PersonnelPublicValue,
"personnelValue": PersonnelValue,
"personnelValueId": HashedId,
"textValue": Translation,
"textValueId": HashedId,
"updated": 1592577642
}
]
}
}
setDashboardViewDefault
Description
Pin a saved view as the current user default of a dashboard, or clear the default when no view is given
Response
Returns a Boolean!
Arguments
| Name | Description |
|---|---|
input - DashboardViewSetDefaultInput!
|
Dashboard and the view to pin as its default |
Example
Query
mutation setDashboardViewDefault($input: DashboardViewSetDefaultInput!) {
setDashboardViewDefault(input: $input)
}
Variables
{"input": DashboardViewSetDefaultInput}
Response
{"data": {"setDashboardViewDefault": false}}
setViewActive
Description
Set whether a view is active for the current currentUser and return new activation status.
Response
Returns a Boolean!
Example
Query
mutation setViewActive(
$active: Boolean!,
$view: IdInput!
) {
setViewActive(
active: $active,
view: $view
)
}
Variables
{"active": true, "view": IdInput}
Response
{"data": {"setViewActive": false}}
setupBrand
Description
Create a brand, or update the brand with the given id
Response
Returns a Brand!
Arguments
| Name | Description |
|---|---|
input - BrandUpsertInput!
|
Brand create or update fields |
Example
Query
mutation setupBrand($input: BrandUpsertInput!) {
setupBrand(input: $input) {
activationMailVideo
appUrlAndroid
appUrlIos
color
colorDark
colorLight
cornerStyle
created
faviconUrl
fontFamily
group {
...GroupFragment
}
groupId
hasSso
id
isSenderVerified
key
loginBackground
loginLanguageFallback
logo
logoIsSquare
logoWidth
name
ownURL
projects
sectionStyle
supportEmail
surfaceStyle
symbol
systemName
updated
}
}
Variables
{"input": BrandUpsertInput}
Response
{
"data": {
"setupBrand": {
"activationMailVideo": "xyz789",
"appUrlAndroid": "abc123",
"appUrlIos": "xyz789",
"color": "abc123",
"colorDark": "xyz789",
"colorLight": "xyz789",
"cornerStyle": "ROUND",
"created": 1592577642,
"faviconUrl": "xyz789",
"fontFamily": "IBM_PLEX_SANS",
"group": Group,
"groupId": HashedId,
"hasSso": true,
"id": HashedId,
"isSenderVerified": false,
"key": "abc123",
"loginBackground": "xyz789",
"loginLanguageFallback": HashedId,
"logo": "xyz789",
"logoIsSquare": false,
"logoWidth": 987,
"name": "xyz789",
"ownURL": "abc123",
"projects": "xyz789",
"sectionStyle": "CARDS",
"supportEmail": "abc123",
"surfaceStyle": "ELEVATED",
"symbol": "abc123",
"systemName": "abc123",
"updated": 1592577642
}
}
}
startWorkOrderTimeEntry
Description
Start a new work order time entry on a typed handler row
Response
Returns a WorkOrderTimeEntry!
Arguments
| Name | Description |
|---|---|
input - WorkOrderTimeEntryStartInput!
|
Input data for starting the time entry |
Example
Query
mutation startWorkOrderTimeEntry($input: WorkOrderTimeEntryStartInput!) {
startWorkOrderTimeEntry(input: $input) {
created
createdByGroupId
createdByUserId
createdManually
endedAt
groupTicketHandlerHandler {
...WorkOrderHandlerGroupTicketHandlerFragment
}
id
kind
note
personnelHandler {
...WorkOrderHandlerPersonnelFragment
}
startedAt
teamHandler {
...WorkOrderHandlerTeamFragment
}
updated
userHandler {
...WorkOrderHandlerUserFragment
}
workOrderHandlerGroupTicketHandlerId
workOrderHandlerPersonnelId
workOrderHandlerTeamId
workOrderHandlerUserId
workOrderId
}
}
Variables
{"input": WorkOrderTimeEntryStartInput}
Response
{
"data": {
"startWorkOrderTimeEntry": {
"created": 1592577642,
"createdByGroupId": HashedId,
"createdByUserId": HashedId,
"createdManually": false,
"endedAt": "2007-12-03T10:15:30Z",
"groupTicketHandlerHandler": WorkOrderHandlerGroupTicketHandler,
"id": HashedId,
"kind": "BREAK",
"note": "abc123",
"personnelHandler": WorkOrderHandlerPersonnel,
"startedAt": "2007-12-03T10:15:30Z",
"teamHandler": WorkOrderHandlerTeam,
"updated": 1592577642,
"userHandler": WorkOrderHandlerUser,
"workOrderHandlerGroupTicketHandlerId": HashedId,
"workOrderHandlerPersonnelId": HashedId,
"workOrderHandlerTeamId": HashedId,
"workOrderHandlerUserId": HashedId,
"workOrderId": HashedId
}
}
}
stopEvent
Description
Stop an active running event
Response
Returns an Event!
Example
Query
mutation stopEvent(
$date: Date,
$id: HashedId!
) {
stopEvent(
date: $date,
id: $id
) {
authorEmail
connectedComment {
...TicketCommentFragment
}
costs {
...CostLineFragment
}
created
createdByIntegrationName
createdByPart {
...PartFragment
}
createdByPartId
createdByRule {
...RuleFragment
}
createdByRuleId
createdBySite {
...SiteFragment
}
createdBySiteId
createdByTicket {
...TicketFragment
}
createdByTicketId
createdByUser {
...UserFragment
}
createdByUserId
createdByWorkOrder {
...WorkOrderSummaryFragment
}
createdByWorkOrderId
data {
...EventEntityDataDtoFragment
}
description {
...TranslationFragment
}
descriptionId
documents {
...DocumentFragment
}
endTime
eventMeta
eventStyle {
...EventStyleFragment
}
eventStyleId
id
isCritical
isImmediateNotification
isOngoing
lastEvent
manualDeactivation
originatingFromAsset {
...AssetFragment
}
originatingFromAssetId
originatingFromModule {
...ModuleFragment
}
originatingFromModuleId
publicId
responseState {
...TicketStateFragment
}
serviceName {
...TranslationFragment
}
shouldNotify
site {
...SiteFragment
}
siteId
startTime
stoppedByUser {
...UserFragment
}
stoppedByUserId
tag
ticketId
ticketStatus
title {
...TranslationFragment
}
titleId
type
updated
workOrderNotifications {
...WorkOrderNotificationsFragment
}
}
}
Variables
{
"date": "2007-12-03",
"id": HashedId
}
Response
{
"data": {
"stopEvent": {
"authorEmail": "xyz789",
"connectedComment": TicketComment,
"costs": [CostLine],
"created": 1592577642,
"createdByIntegrationName": "xyz789",
"createdByPart": Part,
"createdByPartId": HashedId,
"createdByRule": Rule,
"createdByRuleId": HashedId,
"createdBySite": Site,
"createdBySiteId": HashedId,
"createdByTicket": Ticket,
"createdByTicketId": HashedId,
"createdByUser": User,
"createdByUserId": HashedId,
"createdByWorkOrder": WorkOrderSummary,
"createdByWorkOrderId": HashedId,
"data": EventEntityDataDto,
"description": Translation,
"descriptionId": HashedId,
"documents": [Document],
"endTime": 1592577642,
"eventMeta": {},
"eventStyle": EventStyle,
"eventStyleId": "xyz789",
"id": HashedId,
"isCritical": false,
"isImmediateNotification": true,
"isOngoing": false,
"lastEvent": 1592577642,
"manualDeactivation": true,
"originatingFromAsset": Asset,
"originatingFromAssetId": HashedId,
"originatingFromModule": Module,
"originatingFromModuleId": HashedId,
"publicId": 987,
"responseState": TicketState,
"serviceName": Translation,
"shouldNotify": false,
"site": Site,
"siteId": HashedId,
"startTime": 1592577642,
"stoppedByUser": User,
"stoppedByUserId": HashedId,
"tag": ["RESPONSIBLE_UPDATE"],
"ticketId": 123,
"ticketStatus": "approvalNeeded",
"title": Translation,
"titleId": HashedId,
"type": "COST",
"updated": 1592577642,
"workOrderNotifications": WorkOrderNotifications
}
}
}
stopWorkOrderTimeEntry
Description
Stop a running work order time entry
Response
Returns a WorkOrderTimeEntry!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Unique identifier of the entity |
Example
Query
mutation stopWorkOrderTimeEntry($id: HashedId!) {
stopWorkOrderTimeEntry(id: $id) {
created
createdByGroupId
createdByUserId
createdManually
endedAt
groupTicketHandlerHandler {
...WorkOrderHandlerGroupTicketHandlerFragment
}
id
kind
note
personnelHandler {
...WorkOrderHandlerPersonnelFragment
}
startedAt
teamHandler {
...WorkOrderHandlerTeamFragment
}
updated
userHandler {
...WorkOrderHandlerUserFragment
}
workOrderHandlerGroupTicketHandlerId
workOrderHandlerPersonnelId
workOrderHandlerTeamId
workOrderHandlerUserId
workOrderId
}
}
Variables
{"id": HashedId}
Response
{
"data": {
"stopWorkOrderTimeEntry": {
"created": 1592577642,
"createdByGroupId": HashedId,
"createdByUserId": HashedId,
"createdManually": false,
"endedAt": "2007-12-03T10:15:30Z",
"groupTicketHandlerHandler": WorkOrderHandlerGroupTicketHandler,
"id": HashedId,
"kind": "BREAK",
"note": "abc123",
"personnelHandler": WorkOrderHandlerPersonnel,
"startedAt": "2007-12-03T10:15:30Z",
"teamHandler": WorkOrderHandlerTeam,
"updated": 1592577642,
"userHandler": WorkOrderHandlerUser,
"workOrderHandlerGroupTicketHandlerId": HashedId,
"workOrderHandlerPersonnelId": HashedId,
"workOrderHandlerTeamId": HashedId,
"workOrderHandlerUserId": HashedId,
"workOrderId": HashedId
}
}
}
switchUsersLoginMethod
Description
Switch users between SSO and password login, with the outcome of every user. Switching to SSO needs SSO configured for the brand of the user; switching to password sets the supplied password or emails the user a link to set one.
Response
Returns [UserLoginMethodSwitchResult!]!
Arguments
| Name | Description |
|---|---|
input - UserLoginMethodSwitchInput!
|
Users to switch between SSO and password login |
Example
Query
mutation switchUsersLoginMethod($input: UserLoginMethodSwitchInput!) {
switchUsersLoginMethod(input: $input) {
failureReason
status
userId
}
}
Variables
{"input": UserLoginMethodSwitchInput}
Response
{
"data": {
"switchUsersLoginMethod": [
{
"failureReason": "ACCESS_DENIED",
"status": "FAILED",
"userId": HashedId
}
]
}
}
testIntegrationConnection
Description
Check an integration's connection with the given config, saved or not, by running its first explorer request; saves nothing
Response
Returns an IntegrationConnectionTest!
Arguments
| Name | Description |
|---|---|
config - [IntegrationConfigUpdateInput!]!
|
Key-value configuration parameters |
provider - IntegrationProviderEnum!
|
External provider or vendor name |
Example
Query
mutation testIntegrationConnection(
$config: [IntegrationConfigUpdateInput!]!,
$provider: IntegrationProviderEnum!
) {
testIntegrationConnection(
config: $config,
provider: $provider
) {
failure
summary
}
}
Variables
{
"config": [IntegrationConfigUpdateInput],
"provider": "ACHELIS_PROVIDER"
}
Response
{
"data": {
"testIntegrationConnection": {
"failure": "FAILED",
"summary": "xyz789"
}
}
}
ticketApproverDecide
Description
Approve or reject a ticket the current user must approve
Response
Returns a TicketApprover!
Arguments
| Name | Description |
|---|---|
input - TicketApproverDecideInput!
|
Decision of the current user on a ticket they must approve |
Example
Query
mutation ticketApproverDecide($input: TicketApproverDecideInput!) {
ticketApproverDecide(input: $input) {
created
decidedAt
email
id
note
requestedAt
status
ticketId
updated
user {
...UserFragment
}
userId
}
}
Variables
{"input": TicketApproverDecideInput}
Response
{
"data": {
"ticketApproverDecide": {
"created": 1592577642,
"decidedAt": "2007-12-03T10:15:30Z",
"email": "abc123",
"id": HashedId,
"note": "abc123",
"requestedAt": "2007-12-03T10:15:30Z",
"status": "APPROVED",
"ticketId": HashedId,
"updated": 1592577642,
"user": User,
"userId": HashedId
}
}
}
ticketApproverDecideOnBehalf
Description
Record the decision of an approver of a ticket on their behalf
Response
Returns a TicketApprover!
Arguments
| Name | Description |
|---|---|
input - TicketApproverDecideOnBehalfInput!
|
Decision an editor records for an approver of a ticket |
Example
Query
mutation ticketApproverDecideOnBehalf($input: TicketApproverDecideOnBehalfInput!) {
ticketApproverDecideOnBehalf(input: $input) {
created
decidedAt
email
id
note
requestedAt
status
ticketId
updated
user {
...UserFragment
}
userId
}
}
Variables
{"input": TicketApproverDecideOnBehalfInput}
Response
{
"data": {
"ticketApproverDecideOnBehalf": {
"created": 1592577642,
"decidedAt": "2007-12-03T10:15:30Z",
"email": "abc123",
"id": HashedId,
"note": "xyz789",
"requestedAt": "2007-12-03T10:15:30Z",
"status": "APPROVED",
"ticketId": HashedId,
"updated": 1592577642,
"user": User,
"userId": HashedId
}
}
}
ticketApproverReRequest
Description
Ask an approver to decide on a ticket again
Response
Returns a TicketApprover!
Arguments
| Name | Description |
|---|---|
input - TicketApproverTargetInput!
|
Approver of a ticket |
Example
Query
mutation ticketApproverReRequest($input: TicketApproverTargetInput!) {
ticketApproverReRequest(input: $input) {
created
decidedAt
email
id
note
requestedAt
status
ticketId
updated
user {
...UserFragment
}
userId
}
}
Variables
{"input": TicketApproverTargetInput}
Response
{
"data": {
"ticketApproverReRequest": {
"created": 1592577642,
"decidedAt": "2007-12-03T10:15:30Z",
"email": "abc123",
"id": HashedId,
"note": "xyz789",
"requestedAt": "2007-12-03T10:15:30Z",
"status": "APPROVED",
"ticketId": HashedId,
"updated": 1592577642,
"user": User,
"userId": HashedId
}
}
}
ticketApproverRemove
Description
Remove an approver from a ticket
Response
Returns a Boolean!
Arguments
| Name | Description |
|---|---|
input - TicketApproverTargetInput!
|
Approver of a ticket |
Example
Query
mutation ticketApproverRemove($input: TicketApproverTargetInput!) {
ticketApproverRemove(input: $input)
}
Variables
{"input": TicketApproverTargetInput}
Response
{"data": {"ticketApproverRemove": false}}
ticketApproversAdd
Description
Ask users to approve a ticket and return its approvers
Response
Returns [TicketApprover!]!
Arguments
| Name | Description |
|---|---|
input - TicketApproversAddInput!
|
Approvers to add to a ticket |
Example
Query
mutation ticketApproversAdd($input: TicketApproversAddInput!) {
ticketApproversAdd(input: $input) {
created
decidedAt
email
id
note
requestedAt
status
ticketId
updated
user {
...UserFragment
}
userId
}
}
Variables
{"input": TicketApproversAddInput}
Response
{
"data": {
"ticketApproversAdd": [
{
"created": 1592577642,
"decidedAt": "2007-12-03T10:15:30Z",
"email": "xyz789",
"id": HashedId,
"note": "xyz789",
"requestedAt": "2007-12-03T10:15:30Z",
"status": "APPROVED",
"ticketId": HashedId,
"updated": 1592577642,
"user": User,
"userId": HashedId
}
]
}
}
ticketWebhookTrigger
Description
Manually re-trigger a webhook for a specific ticket
Response
Returns a Boolean!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Unique identifier of the entity |
type - TicketWebhookTriggerTypeEnum!
|
Webhook event type to trigger for the ticket |
Example
Query
mutation ticketWebhookTrigger(
$id: HashedId!,
$type: TicketWebhookTriggerTypeEnum!
) {
ticketWebhookTrigger(
id: $id,
type: $type
)
}
Variables
{"id": HashedId, "type": "ticketCommentAdded"}
Response
{"data": {"ticketWebhookTrigger": false}}
unassignServicesFromServicePackage
Description
Unassign services from service package
Response
Returns a Boolean!
Arguments
| Name | Description |
|---|---|
serviceIds - [HashedId!]!
|
Service identifiers |
servicePackageId - HashedId!
|
Service package identifier |
Example
Query
mutation unassignServicesFromServicePackage(
$serviceIds: [HashedId!]!,
$servicePackageId: HashedId!
) {
unassignServicesFromServicePackage(
serviceIds: $serviceIds,
servicePackageId: $servicePackageId
)
}
Variables
{
"serviceIds": [HashedId],
"servicePackageId": HashedId
}
Response
{"data": {"unassignServicesFromServicePackage": false}}
updateAsset
Description
Update existing asset properties and assignments
Response
Returns [Asset!]!
Arguments
| Name | Description |
|---|---|
BLE - String
|
Bluetooth Low Energy beacon identifier |
allowReservations - Boolean
|
When set, reservations are explicitly allowed for this asset. |
assetTypeId - HashedId
|
Type classification of this asset |
assignedToGroupId - HashedId
|
Organization group this asset is assigned to |
assignedToSiteId - HashedId
|
Target site ID to assign the asset to |
availability - AssetAvailability
|
Current availability status of this asset |
classification - AssetClassification
|
Asset classification such as robot, vehicle, room, or generic |
client - String
|
Client or customer name associated with this asset |
commissionDate - Date
|
Date when this asset was put into service |
costCenter - String
|
Accounting cost center for financial allocation |
currency - String
|
An optional currency string that overrides the group currency |
customerEditable - Boolean
|
With this flag the OEM can allow end-customers to edit assets |
dailyRate - Float
|
Daily rental or usage rate for billing |
description - TranslationInput
|
Localized description of the asset |
disableWebhooks - Boolean
|
Whether to skip webhook notifications for this operation. Default = false |
externalId - String
|
External id should only be filled by a machine. This is used to couple an external asset with an internal asset. An external Asset is an asset that represents the same physical thing but in a different system. |
fixedAssetNumber - String
|
Accounting fixed asset number for depreciation tracking |
floorRoom - String
|
Floor and room location within a building |
id - HashedId!
|
Unique identifier of the entity |
imageUrl - String
|
URL of the asset profile image |
imei - String
|
IMEI number for IoT-tracked assets |
initialValue - String
|
Original purchase or book value of this asset |
inventoryNumber - String
|
Internal inventory tracking number |
inventoryPrefix - String
|
Manual prefix segment of the auto-assigned inventory number |
isInStationaryGateway - Boolean
|
Whether assigned to a stationary gateway for fixed location |
isUsedPrivately - Boolean
|
Whether this asset is flagged for private use. Default = false |
leasingCostTermination - String
|
Early termination cost for the leasing contract |
leasingEnd - Date
|
End date of the leasing contract |
leasingLevel - String
|
Tier or level of the leasing agreement |
leasingMonthlyCost - String
|
Monthly payment amount for the leasing contract |
leasingPartner - String
|
Leasing company or partner name |
leasingPartnerContractNumber - String
|
Contract number with the leasing partner |
leasingPartnerContractPositionNumber - String
|
Line item position within the leasing contract |
leasingRenewalDate - Date
|
Date when the leasing contract is up for renewal |
leasingRenewalRate - String
|
Monthly rate after leasing contract renewal |
leasingStart - Date
|
Start date of the leasing contract |
minDaysBilled - Int
|
Minimum number of days billed per rental period |
moduleId - HashedId
|
IoT module attached to this asset |
nonWorkingDays - [AssetNonWorkingDaysUpsertInput!]
|
Days when the asset is not in operation |
optionalAssetID - String
|
Secondary user-defined asset identifier |
ownership - AssetOwnership
|
Ownership type (purchased, leased, or rented) |
parameterOffsets - [AssetParameterOffsetInput!]
|
IoT parameter value offsets for calibration |
partsNumber - String
|
Manufacturer part number for this asset |
plateNumber - String
|
Vehicle license plate number |
projectNumber - String
|
Project number this asset is allocated to |
purchaseCost - String
|
Original purchase price of this asset |
purchaseCurrentBookValue - String
|
Current depreciated book value of this asset |
purchaseDepreciationMonths - Int
|
Depreciation period in months for this asset |
purchaseInvoiceNumber - String
|
Invoice number from the original purchase |
purchaseLowValueAsset - Boolean
|
Whether classified as a low-value asset for accounting |
purchaseStart - Date
|
Date when the asset was purchased |
purchaseWarrantyEnd - Date
|
Expiration date of the purchase warranty |
purchaseWarrantyPeriod - Int
|
Warranty duration in months from purchase |
purchaseWarrantyStart - Date
|
Start date of the purchase warranty coverage |
qrAttached - Boolean
|
Whether a QR code label is attached to this asset |
quantity - Int
|
Number of identical items for commodity assets |
rentalCostTermination - String
|
Early termination cost for the rental contract |
rentalEnd - Date
|
End date of the rental contract |
rentalMonthlyCost - String
|
Monthly payment amount for the rental contract |
rentalRenewalDate - Date
|
Date when the rental contract is up for renewal |
rentalRenewalRate - String
|
Monthly rate after rental contract renewal |
rentalStart - Date
|
Start date of the rental contract |
responsiblePerson - String
|
Name of the person responsible for this asset |
serial - String
|
Serial number of the asset |
serviceContract - Boolean
|
Whether this asset has an active service contract |
serviceContractCostPerYear - String
|
Annual cost of the service contract |
serviceContractDocuments - [Upload!]
|
Service contract documents |
serviceContractEmail - String
|
Contact email for the service contract provider |
serviceContractEnd - Date
|
Expiration date of the service contract |
serviceContractFrom - Timestamp
|
Timestamp when the service contract coverage begins |
serviceContractLevel - String
|
Tier or coverage level of the service contract |
serviceContractPartner - String
|
Service contract provider company name |
serviceContractStart - Date
|
Start date of the service contract |
serviceContractTo - Timestamp
|
Timestamp when the service contract coverage ends |
shouldUpdateActiveAssetSiteAssignment - Boolean
|
Whether to update active asset site assignment |
supplier - String
|
Supplier or vendor this asset was sourced from |
syncSiteGroup - Boolean
|
Sync asset group with assigned site group |
transferModule - Boolean
|
Transfer IoT module from previous asset |
uuid - String
|
UUID used for cross-system asset identification |
workingHours - AssetWorkingHoursInput
|
Scheduled working hours for this asset |
workingHoursNotification - [RuleNotificationRelationInput]
|
Notification rules for working hours threshold alerts |
workingHoursSettings - JSON
|
Rule definition settings for working hours tracking |
Example
Query
mutation updateAsset(
$BLE: String,
$allowReservations: Boolean,
$assetTypeId: HashedId,
$assignedToGroupId: HashedId,
$assignedToSiteId: HashedId,
$availability: AssetAvailability,
$classification: AssetClassification,
$client: String,
$commissionDate: Date,
$costCenter: String,
$currency: String,
$customerEditable: Boolean,
$dailyRate: Float,
$description: TranslationInput,
$disableWebhooks: Boolean,
$externalId: String,
$fixedAssetNumber: String,
$floorRoom: String,
$id: HashedId!,
$imageUrl: String,
$imei: String,
$initialValue: String,
$inventoryNumber: String,
$inventoryPrefix: String,
$isInStationaryGateway: Boolean,
$isUsedPrivately: Boolean,
$leasingCostTermination: String,
$leasingEnd: Date,
$leasingLevel: String,
$leasingMonthlyCost: String,
$leasingPartner: String,
$leasingPartnerContractNumber: String,
$leasingPartnerContractPositionNumber: String,
$leasingRenewalDate: Date,
$leasingRenewalRate: String,
$leasingStart: Date,
$minDaysBilled: Int,
$moduleId: HashedId,
$nonWorkingDays: [AssetNonWorkingDaysUpsertInput!],
$optionalAssetID: String,
$ownership: AssetOwnership,
$parameterOffsets: [AssetParameterOffsetInput!],
$partsNumber: String,
$plateNumber: String,
$projectNumber: String,
$purchaseCost: String,
$purchaseCurrentBookValue: String,
$purchaseDepreciationMonths: Int,
$purchaseInvoiceNumber: String,
$purchaseLowValueAsset: Boolean,
$purchaseStart: Date,
$purchaseWarrantyEnd: Date,
$purchaseWarrantyPeriod: Int,
$purchaseWarrantyStart: Date,
$qrAttached: Boolean,
$quantity: Int,
$rentalCostTermination: String,
$rentalEnd: Date,
$rentalMonthlyCost: String,
$rentalRenewalDate: Date,
$rentalRenewalRate: String,
$rentalStart: Date,
$responsiblePerson: String,
$serial: String,
$serviceContract: Boolean,
$serviceContractCostPerYear: String,
$serviceContractDocuments: [Upload!],
$serviceContractEmail: String,
$serviceContractEnd: Date,
$serviceContractFrom: Timestamp,
$serviceContractLevel: String,
$serviceContractPartner: String,
$serviceContractStart: Date,
$serviceContractTo: Timestamp,
$shouldUpdateActiveAssetSiteAssignment: Boolean,
$supplier: String,
$syncSiteGroup: Boolean,
$transferModule: Boolean,
$uuid: String,
$workingHours: AssetWorkingHoursInput,
$workingHoursNotification: [RuleNotificationRelationInput],
$workingHoursSettings: JSON
) {
updateAsset(
BLE: $BLE,
allowReservations: $allowReservations,
assetTypeId: $assetTypeId,
assignedToGroupId: $assignedToGroupId,
assignedToSiteId: $assignedToSiteId,
availability: $availability,
classification: $classification,
client: $client,
commissionDate: $commissionDate,
costCenter: $costCenter,
currency: $currency,
customerEditable: $customerEditable,
dailyRate: $dailyRate,
description: $description,
disableWebhooks: $disableWebhooks,
externalId: $externalId,
fixedAssetNumber: $fixedAssetNumber,
floorRoom: $floorRoom,
id: $id,
imageUrl: $imageUrl,
imei: $imei,
initialValue: $initialValue,
inventoryNumber: $inventoryNumber,
inventoryPrefix: $inventoryPrefix,
isInStationaryGateway: $isInStationaryGateway,
isUsedPrivately: $isUsedPrivately,
leasingCostTermination: $leasingCostTermination,
leasingEnd: $leasingEnd,
leasingLevel: $leasingLevel,
leasingMonthlyCost: $leasingMonthlyCost,
leasingPartner: $leasingPartner,
leasingPartnerContractNumber: $leasingPartnerContractNumber,
leasingPartnerContractPositionNumber: $leasingPartnerContractPositionNumber,
leasingRenewalDate: $leasingRenewalDate,
leasingRenewalRate: $leasingRenewalRate,
leasingStart: $leasingStart,
minDaysBilled: $minDaysBilled,
moduleId: $moduleId,
nonWorkingDays: $nonWorkingDays,
optionalAssetID: $optionalAssetID,
ownership: $ownership,
parameterOffsets: $parameterOffsets,
partsNumber: $partsNumber,
plateNumber: $plateNumber,
projectNumber: $projectNumber,
purchaseCost: $purchaseCost,
purchaseCurrentBookValue: $purchaseCurrentBookValue,
purchaseDepreciationMonths: $purchaseDepreciationMonths,
purchaseInvoiceNumber: $purchaseInvoiceNumber,
purchaseLowValueAsset: $purchaseLowValueAsset,
purchaseStart: $purchaseStart,
purchaseWarrantyEnd: $purchaseWarrantyEnd,
purchaseWarrantyPeriod: $purchaseWarrantyPeriod,
purchaseWarrantyStart: $purchaseWarrantyStart,
qrAttached: $qrAttached,
quantity: $quantity,
rentalCostTermination: $rentalCostTermination,
rentalEnd: $rentalEnd,
rentalMonthlyCost: $rentalMonthlyCost,
rentalRenewalDate: $rentalRenewalDate,
rentalRenewalRate: $rentalRenewalRate,
rentalStart: $rentalStart,
responsiblePerson: $responsiblePerson,
serial: $serial,
serviceContract: $serviceContract,
serviceContractCostPerYear: $serviceContractCostPerYear,
serviceContractDocuments: $serviceContractDocuments,
serviceContractEmail: $serviceContractEmail,
serviceContractEnd: $serviceContractEnd,
serviceContractFrom: $serviceContractFrom,
serviceContractLevel: $serviceContractLevel,
serviceContractPartner: $serviceContractPartner,
serviceContractStart: $serviceContractStart,
serviceContractTo: $serviceContractTo,
shouldUpdateActiveAssetSiteAssignment: $shouldUpdateActiveAssetSiteAssignment,
supplier: $supplier,
syncSiteGroup: $syncSiteGroup,
transferModule: $transferModule,
uuid: $uuid,
workingHours: $workingHours,
workingHoursNotification: $workingHoursNotification,
workingHoursSettings: $workingHoursSettings
) {
BLE
activeCustomFields {
...CustomFieldFragment
}
activity {
...AssetActivityFragment
}
allowReservations
archivedCustomFields {
...CustomFieldFragment
}
assetCategory {
...AssetCategoryFragment
}
assetCategoryId
assetPackageAsset {
...AssetPackageAssetFragment
}
assetSiteAssignments {
...AssetSiteAssignmentFragment
}
assetType {
...AssetTypeFragment
}
assetTypeId
assignedSiteLocation {
...SiteLocationFragment
}
assignedToGroup {
...GroupFragment
}
assignedToGroupId
assignedToPreviousSite {
...SiteFragment
}
assignedToSite {
...SiteFragment
}
assignedToSiteId
assignment
availability
availabilityId
batteryLevel
canEdit
checkSchedule {
...AssetCheckScheduleFragment
}
checkScheduleRule {
...AssetCheckScheduleRuleFragment
}
classification
client
commissionDate
costCenter
costLines {
...CostLineFragment
}
costs {
...CostLineFragment
}
costsSum
costsSumBattery
costsSumCertification
costsSumConsumables
costsSumFuel
costsSumLabor
costsSumLogistics
costsSumMaintenance
costsSumOther
costsSumParts
costsSumRepair
costsSumTaxes
countNonArchivedSiteAssignments
created
createdByGroup {
...GroupFragment
}
createdByGroupId
currency
currentAlerts {
...EventFragment
}
customer
customerEditable
dailyRate
deleted
deletedBy
description {
...TranslationFragment
}
descriptionId
displayParameters {
...DisplayParameterFragment
}
documents {
...DocumentFragment
}
eventIds
events {
...EventFragment
}
externalId
firmwareVersion
firstTripDate
fixedAssetNumber
floorRoom
gatewayAsset {
...AssetFragment
}
geofence {
...AssetGeofenceFragment
}
group {
...GroupFragment
}
groupId
groupTimezone
id
image
imei
initialValue
inlineImage {
...DocumentInlineFileFragment
}
integrationId
integrationSummary {
...AssetIntegrationSummaryFragment
}
inventoryNumber
inventoryPrefix
inventorySequence
iot {
...IotAssetDataFragment
}
iotIntegrationProvider
iotRuleEntryEvents {
...RuleEntryEventFragment
}
isCommodity
isInStationaryGateway
isIntegrationSyncPaused
isLocked
isUsedPrivately
lastContactInfo {
...AssetLastContactInfoFragment
}
lastContacted
lastContactedSource
lastIntegrationRun {
...AssetIntegrationRunFragment
}
lastTicketDate
latestAssetData
latestTrip {
...AssetTripLatestFragment
}
leasingCostTermination
leasingEnd
leasingLevel
leasingMonthlyCost
leasingPartner
leasingPartnerContractNumber
leasingPartnerContractPositionNumber
leasingRenewalDate
leasingRenewalRate
leasingStart
location {
...LocationFragment
}
locationHiddenReason
locationV2 {
... on Location {
...LocationFragment
}
... on SiteLocation {
...SiteLocationFragment
}
... on TripLocation {
...TripLocationFragment
}
}
maintenanceSchedule {
...AssetMaintenanceScheduleFragment
}
manuals {
...DocumentFragment
}
manufacturer {
...ManufacturerFragment
}
manufacturerId
minDaysBilled
module {
...ModuleFragment
}
moduleConnectionStatus
moduleId
nextService
nonWorkingDays {
...AssetNonWorkingDaysFragment
}
operationalCosts {
...CostFragment
}
optionalAssetID
ownership
ownershipId
parameterOffsetIds
parameterOffsets {
...AssetParameterOffsetFragment
}
parameterSets {
...ParameterSetFragment
}
partsNumber
plateNumber
previousSiteId
primaryServicePackage {
...ServicePackageWithSourceTypeFragment
}
projectNumber
publicId
purchaseCost
purchaseCurrentBookValue
purchaseDepreciation
purchaseDepreciationMonths
purchaseDepreciationRemainingMonths
purchaseDepriciation
purchaseInvoiceNumber
purchaseLowValueAsset
purchaseMonthlyCost
purchaseStart
purchaseWarrantyEnd
purchaseWarrantyPeriod
purchaseWarrantyStart
qrAttached
quantity
relatedGroups {
...RelatedGroupFragment
}
rentalCostTermination
rentalEnd
rentalMonthlyCost
rentalRenewalDate
rentalRenewalRate
rentalStart
reservationLineItemIssues {
...ReservationLineItemIssueFragment
}
reservations {
...LegacyAssetReservationFragment
}
resolvedCurrency
responsiblePerson
responsiblePersonUpdatedAt
responsiblePersonUpdatedByUser {
...UserFragment
}
responsiblePersonUpdatedByUserId
restoreBlockers
runtimeWithOffsetInSeconds
scanTime
serial
serviceContract
serviceContractCostPerYear
serviceContractDocuments {
...DocumentFragment
}
serviceContractEmail
serviceContractEnd
serviceContractFrom
serviceContractLevel
serviceContractPartner
serviceContractStart
serviceContractTo
services {
...ServiceFragment
}
shouldShowLastSeenByGateway
shouldUpdateActiveAssetSiteAssignment
site {
...SiteFragment
}
siteId
state {
...AssetStateFragment
}
stateV2 {
...AssetStateItemFragment
}
status {
...StatusItemFragment
}
subscription
supplier
tickets {
...TicketFragment
}
ticketsCount
totalUtilization
totalWorkDone
trips {
...TripFragment
}
unavailability {
...AssetUnavailabilityFragment
}
updated
utilization {
...AssetUtilizationFragment
}
uuid
vncTunnelUrl
workOrders {
...WorkOrderV2Fragment
}
workingHours {
...AssetWorkingHoursFragment
}
workingHoursNotification {
...RuleNotificationRelationFragment
}
workingHoursSettings
}
}
Variables
{
"BLE": "abc123",
"allowReservations": false,
"assetTypeId": HashedId,
"assignedToGroupId": HashedId,
"assignedToSiteId": HashedId,
"availability": "BORROWED",
"classification": "GENERIC",
"client": "xyz789",
"commissionDate": "2007-12-03",
"costCenter": "xyz789",
"currency": "xyz789",
"customerEditable": false,
"dailyRate": 123.45,
"description": TranslationInput,
"disableWebhooks": false,
"externalId": "abc123",
"fixedAssetNumber": "abc123",
"floorRoom": "abc123",
"id": HashedId,
"imageUrl": "abc123",
"imei": "abc123",
"initialValue": "xyz789",
"inventoryNumber": "xyz789",
"inventoryPrefix": "xyz789",
"isInStationaryGateway": false,
"isUsedPrivately": false,
"leasingCostTermination": "abc123",
"leasingEnd": "2007-12-03",
"leasingLevel": "abc123",
"leasingMonthlyCost": "xyz789",
"leasingPartner": "xyz789",
"leasingPartnerContractNumber": "xyz789",
"leasingPartnerContractPositionNumber": "xyz789",
"leasingRenewalDate": "2007-12-03",
"leasingRenewalRate": "abc123",
"leasingStart": "2007-12-03",
"minDaysBilled": 987,
"moduleId": HashedId,
"nonWorkingDays": [AssetNonWorkingDaysUpsertInput],
"optionalAssetID": "abc123",
"ownership": "CUSTOMER_MACHINE",
"parameterOffsets": [AssetParameterOffsetInput],
"partsNumber": "xyz789",
"plateNumber": "abc123",
"projectNumber": "xyz789",
"purchaseCost": "xyz789",
"purchaseCurrentBookValue": "abc123",
"purchaseDepreciationMonths": 987,
"purchaseInvoiceNumber": "abc123",
"purchaseLowValueAsset": false,
"purchaseStart": "2007-12-03",
"purchaseWarrantyEnd": "2007-12-03",
"purchaseWarrantyPeriod": 123,
"purchaseWarrantyStart": "2007-12-03",
"qrAttached": true,
"quantity": 123,
"rentalCostTermination": "abc123",
"rentalEnd": "2007-12-03",
"rentalMonthlyCost": "xyz789",
"rentalRenewalDate": "2007-12-03",
"rentalRenewalRate": "xyz789",
"rentalStart": "2007-12-03",
"responsiblePerson": "abc123",
"serial": "xyz789",
"serviceContract": false,
"serviceContractCostPerYear": "xyz789",
"serviceContractDocuments": [Upload],
"serviceContractEmail": "abc123",
"serviceContractEnd": "2007-12-03",
"serviceContractFrom": 1592577642,
"serviceContractLevel": "abc123",
"serviceContractPartner": "abc123",
"serviceContractStart": "2007-12-03",
"serviceContractTo": 1592577642,
"shouldUpdateActiveAssetSiteAssignment": false,
"supplier": "xyz789",
"syncSiteGroup": false,
"transferModule": true,
"uuid": "abc123",
"workingHours": AssetWorkingHoursInput,
"workingHoursNotification": [
RuleNotificationRelationInput
],
"workingHoursSettings": {}
}
Response
{
"data": {
"updateAsset": [
{
"BLE": "xyz789",
"activeCustomFields": [CustomField],
"activity": AssetActivity,
"allowReservations": false,
"archivedCustomFields": [CustomField],
"assetCategory": AssetCategory,
"assetCategoryId": HashedId,
"assetPackageAsset": AssetPackageAsset,
"assetSiteAssignments": [AssetSiteAssignment],
"assetType": AssetType,
"assetTypeId": HashedId,
"assignedSiteLocation": SiteLocation,
"assignedToGroup": Group,
"assignedToGroupId": HashedId,
"assignedToPreviousSite": Site,
"assignedToSite": Site,
"assignedToSiteId": HashedId,
"assignment": "xyz789",
"availability": "BORROWED",
"availabilityId": HashedId,
"batteryLevel": "xyz789",
"canEdit": true,
"checkSchedule": AssetCheckSchedule,
"checkScheduleRule": AssetCheckScheduleRule,
"classification": "GENERIC",
"client": "xyz789",
"commissionDate": "2007-12-03",
"costCenter": "abc123",
"costLines": [CostLine],
"costs": [CostLine],
"costsSum": 987.65,
"costsSumBattery": 123.45,
"costsSumCertification": 123.45,
"costsSumConsumables": 987.65,
"costsSumFuel": 987.65,
"costsSumLabor": 123.45,
"costsSumLogistics": 987.65,
"costsSumMaintenance": 987.65,
"costsSumOther": 987.65,
"costsSumParts": 987.65,
"costsSumRepair": 987.65,
"costsSumTaxes": 123.45,
"countNonArchivedSiteAssignments": 123,
"created": 1592577642,
"createdByGroup": Group,
"createdByGroupId": HashedId,
"currency": "abc123",
"currentAlerts": [Event],
"customer": "xyz789",
"customerEditable": true,
"dailyRate": 987.65,
"deleted": 1592577642,
"deletedBy": "abc123",
"description": Translation,
"descriptionId": HashedId,
"displayParameters": [DisplayParameter],
"documents": [Document],
"eventIds": [HashedId],
"events": [Event],
"externalId": "xyz789",
"firmwareVersion": "abc123",
"firstTripDate": 987.65,
"fixedAssetNumber": "xyz789",
"floorRoom": "xyz789",
"gatewayAsset": Asset,
"geofence": AssetGeofence,
"group": Group,
"groupId": HashedId,
"groupTimezone": "abc123",
"id": HashedId,
"image": "abc123",
"imei": "xyz789",
"initialValue": "abc123",
"inlineImage": DocumentInlineFile,
"integrationId": HashedId,
"integrationSummary": AssetIntegrationSummary,
"inventoryNumber": "xyz789",
"inventoryPrefix": "xyz789",
"inventorySequence": 987,
"iot": IotAssetData,
"iotIntegrationProvider": "ACHELIS_PROVIDER",
"iotRuleEntryEvents": [RuleEntryEvent],
"isCommodity": true,
"isInStationaryGateway": true,
"isIntegrationSyncPaused": false,
"isLocked": false,
"isUsedPrivately": false,
"lastContactInfo": AssetLastContactInfo,
"lastContacted": 1592577642,
"lastContactedSource": "BLE",
"lastIntegrationRun": AssetIntegrationRun,
"lastTicketDate": "2007-12-03T10:15:30Z",
"latestAssetData": {},
"latestTrip": AssetTripLatest,
"leasingCostTermination": "abc123",
"leasingEnd": "2007-12-03",
"leasingLevel": "abc123",
"leasingMonthlyCost": "xyz789",
"leasingPartner": "xyz789",
"leasingPartnerContractNumber": "abc123",
"leasingPartnerContractPositionNumber": "abc123",
"leasingRenewalDate": "2007-12-03",
"leasingRenewalRate": "xyz789",
"leasingStart": "2007-12-03",
"location": Location,
"locationHiddenReason": "PRIVATE_USE",
"locationV2": Location,
"maintenanceSchedule": AssetMaintenanceSchedule,
"manuals": [Document],
"manufacturer": Manufacturer,
"manufacturerId": HashedId,
"minDaysBilled": 123,
"module": Module,
"moduleConnectionStatus": "disconnected",
"moduleId": HashedId,
"nextService": 123,
"nonWorkingDays": [AssetNonWorkingDays],
"operationalCosts": [Cost],
"optionalAssetID": "abc123",
"ownership": "CUSTOMER_MACHINE",
"ownershipId": HashedId,
"parameterOffsetIds": [HashedId],
"parameterOffsets": [AssetParameterOffset],
"parameterSets": [ParameterSet],
"partsNumber": "abc123",
"plateNumber": "xyz789",
"previousSiteId": HashedId,
"primaryServicePackage": ServicePackageWithSourceType,
"projectNumber": "xyz789",
"publicId": 987,
"purchaseCost": "xyz789",
"purchaseCurrentBookValue": "xyz789",
"purchaseDepreciation": 987.65,
"purchaseDepreciationMonths": 123,
"purchaseDepreciationRemainingMonths": 987,
"purchaseDepriciation": 987,
"purchaseInvoiceNumber": "xyz789",
"purchaseLowValueAsset": false,
"purchaseMonthlyCost": "xyz789",
"purchaseStart": "2007-12-03",
"purchaseWarrantyEnd": "2007-12-03",
"purchaseWarrantyPeriod": 123,
"purchaseWarrantyStart": "2007-12-03",
"qrAttached": false,
"quantity": 987,
"relatedGroups": [RelatedGroup],
"rentalCostTermination": "xyz789",
"rentalEnd": "2007-12-03",
"rentalMonthlyCost": "abc123",
"rentalRenewalDate": "2007-12-03",
"rentalRenewalRate": "abc123",
"rentalStart": "2007-12-03",
"reservationLineItemIssues": [
ReservationLineItemIssue
],
"reservations": [LegacyAssetReservation],
"resolvedCurrency": "AED",
"responsiblePerson": "xyz789",
"responsiblePersonUpdatedAt": 1592577642,
"responsiblePersonUpdatedByUser": User,
"responsiblePersonUpdatedByUserId": HashedId,
"restoreBlockers": ["PARENT_ASSET_CATEGORY_DELETED"],
"runtimeWithOffsetInSeconds": 987,
"scanTime": "2007-12-03",
"serial": "abc123",
"serviceContract": false,
"serviceContractCostPerYear": "abc123",
"serviceContractDocuments": [Document],
"serviceContractEmail": "xyz789",
"serviceContractEnd": "2007-12-03",
"serviceContractFrom": 1592577642,
"serviceContractLevel": "xyz789",
"serviceContractPartner": "xyz789",
"serviceContractStart": "2007-12-03",
"serviceContractTo": 1592577642,
"services": [Service],
"shouldShowLastSeenByGateway": false,
"shouldUpdateActiveAssetSiteAssignment": true,
"site": Site,
"siteId": HashedId,
"state": AssetState,
"stateV2": [AssetStateItem],
"status": [StatusItem],
"subscription": "abc123",
"supplier": "xyz789",
"tickets": [Ticket],
"ticketsCount": "xyz789",
"totalUtilization": "abc123",
"totalWorkDone": "xyz789",
"trips": [Trip],
"unavailability": [AssetUnavailability],
"updated": 1592577642,
"utilization": AssetUtilization,
"uuid": "abc123",
"vncTunnelUrl": "xyz789",
"workOrders": [WorkOrderV2],
"workingHours": AssetWorkingHours,
"workingHoursNotification": [
RuleNotificationRelation
],
"workingHoursSettings": {}
}
]
}
}
updateAssetCategory
Description
Update an existing asset category and its settings
Response
Returns [AssetCategory!]
Arguments
| Name | Description |
|---|---|
externalId - String
|
ID from an external system for integration |
groupId - HashedId
|
Owning organization group |
id - HashedId!
|
ID of the asset category to update |
isPrivate - Boolean
|
Listed to users outside this group hierarchy - "publicly" available. May be used for not yet released models |
minimalBatteryVoltage - Float
|
Minimum acceptable battery voltage in volts |
name - TranslationInput
|
Localized category display name |
nominalBatteryVoltage - Float
|
Rated nominal battery voltage in volts |
optimalBatteryVoltage - Float
|
Target optimal battery voltage in volts |
optimalRuntime - Float
|
Target optimal daily runtime in hours |
parentParameterKey - AssetParentParameter
|
Primary IoT parameter used for utilization tracking |
servicePackageId - HashedId
|
Assigned service package |
workUnits - TranslationInput
|
Localized label for the work unit measurement |
workUnitsPerHour - Float
|
Work units per hour |
Example
Query
mutation updateAssetCategory(
$externalId: String,
$groupId: HashedId,
$id: HashedId!,
$isPrivate: Boolean,
$minimalBatteryVoltage: Float,
$name: TranslationInput,
$nominalBatteryVoltage: Float,
$optimalBatteryVoltage: Float,
$optimalRuntime: Float,
$parentParameterKey: AssetParentParameter,
$servicePackageId: HashedId,
$workUnits: TranslationInput,
$workUnitsPerHour: Float
) {
updateAssetCategory(
externalId: $externalId,
groupId: $groupId,
id: $id,
isPrivate: $isPrivate,
minimalBatteryVoltage: $minimalBatteryVoltage,
name: $name,
nominalBatteryVoltage: $nominalBatteryVoltage,
optimalBatteryVoltage: $optimalBatteryVoltage,
optimalRuntime: $optimalRuntime,
parentParameterKey: $parentParameterKey,
servicePackageId: $servicePackageId,
workUnits: $workUnits,
workUnitsPerHour: $workUnitsPerHour
) {
assetsCount
canEdit
created
deleted
deletedAssetTypesCount
deletedAssetsCount
deletedBy
externalId
forManufacturer {
...ManufacturerFragment
}
forManufacturerId
group {
...GroupFragment
}
groupId
id
image
isPrivate
manufacturer {
...ManufacturerFragment
}
minimalBatteryVoltage
name {
...TranslationFragment
}
nameId
nominalBatteryVoltage
optimalBatteryVoltage
optimalRuntime
parentParameterKey
publicId
restoreBlockers
servicePackage {
...ServicePackageFragment
}
servicePackageId
updated
workUnitId
workUnits {
...TranslationFragment
}
workUnitsPerHour
}
}
Variables
{
"externalId": "abc123",
"groupId": HashedId,
"id": HashedId,
"isPrivate": true,
"minimalBatteryVoltage": 123.45,
"name": TranslationInput,
"nominalBatteryVoltage": 123.45,
"optimalBatteryVoltage": 123.45,
"optimalRuntime": 987.65,
"parentParameterKey": "input2",
"servicePackageId": HashedId,
"workUnits": TranslationInput,
"workUnitsPerHour": 987.65
}
Response
{
"data": {
"updateAssetCategory": [
{
"assetsCount": 987,
"canEdit": true,
"created": 1592577642,
"deleted": 1592577642,
"deletedAssetTypesCount": 123,
"deletedAssetsCount": 123,
"deletedBy": "abc123",
"externalId": "abc123",
"forManufacturer": Manufacturer,
"forManufacturerId": HashedId,
"group": Group,
"groupId": HashedId,
"id": HashedId,
"image": "abc123",
"isPrivate": true,
"manufacturer": Manufacturer,
"minimalBatteryVoltage": 987.65,
"name": Translation,
"nameId": HashedId,
"nominalBatteryVoltage": 123.45,
"optimalBatteryVoltage": 123.45,
"optimalRuntime": 987.65,
"parentParameterKey": "input2",
"publicId": 987,
"restoreBlockers": ["PARENT_ASSET_CATEGORY_DELETED"],
"servicePackage": ServicePackage,
"servicePackageId": HashedId,
"updated": 1592577642,
"workUnitId": HashedId,
"workUnits": Translation,
"workUnitsPerHour": 123.45
}
]
}
}
updateAssetCategoryImage
Description
Accepts jpg, jpeg, gif, png, webp, heic (case insensitive). Will be contained to a 500px square with white background. 3 images generated:
- _2x for high dpi screens
- no suffix, half of the default size, this url will be provided
- _thumb - 100px thumbnail
Send an empty value to remove the image.
Response
Returns an AssetCategory!
Example
Query
mutation updateAssetCategoryImage(
$file: Upload,
$id: HashedId!
) {
updateAssetCategoryImage(
file: $file,
id: $id
) {
assetsCount
canEdit
created
deleted
deletedAssetTypesCount
deletedAssetsCount
deletedBy
externalId
forManufacturer {
...ManufacturerFragment
}
forManufacturerId
group {
...GroupFragment
}
groupId
id
image
isPrivate
manufacturer {
...ManufacturerFragment
}
minimalBatteryVoltage
name {
...TranslationFragment
}
nameId
nominalBatteryVoltage
optimalBatteryVoltage
optimalRuntime
parentParameterKey
publicId
restoreBlockers
servicePackage {
...ServicePackageFragment
}
servicePackageId
updated
workUnitId
workUnits {
...TranslationFragment
}
workUnitsPerHour
}
}
Variables
{"file": Upload, "id": HashedId}
Response
{
"data": {
"updateAssetCategoryImage": {
"assetsCount": 987,
"canEdit": false,
"created": 1592577642,
"deleted": 1592577642,
"deletedAssetTypesCount": 123,
"deletedAssetsCount": 123,
"deletedBy": "xyz789",
"externalId": "xyz789",
"forManufacturer": Manufacturer,
"forManufacturerId": HashedId,
"group": Group,
"groupId": HashedId,
"id": HashedId,
"image": "abc123",
"isPrivate": false,
"manufacturer": Manufacturer,
"minimalBatteryVoltage": 987.65,
"name": Translation,
"nameId": HashedId,
"nominalBatteryVoltage": 987.65,
"optimalBatteryVoltage": 123.45,
"optimalRuntime": 987.65,
"parentParameterKey": "input2",
"publicId": 987,
"restoreBlockers": ["PARENT_ASSET_CATEGORY_DELETED"],
"servicePackage": ServicePackage,
"servicePackageId": HashedId,
"updated": 1592577642,
"workUnitId": HashedId,
"workUnits": Translation,
"workUnitsPerHour": 987.65
}
}
}
updateAssetEventView
Description
Update an existing saved asset event view
Response
Returns an AssetEventView!
Arguments
| Name | Description |
|---|---|
view - AssetEventViewUpdateInput!
|
View configuration data |
Example
Query
mutation updateAssetEventView($view: AssetEventViewUpdateInput!) {
updateAssetEventView(view: $view) {
created
displayMode
forEntity
id
isActive
isDeletable
isEditable
isShareable
isShared
isSystemView
isUnsharedByParentGroup
options {
...AssetEventViewOptionsFragment
}
title {
...TranslationFragment
}
titleId
updated
}
}
Variables
{"view": AssetEventViewUpdateInput}
Response
{
"data": {
"updateAssetEventView": {
"created": 1592577642,
"displayMode": "GANTT",
"forEntity": "ASSET",
"id": HashedId,
"isActive": true,
"isDeletable": false,
"isEditable": true,
"isShareable": false,
"isShared": false,
"isSystemView": false,
"isUnsharedByParentGroup": false,
"options": AssetEventViewOptions,
"title": Translation,
"titleId": HashedId,
"updated": 1592577642
}
}
}
updateAssetImage
Description
Accepts jpg, jpeg, gif, png, webp, heic (case insensitive). Will be contained to a 500px square with white background. 3 images generated: - _2x for high dpi screens - no suffix, half of the default size, this url will be provided - _thumb - 100px thumbnail Send an empty value to remove the image.
Response
Returns an Asset!
Example
Query
mutation updateAssetImage(
$file: Upload,
$id: HashedId!
) {
updateAssetImage(
file: $file,
id: $id
) {
BLE
activeCustomFields {
...CustomFieldFragment
}
activity {
...AssetActivityFragment
}
allowReservations
archivedCustomFields {
...CustomFieldFragment
}
assetCategory {
...AssetCategoryFragment
}
assetCategoryId
assetPackageAsset {
...AssetPackageAssetFragment
}
assetSiteAssignments {
...AssetSiteAssignmentFragment
}
assetType {
...AssetTypeFragment
}
assetTypeId
assignedSiteLocation {
...SiteLocationFragment
}
assignedToGroup {
...GroupFragment
}
assignedToGroupId
assignedToPreviousSite {
...SiteFragment
}
assignedToSite {
...SiteFragment
}
assignedToSiteId
assignment
availability
availabilityId
batteryLevel
canEdit
checkSchedule {
...AssetCheckScheduleFragment
}
checkScheduleRule {
...AssetCheckScheduleRuleFragment
}
classification
client
commissionDate
costCenter
costLines {
...CostLineFragment
}
costs {
...CostLineFragment
}
costsSum
costsSumBattery
costsSumCertification
costsSumConsumables
costsSumFuel
costsSumLabor
costsSumLogistics
costsSumMaintenance
costsSumOther
costsSumParts
costsSumRepair
costsSumTaxes
countNonArchivedSiteAssignments
created
createdByGroup {
...GroupFragment
}
createdByGroupId
currency
currentAlerts {
...EventFragment
}
customer
customerEditable
dailyRate
deleted
deletedBy
description {
...TranslationFragment
}
descriptionId
displayParameters {
...DisplayParameterFragment
}
documents {
...DocumentFragment
}
eventIds
events {
...EventFragment
}
externalId
firmwareVersion
firstTripDate
fixedAssetNumber
floorRoom
gatewayAsset {
...AssetFragment
}
geofence {
...AssetGeofenceFragment
}
group {
...GroupFragment
}
groupId
groupTimezone
id
image
imei
initialValue
inlineImage {
...DocumentInlineFileFragment
}
integrationId
integrationSummary {
...AssetIntegrationSummaryFragment
}
inventoryNumber
inventoryPrefix
inventorySequence
iot {
...IotAssetDataFragment
}
iotIntegrationProvider
iotRuleEntryEvents {
...RuleEntryEventFragment
}
isCommodity
isInStationaryGateway
isIntegrationSyncPaused
isLocked
isUsedPrivately
lastContactInfo {
...AssetLastContactInfoFragment
}
lastContacted
lastContactedSource
lastIntegrationRun {
...AssetIntegrationRunFragment
}
lastTicketDate
latestAssetData
latestTrip {
...AssetTripLatestFragment
}
leasingCostTermination
leasingEnd
leasingLevel
leasingMonthlyCost
leasingPartner
leasingPartnerContractNumber
leasingPartnerContractPositionNumber
leasingRenewalDate
leasingRenewalRate
leasingStart
location {
...LocationFragment
}
locationHiddenReason
locationV2 {
... on Location {
...LocationFragment
}
... on SiteLocation {
...SiteLocationFragment
}
... on TripLocation {
...TripLocationFragment
}
}
maintenanceSchedule {
...AssetMaintenanceScheduleFragment
}
manuals {
...DocumentFragment
}
manufacturer {
...ManufacturerFragment
}
manufacturerId
minDaysBilled
module {
...ModuleFragment
}
moduleConnectionStatus
moduleId
nextService
nonWorkingDays {
...AssetNonWorkingDaysFragment
}
operationalCosts {
...CostFragment
}
optionalAssetID
ownership
ownershipId
parameterOffsetIds
parameterOffsets {
...AssetParameterOffsetFragment
}
parameterSets {
...ParameterSetFragment
}
partsNumber
plateNumber
previousSiteId
primaryServicePackage {
...ServicePackageWithSourceTypeFragment
}
projectNumber
publicId
purchaseCost
purchaseCurrentBookValue
purchaseDepreciation
purchaseDepreciationMonths
purchaseDepreciationRemainingMonths
purchaseDepriciation
purchaseInvoiceNumber
purchaseLowValueAsset
purchaseMonthlyCost
purchaseStart
purchaseWarrantyEnd
purchaseWarrantyPeriod
purchaseWarrantyStart
qrAttached
quantity
relatedGroups {
...RelatedGroupFragment
}
rentalCostTermination
rentalEnd
rentalMonthlyCost
rentalRenewalDate
rentalRenewalRate
rentalStart
reservationLineItemIssues {
...ReservationLineItemIssueFragment
}
reservations {
...LegacyAssetReservationFragment
}
resolvedCurrency
responsiblePerson
responsiblePersonUpdatedAt
responsiblePersonUpdatedByUser {
...UserFragment
}
responsiblePersonUpdatedByUserId
restoreBlockers
runtimeWithOffsetInSeconds
scanTime
serial
serviceContract
serviceContractCostPerYear
serviceContractDocuments {
...DocumentFragment
}
serviceContractEmail
serviceContractEnd
serviceContractFrom
serviceContractLevel
serviceContractPartner
serviceContractStart
serviceContractTo
services {
...ServiceFragment
}
shouldShowLastSeenByGateway
shouldUpdateActiveAssetSiteAssignment
site {
...SiteFragment
}
siteId
state {
...AssetStateFragment
}
stateV2 {
...AssetStateItemFragment
}
status {
...StatusItemFragment
}
subscription
supplier
tickets {
...TicketFragment
}
ticketsCount
totalUtilization
totalWorkDone
trips {
...TripFragment
}
unavailability {
...AssetUnavailabilityFragment
}
updated
utilization {
...AssetUtilizationFragment
}
uuid
vncTunnelUrl
workOrders {
...WorkOrderV2Fragment
}
workingHours {
...AssetWorkingHoursFragment
}
workingHoursNotification {
...RuleNotificationRelationFragment
}
workingHoursSettings
}
}
Variables
{"file": Upload, "id": HashedId}
Response
{
"data": {
"updateAssetImage": {
"BLE": "abc123",
"activeCustomFields": [CustomField],
"activity": AssetActivity,
"allowReservations": false,
"archivedCustomFields": [CustomField],
"assetCategory": AssetCategory,
"assetCategoryId": HashedId,
"assetPackageAsset": AssetPackageAsset,
"assetSiteAssignments": [AssetSiteAssignment],
"assetType": AssetType,
"assetTypeId": HashedId,
"assignedSiteLocation": SiteLocation,
"assignedToGroup": Group,
"assignedToGroupId": HashedId,
"assignedToPreviousSite": Site,
"assignedToSite": Site,
"assignedToSiteId": HashedId,
"assignment": "abc123",
"availability": "BORROWED",
"availabilityId": HashedId,
"batteryLevel": "xyz789",
"canEdit": false,
"checkSchedule": AssetCheckSchedule,
"checkScheduleRule": AssetCheckScheduleRule,
"classification": "GENERIC",
"client": "abc123",
"commissionDate": "2007-12-03",
"costCenter": "xyz789",
"costLines": [CostLine],
"costs": [CostLine],
"costsSum": 987.65,
"costsSumBattery": 123.45,
"costsSumCertification": 123.45,
"costsSumConsumables": 123.45,
"costsSumFuel": 123.45,
"costsSumLabor": 987.65,
"costsSumLogistics": 123.45,
"costsSumMaintenance": 123.45,
"costsSumOther": 987.65,
"costsSumParts": 987.65,
"costsSumRepair": 987.65,
"costsSumTaxes": 123.45,
"countNonArchivedSiteAssignments": 123,
"created": 1592577642,
"createdByGroup": Group,
"createdByGroupId": HashedId,
"currency": "abc123",
"currentAlerts": [Event],
"customer": "abc123",
"customerEditable": true,
"dailyRate": 987.65,
"deleted": 1592577642,
"deletedBy": "xyz789",
"description": Translation,
"descriptionId": HashedId,
"displayParameters": [DisplayParameter],
"documents": [Document],
"eventIds": [HashedId],
"events": [Event],
"externalId": "abc123",
"firmwareVersion": "xyz789",
"firstTripDate": 987.65,
"fixedAssetNumber": "xyz789",
"floorRoom": "abc123",
"gatewayAsset": Asset,
"geofence": AssetGeofence,
"group": Group,
"groupId": HashedId,
"groupTimezone": "abc123",
"id": HashedId,
"image": "xyz789",
"imei": "abc123",
"initialValue": "abc123",
"inlineImage": DocumentInlineFile,
"integrationId": HashedId,
"integrationSummary": AssetIntegrationSummary,
"inventoryNumber": "abc123",
"inventoryPrefix": "xyz789",
"inventorySequence": 123,
"iot": IotAssetData,
"iotIntegrationProvider": "ACHELIS_PROVIDER",
"iotRuleEntryEvents": [RuleEntryEvent],
"isCommodity": true,
"isInStationaryGateway": false,
"isIntegrationSyncPaused": false,
"isLocked": false,
"isUsedPrivately": false,
"lastContactInfo": AssetLastContactInfo,
"lastContacted": 1592577642,
"lastContactedSource": "BLE",
"lastIntegrationRun": AssetIntegrationRun,
"lastTicketDate": "2007-12-03T10:15:30Z",
"latestAssetData": {},
"latestTrip": AssetTripLatest,
"leasingCostTermination": "abc123",
"leasingEnd": "2007-12-03",
"leasingLevel": "xyz789",
"leasingMonthlyCost": "abc123",
"leasingPartner": "xyz789",
"leasingPartnerContractNumber": "abc123",
"leasingPartnerContractPositionNumber": "xyz789",
"leasingRenewalDate": "2007-12-03",
"leasingRenewalRate": "xyz789",
"leasingStart": "2007-12-03",
"location": Location,
"locationHiddenReason": "PRIVATE_USE",
"locationV2": Location,
"maintenanceSchedule": AssetMaintenanceSchedule,
"manuals": [Document],
"manufacturer": Manufacturer,
"manufacturerId": HashedId,
"minDaysBilled": 123,
"module": Module,
"moduleConnectionStatus": "disconnected",
"moduleId": HashedId,
"nextService": 123,
"nonWorkingDays": [AssetNonWorkingDays],
"operationalCosts": [Cost],
"optionalAssetID": "abc123",
"ownership": "CUSTOMER_MACHINE",
"ownershipId": HashedId,
"parameterOffsetIds": [HashedId],
"parameterOffsets": [AssetParameterOffset],
"parameterSets": [ParameterSet],
"partsNumber": "xyz789",
"plateNumber": "abc123",
"previousSiteId": HashedId,
"primaryServicePackage": ServicePackageWithSourceType,
"projectNumber": "abc123",
"publicId": 987,
"purchaseCost": "xyz789",
"purchaseCurrentBookValue": "abc123",
"purchaseDepreciation": 123.45,
"purchaseDepreciationMonths": 123,
"purchaseDepreciationRemainingMonths": 123,
"purchaseDepriciation": 123,
"purchaseInvoiceNumber": "abc123",
"purchaseLowValueAsset": true,
"purchaseMonthlyCost": "abc123",
"purchaseStart": "2007-12-03",
"purchaseWarrantyEnd": "2007-12-03",
"purchaseWarrantyPeriod": 987,
"purchaseWarrantyStart": "2007-12-03",
"qrAttached": false,
"quantity": 987,
"relatedGroups": [RelatedGroup],
"rentalCostTermination": "xyz789",
"rentalEnd": "2007-12-03",
"rentalMonthlyCost": "abc123",
"rentalRenewalDate": "2007-12-03",
"rentalRenewalRate": "xyz789",
"rentalStart": "2007-12-03",
"reservationLineItemIssues": [
ReservationLineItemIssue
],
"reservations": [LegacyAssetReservation],
"resolvedCurrency": "AED",
"responsiblePerson": "xyz789",
"responsiblePersonUpdatedAt": 1592577642,
"responsiblePersonUpdatedByUser": User,
"responsiblePersonUpdatedByUserId": HashedId,
"restoreBlockers": ["PARENT_ASSET_CATEGORY_DELETED"],
"runtimeWithOffsetInSeconds": 987,
"scanTime": "2007-12-03",
"serial": "abc123",
"serviceContract": true,
"serviceContractCostPerYear": "xyz789",
"serviceContractDocuments": [Document],
"serviceContractEmail": "xyz789",
"serviceContractEnd": "2007-12-03",
"serviceContractFrom": 1592577642,
"serviceContractLevel": "abc123",
"serviceContractPartner": "abc123",
"serviceContractStart": "2007-12-03",
"serviceContractTo": 1592577642,
"services": [Service],
"shouldShowLastSeenByGateway": true,
"shouldUpdateActiveAssetSiteAssignment": false,
"site": Site,
"siteId": HashedId,
"state": AssetState,
"stateV2": [AssetStateItem],
"status": [StatusItem],
"subscription": "xyz789",
"supplier": "abc123",
"tickets": [Ticket],
"ticketsCount": "xyz789",
"totalUtilization": "xyz789",
"totalWorkDone": "xyz789",
"trips": [Trip],
"unavailability": [AssetUnavailability],
"updated": 1592577642,
"utilization": AssetUtilization,
"uuid": "xyz789",
"vncTunnelUrl": "xyz789",
"workOrders": [WorkOrderV2],
"workingHours": AssetWorkingHours,
"workingHoursNotification": [
RuleNotificationRelation
],
"workingHoursSettings": {}
}
}
}
updateAssetIntegrationById
Description
Update an existing asset integration by ID
Response
Returns an AssetIntegration!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
ID of the asset integration to update |
input - AssetIntegrationUpdateInput!
|
Fields to modify on the integration |
Example
Query
mutation updateAssetIntegrationById(
$id: HashedId!,
$input: AssetIntegrationUpdateInput!
) {
updateAssetIntegrationById(
id: $id,
input: $input
) {
assetCategory {
...AssetCategoryFragment
}
assetCategoryId
created
id
iotParameters {
...IotParameterFragment
}
manufacturer {
...ManufacturerFragment
}
manufacturerId
name
updated
}
}
Variables
{
"id": HashedId,
"input": AssetIntegrationUpdateInput
}
Response
{
"data": {
"updateAssetIntegrationById": {
"assetCategory": AssetCategory,
"assetCategoryId": HashedId,
"created": 1592577642,
"id": HashedId,
"iotParameters": [IotParameter],
"manufacturer": Manufacturer,
"manufacturerId": HashedId,
"name": "abc123",
"updated": 1592577642
}
}
}
updateAssetLockStatus
Description
Lock or unlock a lockable asset remotely
Response
Returns a Boolean!
Example
Query
mutation updateAssetLockStatus(
$id: HashedId!,
$state: Boolean!
) {
updateAssetLockStatus(
id: $id,
state: $state
)
}
Variables
{"id": HashedId, "state": true}
Response
{"data": {"updateAssetLockStatus": true}}
updateAssetPackage
Description
Update an existing asset package by ID
Response
Returns an AssetPackage!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Unique identifier of the entity |
input - AssetPackageUpdateInput!
|
Input data for updating the asset package |
Example
Query
mutation updateAssetPackage(
$id: HashedId!,
$input: AssetPackageUpdateInput!
) {
updateAssetPackage(
id: $id,
input: $input
) {
assetCount
assets {
...AssetPackageAssetFragment
}
created
group {
...GroupFragment
}
groupId
id
isDeleted
name {
...TranslationFragment
}
primaryAsset {
...AssetFragment
}
primaryAssetId
publicId
site {
...SiteFragment
}
siteId
siteInheritance
siteMismatchCount
updated
}
}
Variables
{
"id": HashedId,
"input": AssetPackageUpdateInput
}
Response
{
"data": {
"updateAssetPackage": {
"assetCount": 987,
"assets": [AssetPackageAsset],
"created": 1592577642,
"group": Group,
"groupId": HashedId,
"id": HashedId,
"isDeleted": true,
"name": Translation,
"primaryAsset": Asset,
"primaryAssetId": HashedId,
"publicId": 123,
"site": Site,
"siteId": HashedId,
"siteInheritance": "CUSTOM",
"siteMismatchCount": 123,
"updated": 1592577642
}
}
}
updateAssetSiteAssignment
Description
Update an existing asset site assignment by ID
Response
Returns an AssetSiteAssignment!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Unique identifier of the entity |
input - AssetSiteAssignmentUpdateInput!
|
Input data for updating the asset site assignment |
Example
Query
mutation updateAssetSiteAssignment(
$id: HashedId!,
$input: AssetSiteAssignmentUpdateInput!
) {
updateAssetSiteAssignment(
id: $id,
input: $input
) {
asset {
...AssetFragment
}
assetId
averageDailyRate
costCenter
costCenterResolved
costCenterSelected
costCenterSource
costCenterSourceResolved
costs {
...AssetSiteAssignmentCostDtoFragment
}
created
dailyRateInPeriod
externalId
id
notes
onSiteFrom
onSiteUntil
publicId
site {
...SiteFragment
}
siteId
status
totalCosts
totalCostsInPeriod
totalDaysBilled
totalDaysBilledInPeriod
totalDaysPlanned
totalDaysPlannedInPeriod
totalDaysUntilNow
totalDaysUntilNowInPeriod
updated
}
}
Variables
{
"id": HashedId,
"input": AssetSiteAssignmentUpdateInput
}
Response
{
"data": {
"updateAssetSiteAssignment": {
"asset": Asset,
"assetId": HashedId,
"averageDailyRate": 123.45,
"costCenter": "xyz789",
"costCenterResolved": "abc123",
"costCenterSelected": "xyz789",
"costCenterSource": "ASSET",
"costCenterSourceResolved": "ASSET",
"costs": [AssetSiteAssignmentCostDto],
"created": 1592577642,
"dailyRateInPeriod": 123.45,
"externalId": "xyz789",
"id": HashedId,
"notes": "abc123",
"onSiteFrom": "2007-12-03T10:15:30Z",
"onSiteUntil": "2007-12-03T10:15:30Z",
"publicId": 123,
"site": Site,
"siteId": HashedId,
"status": "ACTIVE",
"totalCosts": 987.65,
"totalCostsInPeriod": 123.45,
"totalDaysBilled": 123,
"totalDaysBilledInPeriod": 987,
"totalDaysPlanned": 123,
"totalDaysPlannedInPeriod": 987,
"totalDaysUntilNow": 987,
"totalDaysUntilNowInPeriod": 987,
"updated": 1592577642
}
}
}
updateAssetSiteAssignmentView
Description
Update asset site assignment view
Response
Returns an AssetSiteAssignmentView!
Arguments
| Name | Description |
|---|---|
view - AssetSiteAssignmentViewUpdateInput!
|
View configuration data |
Example
Query
mutation updateAssetSiteAssignmentView($view: AssetSiteAssignmentViewUpdateInput!) {
updateAssetSiteAssignmentView(view: $view) {
created
displayMode
forEntity
id
isActive
isDeletable
isEditable
isShareable
isShared
isSystemView
isUnsharedByParentGroup
options {
...AssetSiteAssignmentViewOptionsFragment
}
title {
...TranslationFragment
}
titleId
updated
}
}
Variables
{"view": AssetSiteAssignmentViewUpdateInput}
Response
{
"data": {
"updateAssetSiteAssignmentView": {
"created": 1592577642,
"displayMode": "GANTT",
"forEntity": "ASSET",
"id": HashedId,
"isActive": true,
"isDeletable": true,
"isEditable": false,
"isShareable": false,
"isShared": true,
"isSystemView": false,
"isUnsharedByParentGroup": true,
"options": AssetSiteAssignmentViewOptions,
"title": Translation,
"titleId": HashedId,
"updated": 1592577642
}
}
}
updateAssetType
Description
Update an existing asset type and its presets
Response
Returns [AssetType]
Arguments
| Name | Description |
|---|---|
chargingVoltageThreshold - Float
|
Charging voltage threshold |
dailyRate - Float
|
Daily rental or usage rate for billing |
defaultClassification - AssetClassification
|
Default classification for new assets of this type |
displayedRuntimeCode - AssetDisplayedRuntimeCode
|
IoT parameter shown as the runtime for assets of this type |
externalId - String
|
External system identifier |
groupId - HashedId
|
Owning organization group for the asset type |
hasAssortmentList - Boolean
|
Whether the record has assortment list |
hasVNC - Boolean
|
Certain assets can be accessed over a remote connection. This specifies if this type can be accessed over VNC. |
id - HashedId!
|
ID of the asset type to update |
image - String
|
URL of the asset type image |
inAssetCategoryId - HashedId
|
Category to reassign this asset type to |
inAssetIntegrationId - HashedId
|
The asset integration that applies to this type |
isApprovedAssetType - Boolean
|
Whether this asset type has been approved |
isLockable - Boolean
|
Certain Asset Types can be locked. This will then lock the asset |
isLockedState - Boolean
|
Whether this asset type is currently in locked state |
isPollingAvailable - Boolean
|
Whether IoT data polling is available for this type |
isPrivate - Boolean
|
Listed to users outside this group hierarchy - "publicly" available. May be used for not yet released models |
isRoom - Boolean
|
Whether this asset type is a room |
isVehicle - Boolean
|
Whether this asset type is a vehicle |
manufacturer - String
|
Manufacturer or brand name |
minDaysBilled - Int
|
Minimum number of days billed per rental period |
minimalBatteryVoltage - Float
|
Minimum acceptable battery voltage in volts |
name - TranslationInput
|
Localized asset type display name |
nominalBatteryVoltage - Float
|
Rated nominal battery voltage in volts |
optimalBatteryVoltage - Float
|
Target optimal battery voltage in volts |
optimalRuntime - Float
|
Target optimal daily runtime in hours |
parentParameterKey - AssetParentParameter
|
Primary IoT parameter used for utilization tracking |
preset - Boolean
|
Preset |
presetInitialValue - String
|
Preset initial value |
presetLeasingCostTermination - String
|
Preset leasing cost termination |
presetLeasingLevel - String
|
Preset leasing level |
presetLeasingMonthlyCost - String
|
Preset leasing monthly cost |
presetLeasingPartner - String
|
Preset leasing partner |
presetLeasingPartnerContractNumber - String
|
Preset leasing partner contract number |
presetLeasingPartnerContractPositionNumber - String
|
Preset leasing partner contract position number |
presetLeasingRenewalRate - String
|
Preset leasing renewal rate |
presetLowValueAsset - Boolean
|
Preset low value asset |
presetMachineCheckInterval - Int
|
Preset machine check interval |
presetMachineCheckLastCreated - Boolean
|
Preset machine check last created |
presetMachineCheckName - String
|
Preset machine check name |
presetOwnership - String
|
Preset ownership |
presetPurchaseCost - String
|
Preset purchase cost |
presetPurchaseDepreciationMonths - Int
|
Preset purchase depreciation in months |
presetRentalCostTermination - String
|
Preset rental cost termination |
presetRentalMonthlyCost - String
|
Preset rental monthly cost |
presetRentalRenewalRate - String
|
Preset rental renewal rate |
presetServiceContractCostPerYear - String
|
Preset service contract cost per year |
presetServiceContractEmail - String
|
Preset service contract email |
presetServiceContractLevel - String
|
Preset service contract level |
presetServiceContractPartner - String
|
Preset service contract partner |
presetSupplier - String
|
Preset supplier |
presetWarrantyPeriod - Int
|
Preset warranty period |
restrictedType - Boolean
|
Whether this type is restricted to certain groups |
servicePackageId - HashedId
|
Service package to assign to this asset type |
suggestedServicePartner - String
|
Recommended service partner name |
workUnits - TranslationInput
|
Localized label for the work unit measurement |
workUnitsPerHour - Float
|
Work units per hour |
Example
Query
mutation updateAssetType(
$chargingVoltageThreshold: Float,
$dailyRate: Float,
$defaultClassification: AssetClassification,
$displayedRuntimeCode: AssetDisplayedRuntimeCode,
$externalId: String,
$groupId: HashedId,
$hasAssortmentList: Boolean,
$hasVNC: Boolean,
$id: HashedId!,
$image: String,
$inAssetCategoryId: HashedId,
$inAssetIntegrationId: HashedId,
$isApprovedAssetType: Boolean,
$isLockable: Boolean,
$isLockedState: Boolean,
$isPollingAvailable: Boolean,
$isPrivate: Boolean,
$isRoom: Boolean,
$isVehicle: Boolean,
$manufacturer: String,
$minDaysBilled: Int,
$minimalBatteryVoltage: Float,
$name: TranslationInput,
$nominalBatteryVoltage: Float,
$optimalBatteryVoltage: Float,
$optimalRuntime: Float,
$parentParameterKey: AssetParentParameter,
$preset: Boolean,
$presetInitialValue: String,
$presetLeasingCostTermination: String,
$presetLeasingLevel: String,
$presetLeasingMonthlyCost: String,
$presetLeasingPartner: String,
$presetLeasingPartnerContractNumber: String,
$presetLeasingPartnerContractPositionNumber: String,
$presetLeasingRenewalRate: String,
$presetLowValueAsset: Boolean,
$presetMachineCheckInterval: Int,
$presetMachineCheckLastCreated: Boolean,
$presetMachineCheckName: String,
$presetOwnership: String,
$presetPurchaseCost: String,
$presetPurchaseDepreciationMonths: Int,
$presetRentalCostTermination: String,
$presetRentalMonthlyCost: String,
$presetRentalRenewalRate: String,
$presetServiceContractCostPerYear: String,
$presetServiceContractEmail: String,
$presetServiceContractLevel: String,
$presetServiceContractPartner: String,
$presetSupplier: String,
$presetWarrantyPeriod: Int,
$restrictedType: Boolean,
$servicePackageId: HashedId,
$suggestedServicePartner: String,
$workUnits: TranslationInput,
$workUnitsPerHour: Float
) {
updateAssetType(
chargingVoltageThreshold: $chargingVoltageThreshold,
dailyRate: $dailyRate,
defaultClassification: $defaultClassification,
displayedRuntimeCode: $displayedRuntimeCode,
externalId: $externalId,
groupId: $groupId,
hasAssortmentList: $hasAssortmentList,
hasVNC: $hasVNC,
id: $id,
image: $image,
inAssetCategoryId: $inAssetCategoryId,
inAssetIntegrationId: $inAssetIntegrationId,
isApprovedAssetType: $isApprovedAssetType,
isLockable: $isLockable,
isLockedState: $isLockedState,
isPollingAvailable: $isPollingAvailable,
isPrivate: $isPrivate,
isRoom: $isRoom,
isVehicle: $isVehicle,
manufacturer: $manufacturer,
minDaysBilled: $minDaysBilled,
minimalBatteryVoltage: $minimalBatteryVoltage,
name: $name,
nominalBatteryVoltage: $nominalBatteryVoltage,
optimalBatteryVoltage: $optimalBatteryVoltage,
optimalRuntime: $optimalRuntime,
parentParameterKey: $parentParameterKey,
preset: $preset,
presetInitialValue: $presetInitialValue,
presetLeasingCostTermination: $presetLeasingCostTermination,
presetLeasingLevel: $presetLeasingLevel,
presetLeasingMonthlyCost: $presetLeasingMonthlyCost,
presetLeasingPartner: $presetLeasingPartner,
presetLeasingPartnerContractNumber: $presetLeasingPartnerContractNumber,
presetLeasingPartnerContractPositionNumber: $presetLeasingPartnerContractPositionNumber,
presetLeasingRenewalRate: $presetLeasingRenewalRate,
presetLowValueAsset: $presetLowValueAsset,
presetMachineCheckInterval: $presetMachineCheckInterval,
presetMachineCheckLastCreated: $presetMachineCheckLastCreated,
presetMachineCheckName: $presetMachineCheckName,
presetOwnership: $presetOwnership,
presetPurchaseCost: $presetPurchaseCost,
presetPurchaseDepreciationMonths: $presetPurchaseDepreciationMonths,
presetRentalCostTermination: $presetRentalCostTermination,
presetRentalMonthlyCost: $presetRentalMonthlyCost,
presetRentalRenewalRate: $presetRentalRenewalRate,
presetServiceContractCostPerYear: $presetServiceContractCostPerYear,
presetServiceContractEmail: $presetServiceContractEmail,
presetServiceContractLevel: $presetServiceContractLevel,
presetServiceContractPartner: $presetServiceContractPartner,
presetSupplier: $presetSupplier,
presetWarrantyPeriod: $presetWarrantyPeriod,
restrictedType: $restrictedType,
servicePackageId: $servicePackageId,
suggestedServicePartner: $suggestedServicePartner,
workUnits: $workUnits,
workUnitsPerHour: $workUnitsPerHour
) {
assetsCount
canEdit
chargingVoltageThreshold
created
customFields {
...CustomFieldFragment
}
dailyRate
defaultClassification
deleted
deletedAssetsCount
deletedBy
displayedRuntimeCode
documents {
...DocumentFragment
}
externalId
forManufacturer {
...ManufacturerFragment
}
forManufacturerId
group {
...GroupFragment
}
groupId
hasAssortmentList
hasVNC
id
image
inAssetCategory {
...AssetCategoryFragment
}
inAssetCategoryId
inAssetIntegration {
...AssetIntegrationFragment
}
inAssetIntegrationId
isApprovedAssetType
isLockable
isLockedState
isPollingAvailable
isPrivate
isRoom
isVehicle
lockAssetType {
...AssetTypeFragment
}
lockAssetTypeId
make
minDaysBilled
minimalBatteryVoltage
name {
...TranslationFragment
}
nameId
namespace
nominalBatteryVoltage
optimalBatteryVoltage
optimalRuntime
parentParameterKey
preset
presetInitialValue
presetLeasingCostTermination
presetLeasingLevel
presetLeasingMonthlyCost
presetLeasingPartner
presetLeasingPartnerContractNumber
presetLeasingPartnerContractPositionNumber
presetLeasingRenewalRate
presetLowValueAsset
presetMachineCheckInterval
presetMachineCheckLastCreated
presetMachineCheckName
presetOwnership
presetPurchaseCost
presetPurchaseDepreciationMonths
presetPurchaseDepriciation
presetRentalCostTermination
presetRentalMonthlyCost
presetRentalRenewalRate
presetServiceContractCostPerYear
presetServiceContractEmail
presetServiceContractLevel
presetServiceContractPartner
presetSupplier
presetWarrantyPeriod
publicId
reclassifiedAssetsCount
restoreBlockers
restrictedType
rules {
...RuleFragment
}
servicePackage {
...ServicePackageFragment
}
servicePackageId
suggestedPartner {
...AvailableHandlerFragment
}
suggestedServicePartner
ticketContentFields {
...TicketContentFieldFragment
}
updated
userManual
workUnitId
workUnits {
...TranslationFragment
}
workUnitsPerHour
}
}
Variables
{
"chargingVoltageThreshold": 987.65,
"dailyRate": 123.45,
"defaultClassification": "GENERIC",
"displayedRuntimeCode": "RUNTIME",
"externalId": "xyz789",
"groupId": HashedId,
"hasAssortmentList": true,
"hasVNC": false,
"id": HashedId,
"image": "abc123",
"inAssetCategoryId": HashedId,
"inAssetIntegrationId": HashedId,
"isApprovedAssetType": true,
"isLockable": false,
"isLockedState": true,
"isPollingAvailable": true,
"isPrivate": false,
"isRoom": false,
"isVehicle": true,
"manufacturer": "abc123",
"minDaysBilled": 123,
"minimalBatteryVoltage": 123.45,
"name": TranslationInput,
"nominalBatteryVoltage": 123.45,
"optimalBatteryVoltage": 123.45,
"optimalRuntime": 123.45,
"parentParameterKey": "input2",
"preset": false,
"presetInitialValue": "xyz789",
"presetLeasingCostTermination": "abc123",
"presetLeasingLevel": "abc123",
"presetLeasingMonthlyCost": "abc123",
"presetLeasingPartner": "xyz789",
"presetLeasingPartnerContractNumber": "abc123",
"presetLeasingPartnerContractPositionNumber": "abc123",
"presetLeasingRenewalRate": "xyz789",
"presetLowValueAsset": true,
"presetMachineCheckInterval": 987,
"presetMachineCheckLastCreated": false,
"presetMachineCheckName": "abc123",
"presetOwnership": "abc123",
"presetPurchaseCost": "xyz789",
"presetPurchaseDepreciationMonths": 123,
"presetRentalCostTermination": "abc123",
"presetRentalMonthlyCost": "xyz789",
"presetRentalRenewalRate": "xyz789",
"presetServiceContractCostPerYear": "abc123",
"presetServiceContractEmail": "abc123",
"presetServiceContractLevel": "xyz789",
"presetServiceContractPartner": "abc123",
"presetSupplier": "abc123",
"presetWarrantyPeriod": 987,
"restrictedType": false,
"servicePackageId": HashedId,
"suggestedServicePartner": "xyz789",
"workUnits": TranslationInput,
"workUnitsPerHour": 987.65
}
Response
{
"data": {
"updateAssetType": [
{
"assetsCount": 987,
"canEdit": true,
"chargingVoltageThreshold": 987.65,
"created": 1592577642,
"customFields": [CustomField],
"dailyRate": 987.65,
"defaultClassification": "GENERIC",
"deleted": 1592577642,
"deletedAssetsCount": 123,
"deletedBy": "xyz789",
"displayedRuntimeCode": "RUNTIME",
"documents": [Document],
"externalId": "abc123",
"forManufacturer": Manufacturer,
"forManufacturerId": HashedId,
"group": Group,
"groupId": HashedId,
"hasAssortmentList": false,
"hasVNC": false,
"id": HashedId,
"image": "xyz789",
"inAssetCategory": AssetCategory,
"inAssetCategoryId": HashedId,
"inAssetIntegration": AssetIntegration,
"inAssetIntegrationId": HashedId,
"isApprovedAssetType": false,
"isLockable": false,
"isLockedState": false,
"isPollingAvailable": true,
"isPrivate": false,
"isRoom": true,
"isVehicle": true,
"lockAssetType": AssetType,
"lockAssetTypeId": HashedId,
"make": "abc123",
"minDaysBilled": 987,
"minimalBatteryVoltage": 987.65,
"name": Translation,
"nameId": HashedId,
"namespace": "abc123",
"nominalBatteryVoltage": 123.45,
"optimalBatteryVoltage": 123.45,
"optimalRuntime": 123.45,
"parentParameterKey": "input2",
"preset": false,
"presetInitialValue": "abc123",
"presetLeasingCostTermination": "abc123",
"presetLeasingLevel": "xyz789",
"presetLeasingMonthlyCost": "xyz789",
"presetLeasingPartner": "xyz789",
"presetLeasingPartnerContractNumber": "xyz789",
"presetLeasingPartnerContractPositionNumber": "abc123",
"presetLeasingRenewalRate": "xyz789",
"presetLowValueAsset": false,
"presetMachineCheckInterval": 123,
"presetMachineCheckLastCreated": false,
"presetMachineCheckName": "abc123",
"presetOwnership": "CUSTOMER_MACHINE",
"presetPurchaseCost": "abc123",
"presetPurchaseDepreciationMonths": 123,
"presetPurchaseDepriciation": 987,
"presetRentalCostTermination": "abc123",
"presetRentalMonthlyCost": "xyz789",
"presetRentalRenewalRate": "abc123",
"presetServiceContractCostPerYear": "xyz789",
"presetServiceContractEmail": "abc123",
"presetServiceContractLevel": "abc123",
"presetServiceContractPartner": "xyz789",
"presetSupplier": "xyz789",
"presetWarrantyPeriod": 123,
"publicId": 123,
"reclassifiedAssetsCount": 123,
"restoreBlockers": ["PARENT_ASSET_CATEGORY_DELETED"],
"restrictedType": true,
"rules": [Rule],
"servicePackage": ServicePackage,
"servicePackageId": HashedId,
"suggestedPartner": AvailableHandler,
"suggestedServicePartner": "xyz789",
"ticketContentFields": [TicketContentField],
"updated": 1592577642,
"userManual": "xyz789",
"workUnitId": HashedId,
"workUnits": Translation,
"workUnitsPerHour": 987.65
}
]
}
}
updateAssetTypeImage
Description
Accepts jpg, jpeg, gif, png, webp, heic (case insensitive). Will be contained to a 500px square with white background. 3 images generated:
- _2x for high dpi screens
- no suffix, half of the default size, this url will be provided
- _thumb - 100px thumbnail
Send an empty value to remove the image.
Response
Returns an AssetType!
Example
Query
mutation updateAssetTypeImage(
$file: Upload,
$id: HashedId!
) {
updateAssetTypeImage(
file: $file,
id: $id
) {
assetsCount
canEdit
chargingVoltageThreshold
created
customFields {
...CustomFieldFragment
}
dailyRate
defaultClassification
deleted
deletedAssetsCount
deletedBy
displayedRuntimeCode
documents {
...DocumentFragment
}
externalId
forManufacturer {
...ManufacturerFragment
}
forManufacturerId
group {
...GroupFragment
}
groupId
hasAssortmentList
hasVNC
id
image
inAssetCategory {
...AssetCategoryFragment
}
inAssetCategoryId
inAssetIntegration {
...AssetIntegrationFragment
}
inAssetIntegrationId
isApprovedAssetType
isLockable
isLockedState
isPollingAvailable
isPrivate
isRoom
isVehicle
lockAssetType {
...AssetTypeFragment
}
lockAssetTypeId
make
minDaysBilled
minimalBatteryVoltage
name {
...TranslationFragment
}
nameId
namespace
nominalBatteryVoltage
optimalBatteryVoltage
optimalRuntime
parentParameterKey
preset
presetInitialValue
presetLeasingCostTermination
presetLeasingLevel
presetLeasingMonthlyCost
presetLeasingPartner
presetLeasingPartnerContractNumber
presetLeasingPartnerContractPositionNumber
presetLeasingRenewalRate
presetLowValueAsset
presetMachineCheckInterval
presetMachineCheckLastCreated
presetMachineCheckName
presetOwnership
presetPurchaseCost
presetPurchaseDepreciationMonths
presetPurchaseDepriciation
presetRentalCostTermination
presetRentalMonthlyCost
presetRentalRenewalRate
presetServiceContractCostPerYear
presetServiceContractEmail
presetServiceContractLevel
presetServiceContractPartner
presetSupplier
presetWarrantyPeriod
publicId
reclassifiedAssetsCount
restoreBlockers
restrictedType
rules {
...RuleFragment
}
servicePackage {
...ServicePackageFragment
}
servicePackageId
suggestedPartner {
...AvailableHandlerFragment
}
suggestedServicePartner
ticketContentFields {
...TicketContentFieldFragment
}
updated
userManual
workUnitId
workUnits {
...TranslationFragment
}
workUnitsPerHour
}
}
Variables
{"file": Upload, "id": HashedId}
Response
{
"data": {
"updateAssetTypeImage": {
"assetsCount": 987,
"canEdit": true,
"chargingVoltageThreshold": 123.45,
"created": 1592577642,
"customFields": [CustomField],
"dailyRate": 987.65,
"defaultClassification": "GENERIC",
"deleted": 1592577642,
"deletedAssetsCount": 123,
"deletedBy": "xyz789",
"displayedRuntimeCode": "RUNTIME",
"documents": [Document],
"externalId": "xyz789",
"forManufacturer": Manufacturer,
"forManufacturerId": HashedId,
"group": Group,
"groupId": HashedId,
"hasAssortmentList": false,
"hasVNC": false,
"id": HashedId,
"image": "abc123",
"inAssetCategory": AssetCategory,
"inAssetCategoryId": HashedId,
"inAssetIntegration": AssetIntegration,
"inAssetIntegrationId": HashedId,
"isApprovedAssetType": false,
"isLockable": true,
"isLockedState": true,
"isPollingAvailable": true,
"isPrivate": true,
"isRoom": false,
"isVehicle": false,
"lockAssetType": AssetType,
"lockAssetTypeId": HashedId,
"make": "abc123",
"minDaysBilled": 987,
"minimalBatteryVoltage": 987.65,
"name": Translation,
"nameId": HashedId,
"namespace": "abc123",
"nominalBatteryVoltage": 123.45,
"optimalBatteryVoltage": 987.65,
"optimalRuntime": 987.65,
"parentParameterKey": "input2",
"preset": true,
"presetInitialValue": "abc123",
"presetLeasingCostTermination": "abc123",
"presetLeasingLevel": "xyz789",
"presetLeasingMonthlyCost": "abc123",
"presetLeasingPartner": "xyz789",
"presetLeasingPartnerContractNumber": "abc123",
"presetLeasingPartnerContractPositionNumber": "xyz789",
"presetLeasingRenewalRate": "xyz789",
"presetLowValueAsset": true,
"presetMachineCheckInterval": 123,
"presetMachineCheckLastCreated": false,
"presetMachineCheckName": "abc123",
"presetOwnership": "CUSTOMER_MACHINE",
"presetPurchaseCost": "xyz789",
"presetPurchaseDepreciationMonths": 987,
"presetPurchaseDepriciation": 123,
"presetRentalCostTermination": "xyz789",
"presetRentalMonthlyCost": "abc123",
"presetRentalRenewalRate": "xyz789",
"presetServiceContractCostPerYear": "abc123",
"presetServiceContractEmail": "abc123",
"presetServiceContractLevel": "xyz789",
"presetServiceContractPartner": "xyz789",
"presetSupplier": "abc123",
"presetWarrantyPeriod": 123,
"publicId": 987,
"reclassifiedAssetsCount": 123,
"restoreBlockers": ["PARENT_ASSET_CATEGORY_DELETED"],
"restrictedType": true,
"rules": [Rule],
"servicePackage": ServicePackage,
"servicePackageId": HashedId,
"suggestedPartner": AvailableHandler,
"suggestedServicePartner": "abc123",
"ticketContentFields": [TicketContentField],
"updated": 1592577642,
"userManual": "abc123",
"workUnitId": HashedId,
"workUnits": Translation,
"workUnitsPerHour": 123.45
}
}
}
updateAssetView
Description
Update an existing saved asset list view
Response
Returns an AssetView!
Arguments
| Name | Description |
|---|---|
view - AssetViewUpdateInput!
|
View configuration data |
Example
Query
mutation updateAssetView($view: AssetViewUpdateInput!) {
updateAssetView(view: $view) {
created
displayMode
forEntity
id
isActive
isDeletable
isEditable
isShareable
isShared
isSystemView
isUnsharedByParentGroup
options {
...AssetViewOptionsFragment
}
title {
...TranslationFragment
}
titleId
updated
}
}
Variables
{"view": AssetViewUpdateInput}
Response
{
"data": {
"updateAssetView": {
"created": 1592577642,
"displayMode": "GANTT",
"forEntity": "ASSET",
"id": HashedId,
"isActive": false,
"isDeletable": false,
"isEditable": false,
"isShareable": false,
"isShared": false,
"isSystemView": true,
"isUnsharedByParentGroup": true,
"options": AssetViewOptions,
"title": Translation,
"titleId": HashedId,
"updated": 1592577642
}
}
}
updateBrandById
Description
Update a brand by its ID
Response
Returns a Brand!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Unique identifier |
input - BrandUpdateInput!
|
Brand update fields |
Example
Query
mutation updateBrandById(
$id: HashedId!,
$input: BrandUpdateInput!
) {
updateBrandById(
id: $id,
input: $input
) {
activationMailVideo
appUrlAndroid
appUrlIos
color
colorDark
colorLight
cornerStyle
created
faviconUrl
fontFamily
group {
...GroupFragment
}
groupId
hasSso
id
isSenderVerified
key
loginBackground
loginLanguageFallback
logo
logoIsSquare
logoWidth
name
ownURL
projects
sectionStyle
supportEmail
surfaceStyle
symbol
systemName
updated
}
}
Variables
{
"id": HashedId,
"input": BrandUpdateInput
}
Response
{
"data": {
"updateBrandById": {
"activationMailVideo": "xyz789",
"appUrlAndroid": "abc123",
"appUrlIos": "xyz789",
"color": "xyz789",
"colorDark": "abc123",
"colorLight": "abc123",
"cornerStyle": "ROUND",
"created": 1592577642,
"faviconUrl": "abc123",
"fontFamily": "IBM_PLEX_SANS",
"group": Group,
"groupId": HashedId,
"hasSso": false,
"id": HashedId,
"isSenderVerified": true,
"key": "abc123",
"loginBackground": "xyz789",
"loginLanguageFallback": HashedId,
"logo": "xyz789",
"logoIsSquare": false,
"logoWidth": 123,
"name": "abc123",
"ownURL": "abc123",
"projects": "abc123",
"sectionStyle": "CARDS",
"supportEmail": "abc123",
"surfaceStyle": "ELEVATED",
"symbol": "abc123",
"systemName": "xyz789",
"updated": 1592577642
}
}
}
updateBrandByKey
Description
Update a brand by its unique string key
Response
Returns a Brand!
Arguments
| Name | Description |
|---|---|
input - BrandUpdateInput!
|
Brand update fields |
key - String!
|
Unique lookup key |
Example
Query
mutation updateBrandByKey(
$input: BrandUpdateInput!,
$key: String!
) {
updateBrandByKey(
input: $input,
key: $key
) {
activationMailVideo
appUrlAndroid
appUrlIos
color
colorDark
colorLight
cornerStyle
created
faviconUrl
fontFamily
group {
...GroupFragment
}
groupId
hasSso
id
isSenderVerified
key
loginBackground
loginLanguageFallback
logo
logoIsSquare
logoWidth
name
ownURL
projects
sectionStyle
supportEmail
surfaceStyle
symbol
systemName
updated
}
}
Variables
{
"input": BrandUpdateInput,
"key": "xyz789"
}
Response
{
"data": {
"updateBrandByKey": {
"activationMailVideo": "xyz789",
"appUrlAndroid": "xyz789",
"appUrlIos": "abc123",
"color": "xyz789",
"colorDark": "abc123",
"colorLight": "abc123",
"cornerStyle": "ROUND",
"created": 1592577642,
"faviconUrl": "xyz789",
"fontFamily": "IBM_PLEX_SANS",
"group": Group,
"groupId": HashedId,
"hasSso": false,
"id": HashedId,
"isSenderVerified": false,
"key": "xyz789",
"loginBackground": "xyz789",
"loginLanguageFallback": HashedId,
"logo": "abc123",
"logoIsSquare": false,
"logoWidth": 123,
"name": "abc123",
"ownURL": "abc123",
"projects": "xyz789",
"sectionStyle": "CARDS",
"supportEmail": "xyz789",
"surfaceStyle": "ELEVATED",
"symbol": "abc123",
"systemName": "xyz789",
"updated": 1592577642
}
}
}
updateCheckSchedule
Description
Update an existing asset check schedule
Response
Returns an AssetCheckSchedule!
Arguments
| Name | Description |
|---|---|
externalId - String
|
External system identifier for integration |
id - HashedId!
|
Unique identifier of the entity |
interval - Int!
|
Check interval in months |
lastCheck - Date
|
Date of the last completed check |
name - String!
|
Name of the check schedule |
nextCheck - Date!
|
Date of the next scheduled check |
Example
Query
mutation updateCheckSchedule(
$externalId: String,
$id: HashedId!,
$interval: Int!,
$lastCheck: Date,
$name: String!,
$nextCheck: Date!
) {
updateCheckSchedule(
externalId: $externalId,
id: $id,
interval: $interval,
lastCheck: $lastCheck,
name: $name,
nextCheck: $nextCheck
) {
assetId
daysToNextCheck
externalId
id
interval
lastCheck
lastCheckLastEdited {
...AssetCheckScheduleEditNoteFragment
}
name
nextCheck
nextCheckLastEdited {
...AssetCheckScheduleEditNoteFragment
}
}
}
Variables
{
"externalId": "xyz789",
"id": HashedId,
"interval": 987,
"lastCheck": "2007-12-03",
"name": "abc123",
"nextCheck": "2007-12-03"
}
Response
{
"data": {
"updateCheckSchedule": {
"assetId": HashedId,
"daysToNextCheck": 123,
"externalId": "abc123",
"id": HashedId,
"interval": 987,
"lastCheck": "2007-12-03",
"lastCheckLastEdited": AssetCheckScheduleEditNote,
"name": "abc123",
"nextCheck": "2007-12-03",
"nextCheckLastEdited": AssetCheckScheduleEditNote
}
}
}
updateCost
Description
Update an existing cost entry
Response
Returns a Cost
Arguments
| Name | Description |
|---|---|
attachments - [Upload!]
|
Attached files |
id - HashedId!
|
Unique identifier of the entity |
input - CostUpdateInput!
|
Cost update fields |
Example
Query
mutation updateCost(
$attachments: [Upload!],
$id: HashedId!,
$input: CostUpdateInput!
) {
updateCost(
attachments: $attachments,
id: $id,
input: $input
) {
asset {
...AssetFragment
}
assetId
canEdit
costCenter
costLines {
...CostLineFragment
}
created
createdByUser {
...UserFragment
}
createdByUserId
deleted
description
documents {
...DocumentFragment
}
history {
...CostHistoryFragment
}
id
invoiceDate
invoiceDay
invoiceNumber
label {
...CostLabelFragment
}
labelId
operatingCosts
provider
site {
...SiteFragment
}
siteId
ticketId
title
updated
workOrderId
}
}
Variables
{
"attachments": [Upload],
"id": HashedId,
"input": CostUpdateInput
}
Response
{
"data": {
"updateCost": {
"asset": Asset,
"assetId": HashedId,
"canEdit": false,
"costCenter": "abc123",
"costLines": [CostLine],
"created": 1592577642,
"createdByUser": User,
"createdByUserId": HashedId,
"deleted": 1592577642,
"description": "xyz789",
"documents": [Document],
"history": [CostHistory],
"id": HashedId,
"invoiceDate": "2007-12-03T10:15:30Z",
"invoiceDay": "2007-12-03",
"invoiceNumber": "xyz789",
"label": CostLabel,
"labelId": HashedId,
"operatingCosts": 123.45,
"provider": "abc123",
"site": Site,
"siteId": HashedId,
"ticketId": HashedId,
"title": "xyz789",
"updated": 1592577642,
"workOrderId": HashedId
}
}
}
updateCustomFieldById
Description
Update a custom field definition by its ID
Response
Returns a CustomField!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Unique identifier of the entity |
input - CustomFieldUpdateByIdInput!
|
Custom field by id update fields |
Example
Query
mutation updateCustomFieldById(
$id: HashedId!,
$input: CustomFieldUpdateByIdInput!
) {
updateCustomFieldById(
id: $id,
input: $input
) {
addToAllAssetsInGroupAndBelow
assetCategories {
...AssetCategoryFragment
}
assetTypes {
...AssetTypeFragment
}
assets {
...AssetFragment
}
availableCustomerVisibilityRights
created
createdByGroup {
...GroupFragment
}
createdByGroupId
createdByUser {
...UserFragment
}
createdByUserId
customerVisibilityRights
deleted
dropdownOptions {
...CustomFieldDropdownOptionFragment
}
group {
...GroupFragment
}
groupId
id
isRequired
multiselect
name {
...TranslationFragment
}
nameId
publicId
showInEmail
showInPdf
showOnQrLandingPage
showToNonLoggedInUsers
type
updated
values {
...CustomFieldValueFragment
}
}
}
Variables
{
"id": HashedId,
"input": CustomFieldUpdateByIdInput
}
Response
{
"data": {
"updateCustomFieldById": {
"addToAllAssetsInGroupAndBelow": false,
"assetCategories": [AssetCategory],
"assetTypes": [AssetType],
"assets": [Asset],
"availableCustomerVisibilityRights": ["editor"],
"created": 1592577642,
"createdByGroup": Group,
"createdByGroupId": HashedId,
"createdByUser": User,
"createdByUserId": HashedId,
"customerVisibilityRights": "editor",
"deleted": 1592577642,
"dropdownOptions": [CustomFieldDropdownOption],
"group": Group,
"groupId": HashedId,
"id": HashedId,
"isRequired": false,
"multiselect": false,
"name": Translation,
"nameId": HashedId,
"publicId": 123,
"showInEmail": true,
"showInPdf": false,
"showOnQrLandingPage": true,
"showToNonLoggedInUsers": false,
"type": "currency",
"updated": 1592577642,
"values": [CustomFieldValue]
}
}
}
updateDashboardBoard
Description
Save an existing dashboard with its widgets and filters
Response
Returns a DashboardBoard!
Arguments
| Name | Description |
|---|---|
input - DashboardBoardUpdateInput!
|
Dashboard update fields |
Example
Query
mutation updateDashboardBoard($input: DashboardBoardUpdateInput!) {
updateDashboardBoard(input: $input) {
boardFilters {
...DashboardBoardFilterFragment
}
canEdit
created
createdByGroup {
...GroupFragment
}
createdByGroupId
createdByUser {
...UserFragment
}
createdByUserId
displayId
grafanaDashboardUID
hiddenColumnCount
hiddenFeatures
hiddenWidgetCount
icon
id
isHiddenByCostAccess
missingAccess
revision
title {
...TranslationFragment
}
titleId
updated
widgets {
...DashboardWidgetFragment
}
}
}
Variables
{"input": DashboardBoardUpdateInput}
Response
{
"data": {
"updateDashboardBoard": {
"boardFilters": [DashboardBoardFilter],
"canEdit": true,
"created": "2007-12-03T10:15:30Z",
"createdByGroup": Group,
"createdByGroupId": HashedId,
"createdByUser": User,
"createdByUserId": HashedId,
"displayId": 123,
"grafanaDashboardUID": "abc123",
"hiddenColumnCount": 123,
"hiddenFeatures": ["ASSET_LOCATIONS"],
"hiddenWidgetCount": 123,
"icon": "ALARM",
"id": HashedId,
"isHiddenByCostAccess": false,
"missingAccess": ["COSTS"],
"revision": 987,
"title": Translation,
"titleId": HashedId,
"updated": "2007-12-03T10:15:30Z",
"widgets": [DashboardWidget]
}
}
}
updateDashboardById
Description
Update dashboard by id
Response
Returns a Dashboard
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Unique identifier of the entity |
input - DashboardUpdateInput!
|
Dashboard update fields |
Example
Query
mutation updateDashboardById(
$id: HashedId!,
$input: DashboardUpdateInput!
) {
updateDashboardById(
id: $id,
input: $input
) {
created
createdByGroup {
...GroupFragment
}
createdByGroupId
createdByUser {
...UserFragment
}
createdByUserId
default
filters {
...DashboardFilterFragment
}
grafanaDashboardUID
grafanaDashboardURL
id
order
revision
source
title {
...TranslationFragment
}
titleId
updated
}
}
Variables
{
"id": HashedId,
"input": DashboardUpdateInput
}
Response
{
"data": {
"updateDashboardById": {
"created": 1592577642,
"createdByGroup": Group,
"createdByGroupId": HashedId,
"createdByUser": User,
"createdByUserId": HashedId,
"default": true,
"filters": [DashboardFilter],
"grafanaDashboardUID": "xyz789",
"grafanaDashboardURL": "xyz789",
"id": HashedId,
"order": 987,
"revision": 987,
"source": "LEGACY_GRAFANA",
"title": Translation,
"titleId": HashedId,
"updated": 1592577642
}
}
}
updateDashboardReportSchedule
Response
Returns a DashboardReportSchedule!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
|
input - DashboardReportScheduleInput!
|
Example
Query
mutation updateDashboardReportSchedule(
$id: HashedId!,
$input: DashboardReportScheduleInput!
) {
updateDashboardReportSchedule(
id: $id,
input: $input
) {
applyToChildGroups
created
createdByUserId
dashboardId
effectiveTargetGroupId
filterOverrides {
...DashboardBoardFilterValueFragment
}
format
frequency
id
inherited
localSendTime
monthDay
name
nextSendAt
originScheduleId
paused
recipientGroupIds
recipientTeamIds
recipientUserIds
resolvedRecipients {
...DashboardReportScheduleResolvedRecipientFragment
}
targetGroupId
timezone
updated
weekday
}
}
Variables
{
"id": HashedId,
"input": DashboardReportScheduleInput
}
Response
{
"data": {
"updateDashboardReportSchedule": {
"applyToChildGroups": false,
"created": "2007-12-03T10:15:30Z",
"createdByUserId": HashedId,
"dashboardId": HashedId,
"effectiveTargetGroupId": HashedId,
"filterOverrides": [DashboardBoardFilterValue],
"format": "CSV",
"frequency": "DAILY",
"id": HashedId,
"inherited": false,
"localSendTime": "abc123",
"monthDay": 123,
"name": "xyz789",
"nextSendAt": "2007-12-03T10:15:30Z",
"originScheduleId": HashedId,
"paused": false,
"recipientGroupIds": [HashedId],
"recipientTeamIds": [HashedId],
"recipientUserIds": [HashedId],
"resolvedRecipients": [
DashboardReportScheduleResolvedRecipient
],
"targetGroupId": HashedId,
"timezone": "abc123",
"updated": "2007-12-03T10:15:30Z",
"weekday": 987
}
}
}
updateDashboardView
Description
Rename a saved dashboard filter view or replace its filter selections
Response
Returns a DashboardView!
Arguments
| Name | Description |
|---|---|
input - DashboardViewUpdateInput!
|
Dashboard view fields to update |
Example
Query
mutation updateDashboardView($input: DashboardViewUpdateInput!) {
updateDashboardView(input: $input) {
created
forEntity
id
isActive
isDefault
isDeletable
isEditable
isShareable
isShared
isSystemView
isUnsharedByParentGroup
options {
...DashboardViewOptionsFragment
}
title {
...TranslationFragment
}
titleId
updated
}
}
Variables
{"input": DashboardViewUpdateInput}
Response
{
"data": {
"updateDashboardView": {
"created": 1592577642,
"forEntity": "ASSET",
"id": HashedId,
"isActive": false,
"isDefault": true,
"isDeletable": false,
"isEditable": false,
"isShareable": true,
"isShared": true,
"isSystemView": false,
"isUnsharedByParentGroup": false,
"options": DashboardViewOptions,
"title": Translation,
"titleId": HashedId,
"updated": 1592577642
}
}
}
updateDocument
Description
Update document
Response
Returns [Document!]!
Arguments
| Name | Description |
|---|---|
assetId - HashedId
|
Id of the associated asset. Mutually exclusive with other associations. |
assetTypeId - HashedId
|
Id of the associated assetType. Mutually exclusive with other associations. |
documentLink - String
|
Document link |
externalId - String
|
External system identifier |
file - Upload
|
File attachment |
id - HashedId!
|
Unique identifier of the entity |
isVisibleToCustomer - Boolean
|
Indicates whether the document is served/visible to users of customer groups. |
name - String
|
Name of the attachment |
partId - HashedId
|
Id of the associated part. Mutually exclusive with other associations. |
purpose - String
|
A string 'label' to define the purpose of the document. Can only be one of the items of a predefined constant array. |
uploadedByUserId - HashedId
|
Uploaded by user identifier |
useForChatbot - Boolean
|
Whether this document is injected into the robot chatbot context |
Example
Query
mutation updateDocument(
$assetId: HashedId,
$assetTypeId: HashedId,
$documentLink: String,
$externalId: String,
$file: Upload,
$id: HashedId!,
$isVisibleToCustomer: Boolean,
$name: String,
$partId: HashedId,
$purpose: String,
$uploadedByUserId: HashedId,
$useForChatbot: Boolean
) {
updateDocument(
assetId: $assetId,
assetTypeId: $assetTypeId,
documentLink: $documentLink,
externalId: $externalId,
file: $file,
id: $id,
isVisibleToCustomer: $isVisibleToCustomer,
name: $name,
partId: $partId,
purpose: $purpose,
uploadedByUserId: $uploadedByUserId,
useForChatbot: $useForChatbot
) {
assetId
assetTypeId
commentId
costId
created
documentTicketContentFieldId
editable
eventId
externalId
fileSize
id
inlineFile {
...DocumentInlineFileFragment
}
isExternal
isInherited
isVisibleToCustomer
name
partId
procedureTemplateComponentId
purpose
typeKey
updated
uploadedByCustomer
uploadedByUser {
...UserFragment
}
uploadedByUserId
uploadedDocumentTicketContentFieldId
url
useForChatbot
workOrderCommentId
}
}
Variables
{
"assetId": HashedId,
"assetTypeId": HashedId,
"documentLink": "abc123",
"externalId": "abc123",
"file": Upload,
"id": HashedId,
"isVisibleToCustomer": false,
"name": "abc123",
"partId": HashedId,
"purpose": "xyz789",
"uploadedByUserId": HashedId,
"useForChatbot": false
}
Response
{
"data": {
"updateDocument": [
{
"assetId": HashedId,
"assetTypeId": HashedId,
"commentId": HashedId,
"costId": HashedId,
"created": 1592577642,
"documentTicketContentFieldId": HashedId,
"editable": false,
"eventId": HashedId,
"externalId": "abc123",
"fileSize": 123,
"id": HashedId,
"inlineFile": DocumentInlineFile,
"isExternal": false,
"isInherited": false,
"isVisibleToCustomer": true,
"name": "abc123",
"partId": HashedId,
"procedureTemplateComponentId": HashedId,
"purpose": "abc123",
"typeKey": "abc123",
"updated": 1592577642,
"uploadedByCustomer": false,
"uploadedByUser": User,
"uploadedByUserId": HashedId,
"uploadedDocumentTicketContentFieldId": HashedId,
"url": "abc123",
"useForChatbot": false,
"workOrderCommentId": HashedId
}
]
}
}
updateEvent
Description
Update an existing event
Response
Returns an Event!
Arguments
| Name | Description |
|---|---|
assetId - HashedId
|
Asset identifier |
changedCosts - [ChangedCostLineInput!]
|
Changed costs |
costsIdsToDelete - [HashedId!]
|
Costs ids to delete |
description - TranslationInput
|
Human-readable description |
documentsIdsToDelete - [HashedId!]
|
Documents ids to delete |
id - HashedId!
|
Unique identifier of the entity |
newAttachments - [Upload!]
|
New attachments |
newCosts - [NewCostLineInput!]
|
New costs |
startTime - Timestamp
|
Start time |
title - TranslationInput
|
Title text |
Example
Query
mutation updateEvent(
$assetId: HashedId,
$changedCosts: [ChangedCostLineInput!],
$costsIdsToDelete: [HashedId!],
$description: TranslationInput,
$documentsIdsToDelete: [HashedId!],
$id: HashedId!,
$newAttachments: [Upload!],
$newCosts: [NewCostLineInput!],
$startTime: Timestamp,
$title: TranslationInput
) {
updateEvent(
assetId: $assetId,
changedCosts: $changedCosts,
costsIdsToDelete: $costsIdsToDelete,
description: $description,
documentsIdsToDelete: $documentsIdsToDelete,
id: $id,
newAttachments: $newAttachments,
newCosts: $newCosts,
startTime: $startTime,
title: $title
) {
authorEmail
connectedComment {
...TicketCommentFragment
}
costs {
...CostLineFragment
}
created
createdByIntegrationName
createdByPart {
...PartFragment
}
createdByPartId
createdByRule {
...RuleFragment
}
createdByRuleId
createdBySite {
...SiteFragment
}
createdBySiteId
createdByTicket {
...TicketFragment
}
createdByTicketId
createdByUser {
...UserFragment
}
createdByUserId
createdByWorkOrder {
...WorkOrderSummaryFragment
}
createdByWorkOrderId
data {
...EventEntityDataDtoFragment
}
description {
...TranslationFragment
}
descriptionId
documents {
...DocumentFragment
}
endTime
eventMeta
eventStyle {
...EventStyleFragment
}
eventStyleId
id
isCritical
isImmediateNotification
isOngoing
lastEvent
manualDeactivation
originatingFromAsset {
...AssetFragment
}
originatingFromAssetId
originatingFromModule {
...ModuleFragment
}
originatingFromModuleId
publicId
responseState {
...TicketStateFragment
}
serviceName {
...TranslationFragment
}
shouldNotify
site {
...SiteFragment
}
siteId
startTime
stoppedByUser {
...UserFragment
}
stoppedByUserId
tag
ticketId
ticketStatus
title {
...TranslationFragment
}
titleId
type
updated
workOrderNotifications {
...WorkOrderNotificationsFragment
}
}
}
Variables
{
"assetId": HashedId,
"changedCosts": [ChangedCostLineInput],
"costsIdsToDelete": [HashedId],
"description": TranslationInput,
"documentsIdsToDelete": [HashedId],
"id": HashedId,
"newAttachments": [Upload],
"newCosts": [NewCostLineInput],
"startTime": 1592577642,
"title": TranslationInput
}
Response
{
"data": {
"updateEvent": {
"authorEmail": "xyz789",
"connectedComment": TicketComment,
"costs": [CostLine],
"created": 1592577642,
"createdByIntegrationName": "abc123",
"createdByPart": Part,
"createdByPartId": HashedId,
"createdByRule": Rule,
"createdByRuleId": HashedId,
"createdBySite": Site,
"createdBySiteId": HashedId,
"createdByTicket": Ticket,
"createdByTicketId": HashedId,
"createdByUser": User,
"createdByUserId": HashedId,
"createdByWorkOrder": WorkOrderSummary,
"createdByWorkOrderId": HashedId,
"data": EventEntityDataDto,
"description": Translation,
"descriptionId": HashedId,
"documents": [Document],
"endTime": 1592577642,
"eventMeta": {},
"eventStyle": EventStyle,
"eventStyleId": "xyz789",
"id": HashedId,
"isCritical": true,
"isImmediateNotification": false,
"isOngoing": false,
"lastEvent": 1592577642,
"manualDeactivation": false,
"originatingFromAsset": Asset,
"originatingFromAssetId": HashedId,
"originatingFromModule": Module,
"originatingFromModuleId": HashedId,
"publicId": 123,
"responseState": TicketState,
"serviceName": Translation,
"shouldNotify": false,
"site": Site,
"siteId": HashedId,
"startTime": 1592577642,
"stoppedByUser": User,
"stoppedByUserId": HashedId,
"tag": ["RESPONSIBLE_UPDATE"],
"ticketId": 123,
"ticketStatus": "approvalNeeded",
"title": Translation,
"titleId": HashedId,
"type": "COST",
"updated": 1592577642,
"workOrderNotifications": WorkOrderNotifications
}
}
}
updateGroup
Description
Update a group using the legacy flat input format
Response
Returns [Group!]!
Arguments
| Name | Description |
|---|---|
costSettings - GroupCostSettingsUpdateInput
|
Updated cost calculation settings for the group |
defaultCurrency - String
|
ISO 4217 currency code for cost calculations within this group |
getRawFlow - Boolean
|
Whether to return the unprocessed workflow configuration in the response |
handlerAlias - String
|
Short alias displayed instead of the full ticket handler name |
hasTicketHandling - Boolean
|
Whether the record has ticket handling |
id - HashedId!
|
Group identifier to update |
identificationNumber - String
|
External business registration or tax identification number |
internalSettings - JSON
|
Raw JSON internal settings blob for admin-only configuration |
name - String
|
Updated human-readable label for the group |
parentGroupId - HashedId
|
Parent group identifier in the hierarchy |
servicePackageId - HashedId
|
Can only be changed by internal TS users currently |
settings - JSON
|
Raw JSON settings blob to replace the current group settings |
settingsPath - String
|
Dot-notation path within the settings JSON to update a specific nested value |
userRequestNotifiers - [NotificationRelationCreateInput!]
|
Passing empty array will remove all the relations |
vatNumber - String
|
VAT registration number for tax invoicing purposes |
workingHours - GroupWorkingHoursUpsertInput
|
Updated working hours applied to the group |
Example
Query
mutation updateGroup(
$costSettings: GroupCostSettingsUpdateInput,
$defaultCurrency: String,
$getRawFlow: Boolean,
$handlerAlias: String,
$hasTicketHandling: Boolean,
$id: HashedId!,
$identificationNumber: String,
$internalSettings: JSON,
$name: String,
$parentGroupId: HashedId,
$servicePackageId: HashedId,
$settings: JSON,
$settingsPath: String,
$userRequestNotifiers: [NotificationRelationCreateInput!],
$vatNumber: String,
$workingHours: GroupWorkingHoursUpsertInput
) {
updateGroup(
costSettings: $costSettings,
defaultCurrency: $defaultCurrency,
getRawFlow: $getRawFlow,
handlerAlias: $handlerAlias,
hasTicketHandling: $hasTicketHandling,
id: $id,
identificationNumber: $identificationNumber,
internalSettings: $internalSettings,
name: $name,
parentGroupId: $parentGroupId,
servicePackageId: $servicePackageId,
settings: $settings,
settingsPath: $settingsPath,
userRequestNotifiers: $userRequestNotifiers,
vatNumber: $vatNumber,
workingHours: $workingHours
) {
activeCustomFields {
...CustomFieldFragment
}
archivedCustomFields {
...CustomFieldFragment
}
assetIds
assetLocationsHidden
assets {
...AssetFragment
}
belongsToCurrentGroup
brand {
...BrandFragment
}
canGrantJotformConversion
childGroupIds
childGroups {
...GroupFragment
}
costSettings {
...GroupCostSettingsFragment
}
costSettingsId
created
customerName
customerRootGroup {
...GroupFragment
}
deleted
deletedAssetCategoriesCount
deletedAssetTypesCount
deletedAssetsCount
deletedBy
deletedGroupsCount
deletedSitesCount
effectiveTimezone
flow {
...ServicePackageFragment
}
flowId
flowMaintainers {
...NotificationRelationFragment
}
groupType {
...ServicePackageFragment
}
groupTypeId
handlerAlias
hasTicketHandling
id
identificationNumber
image
internalSettings
isCustomer
isRoot
maintainedManufacturer {
...ManufacturerFragment
}
maintainedManufacturerId
name
nonCustomerParentGroup {
...GroupFragment
}
ownSettings
parentGroup {
...GroupFragment
}
parentGroupId
parentName
resolvedCurrency
restoreBlockers
roleIds
rootBrand {
...BrandFragment
}
rootGroupId
rootGroupName
servicePackage {
...ServicePackageFragment
}
servicePackageId
servicePackageV2 {
... on RestrictedServicePackage {
...RestrictedServicePackageFragment
}
... on ServicePackage {
...ServicePackageFragment
}
}
services {
...ServiceFragment
}
servicesV2 {
...ServiceFragment
}
settings
ticketAfterApprovalAssigneeTeam {
...TeamFragment
}
ticketAfterApprovalAssigneeUser {
...UserFragment
}
ticketDefaultAssignee {
...UserFragment
}
ticketHandler {
...GroupTicketHandlerFragment
}
treeRootId
updated
userIds
userRequestNotifiers {
...NotificationRelationFragment
}
users {
...UserFragment
}
vatNumber
workingHours {
...GroupWorkingHoursFragment
}
}
}
Variables
{
"costSettings": GroupCostSettingsUpdateInput,
"defaultCurrency": "xyz789",
"getRawFlow": true,
"handlerAlias": "xyz789",
"hasTicketHandling": true,
"id": HashedId,
"identificationNumber": "xyz789",
"internalSettings": {},
"name": "abc123",
"parentGroupId": HashedId,
"servicePackageId": HashedId,
"settings": {},
"settingsPath": "abc123",
"userRequestNotifiers": [
NotificationRelationCreateInput
],
"vatNumber": "xyz789",
"workingHours": GroupWorkingHoursUpsertInput
}
Response
{
"data": {
"updateGroup": [
{
"activeCustomFields": [CustomField],
"archivedCustomFields": [CustomField],
"assetIds": [HashedId],
"assetLocationsHidden": false,
"assets": [Asset],
"belongsToCurrentGroup": true,
"brand": Brand,
"canGrantJotformConversion": false,
"childGroupIds": [HashedId],
"childGroups": [Group],
"costSettings": GroupCostSettings,
"costSettingsId": HashedId,
"created": 1592577642,
"customerName": "abc123",
"customerRootGroup": Group,
"deleted": 1592577642,
"deletedAssetCategoriesCount": 123,
"deletedAssetTypesCount": 987,
"deletedAssetsCount": 987,
"deletedBy": "xyz789",
"deletedGroupsCount": 123,
"deletedSitesCount": 123,
"effectiveTimezone": "abc123",
"flow": ServicePackage,
"flowId": HashedId,
"flowMaintainers": [NotificationRelation],
"groupType": ServicePackage,
"groupTypeId": HashedId,
"handlerAlias": "abc123",
"hasTicketHandling": true,
"id": HashedId,
"identificationNumber": "xyz789",
"image": "abc123",
"internalSettings": {},
"isCustomer": false,
"isRoot": false,
"maintainedManufacturer": [Manufacturer],
"maintainedManufacturerId": [HashedId],
"name": "abc123",
"nonCustomerParentGroup": Group,
"ownSettings": {},
"parentGroup": Group,
"parentGroupId": HashedId,
"parentName": "xyz789",
"resolvedCurrency": "AED",
"restoreBlockers": ["PARENT_ASSET_CATEGORY_DELETED"],
"roleIds": [HashedId],
"rootBrand": Brand,
"rootGroupId": HashedId,
"rootGroupName": "abc123",
"servicePackage": ServicePackage,
"servicePackageId": HashedId,
"servicePackageV2": RestrictedServicePackage,
"services": [Service],
"servicesV2": [Service],
"settings": {},
"ticketAfterApprovalAssigneeTeam": Team,
"ticketAfterApprovalAssigneeUser": User,
"ticketDefaultAssignee": User,
"ticketHandler": GroupTicketHandler,
"treeRootId": HashedId,
"updated": 1592577642,
"userIds": [HashedId],
"userRequestNotifiers": [NotificationRelation],
"users": [User],
"vatNumber": "abc123",
"workingHours": GroupWorkingHours
}
]
}
}
updateGroupById
Description
Update group properties, settings, and cost configuration by group identifier
Response
Returns a Group!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Unique identifier of the entity |
input - GroupUpdateInput!
|
Group update fields |
Example
Query
mutation updateGroupById(
$id: HashedId!,
$input: GroupUpdateInput!
) {
updateGroupById(
id: $id,
input: $input
) {
activeCustomFields {
...CustomFieldFragment
}
archivedCustomFields {
...CustomFieldFragment
}
assetIds
assetLocationsHidden
assets {
...AssetFragment
}
belongsToCurrentGroup
brand {
...BrandFragment
}
canGrantJotformConversion
childGroupIds
childGroups {
...GroupFragment
}
costSettings {
...GroupCostSettingsFragment
}
costSettingsId
created
customerName
customerRootGroup {
...GroupFragment
}
deleted
deletedAssetCategoriesCount
deletedAssetTypesCount
deletedAssetsCount
deletedBy
deletedGroupsCount
deletedSitesCount
effectiveTimezone
flow {
...ServicePackageFragment
}
flowId
flowMaintainers {
...NotificationRelationFragment
}
groupType {
...ServicePackageFragment
}
groupTypeId
handlerAlias
hasTicketHandling
id
identificationNumber
image
internalSettings
isCustomer
isRoot
maintainedManufacturer {
...ManufacturerFragment
}
maintainedManufacturerId
name
nonCustomerParentGroup {
...GroupFragment
}
ownSettings
parentGroup {
...GroupFragment
}
parentGroupId
parentName
resolvedCurrency
restoreBlockers
roleIds
rootBrand {
...BrandFragment
}
rootGroupId
rootGroupName
servicePackage {
...ServicePackageFragment
}
servicePackageId
servicePackageV2 {
... on RestrictedServicePackage {
...RestrictedServicePackageFragment
}
... on ServicePackage {
...ServicePackageFragment
}
}
services {
...ServiceFragment
}
servicesV2 {
...ServiceFragment
}
settings
ticketAfterApprovalAssigneeTeam {
...TeamFragment
}
ticketAfterApprovalAssigneeUser {
...UserFragment
}
ticketDefaultAssignee {
...UserFragment
}
ticketHandler {
...GroupTicketHandlerFragment
}
treeRootId
updated
userIds
userRequestNotifiers {
...NotificationRelationFragment
}
users {
...UserFragment
}
vatNumber
workingHours {
...GroupWorkingHoursFragment
}
}
}
Variables
{
"id": HashedId,
"input": GroupUpdateInput
}
Response
{
"data": {
"updateGroupById": {
"activeCustomFields": [CustomField],
"archivedCustomFields": [CustomField],
"assetIds": [HashedId],
"assetLocationsHidden": false,
"assets": [Asset],
"belongsToCurrentGroup": true,
"brand": Brand,
"canGrantJotformConversion": true,
"childGroupIds": [HashedId],
"childGroups": [Group],
"costSettings": GroupCostSettings,
"costSettingsId": HashedId,
"created": 1592577642,
"customerName": "xyz789",
"customerRootGroup": Group,
"deleted": 1592577642,
"deletedAssetCategoriesCount": 123,
"deletedAssetTypesCount": 987,
"deletedAssetsCount": 987,
"deletedBy": "abc123",
"deletedGroupsCount": 123,
"deletedSitesCount": 987,
"effectiveTimezone": "abc123",
"flow": ServicePackage,
"flowId": HashedId,
"flowMaintainers": [NotificationRelation],
"groupType": ServicePackage,
"groupTypeId": HashedId,
"handlerAlias": "xyz789",
"hasTicketHandling": false,
"id": HashedId,
"identificationNumber": "abc123",
"image": "xyz789",
"internalSettings": {},
"isCustomer": false,
"isRoot": true,
"maintainedManufacturer": [Manufacturer],
"maintainedManufacturerId": [HashedId],
"name": "xyz789",
"nonCustomerParentGroup": Group,
"ownSettings": {},
"parentGroup": Group,
"parentGroupId": HashedId,
"parentName": "xyz789",
"resolvedCurrency": "AED",
"restoreBlockers": ["PARENT_ASSET_CATEGORY_DELETED"],
"roleIds": [HashedId],
"rootBrand": Brand,
"rootGroupId": HashedId,
"rootGroupName": "abc123",
"servicePackage": ServicePackage,
"servicePackageId": HashedId,
"servicePackageV2": RestrictedServicePackage,
"services": [Service],
"servicesV2": [Service],
"settings": {},
"ticketAfterApprovalAssigneeTeam": Team,
"ticketAfterApprovalAssigneeUser": User,
"ticketDefaultAssignee": User,
"ticketHandler": GroupTicketHandler,
"treeRootId": HashedId,
"updated": 1592577642,
"userIds": [HashedId],
"userRequestNotifiers": [NotificationRelation],
"users": [User],
"vatNumber": "abc123",
"workingHours": GroupWorkingHours
}
}
}
updateGroupImage
Description
Accepts jpg, jpeg, webp, gif, png (case insensitive). Will be contained to a 500px square with white background. 3 images generated:
- _2x for high dpi screens
- no suffix, half of the default size, this url will be provided
- _thumb - 100px thumbnail Send an empty value to remove the image.
Response
Returns a Group!
Example
Query
mutation updateGroupImage(
$file: Upload!,
$id: HashedId!
) {
updateGroupImage(
file: $file,
id: $id
) {
activeCustomFields {
...CustomFieldFragment
}
archivedCustomFields {
...CustomFieldFragment
}
assetIds
assetLocationsHidden
assets {
...AssetFragment
}
belongsToCurrentGroup
brand {
...BrandFragment
}
canGrantJotformConversion
childGroupIds
childGroups {
...GroupFragment
}
costSettings {
...GroupCostSettingsFragment
}
costSettingsId
created
customerName
customerRootGroup {
...GroupFragment
}
deleted
deletedAssetCategoriesCount
deletedAssetTypesCount
deletedAssetsCount
deletedBy
deletedGroupsCount
deletedSitesCount
effectiveTimezone
flow {
...ServicePackageFragment
}
flowId
flowMaintainers {
...NotificationRelationFragment
}
groupType {
...ServicePackageFragment
}
groupTypeId
handlerAlias
hasTicketHandling
id
identificationNumber
image
internalSettings
isCustomer
isRoot
maintainedManufacturer {
...ManufacturerFragment
}
maintainedManufacturerId
name
nonCustomerParentGroup {
...GroupFragment
}
ownSettings
parentGroup {
...GroupFragment
}
parentGroupId
parentName
resolvedCurrency
restoreBlockers
roleIds
rootBrand {
...BrandFragment
}
rootGroupId
rootGroupName
servicePackage {
...ServicePackageFragment
}
servicePackageId
servicePackageV2 {
... on RestrictedServicePackage {
...RestrictedServicePackageFragment
}
... on ServicePackage {
...ServicePackageFragment
}
}
services {
...ServiceFragment
}
servicesV2 {
...ServiceFragment
}
settings
ticketAfterApprovalAssigneeTeam {
...TeamFragment
}
ticketAfterApprovalAssigneeUser {
...UserFragment
}
ticketDefaultAssignee {
...UserFragment
}
ticketHandler {
...GroupTicketHandlerFragment
}
treeRootId
updated
userIds
userRequestNotifiers {
...NotificationRelationFragment
}
users {
...UserFragment
}
vatNumber
workingHours {
...GroupWorkingHoursFragment
}
}
}
Variables
{"file": Upload, "id": HashedId}
Response
{
"data": {
"updateGroupImage": {
"activeCustomFields": [CustomField],
"archivedCustomFields": [CustomField],
"assetIds": [HashedId],
"assetLocationsHidden": false,
"assets": [Asset],
"belongsToCurrentGroup": true,
"brand": Brand,
"canGrantJotformConversion": true,
"childGroupIds": [HashedId],
"childGroups": [Group],
"costSettings": GroupCostSettings,
"costSettingsId": HashedId,
"created": 1592577642,
"customerName": "abc123",
"customerRootGroup": Group,
"deleted": 1592577642,
"deletedAssetCategoriesCount": 987,
"deletedAssetTypesCount": 123,
"deletedAssetsCount": 123,
"deletedBy": "abc123",
"deletedGroupsCount": 987,
"deletedSitesCount": 987,
"effectiveTimezone": "xyz789",
"flow": ServicePackage,
"flowId": HashedId,
"flowMaintainers": [NotificationRelation],
"groupType": ServicePackage,
"groupTypeId": HashedId,
"handlerAlias": "xyz789",
"hasTicketHandling": false,
"id": HashedId,
"identificationNumber": "xyz789",
"image": "xyz789",
"internalSettings": {},
"isCustomer": true,
"isRoot": true,
"maintainedManufacturer": [Manufacturer],
"maintainedManufacturerId": [HashedId],
"name": "abc123",
"nonCustomerParentGroup": Group,
"ownSettings": {},
"parentGroup": Group,
"parentGroupId": HashedId,
"parentName": "abc123",
"resolvedCurrency": "AED",
"restoreBlockers": ["PARENT_ASSET_CATEGORY_DELETED"],
"roleIds": [HashedId],
"rootBrand": Brand,
"rootGroupId": HashedId,
"rootGroupName": "abc123",
"servicePackage": ServicePackage,
"servicePackageId": HashedId,
"servicePackageV2": RestrictedServicePackage,
"services": [Service],
"servicesV2": [Service],
"settings": {},
"ticketAfterApprovalAssigneeTeam": Team,
"ticketAfterApprovalAssigneeUser": User,
"ticketDefaultAssignee": User,
"ticketHandler": GroupTicketHandler,
"treeRootId": HashedId,
"updated": 1592577642,
"userIds": [HashedId],
"userRequestNotifiers": [NotificationRelation],
"users": [User],
"vatNumber": "xyz789",
"workingHours": GroupWorkingHours
}
}
}
updateGroupTicketHandlerTeamById
Description
Update a group ticket handler team assignment by its ID
Response
Returns a GroupTicketHandlerTeam!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Unique identifier of the entity |
input - GroupTicketHandlerTeamUpdateInput!
|
Group ticket handler team update fields |
Example
Query
mutation updateGroupTicketHandlerTeamById(
$id: HashedId!,
$input: GroupTicketHandlerTeamUpdateInput!
) {
updateGroupTicketHandlerTeamById(
id: $id,
input: $input
) {
created
groupTicketHandlerId
id
isNotifiable
team {
...TeamFragment
}
teamId
updated
}
}
Variables
{
"id": HashedId,
"input": GroupTicketHandlerTeamUpdateInput
}
Response
{
"data": {
"updateGroupTicketHandlerTeamById": {
"created": 1592577642,
"groupTicketHandlerId": HashedId,
"id": HashedId,
"isNotifiable": false,
"team": Team,
"teamId": HashedId,
"updated": 1592577642
}
}
}
updateGroupTicketHandlerUserById
Description
Update a group ticket handler user assignment by its ID
Response
Returns a GroupTicketHandlerUser!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Unique identifier of the entity |
input - GroupTicketHandlerUserUpdateInput!
|
Group ticket handler user update fields |
Example
Query
mutation updateGroupTicketHandlerUserById(
$id: HashedId!,
$input: GroupTicketHandlerUserUpdateInput!
) {
updateGroupTicketHandlerUserById(
id: $id,
input: $input
) {
created
groupTicketHandlerId
id
isNotifiable
updated
user {
...UserFragment
}
userId
}
}
Variables
{
"id": HashedId,
"input": GroupTicketHandlerUserUpdateInput
}
Response
{
"data": {
"updateGroupTicketHandlerUserById": {
"created": 1592577642,
"groupTicketHandlerId": HashedId,
"id": HashedId,
"isNotifiable": false,
"updated": 1592577642,
"user": User,
"userId": HashedId
}
}
}
updateIntegration
Description
Edit an integration, reassigning the user account it syncs as
Response
Returns an IntegrationNew!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Unique identifier of the entity |
input - IntegrationUpdateInput!
|
Integration update fields |
Example
Query
mutation updateIntegration(
$id: HashedId!,
$input: IntegrationUpdateInput!
) {
updateIntegration(
id: $id,
input: $input
) {
config {
...IntegrationConfigKeyFragment
}
created
cronTime
group {
...GroupFragment
}
groupId
id
isBase
isScheduled
name
provider
treeRootGroup {
...GroupFragment
}
treeRootGroupId
updated
userId
}
}
Variables
{
"id": HashedId,
"input": IntegrationUpdateInput
}
Response
{
"data": {
"updateIntegration": {
"config": [IntegrationConfigKey],
"created": 1592577642,
"cronTime": "xyz789",
"group": Group,
"groupId": HashedId,
"id": HashedId,
"isBase": true,
"isScheduled": true,
"name": "xyz789",
"provider": "ACHELIS_PROVIDER",
"treeRootGroup": Group,
"treeRootGroupId": HashedId,
"updated": 1592577642,
"userId": HashedId
}
}
}
updateIntegrationConfig
Description
Update configuration key-value pairs of an integration identified by its id
Response
Returns an IntegrationNew!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Unique identifier of the entity |
input - [IntegrationConfigUpdateInput!]!
|
Key-value configuration entries to update |
Example
Query
mutation updateIntegrationConfig(
$id: HashedId!,
$input: [IntegrationConfigUpdateInput!]!
) {
updateIntegrationConfig(
id: $id,
input: $input
) {
config {
...IntegrationConfigKeyFragment
}
created
cronTime
group {
...GroupFragment
}
groupId
id
isBase
isScheduled
name
provider
treeRootGroup {
...GroupFragment
}
treeRootGroupId
updated
userId
}
}
Variables
{
"id": HashedId,
"input": [IntegrationConfigUpdateInput]
}
Response
{
"data": {
"updateIntegrationConfig": {
"config": [IntegrationConfigKey],
"created": 1592577642,
"cronTime": "xyz789",
"group": Group,
"groupId": HashedId,
"id": HashedId,
"isBase": false,
"isScheduled": false,
"name": "xyz789",
"provider": "ACHELIS_PROVIDER",
"treeRootGroup": Group,
"treeRootGroupId": HashedId,
"updated": 1592577642,
"userId": HashedId
}
}
}
updateLoginInterrupt
Description
Update an existing login interrupt message
Response
Returns a LoginInterrupt
Arguments
| Name | Description |
|---|---|
title - String!
|
Example
Query
mutation updateLoginInterrupt($title: String!) {
updateLoginInterrupt(title: $title) {
content {
...TranslationFragment
}
contentId
created
id
isActive
title {
...TranslationFragment
}
titleId
updated
visibleToGroupIds
visibleToGroups {
...GroupFragment
}
}
}
Variables
{"title": "xyz789"}
Response
{
"data": {
"updateLoginInterrupt": {
"content": Translation,
"contentId": HashedId,
"created": 1592577642,
"id": HashedId,
"isActive": false,
"title": Translation,
"titleId": HashedId,
"updated": 1592577642,
"visibleToGroupIds": [HashedId],
"visibleToGroups": [Group]
}
}
}
updateMaintenanceSchedule
Description
Update an existing asset maintenance schedule
Response
Returns an AssetMaintenanceSchedule!
Example
Query
mutation updateMaintenanceSchedule(
$id: HashedId!,
$interval: Int!,
$lastMaintenance: Date,
$nextMaintenance: Date!
) {
updateMaintenanceSchedule(
id: $id,
interval: $interval,
lastMaintenance: $lastMaintenance,
nextMaintenance: $nextMaintenance
) {
assetId
id
interval
lastMaintenance
lastMaintenanceLastEdited {
...AssetMaintenanceScheduleEditNoteFragment
}
nextMaintenance
nextMaintenanceLastEdited {
...AssetMaintenanceScheduleEditNoteFragment
}
}
}
Variables
{
"id": HashedId,
"interval": 123,
"lastMaintenance": "2007-12-03",
"nextMaintenance": "2007-12-03"
}
Response
{
"data": {
"updateMaintenanceSchedule": {
"assetId": HashedId,
"id": HashedId,
"interval": 123,
"lastMaintenance": "2007-12-03",
"lastMaintenanceLastEdited": AssetMaintenanceScheduleEditNote,
"nextMaintenance": "2007-12-03",
"nextMaintenanceLastEdited": AssetMaintenanceScheduleEditNote
}
}
}
updateManufacturerById
Description
Update a manufacturer by its ID
Response
Returns a Manufacturer!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Unique identifier |
input - ManufacturerUpdateInput!
|
Manufacturer update fields |
Example
Query
mutation updateManufacturerById(
$id: HashedId!,
$input: ManufacturerUpdateInput!
) {
updateManufacturerById(
id: $id,
input: $input
) {
assetIntegrationIds
assetIntegrations {
...AssetIntegrationFragment
}
created
id
maintainedByGroup {
...GroupFragment
}
maintainedByGroupId
name
nameKey
notificationsEnabled
updated
}
}
Variables
{
"id": HashedId,
"input": ManufacturerUpdateInput
}
Response
{
"data": {
"updateManufacturerById": {
"assetIntegrationIds": [HashedId],
"assetIntegrations": [AssetIntegration],
"created": 1592577642,
"id": HashedId,
"maintainedByGroup": Group,
"maintainedByGroupId": 123,
"name": "xyz789",
"nameKey": "xyz789",
"notificationsEnabled": true,
"updated": 1592577642
}
}
}
updateModule
Description
Update an existing IoT module configuration
Response
Returns a Module!
Arguments
| Name | Description |
|---|---|
externalId - String
|
External system identifier |
id - HashedId
|
Unique identifier |
imei - String
|
Imei |
isFake - Boolean
|
Whether fake |
moduleRevision - String
|
Some value that is specifying what kind of module this is |
stripeCustomerId - String
|
Used to connect the Module to a Stripe Customer |
stripePriceId - String
|
Used to connect the Module to a Stripe Product |
Example
Query
mutation updateModule(
$externalId: String,
$id: HashedId,
$imei: String,
$isFake: Boolean,
$moduleRevision: String,
$stripeCustomerId: String,
$stripePriceId: String
) {
updateModule(
externalId: $externalId,
id: $id,
imei: $imei,
isFake: $isFake,
moduleRevision: $moduleRevision,
stripeCustomerId: $stripeCustomerId,
stripePriceId: $stripePriceId
) {
assetVersionNr
assignedToAsset {
...AssetFragment
}
assignedToAssetId
assignedToAssetIds
assignedToAssets {
...AssetFragment
}
controlId
created
currentPrice
externalId
id
imei
isFake
moduleRevision
moduleType {
...ModuleTypeFragment
}
moduleTypeId
moduleVersionNr
price {
...StripePriceFragment
}
stripeCustomerId
stripePriceId
updated
}
}
Variables
{
"externalId": "xyz789",
"id": HashedId,
"imei": "abc123",
"isFake": false,
"moduleRevision": "abc123",
"stripeCustomerId": "xyz789",
"stripePriceId": "abc123"
}
Response
{
"data": {
"updateModule": {
"assetVersionNr": "xyz789",
"assignedToAsset": Asset,
"assignedToAssetId": HashedId,
"assignedToAssetIds": [HashedId],
"assignedToAssets": [Asset],
"controlId": "abc123",
"created": 1592577642,
"currentPrice": 123.45,
"externalId": "abc123",
"id": HashedId,
"imei": "xyz789",
"isFake": true,
"moduleRevision": "abc123",
"moduleType": ModuleType,
"moduleTypeId": HashedId,
"moduleVersionNr": "abc123",
"price": StripePrice,
"stripeCustomerId": "abc123",
"stripePriceId": "xyz789",
"updated": 1592577642
}
}
}
updateNotificationByTicketId
Description
Update notification preferences for a ticket
Response
Returns a NotificationFilter!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Unique identifier of the entity |
input - NotificationFilterUpdateInput!
|
Notification preferences to apply for this ticket |
Example
Query
mutation updateNotificationByTicketId(
$id: HashedId!,
$input: NotificationFilterUpdateInput!
) {
updateNotificationByTicketId(
id: $id,
input: $input
) {
id
preferences
state
}
}
Variables
{
"id": HashedId,
"input": NotificationFilterUpdateInput
}
Response
{
"data": {
"updateNotificationByTicketId": {
"id": HashedId,
"preferences": {},
"state": true
}
}
}
updateOTAUpdate
Description
Update an existing OTA firmware update for an asset integration
Response
Returns an OTAUpdate
Arguments
| Name | Description |
|---|---|
assetIntegrationId - HashedId!
|
Target asset integration to update the firmware update for |
Example
Query
mutation updateOTAUpdate($assetIntegrationId: HashedId!) {
updateOTAUpdate(assetIntegrationId: $assetIntegrationId) {
assetIntegration {
...AssetIntegrationFragment
}
assetIntegrationId
created
description {
...TranslationFragment
}
descriptionId
fileName
id
updated
versionName
}
}
Variables
{"assetIntegrationId": HashedId}
Response
{
"data": {
"updateOTAUpdate": {
"assetIntegration": AssetIntegration,
"assetIntegrationId": HashedId,
"created": 1592577642,
"description": Translation,
"descriptionId": HashedId,
"fileName": "abc123",
"id": HashedId,
"updated": 1592577642,
"versionName": "xyz789"
}
}
}
updateOperationalCostsView
Description
Update an existing saved operational costs view
Response
Returns an OperationalCostsView!
Arguments
| Name | Description |
|---|---|
view - OperationalCostsViewUpdateInput!
|
View configuration data |
Example
Query
mutation updateOperationalCostsView($view: OperationalCostsViewUpdateInput!) {
updateOperationalCostsView(view: $view) {
created
displayMode
forEntity
id
isActive
isDeletable
isEditable
isShareable
isShared
isSystemView
isUnsharedByParentGroup
options {
...OperationalCostsViewOptionsFragment
}
title {
...TranslationFragment
}
titleId
updated
}
}
Variables
{"view": OperationalCostsViewUpdateInput}
Response
{
"data": {
"updateOperationalCostsView": {
"created": 1592577642,
"displayMode": "GANTT",
"forEntity": "ASSET",
"id": HashedId,
"isActive": false,
"isDeletable": true,
"isEditable": true,
"isShareable": false,
"isShared": true,
"isSystemView": false,
"isUnsharedByParentGroup": false,
"options": OperationalCostsViewOptions,
"title": Translation,
"titleId": HashedId,
"updated": 1592577642
}
}
}
updatePart
Description
Update an existing spare part
Response
Returns a Part!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Unique identifier |
input - PartUpdateInput!
|
Part update fields |
Example
Query
mutation updatePart(
$id: HashedId!,
$input: PartUpdateInput!
) {
updatePart(
id: $id,
input: $input
) {
area
availableQuantity
brand
created
createdByGroup {
...GroupFragment
}
createdByGroupId
createdByUser {
...UserFragment
}
createdByUserId
currency
customer {
...GroupFragment
}
customerId
description {
...TranslationFragment
}
descriptionId
documents {
...DocumentFragment
}
events {
...EventFragment
}
externalId
group {
...GroupFragment
}
groupId
id
image
isCurrencyLocked
maxQuantity
minQuantity
name {
...TranslationFragment
}
nameId
previousQuantity
publicId
qrAttached
responsiblePerson
sendNotificationsTo {
...RuleNotificationRelationFragment
}
shouldNotifyCriticalStockLevel
site {
...SiteFragment
}
siteId
totalStockValue
type
unitCost
unitOfMeasure
updated
uuid
vendor
}
}
Variables
{
"id": HashedId,
"input": PartUpdateInput
}
Response
{
"data": {
"updatePart": {
"area": "xyz789",
"availableQuantity": 123.45,
"brand": "xyz789",
"created": 1592577642,
"createdByGroup": Group,
"createdByGroupId": HashedId,
"createdByUser": User,
"createdByUserId": HashedId,
"currency": "xyz789",
"customer": Group,
"customerId": HashedId,
"description": Translation,
"descriptionId": HashedId,
"documents": [Document],
"events": [Event],
"externalId": "abc123",
"group": Group,
"groupId": HashedId,
"id": HashedId,
"image": "abc123",
"isCurrencyLocked": false,
"maxQuantity": 123.45,
"minQuantity": 123.45,
"name": Translation,
"nameId": HashedId,
"previousQuantity": 987.65,
"publicId": 987,
"qrAttached": true,
"responsiblePerson": "xyz789",
"sendNotificationsTo": [RuleNotificationRelation],
"shouldNotifyCriticalStockLevel": true,
"site": Site,
"siteId": HashedId,
"totalStockValue": 987.65,
"type": "xyz789",
"unitCost": 987.65,
"unitOfMeasure": "abc123",
"updated": 1592577642,
"uuid": "xyz789",
"vendor": "xyz789"
}
}
}
updatePartImage
Description
Upload or replace the image for a spare part
Response
Returns a Part!
Example
Query
mutation updatePartImage(
$file: Upload,
$id: HashedId!
) {
updatePartImage(
file: $file,
id: $id
) {
area
availableQuantity
brand
created
createdByGroup {
...GroupFragment
}
createdByGroupId
createdByUser {
...UserFragment
}
createdByUserId
currency
customer {
...GroupFragment
}
customerId
description {
...TranslationFragment
}
descriptionId
documents {
...DocumentFragment
}
events {
...EventFragment
}
externalId
group {
...GroupFragment
}
groupId
id
image
isCurrencyLocked
maxQuantity
minQuantity
name {
...TranslationFragment
}
nameId
previousQuantity
publicId
qrAttached
responsiblePerson
sendNotificationsTo {
...RuleNotificationRelationFragment
}
shouldNotifyCriticalStockLevel
site {
...SiteFragment
}
siteId
totalStockValue
type
unitCost
unitOfMeasure
updated
uuid
vendor
}
}
Variables
{"file": Upload, "id": HashedId}
Response
{
"data": {
"updatePartImage": {
"area": "xyz789",
"availableQuantity": 987.65,
"brand": "abc123",
"created": 1592577642,
"createdByGroup": Group,
"createdByGroupId": HashedId,
"createdByUser": User,
"createdByUserId": HashedId,
"currency": "abc123",
"customer": Group,
"customerId": HashedId,
"description": Translation,
"descriptionId": HashedId,
"documents": [Document],
"events": [Event],
"externalId": "xyz789",
"group": Group,
"groupId": HashedId,
"id": HashedId,
"image": "abc123",
"isCurrencyLocked": true,
"maxQuantity": 987.65,
"minQuantity": 987.65,
"name": Translation,
"nameId": HashedId,
"previousQuantity": 123.45,
"publicId": 123,
"qrAttached": true,
"responsiblePerson": "xyz789",
"sendNotificationsTo": [RuleNotificationRelation],
"shouldNotifyCriticalStockLevel": true,
"site": Site,
"siteId": HashedId,
"totalStockValue": 123.45,
"type": "xyz789",
"unitCost": 987.65,
"unitOfMeasure": "xyz789",
"updated": 1592577642,
"uuid": "abc123",
"vendor": "xyz789"
}
}
}
updatePersonnel
Description
Update a personnel record
Response
Returns a Personnel!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Unique identifier of the entity |
input - PersonnelUpdateInput!
|
Personnel update input |
Example
Query
mutation updatePersonnel(
$id: HashedId!,
$input: PersonnelUpdateInput!
) {
updatePersonnel(
id: $id,
input: $input
) {
certificationCount
certifications {
...PersonnelCertificationFragment
}
city
contractType
contractWorkCategory
country
countryOfBirth
created
createdByGroupId
createdByUser {
...UserFragment
}
createdByUserId
customFieldValues {
...CustomFieldValueFragment
}
dateOfBirth
dependentChildren
dependentHandicappedChildren
dependentPersonsOver65
dependentPersonsUnder65
dependentPersonsUnder65Income
driversLicenceNumber
email
email2
employmentEndDate
employmentSchedule
employmentStartDate
externalErpId
firstName
fullName
gender
group {
...GroupFragment
}
groupId
homeBase
id
jobFunction
jointCommitteeNumber
languageId
lastName
licenceCategory
licenceExpiryDate
maritalStatus
marriageDate
nationalInsuranceNumber
nationality
notes
personnelNumber
personnelNumberPrefix
personnelNumberSequence
phone {
...PhoneFragment
}
photoDocument {
...DocumentFragment
}
photoDocumentId
placeOfBirth
postalCode
publicId
salaryIBAN
salaryPaymentType
salaryScaleStartDate
seniorityStartDate
shownOnDispositionPage
specializationLevel
spouseBirthDate
spousePartnerName
street
studyLevel
updated
updatedByUser {
...UserFragment
}
updatedByUserId
usedInCustomFieldCount
user {
...UserFragment
}
userId
workOrders {
...WorkOrderV2Fragment
}
workingHours {
...PersonnelWorkingHoursFragment
}
}
}
Variables
{
"id": HashedId,
"input": PersonnelUpdateInput
}
Response
{
"data": {
"updatePersonnel": {
"certificationCount": 987,
"certifications": [PersonnelCertification],
"city": "xyz789",
"contractType": "APPRENTICE_WHITE_COLLAR",
"contractWorkCategory": "MANAGING_DIRECTOR",
"country": "abc123",
"countryOfBirth": "abc123",
"created": 1592577642,
"createdByGroupId": HashedId,
"createdByUser": User,
"createdByUserId": HashedId,
"customFieldValues": [CustomFieldValue],
"dateOfBirth": "2007-12-03",
"dependentChildren": 123,
"dependentHandicappedChildren": 987,
"dependentPersonsOver65": 123,
"dependentPersonsUnder65": 987,
"dependentPersonsUnder65Income": 123.45,
"driversLicenceNumber": "xyz789",
"email": "xyz789",
"email2": "xyz789",
"employmentEndDate": "2007-12-03",
"employmentSchedule": "FULL_TIME",
"employmentStartDate": "2007-12-03",
"externalErpId": "abc123",
"firstName": "abc123",
"fullName": "abc123",
"gender": "FEMALE",
"group": Group,
"groupId": HashedId,
"homeBase": "xyz789",
"id": HashedId,
"jobFunction": "abc123",
"jointCommitteeNumber": "xyz789",
"languageId": HashedId,
"lastName": "abc123",
"licenceCategory": "xyz789",
"licenceExpiryDate": "2007-12-03",
"maritalStatus": "COHABITING_LEGALLY",
"marriageDate": "2007-12-03",
"nationalInsuranceNumber": "xyz789",
"nationality": "abc123",
"notes": "xyz789",
"personnelNumber": "abc123",
"personnelNumberPrefix": "xyz789",
"personnelNumberSequence": 987,
"phone": Phone,
"photoDocument": Document,
"photoDocumentId": HashedId,
"placeOfBirth": "xyz789",
"postalCode": "abc123",
"publicId": 123,
"salaryIBAN": "xyz789",
"salaryPaymentType": "HOUR",
"salaryScaleStartDate": "2007-12-03",
"seniorityStartDate": "2007-12-03",
"shownOnDispositionPage": true,
"specializationLevel": "FIRST_LEVEL",
"spouseBirthDate": "2007-12-03",
"spousePartnerName": "xyz789",
"street": "abc123",
"studyLevel": "EXECUTIVE_STAFF",
"updated": 1592577642,
"updatedByUser": User,
"updatedByUserId": HashedId,
"usedInCustomFieldCount": 123,
"user": User,
"userId": HashedId,
"workOrders": [WorkOrderV2],
"workingHours": PersonnelWorkingHours
}
}
}
updateProcedureTemplateById
Description
Replaces the components, automations, and settings of an existing procedure template
Response
Returns a ProcedureTemplate!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Unique identifier of the entity |
input - ProcedureTemplateCreateInput!
|
Procedure template creation fields |
Example
Query
mutation updateProcedureTemplateById(
$id: HashedId!,
$input: ProcedureTemplateCreateInput!
) {
updateProcedureTemplateById(
id: $id,
input: $input
) {
accessLevel
automations {
...ProcedureTemplateAutomationFragment
}
componentCount
components {
...ProcedureTemplateComponentFragment
}
conditions {
...ProcedureConditionFragment
}
created
createdByGroup {
...GroupFragment
}
createdByGroupId
createdByUser {
...UserFragment
}
createdByUserId
deleted
description {
...TranslationFragment
}
descriptionId
hasAutomations
hasConditions
iconUrl
id
itemType
parent {
...ProcedureTemplateFragment
}
parentId
preset
publicId
publicRootId
rootId
servicePackageCount
servicePackages {
...ServicePackageFragment
}
ticketCount
title {
...TranslationFragment
}
titleId
type
updated
updatedByUser {
...UserFragment
}
updatedByUserId
}
}
Variables
{
"id": HashedId,
"input": ProcedureTemplateCreateInput
}
Response
{
"data": {
"updateProcedureTemplateById": {
"accessLevel": "branch",
"automations": [ProcedureTemplateAutomation],
"componentCount": 987,
"components": [ProcedureTemplateComponent],
"conditions": [ProcedureCondition],
"created": 1592577642,
"createdByGroup": Group,
"createdByGroupId": HashedId,
"createdByUser": User,
"createdByUserId": HashedId,
"deleted": 1592577642,
"description": Translation,
"descriptionId": HashedId,
"hasAutomations": false,
"hasConditions": false,
"iconUrl": "abc123",
"id": HashedId,
"itemType": "asset",
"parent": ProcedureTemplate,
"parentId": HashedId,
"preset": "check",
"publicId": 987,
"publicRootId": 123,
"rootId": HashedId,
"servicePackageCount": 987,
"servicePackages": [ServicePackage],
"ticketCount": 987,
"title": Translation,
"titleId": HashedId,
"type": "tickets",
"updated": 1592577642,
"updatedByUser": User,
"updatedByUserId": HashedId
}
}
}
updateReservation
Description
Update an existing reservation and its line items
Response
Returns a Reservation!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Unique identifier of the entity |
input - ReservationUpdateInput!
|
Input data required to update a reservation |
Example
Query
mutation updateReservation(
$id: HashedId!,
$input: ReservationUpdateInput!
) {
updateReservation(
id: $id,
input: $input
) {
approvedAt
cancelledAt
cancelledByUser {
...UserFragment
}
cancelledByUserId
confirmedAt
confirmedByUser {
...UserFragment
}
confirmedByUserId
created
createdByGroup {
...GroupFragment
}
createdByGroupId
createdByUser {
...UserFragment
}
createdByUserId
expectedArrivalAt
externalErpId
externalErpRequestedBy
id
issues {
...ReservationLineItemIssueFragment
}
lineItems {
...ReservationLineItemFragment
}
notes
publicId
rejectedAt
rejectedByUser {
...UserFragment
}
rejectedByUserId
rejectionReason
site {
...SiteFragment
}
siteId
status
tickets {
...TicketFragment
}
updated
uuid
}
}
Variables
{
"id": HashedId,
"input": ReservationUpdateInput
}
Response
{
"data": {
"updateReservation": {
"approvedAt": "2007-12-03",
"cancelledAt": "2007-12-03T10:15:30Z",
"cancelledByUser": User,
"cancelledByUserId": HashedId,
"confirmedAt": "2007-12-03T10:15:30Z",
"confirmedByUser": User,
"confirmedByUserId": HashedId,
"created": 1592577642,
"createdByGroup": Group,
"createdByGroupId": HashedId,
"createdByUser": User,
"createdByUserId": HashedId,
"expectedArrivalAt": "2007-12-03",
"externalErpId": "xyz789",
"externalErpRequestedBy": "abc123",
"id": HashedId,
"issues": [ReservationLineItemIssue],
"lineItems": [ReservationLineItem],
"notes": "xyz789",
"publicId": 987,
"rejectedAt": "2007-12-03T10:15:30Z",
"rejectedByUser": User,
"rejectedByUserId": HashedId,
"rejectionReason": "xyz789",
"site": Site,
"siteId": HashedId,
"status": "CANCELLED",
"tickets": [Ticket],
"updated": 1592577642,
"uuid": "xyz789"
}
}
}
updateRule
Description
Update an existing automation rule
Response
Returns a Rule!
Arguments
| Name | Description |
|---|---|
assetBlacklistIds - [HashedId!]
|
Asset blacklist identifiers |
assetIds - [HashedId!]
|
Asset identifiers |
assetTypeIds - [HashedId!]
|
Asset type identifiers |
assignedToGroupId - HashedId
|
Group the record is assigned to |
definition - JSON
|
Updated condition logic tree for the rule |
description - TranslationInput
|
Human-readable description |
eventType - EventTypeEnum
|
Event type |
eventsConfigs - [EventConfigInput]
|
Per-asset scheduling configurations for time-based rules |
id - HashedId!
|
Unique identifier of the entity |
isActive - Boolean
|
Rules can be temporarily disabled. Disabled rules are not evaluated. |
isCheckAllowedForUnauthorizedUsers - Boolean
|
This setting allows anyone to execute the check and allow changes to the connected asset |
isCritical - Boolean
|
Denotes severity. This rule will create 'critical' notifications that are styled differently. |
isGlobalRule - Boolean
|
Apply rule for custom assets |
isImmediateNotification - Boolean
|
Whether immediate notification |
isOneshot - Boolean
|
One-shot rules are only triggered once. After this, they are deactivated (isActive is false) |
isOnetime - Boolean
|
One time rules trigger only once per asset. Once a rule is triggered, the asset emitting it is set on a blacklist for this rule. |
manualDeactivation - Boolean
|
Events created by manualDeactivation rules can only be deactivated (=not ongoing) "manually" through explicit request. They can not be deactivated by incoming module data. |
preserveExistingRelations - Boolean
|
Preserve existing relations. Default = false |
relations - RuleRelationInput!
|
Asset type and asset associations to update |
sendNotificationsTo - [RuleNotificationRelationInput]
|
Recipients who receive notifications when this rule triggers |
serviceIds - [HashedId]
|
Service identifiers |
source - RuleSource!
|
Evaluation source determining how and when the rule is checked |
title - TranslationInput
|
Title text |
Example
Query
mutation updateRule(
$assetBlacklistIds: [HashedId!],
$assetIds: [HashedId!],
$assetTypeIds: [HashedId!],
$assignedToGroupId: HashedId,
$definition: JSON,
$description: TranslationInput,
$eventType: EventTypeEnum,
$eventsConfigs: [EventConfigInput],
$id: HashedId!,
$isActive: Boolean,
$isCheckAllowedForUnauthorizedUsers: Boolean,
$isCritical: Boolean,
$isGlobalRule: Boolean,
$isImmediateNotification: Boolean,
$isOneshot: Boolean,
$isOnetime: Boolean,
$manualDeactivation: Boolean,
$preserveExistingRelations: Boolean,
$relations: RuleRelationInput!,
$sendNotificationsTo: [RuleNotificationRelationInput],
$serviceIds: [HashedId],
$source: RuleSource!,
$title: TranslationInput
) {
updateRule(
assetBlacklistIds: $assetBlacklistIds,
assetIds: $assetIds,
assetTypeIds: $assetTypeIds,
assignedToGroupId: $assignedToGroupId,
definition: $definition,
description: $description,
eventType: $eventType,
eventsConfigs: $eventsConfigs,
id: $id,
isActive: $isActive,
isCheckAllowedForUnauthorizedUsers: $isCheckAllowedForUnauthorizedUsers,
isCritical: $isCritical,
isGlobalRule: $isGlobalRule,
isImmediateNotification: $isImmediateNotification,
isOneshot: $isOneshot,
isOnetime: $isOnetime,
manualDeactivation: $manualDeactivation,
preserveExistingRelations: $preserveExistingRelations,
relations: $relations,
sendNotificationsTo: $sendNotificationsTo,
serviceIds: $serviceIds,
source: $source,
title: $title
) {
assetBlacklist {
...AssetFragment
}
assignedToGroup {
...GroupFragment
}
assignedToGroupId
checkAssetsPaginated {
...PaginatedRuleCheckAssetsFragment
}
created
createdByGroup {
...GroupFragment
}
createdByGroupId
createdByUser {
...UserFragment
}
createdByUserId
definition
description {
...TranslationFragment
}
descriptionId
enabled
eventStyle {
...EventStyleFragment
}
eventStyleId
eventType
eventsConfigs {
...EventConfigFragment
}
id
isActive
isArchived
isCheckAllowedForUnauthorizedUsers
isCritical
isGlobalRule
isImmediateNotification
isOneshot
isOnetime
manualDeactivation
publicId
purpose
relations {
...RuleRelationFragment
}
relationsV2 {
...RuleRelationFragment
}
sendNotificationsTo {
...RuleNotificationRelationFragment
}
services {
...ServiceFragment
}
servicesV2 {
...ServiceFragment
}
source
title {
...TranslationFragment
}
titleId
updated
}
}
Variables
{
"assetBlacklistIds": [HashedId],
"assetIds": [HashedId],
"assetTypeIds": [HashedId],
"assignedToGroupId": HashedId,
"definition": {},
"description": TranslationInput,
"eventType": "COST",
"eventsConfigs": [EventConfigInput],
"id": HashedId,
"isActive": true,
"isCheckAllowedForUnauthorizedUsers": true,
"isCritical": false,
"isGlobalRule": false,
"isImmediateNotification": true,
"isOneshot": true,
"isOnetime": true,
"manualDeactivation": false,
"preserveExistingRelations": false,
"relations": RuleRelationInput,
"sendNotificationsTo": [RuleNotificationRelationInput],
"serviceIds": [HashedId],
"source": "BLE",
"title": TranslationInput
}
Response
{
"data": {
"updateRule": {
"assetBlacklist": [Asset],
"assignedToGroup": Group,
"assignedToGroupId": HashedId,
"checkAssetsPaginated": PaginatedRuleCheckAssets,
"created": 1592577642,
"createdByGroup": Group,
"createdByGroupId": HashedId,
"createdByUser": User,
"createdByUserId": HashedId,
"definition": {},
"description": Translation,
"descriptionId": HashedId,
"enabled": true,
"eventStyle": EventStyle,
"eventStyleId": HashedId,
"eventType": "COST",
"eventsConfigs": [EventConfig],
"id": HashedId,
"isActive": false,
"isArchived": true,
"isCheckAllowedForUnauthorizedUsers": false,
"isCritical": true,
"isGlobalRule": false,
"isImmediateNotification": true,
"isOneshot": true,
"isOnetime": true,
"manualDeactivation": true,
"publicId": "abc123",
"purpose": "GEOFENCE",
"relations": [RuleRelation],
"relationsV2": [RuleRelation],
"sendNotificationsTo": [RuleNotificationRelation],
"services": [Service],
"servicesV2": [Service],
"source": "BLE",
"title": Translation,
"titleId": HashedId,
"updated": 1592577642
}
}
}
updateRuleAddCheck
Description
Add check assets to an existing automation rule
Response
Returns a Rule!
Arguments
| Name | Description |
|---|---|
eventsConfigs - [EventConfigInput]
|
Per-asset scheduling configurations for the added check assets |
id - HashedId!
|
Unique identifier of the entity |
relations - RuleRelationInput!
|
Asset type and asset associations to update |
Example
Query
mutation updateRuleAddCheck(
$eventsConfigs: [EventConfigInput],
$id: HashedId!,
$relations: RuleRelationInput!
) {
updateRuleAddCheck(
eventsConfigs: $eventsConfigs,
id: $id,
relations: $relations
) {
assetBlacklist {
...AssetFragment
}
assignedToGroup {
...GroupFragment
}
assignedToGroupId
checkAssetsPaginated {
...PaginatedRuleCheckAssetsFragment
}
created
createdByGroup {
...GroupFragment
}
createdByGroupId
createdByUser {
...UserFragment
}
createdByUserId
definition
description {
...TranslationFragment
}
descriptionId
enabled
eventStyle {
...EventStyleFragment
}
eventStyleId
eventType
eventsConfigs {
...EventConfigFragment
}
id
isActive
isArchived
isCheckAllowedForUnauthorizedUsers
isCritical
isGlobalRule
isImmediateNotification
isOneshot
isOnetime
manualDeactivation
publicId
purpose
relations {
...RuleRelationFragment
}
relationsV2 {
...RuleRelationFragment
}
sendNotificationsTo {
...RuleNotificationRelationFragment
}
services {
...ServiceFragment
}
servicesV2 {
...ServiceFragment
}
source
title {
...TranslationFragment
}
titleId
updated
}
}
Variables
{
"eventsConfigs": [EventConfigInput],
"id": HashedId,
"relations": RuleRelationInput
}
Response
{
"data": {
"updateRuleAddCheck": {
"assetBlacklist": [Asset],
"assignedToGroup": Group,
"assignedToGroupId": HashedId,
"checkAssetsPaginated": PaginatedRuleCheckAssets,
"created": 1592577642,
"createdByGroup": Group,
"createdByGroupId": HashedId,
"createdByUser": User,
"createdByUserId": HashedId,
"definition": {},
"description": Translation,
"descriptionId": HashedId,
"enabled": false,
"eventStyle": EventStyle,
"eventStyleId": HashedId,
"eventType": "COST",
"eventsConfigs": [EventConfig],
"id": HashedId,
"isActive": false,
"isArchived": true,
"isCheckAllowedForUnauthorizedUsers": true,
"isCritical": true,
"isGlobalRule": true,
"isImmediateNotification": true,
"isOneshot": false,
"isOnetime": true,
"manualDeactivation": false,
"publicId": "xyz789",
"purpose": "GEOFENCE",
"relations": [RuleRelation],
"relationsV2": [RuleRelation],
"sendNotificationsTo": [RuleNotificationRelation],
"services": [Service],
"servicesV2": [Service],
"source": "BLE",
"title": Translation,
"titleId": HashedId,
"updated": 1592577642
}
}
}
updateRuleEntry
Description
Update rule entry
Response
Returns a RuleEntry!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Unique identifier of the entity |
input - RuleEntryUpdateInput!
|
Example
Query
mutation updateRuleEntry(
$id: HashedId!,
$input: RuleEntryUpdateInput!
) {
updateRuleEntry(
id: $id,
input: $input
) {
activatedAt
assetCount
assetFilters {
...FiltersFragment
}
assetGroup {
...GroupFragment
}
assetGroupId
created
createdByGroup {
...GroupFragment
}
createdByGroupId
createdByUser {
...UserFragment
}
createdByUserId
description {
...TranslationFragment
}
firstCheckMode
geofenceSite {
...SiteFragment
}
geofenceSiteId
group {
...GroupFragment
}
groupId
hasNotification
hasNotificationCritical
hasNotificationEmail
hasNotificationImmediate
hasNotificationOnNewAsset
hasNotificationPush
hasNotificationTimingBeforeDue
hasNotificationTimingWhenDue
id
isAssetAssignNew
isAssetTriggerForCustomers
isAssetVehicle
isCheckAllowedForUnauthorizedUsers
isForAllAssets
isManualOnly
isScheduleFixed
isScheduleManualDeactivation
isSkipOverdueEnabled
manuallyAddedAssets {
...AssetFragment
}
materializedAt
name {
...TranslationFragment
}
notificationRecipients {
...RuleEntryNotificationRecipientFragment
}
notificationTimings {
...RuleEntryNotificationTimingFragment
}
scheduleStartAt
scheduleStartPointCustomField {
...CustomFieldFragment
}
scheduleStartPointCustomFieldId
scheduleStartPointFallback
scheduleStartPointField
scheduleTriggers {
...RuleEntryScheduleTriggerFragment
}
site {
...SiteFragment
}
status
subType
type
updated
workingHoursAsset {
...AssetFragment
}
workingHoursAssetId
}
}
Variables
{
"id": HashedId,
"input": RuleEntryUpdateInput
}
Response
{
"data": {
"updateRuleEntry": {
"activatedAt": "2007-12-03T10:15:30Z",
"assetCount": 987,
"assetFilters": [Filters],
"assetGroup": Group,
"assetGroupId": HashedId,
"created": 1592577642,
"createdByGroup": Group,
"createdByGroupId": HashedId,
"createdByUser": User,
"createdByUserId": HashedId,
"description": Translation,
"firstCheckMode": "AFTER_INTERVAL",
"geofenceSite": Site,
"geofenceSiteId": HashedId,
"group": Group,
"groupId": HashedId,
"hasNotification": true,
"hasNotificationCritical": false,
"hasNotificationEmail": true,
"hasNotificationImmediate": true,
"hasNotificationOnNewAsset": true,
"hasNotificationPush": true,
"hasNotificationTimingBeforeDue": false,
"hasNotificationTimingWhenDue": false,
"id": HashedId,
"isAssetAssignNew": false,
"isAssetTriggerForCustomers": false,
"isAssetVehicle": false,
"isCheckAllowedForUnauthorizedUsers": false,
"isForAllAssets": true,
"isManualOnly": false,
"isScheduleFixed": true,
"isScheduleManualDeactivation": false,
"isSkipOverdueEnabled": false,
"manuallyAddedAssets": [Asset],
"materializedAt": "2007-12-03T10:15:30Z",
"name": Translation,
"notificationRecipients": [
RuleEntryNotificationRecipient
],
"notificationTimings": [
RuleEntryNotificationTiming
],
"scheduleStartAt": "2007-12-03T10:15:30Z",
"scheduleStartPointCustomField": CustomField,
"scheduleStartPointCustomFieldId": HashedId,
"scheduleStartPointFallback": "EXCLUDE",
"scheduleStartPointField": "COMMISSION_DATE",
"scheduleTriggers": [RuleEntryScheduleTrigger],
"site": Site,
"status": "ACTIVE",
"subType": "ERROR",
"type": "GEOFENCE",
"updated": 1592577642,
"workingHoursAsset": Asset,
"workingHoursAssetId": HashedId
}
}
}
updateRuleEntryAlertEventView
Description
Update an existing saved IoT alert rule entry event view
Response
Returns a RuleEntryEventView!
Arguments
| Name | Description |
|---|---|
view - RuleEntryEventViewUpdateInput!
|
View configuration data |
Example
Query
mutation updateRuleEntryAlertEventView($view: RuleEntryEventViewUpdateInput!) {
updateRuleEntryAlertEventView(view: $view) {
created
displayMode
forEntity
id
isActive
isDeletable
isEditable
isShareable
isShared
isSystemView
isUnsharedByParentGroup
options {
...RuleEntryEventViewOptionsFragment
}
title {
...TranslationFragment
}
titleId
updated
}
}
Variables
{"view": RuleEntryEventViewUpdateInput}
Response
{
"data": {
"updateRuleEntryAlertEventView": {
"created": 1592577642,
"displayMode": "GANTT",
"forEntity": "ASSET",
"id": HashedId,
"isActive": true,
"isDeletable": false,
"isEditable": true,
"isShareable": true,
"isShared": false,
"isSystemView": true,
"isUnsharedByParentGroup": true,
"options": RuleEntryEventViewOptions,
"title": Translation,
"titleId": HashedId,
"updated": 1592577642
}
}
}
updateRuleEntryEventView
Description
Update an existing saved rule entry event view
Response
Returns a RuleEntryEventView!
Arguments
| Name | Description |
|---|---|
view - RuleEntryEventViewUpdateInput!
|
View configuration data |
Example
Query
mutation updateRuleEntryEventView($view: RuleEntryEventViewUpdateInput!) {
updateRuleEntryEventView(view: $view) {
created
displayMode
forEntity
id
isActive
isDeletable
isEditable
isShareable
isShared
isSystemView
isUnsharedByParentGroup
options {
...RuleEntryEventViewOptionsFragment
}
title {
...TranslationFragment
}
titleId
updated
}
}
Variables
{"view": RuleEntryEventViewUpdateInput}
Response
{
"data": {
"updateRuleEntryEventView": {
"created": 1592577642,
"displayMode": "GANTT",
"forEntity": "ASSET",
"id": HashedId,
"isActive": false,
"isDeletable": true,
"isEditable": true,
"isShareable": true,
"isShared": true,
"isSystemView": true,
"isUnsharedByParentGroup": false,
"options": RuleEntryEventViewOptions,
"title": Translation,
"titleId": HashedId,
"updated": 1592577642
}
}
}
updateRuleEntryView
Description
Update an existing saved rule entry view
Response
Returns a RuleEntryView!
Arguments
| Name | Description |
|---|---|
view - RuleEntryViewUpdateInput!
|
View configuration data |
Example
Query
mutation updateRuleEntryView($view: RuleEntryViewUpdateInput!) {
updateRuleEntryView(view: $view) {
created
displayMode
forEntity
id
isActive
isDeletable
isEditable
isShareable
isShared
isSystemView
isUnsharedByParentGroup
options {
...RuleEntryViewOptionsFragment
}
title {
...TranslationFragment
}
titleId
updated
}
}
Variables
{"view": RuleEntryViewUpdateInput}
Response
{
"data": {
"updateRuleEntryView": {
"created": 1592577642,
"displayMode": "GANTT",
"forEntity": "ASSET",
"id": HashedId,
"isActive": false,
"isDeletable": false,
"isEditable": false,
"isShareable": false,
"isShared": false,
"isSystemView": false,
"isUnsharedByParentGroup": false,
"options": RuleEntryViewOptions,
"title": Translation,
"titleId": HashedId,
"updated": 1592577642
}
}
}
updateServicePackageById
Description
Update a service package by its ID
Response
Returns a ServicePackage!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Unique identifier of the entity |
input - ServicePackageUpdateInput!
|
Service package update fields |
Example
Query
mutation updateServicePackageById(
$id: HashedId!,
$input: ServicePackageUpdateInput!
) {
updateServicePackageById(
id: $id,
input: $input
) {
assignedGroupsCount
assignedSitesCount
canBeDeleted
created
createdByGroup {
...GroupFragment
}
createdByGroupId
createdByUser {
...UserFragment
}
createdByUserId
deleted
id
restrictionReason
services {
...ServiceFragment
}
title {
...TranslationFragment
}
titleId
updated
}
}
Variables
{
"id": HashedId,
"input": ServicePackageUpdateInput
}
Response
{
"data": {
"updateServicePackageById": {
"assignedGroupsCount": 987,
"assignedSitesCount": 123,
"canBeDeleted": true,
"created": 1592577642,
"createdByGroup": Group,
"createdByGroupId": HashedId,
"createdByUser": User,
"createdByUserId": HashedId,
"deleted": 1592577642,
"id": HashedId,
"restrictionReason": "NOT_IN_CUSTOMER_TREE",
"services": [Service],
"title": Translation,
"titleId": HashedId,
"updated": 1592577642
}
}
}
updateServices
Description
Bulk-update service configurations (restricted to ToolSense platform administrators)
Response
Returns [Service!]!
Arguments
| Name | Description |
|---|---|
services - [ServiceUpdateDeprecatedInput!]!
|
Associated services |
Example
Query
mutation updateServices($services: [ServiceUpdateDeprecatedInput!]!) {
updateServices(services: $services) {
afterApprovalAssignee
afterApprovalTeamId
afterApprovalUserId
askAiAssistantFirst
assigneeAutomation
assigneeAutomationId
availableHandlers {
...AvailableServiceHandlerDtoFragment
}
belongsToGroupTypeId
canBeDeleted
contentType
created
createdByGroup {
...GroupFragment
}
createdByGroupId
deleted
formId
iconUrl
id
isApprovalRequired
isServiceCheck
jotformId
jotformSource
keys
preset
procedureTemplate {
...ProcedureTemplateFragment
}
procedureTemplateId
publicId
publicProcedureTemplateId
rules {
...RuleFragment
}
servicePackage {
...ServicePackageFragment
}
servicePackages {
...ServicePackageFragment
}
servicePartner {
...AvailableHandlerFragment
}
serviceTags {
...ServiceTagFragment
}
suggestedServicePartner
ticketHandlers {
...ServiceTicketHandlerFragment
}
title {
...TranslationFragment
}
titleId
type
updated
}
}
Variables
{"services": [ServiceUpdateDeprecatedInput]}
Response
{
"data": {
"updateServices": [
{
"afterApprovalAssignee": "FIXED",
"afterApprovalTeamId": HashedId,
"afterApprovalUserId": HashedId,
"askAiAssistantFirst": false,
"assigneeAutomation": "AUTO_ASSIGN",
"assigneeAutomationId": 123,
"availableHandlers": [AvailableServiceHandlerDto],
"belongsToGroupTypeId": HashedId,
"canBeDeleted": true,
"contentType": "formHtml",
"created": 1592577642,
"createdByGroup": Group,
"createdByGroupId": HashedId,
"deleted": 1592577642,
"formId": "abc123",
"iconUrl": "xyz789",
"id": HashedId,
"isApprovalRequired": true,
"isServiceCheck": true,
"jotformId": "xyz789",
"jotformSource": "abc123",
"keys": ["xyz789"],
"preset": "BLE",
"procedureTemplate": ProcedureTemplate,
"procedureTemplateId": HashedId,
"publicId": 123,
"publicProcedureTemplateId": 987,
"rules": [Rule],
"servicePackage": ServicePackage,
"servicePackages": [ServicePackage],
"servicePartner": AvailableHandler,
"serviceTags": [ServiceTag],
"suggestedServicePartner": "abc123",
"ticketHandlers": [ServiceTicketHandler],
"title": Translation,
"titleId": HashedId,
"type": "JOT_FORM",
"updated": 1592577642
}
]
}
}
updateSite
Description
Update an existing site using the legacy flat input format
Response
Returns [Site!]
Arguments
| Name | Description |
|---|---|
accountNumber - String
|
Account number - arbitrary, for the Manufacturer to assign them their interal description |
address - String
|
Formatted address consisting of street and street number |
assignedToGroupId - HashedId
|
Group the record is assigned to |
coordinates - CoordinatesInput
|
Geographic latitude and longitude of the site |
country - String
|
Country where the site is located |
customerNumber - String
|
Customer number - arbitrary, for the Customer to manage their own Customers |
disableWebhooks - Boolean
|
When true, suppresses webhook notifications for this update |
externalId - String
|
An id that is referring to some external source. Like an ERP System or another external Task/Order management system This is not a unique identifier in our system. This is technically not feasible! |
geofenceNotification - [RuleNotificationRelationInput]
|
When a geofence event happens, send notifications to these entities |
geofenceSettings - JSON
|
Geofence settings, if set. See Rules schema for syntax. |
id - HashedId!
|
Unique identifier of the entity |
isFixed - Boolean!
|
Specifies if the site is tied to a fixed location - like a building. Not fixed locations could be a moving vehicle or a team. |
locationText - String
|
Human-readable location description such as floor or building wing |
name - String!
|
The name of the a site. This is usualy not a clear identifier. Examples of site names would be:
|
note - String
|
Free-text notes or additional remarks about this site |
postalCode - String
|
Postal or ZIP code of the site address |
Example
Query
mutation updateSite(
$accountNumber: String,
$address: String,
$assignedToGroupId: HashedId,
$coordinates: CoordinatesInput,
$country: String,
$customerNumber: String,
$disableWebhooks: Boolean,
$externalId: String,
$geofenceNotification: [RuleNotificationRelationInput],
$geofenceSettings: JSON,
$id: HashedId!,
$isFixed: Boolean!,
$locationText: String,
$name: String!,
$note: String,
$postalCode: String
) {
updateSite(
accountNumber: $accountNumber,
address: $address,
assignedToGroupId: $assignedToGroupId,
coordinates: $coordinates,
country: $country,
customerNumber: $customerNumber,
disableWebhooks: $disableWebhooks,
externalId: $externalId,
geofenceNotification: $geofenceNotification,
geofenceSettings: $geofenceSettings,
id: $id,
isFixed: $isFixed,
locationText: $locationText,
name: $name,
note: $note,
postalCode: $postalCode
) {
accountNumber
address
assetsCount
assignedToGroup {
...GroupFragment
}
assignedToGroupId
containsAssetsToModifyByGroup
coordinates {
...CoordinatesFragment
}
costCenter
country
created
createdByGroup {
...GroupFragment
}
createdByGroupId
customerNumber
deleted
deletedBy
deletedSitesCount
email
events {
...EventFragment
}
externalId
geofenceNotification {
...RuleNotificationRelationFragment
}
geofenceSettings
groupTreeRootId
id
image
isFixed
lat
lng
locationText
name
note
parentSite {
...SiteFragment
}
parentSiteId
postalCode
publicId
qrAttached
restoreBlockers
servicePackage {
...ServicePackageFragment
}
servicePackageId
shouldInheritGeofenceSettings
shouldInheritManagerDetails
shouldInheritServicePackage
siteManagerName
siteManagers {
...SiteManagerFragment
}
siteType {
...SiteTypeFragment
}
siteTypeId
telephone
updated
uuid
}
}
Variables
{
"accountNumber": "abc123",
"address": "xyz789",
"assignedToGroupId": HashedId,
"coordinates": CoordinatesInput,
"country": "abc123",
"customerNumber": "xyz789",
"disableWebhooks": true,
"externalId": "xyz789",
"geofenceNotification": [RuleNotificationRelationInput],
"geofenceSettings": {},
"id": HashedId,
"isFixed": true,
"locationText": "abc123",
"name": "xyz789",
"note": "abc123",
"postalCode": "xyz789"
}
Response
{
"data": {
"updateSite": [
{
"accountNumber": "xyz789",
"address": "abc123",
"assetsCount": 987,
"assignedToGroup": Group,
"assignedToGroupId": HashedId,
"containsAssetsToModifyByGroup": false,
"coordinates": Coordinates,
"costCenter": "xyz789",
"country": "abc123",
"created": 1592577642,
"createdByGroup": Group,
"createdByGroupId": HashedId,
"customerNumber": "xyz789",
"deleted": 1592577642,
"deletedBy": "xyz789",
"deletedSitesCount": 123,
"email": "xyz789",
"events": [Event],
"externalId": "abc123",
"geofenceNotification": [
RuleNotificationRelation
],
"geofenceSettings": {},
"groupTreeRootId": HashedId,
"id": HashedId,
"image": "xyz789",
"isFixed": true,
"lat": "abc123",
"lng": "abc123",
"locationText": "xyz789",
"name": "abc123",
"note": "xyz789",
"parentSite": Site,
"parentSiteId": HashedId,
"postalCode": "abc123",
"publicId": 987,
"qrAttached": false,
"restoreBlockers": ["PARENT_ASSET_CATEGORY_DELETED"],
"servicePackage": ServicePackage,
"servicePackageId": HashedId,
"shouldInheritGeofenceSettings": true,
"shouldInheritManagerDetails": false,
"shouldInheritServicePackage": false,
"siteManagerName": "xyz789",
"siteManagers": [SiteManager],
"siteType": SiteType,
"siteTypeId": HashedId,
"telephone": "abc123",
"updated": 1592577642,
"uuid": "xyz789"
}
]
}
}
updateSiteImage
Description
Upload or replace the photo associated with a site
Response
Returns a Site!
Example
Query
mutation updateSiteImage(
$file: Upload!,
$siteId: HashedId!
) {
updateSiteImage(
file: $file,
siteId: $siteId
) {
accountNumber
address
assetsCount
assignedToGroup {
...GroupFragment
}
assignedToGroupId
containsAssetsToModifyByGroup
coordinates {
...CoordinatesFragment
}
costCenter
country
created
createdByGroup {
...GroupFragment
}
createdByGroupId
customerNumber
deleted
deletedBy
deletedSitesCount
email
events {
...EventFragment
}
externalId
geofenceNotification {
...RuleNotificationRelationFragment
}
geofenceSettings
groupTreeRootId
id
image
isFixed
lat
lng
locationText
name
note
parentSite {
...SiteFragment
}
parentSiteId
postalCode
publicId
qrAttached
restoreBlockers
servicePackage {
...ServicePackageFragment
}
servicePackageId
shouldInheritGeofenceSettings
shouldInheritManagerDetails
shouldInheritServicePackage
siteManagerName
siteManagers {
...SiteManagerFragment
}
siteType {
...SiteTypeFragment
}
siteTypeId
telephone
updated
uuid
}
}
Variables
{"file": Upload, "siteId": HashedId}
Response
{
"data": {
"updateSiteImage": {
"accountNumber": "xyz789",
"address": "abc123",
"assetsCount": 123,
"assignedToGroup": Group,
"assignedToGroupId": HashedId,
"containsAssetsToModifyByGroup": false,
"coordinates": Coordinates,
"costCenter": "xyz789",
"country": "abc123",
"created": 1592577642,
"createdByGroup": Group,
"createdByGroupId": HashedId,
"customerNumber": "xyz789",
"deleted": 1592577642,
"deletedBy": "xyz789",
"deletedSitesCount": 123,
"email": "xyz789",
"events": [Event],
"externalId": "xyz789",
"geofenceNotification": [RuleNotificationRelation],
"geofenceSettings": {},
"groupTreeRootId": HashedId,
"id": HashedId,
"image": "abc123",
"isFixed": true,
"lat": "abc123",
"lng": "xyz789",
"locationText": "abc123",
"name": "xyz789",
"note": "abc123",
"parentSite": Site,
"parentSiteId": HashedId,
"postalCode": "xyz789",
"publicId": 123,
"qrAttached": true,
"restoreBlockers": ["PARENT_ASSET_CATEGORY_DELETED"],
"servicePackage": ServicePackage,
"servicePackageId": HashedId,
"shouldInheritGeofenceSettings": true,
"shouldInheritManagerDetails": true,
"shouldInheritServicePackage": true,
"siteManagerName": "abc123",
"siteManagers": [SiteManager],
"siteType": SiteType,
"siteTypeId": HashedId,
"telephone": "abc123",
"updated": 1592577642,
"uuid": "abc123"
}
}
}
updateSiteV2
Description
Update an existing site with structured input
Response
Returns a Site
Arguments
| Name | Description |
|---|---|
optionsInput - SiteUpdateOptionsInput
|
Additional options like group assignment, webhooks, and managers |
siteInput - SiteUpdateInput!
|
Core site fields to update such as name, address, and location |
Example
Query
mutation updateSiteV2(
$optionsInput: SiteUpdateOptionsInput,
$siteInput: SiteUpdateInput!
) {
updateSiteV2(
optionsInput: $optionsInput,
siteInput: $siteInput
) {
accountNumber
address
assetsCount
assignedToGroup {
...GroupFragment
}
assignedToGroupId
containsAssetsToModifyByGroup
coordinates {
...CoordinatesFragment
}
costCenter
country
created
createdByGroup {
...GroupFragment
}
createdByGroupId
customerNumber
deleted
deletedBy
deletedSitesCount
email
events {
...EventFragment
}
externalId
geofenceNotification {
...RuleNotificationRelationFragment
}
geofenceSettings
groupTreeRootId
id
image
isFixed
lat
lng
locationText
name
note
parentSite {
...SiteFragment
}
parentSiteId
postalCode
publicId
qrAttached
restoreBlockers
servicePackage {
...ServicePackageFragment
}
servicePackageId
shouldInheritGeofenceSettings
shouldInheritManagerDetails
shouldInheritServicePackage
siteManagerName
siteManagers {
...SiteManagerFragment
}
siteType {
...SiteTypeFragment
}
siteTypeId
telephone
updated
uuid
}
}
Variables
{
"optionsInput": SiteUpdateOptionsInput,
"siteInput": SiteUpdateInput
}
Response
{
"data": {
"updateSiteV2": {
"accountNumber": "abc123",
"address": "abc123",
"assetsCount": 123,
"assignedToGroup": Group,
"assignedToGroupId": HashedId,
"containsAssetsToModifyByGroup": false,
"coordinates": Coordinates,
"costCenter": "abc123",
"country": "abc123",
"created": 1592577642,
"createdByGroup": Group,
"createdByGroupId": HashedId,
"customerNumber": "abc123",
"deleted": 1592577642,
"deletedBy": "xyz789",
"deletedSitesCount": 123,
"email": "xyz789",
"events": [Event],
"externalId": "abc123",
"geofenceNotification": [RuleNotificationRelation],
"geofenceSettings": {},
"groupTreeRootId": HashedId,
"id": HashedId,
"image": "abc123",
"isFixed": true,
"lat": "abc123",
"lng": "abc123",
"locationText": "xyz789",
"name": "abc123",
"note": "abc123",
"parentSite": Site,
"parentSiteId": HashedId,
"postalCode": "xyz789",
"publicId": 987,
"qrAttached": true,
"restoreBlockers": ["PARENT_ASSET_CATEGORY_DELETED"],
"servicePackage": ServicePackage,
"servicePackageId": HashedId,
"shouldInheritGeofenceSettings": true,
"shouldInheritManagerDetails": true,
"shouldInheritServicePackage": true,
"siteManagerName": "abc123",
"siteManagers": [SiteManager],
"siteType": SiteType,
"siteTypeId": HashedId,
"telephone": "xyz789",
"updated": 1592577642,
"uuid": "abc123"
}
}
}
updateStateByTicketId
Description
Transition ticket workflow status, returns boolean
Response
Returns a Boolean!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Unique identifier of the entity |
input - TicketStateUpdateInput!
|
New status values to apply to the ticket |
Example
Query
mutation updateStateByTicketId(
$id: HashedId!,
$input: TicketStateUpdateInput!
) {
updateStateByTicketId(
id: $id,
input: $input
)
}
Variables
{
"id": HashedId,
"input": TicketStateUpdateInput
}
Response
{"data": {"updateStateByTicketId": true}}
updateStateByTicketIdV2
Description
Transition ticket workflow status and return updated ticket
Response
Returns a Ticket!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Unique identifier of the entity |
input - TicketStateUpdateInput!
|
New status values to apply to the ticket |
Example
Query
mutation updateStateByTicketIdV2(
$id: HashedId!,
$input: TicketStateUpdateInput!
) {
updateStateByTicketIdV2(
id: $id,
input: $input
) {
activityEvents {
... on TicketApprovalUpdate {
...TicketApprovalUpdateFragment
}
... on TicketAssetAvailabilityUpdate {
...TicketAssetAvailabilityUpdateFragment
}
... on TicketAssetCheckComplete {
...TicketAssetCheckCompleteFragment
}
... on TicketAssetSiteUpdate {
...TicketAssetSiteUpdateFragment
}
... on TicketAutomationEmailSent {
...TicketAutomationEmailSentFragment
}
... on TicketHandlerUpdate {
...TicketHandlerUpdateFragment
}
... on TicketTagsUpdate {
...TicketTagsUpdateFragment
}
... on TicketUrgencyUpdate {
...TicketUrgencyUpdateFragment
}
}
approvers {
...TicketApproverFragment
}
assetPackages {
...AssetPackageFragment
}
assignee {
...ProcessHandlerFragment
}
associatedAssetCategories {
...AssetCategoryFragment
}
associatedAssetTypes {
...AssetTypeFragment
}
associatedAssets {
...AssetFragment
}
associatedSites {
...SiteFragment
}
automationDetails {
...TicketAutomationDetailsFragment
}
batteryCosts
canEdit
canEditTags
certificationCosts
checkEvent {
...EventFragment
}
checkEventId
comments {
...TicketCommentFragment
}
consumablesCosts
content
costLines {
...CostLineFragment
}
costs {
...CostFragment
}
created
createdByGroup {
...GroupFragment
}
createdByGroupId
createdByUser {
...UserFragment
}
createdByUserId
createdFrom
creatingSyncedOn
currentState {
...TicketCurrentStateFragment
}
customFieldColumns {
...CustomFieldFragment
}
deleted
documents {
...DocumentFragment
}
externalEmailHandlers {
...TicketHandlerExternalEmailFragment
}
fuelCosts
groupHandlers {
...TicketHandlerGroupFragment
}
groupTicketHandlerHandlers {
...TicketHandlerGroupTicketHandlerFragment
}
history {
...TicketHistoryFragment
}
id
insuranceTaxesCosts
isStatusUpdatedAutomatically
isTicketApproversEnabled
laborCosts
lastActivityAt
lastStatusChange
logisticsCosts
notifications {
...NotificationFilterFragment
}
otherCosts
partsUsed {
...TicketPartUsageFragment
}
pdfCertificateLink {
...DocumentFragment
}
procedureInstance {
...ProcedureInstanceFragment
}
procedureInstanceId
publicId
repairCosts
reporterName
reservation {
...ReservationFragment
}
reservationDisplayId
reservationId
responsibles {
...ProcessHandlerFragment
}
ruleEntryEvent {
...RuleEntryEventFragment
}
service {
...ServiceFragment
}
serviceId
serviceResponseId
siteManagerHandler {
...TicketHandlerSiteManagerFragment
}
sparePartsCosts
status
statusUpdatedAt
statusUpdatedByUser {
...UserFragment
}
statusUpdatedByUserId
tags {
...TagFragment
}
teamHandlers {
...TicketHandlerTeamFragment
}
ticketComments {
...TicketCommentFragment
}
ticketContent {
...TicketContentFieldFragment
}
ticketId
ticketTimeline {
...TicketTimelineFragment
}
title {
...TranslationFragment
}
titleId
totalCosts
totalPartsCost
updated
urgency
userHandlers {
...TicketHandlerUserFragment
}
uuid
workOrders {
...WorkOrderV2Fragment
}
}
}
Variables
{
"id": HashedId,
"input": TicketStateUpdateInput
}
Response
{
"data": {
"updateStateByTicketIdV2": {
"activityEvents": [TicketApprovalUpdate],
"approvers": [TicketApprover],
"assetPackages": [AssetPackage],
"assignee": ProcessHandler,
"associatedAssetCategories": [AssetCategory],
"associatedAssetTypes": [AssetType],
"associatedAssets": [Asset],
"associatedSites": [Site],
"automationDetails": TicketAutomationDetails,
"batteryCosts": "abc123",
"canEdit": false,
"canEditTags": true,
"certificationCosts": "xyz789",
"checkEvent": Event,
"checkEventId": HashedId,
"comments": [TicketComment],
"consumablesCosts": "abc123",
"content": {},
"costLines": [CostLine],
"costs": [Cost],
"created": 1592577642,
"createdByGroup": Group,
"createdByGroupId": HashedId,
"createdByUser": User,
"createdByUserId": HashedId,
"createdFrom": "ASSET_SERVICE",
"creatingSyncedOn": 1592577642,
"currentState": TicketCurrentState,
"customFieldColumns": [CustomField],
"deleted": 1592577642,
"documents": [Document],
"externalEmailHandlers": [
TicketHandlerExternalEmail
],
"fuelCosts": "xyz789",
"groupHandlers": [TicketHandlerGroup],
"groupTicketHandlerHandlers": [
TicketHandlerGroupTicketHandler
],
"history": [TicketHistory],
"id": HashedId,
"insuranceTaxesCosts": "xyz789",
"isStatusUpdatedAutomatically": false,
"isTicketApproversEnabled": true,
"laborCosts": "abc123",
"lastActivityAt": 1592577642,
"lastStatusChange": 1592577642,
"logisticsCosts": "xyz789",
"notifications": NotificationFilter,
"otherCosts": "xyz789",
"partsUsed": [TicketPartUsage],
"pdfCertificateLink": Document,
"procedureInstance": ProcedureInstance,
"procedureInstanceId": HashedId,
"publicId": 123,
"repairCosts": "abc123",
"reporterName": "abc123",
"reservation": Reservation,
"reservationDisplayId": 987,
"reservationId": HashedId,
"responsibles": [ProcessHandler],
"ruleEntryEvent": RuleEntryEvent,
"service": Service,
"serviceId": HashedId,
"serviceResponseId": HashedId,
"siteManagerHandler": TicketHandlerSiteManager,
"sparePartsCosts": "abc123",
"status": "approvalNeeded",
"statusUpdatedAt": 1592577642,
"statusUpdatedByUser": User,
"statusUpdatedByUserId": HashedId,
"tags": [Tag],
"teamHandlers": [TicketHandlerTeam],
"ticketComments": [TicketComment],
"ticketContent": [TicketContentField],
"ticketId": 987,
"ticketTimeline": TicketTimeline,
"title": Translation,
"titleId": HashedId,
"totalCosts": "xyz789",
"totalPartsCost": 987.65,
"updated": 1592577642,
"urgency": "CRITICAL",
"userHandlers": [TicketHandlerUser],
"uuid": "abc123",
"workOrders": [WorkOrderV2]
}
}
}
updateStatusByWorkOrderId
Description
Update work order status by ID
Response
Returns a WorkOrderV2!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Unique identifier of the entity |
input - WorkOrderStatusUpdateInput!
|
Input data containing the new work order status |
Example
Query
mutation updateStatusByWorkOrderId(
$id: HashedId!,
$input: WorkOrderStatusUpdateInput!
) {
updateStatusByWorkOrderId(
id: $id,
input: $input
) {
assetCollections {
...WorkOrderAssetCollectionFragment
}
assets {
...AssetFragment
}
assignee {
...WorkOrderPersonnelV2Fragment
}
comments {
...WorkOrderCommentFragment
}
costCenter
costs {
...WorkOrderCostFragment
}
created
createdByGroup {
...GroupFragment
}
createdByGroupId
creationDate
creator {
...UserFragment
}
creatorId
customerName
customerSignatures {
...WorkOrderCustomerSignatureFragment
}
dailyRate {
...WorkOrderCostFragment
}
deleted
description {
...TranslationFragment
}
endDate
externalEmailHandlers {
...WorkOrderHandlerExternalEmailFragment
}
followers {
...WorkOrderPersonnelV2Fragment
}
groupHandlers {
...WorkOrderHandlerGroupFragment
}
groupTicketHandlerHandlers {
...WorkOrderHandlerGroupTicketHandlerFragment
}
history {
...WorkOrderHistoryEntryFragment
}
historyV2 {
...WorkOrderHistoryFragment
}
id
linkedTickets {
...TicketFragment
}
locations {
...WorkOrderLocationFragment
}
name
notes {
...TranslationFragment
}
notesId
operatingCosts {
...CostFragment
}
partsUsed {
...TicketPartUsageFragment
}
personnel {
...WorkOrderCostFragment
}
personnelHandlers {
...WorkOrderHandlerPersonnelFragment
}
procedureTemplate {
...ProcedureTemplateFragment
}
procedureTemplateId
site {
...SiteFragment
}
siteId
siteManagerHandler {
...WorkOrderHandlerSiteManagerFragment
}
sourceTicket {
...TicketFragment
}
sourceTicketId
startDate
status
teamHandlers {
...WorkOrderHandlerTeamFragment
}
timeEntries {
...WorkOrderTimeEntryFragment
}
timeEntriesSummary {
...WorkOrderTimeEntrySummaryFragment
}
title {
...TranslationFragment
}
totalPartsCost
updated
userHandlers {
...WorkOrderHandlerUserFragment
}
workOrderNumber
workers {
...WorkOrderPersonnelV2Fragment
}
}
}
Variables
{
"id": HashedId,
"input": WorkOrderStatusUpdateInput
}
Response
{
"data": {
"updateStatusByWorkOrderId": {
"assetCollections": [WorkOrderAssetCollection],
"assets": [Asset],
"assignee": WorkOrderPersonnelV2,
"comments": [WorkOrderComment],
"costCenter": "abc123",
"costs": [WorkOrderCost],
"created": 1592577642,
"createdByGroup": Group,
"createdByGroupId": HashedId,
"creationDate": "2007-12-03T10:15:30Z",
"creator": User,
"creatorId": HashedId,
"customerName": "xyz789",
"customerSignatures": [WorkOrderCustomerSignature],
"dailyRate": WorkOrderCost,
"deleted": 1592577642,
"description": Translation,
"endDate": "2007-12-03T10:15:30Z",
"externalEmailHandlers": [
WorkOrderHandlerExternalEmail
],
"followers": [WorkOrderPersonnelV2],
"groupHandlers": [WorkOrderHandlerGroup],
"groupTicketHandlerHandlers": [
WorkOrderHandlerGroupTicketHandler
],
"history": [WorkOrderHistoryEntry],
"historyV2": [WorkOrderHistory],
"id": HashedId,
"linkedTickets": [Ticket],
"locations": [WorkOrderLocation],
"name": "xyz789",
"notes": Translation,
"notesId": HashedId,
"operatingCosts": [Cost],
"partsUsed": [TicketPartUsage],
"personnel": [WorkOrderCost],
"personnelHandlers": [WorkOrderHandlerPersonnel],
"procedureTemplate": ProcedureTemplate,
"procedureTemplateId": HashedId,
"site": Site,
"siteId": HashedId,
"siteManagerHandler": WorkOrderHandlerSiteManager,
"sourceTicket": Ticket,
"sourceTicketId": HashedId,
"startDate": "2007-12-03T10:15:30Z",
"status": "CANCELLED",
"teamHandlers": [WorkOrderHandlerTeam],
"timeEntries": [WorkOrderTimeEntry],
"timeEntriesSummary": WorkOrderTimeEntrySummary,
"title": Translation,
"totalPartsCost": 123.45,
"updated": 1592577642,
"userHandlers": [WorkOrderHandlerUser],
"workOrderNumber": 123,
"workers": [WorkOrderPersonnelV2]
}
}
}
updateTeamById
Description
Update team details by its ID
Response
Returns a Team!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Unique identifier of the entity |
input - TeamUpdateInput!
|
Team update fields |
Example
Query
mutation updateTeamById(
$id: HashedId!,
$input: TeamUpdateInput!
) {
updateTeamById(
id: $id,
input: $input
) {
assignedToActiveTicketIds
created
createdByGroup {
...GroupFragment
}
createdByGroupId
createdByUser {
...UserFragment
}
createdByUserId
deleted
group {
...GroupFragment
}
groupId
id
members {
...TeamMemberFragment
}
name {
...TranslationFragment
}
nameId
publicId
servicePackages {
... on RestrictedServicePackage {
...RestrictedServicePackageFragment
}
... on ServicePackage {
...ServicePackageFragment
}
}
updated
}
}
Variables
{
"id": HashedId,
"input": TeamUpdateInput
}
Response
{
"data": {
"updateTeamById": {
"assignedToActiveTicketIds": [987],
"created": 1592577642,
"createdByGroup": Group,
"createdByGroupId": HashedId,
"createdByUser": User,
"createdByUserId": HashedId,
"deleted": 1592577642,
"group": Group,
"groupId": HashedId,
"id": HashedId,
"members": [TeamMember],
"name": Translation,
"nameId": HashedId,
"publicId": 987,
"servicePackages": [RestrictedServicePackage],
"updated": 1592577642
}
}
}
updateTeamServicePackages
Description
Update team service packages
Response
Returns [HashedId!]!
Arguments
| Name | Description |
|---|---|
servicePackageIds - [HashedId!]!
|
Service package identifiers |
teamId - HashedId!
|
Team identifier |
Example
Query
mutation updateTeamServicePackages(
$servicePackageIds: [HashedId!]!,
$teamId: HashedId!
) {
updateTeamServicePackages(
servicePackageIds: $servicePackageIds,
teamId: $teamId
)
}
Variables
{
"servicePackageIds": [HashedId],
"teamId": HashedId
}
Response
{"data": {"updateTeamServicePackages": [HashedId]}}
updateTerms
Description
Update an existing terms and conditions document
Response
Returns a Terms!
Arguments
| Name | Description |
|---|---|
content - TranslationInput
|
Content body or payload |
id - HashedId!
|
Unique identifier of the entity |
title - TranslationInput
|
Title text |
Example
Query
mutation updateTerms(
$content: TranslationInput,
$id: HashedId!,
$title: TranslationInput
) {
updateTerms(
content: $content,
id: $id,
title: $title
) {
content {
...TranslationFragment
}
contentId
created
id
isActive
title {
...TranslationFragment
}
titleId
updated
version
versions {
...TermsHasVersionFragment
}
}
}
Variables
{
"content": TranslationInput,
"id": HashedId,
"title": TranslationInput
}
Response
{
"data": {
"updateTerms": {
"content": Translation,
"contentId": HashedId,
"created": 1592577642,
"id": HashedId,
"isActive": true,
"title": Translation,
"titleId": HashedId,
"updated": 1592577642,
"version": 123,
"versions": [TermsHasVersion]
}
}
}
updateTicketComment
Description
Edit a ticket comment using legacy format
Response
Returns a TicketComment!
Arguments
| Name | Description |
|---|---|
attachments - [Upload!]
|
Files attached to the comment |
changedCosts - [ChangedCostInput!]
|
Existing cost entries to modify |
content - String
|
Updated comment message text |
costsIdsToDelete - [HashedId!]
|
Cost entries to remove |
disableWebhooks - Boolean
|
Whether to skip webhook notifications for this operation. Default = false |
documentsIdsToDelete - [HashedId!]
|
Attached documents to remove |
event - UpdateCommentEventInput
|
Cost event linked to this comment |
id - HashedId!
|
Unique identifier of the entity |
newCosts - [NewCostInput!]
|
New cost entries to add |
Example
Query
mutation updateTicketComment(
$attachments: [Upload!],
$changedCosts: [ChangedCostInput!],
$content: String,
$costsIdsToDelete: [HashedId!],
$disableWebhooks: Boolean,
$documentsIdsToDelete: [HashedId!],
$event: UpdateCommentEventInput,
$id: HashedId!,
$newCosts: [NewCostInput!]
) {
updateTicketComment(
attachments: $attachments,
changedCosts: $changedCosts,
content: $content,
costsIdsToDelete: $costsIdsToDelete,
disableWebhooks: $disableWebhooks,
documentsIdsToDelete: $documentsIdsToDelete,
event: $event,
id: $id,
newCosts: $newCosts
) {
attachments {
...DocumentFragment
}
authorEmail
connectedEvent {
...EventFragment
}
connectedEventId
content {
...TicketCommentContentFragment
}
costs {
...CostLineFragment
}
created
createdByUser {
...TicketUserFragment
}
createdByUserId
deleted
history {
...TicketCommentContentFragment
}
id
internal
isAutomated
itemsEvent {
...TicketItemsChangeFragment
}
stateEvent {
...TicketStateFragment
}
ticketHistory {
...TicketHistoryFragment
}
ticketId
ticketStatus
updated
}
}
Variables
{
"attachments": [Upload],
"changedCosts": [ChangedCostInput],
"content": "xyz789",
"costsIdsToDelete": [HashedId],
"disableWebhooks": false,
"documentsIdsToDelete": [HashedId],
"event": UpdateCommentEventInput,
"id": HashedId,
"newCosts": [NewCostInput]
}
Response
{
"data": {
"updateTicketComment": {
"attachments": [Document],
"authorEmail": "xyz789",
"connectedEvent": Event,
"connectedEventId": HashedId,
"content": TicketCommentContent,
"costs": [CostLine],
"created": 1592577642,
"createdByUser": TicketUser,
"createdByUserId": HashedId,
"deleted": 1592577642,
"history": [TicketCommentContent],
"id": HashedId,
"internal": false,
"isAutomated": true,
"itemsEvent": TicketItemsChange,
"stateEvent": TicketState,
"ticketHistory": TicketHistory,
"ticketId": HashedId,
"ticketStatus": "approvalNeeded",
"updated": 1592577642
}
}
}
updateTicketCommentById
Description
Edit an existing ticket comment by its ID
Response
Returns a TicketComment!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Unique identifier of the entity |
input - TicketCommentUpdateInput!
|
Updated content for an existing ticket comment |
Example
Query
mutation updateTicketCommentById(
$id: HashedId!,
$input: TicketCommentUpdateInput!
) {
updateTicketCommentById(
id: $id,
input: $input
) {
attachments {
...DocumentFragment
}
authorEmail
connectedEvent {
...EventFragment
}
connectedEventId
content {
...TicketCommentContentFragment
}
costs {
...CostLineFragment
}
created
createdByUser {
...TicketUserFragment
}
createdByUserId
deleted
history {
...TicketCommentContentFragment
}
id
internal
isAutomated
itemsEvent {
...TicketItemsChangeFragment
}
stateEvent {
...TicketStateFragment
}
ticketHistory {
...TicketHistoryFragment
}
ticketId
ticketStatus
updated
}
}
Variables
{
"id": HashedId,
"input": TicketCommentUpdateInput
}
Response
{
"data": {
"updateTicketCommentById": {
"attachments": [Document],
"authorEmail": "abc123",
"connectedEvent": Event,
"connectedEventId": HashedId,
"content": TicketCommentContent,
"costs": [CostLine],
"created": 1592577642,
"createdByUser": TicketUser,
"createdByUserId": HashedId,
"deleted": 1592577642,
"history": [TicketCommentContent],
"id": HashedId,
"internal": true,
"isAutomated": true,
"itemsEvent": TicketItemsChange,
"stateEvent": TicketState,
"ticketHistory": TicketHistory,
"ticketId": HashedId,
"ticketStatus": "approvalNeeded",
"updated": 1592577642
}
}
}
updateTicketContentFieldDate
Description
Correct the date answer of a submitted ticket content field whose procedure component is editable in ticket
Response
Returns a TicketContentField!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Unique identifier of the entity |
input - TicketContentFieldDateUpdateInput!
|
Corrected date answer |
Example
Query
mutation updateTicketContentFieldDate(
$id: HashedId!,
$input: TicketContentFieldDateUpdateInput!
) {
updateTicketContentFieldDate(
id: $id,
input: $input
) {
assetCategories {
...AssetCategoryFragment
}
assetTypes {
...AssetTypeFragment
}
assets {
...AssetFragment
}
assignees {
...AvailableHandlerFragment
}
automations
checkedValue
children {
...TicketContentFieldFragment
}
choiceOptions {
...TicketContentFieldChoiceOptionFragment
}
choiceValue
comment
contentType
created
customFieldColumns {
...CustomFieldFragment
}
dateValue
description {
...TranslationFragment
}
descriptionId
documents {
...DocumentFragment
}
emails {
...TicketContentFieldEmailFragment
}
filters {
...FiltersFragment
}
id
includeTime
isChangeAllowed
isEditableInTicket
isHiddenInTicket
isReservationConstrained
issues {
...ReservationLineItemIssueFragment
}
location {
...AddressFragment
}
locationId
numberValue
numberValueDecimal
order
parentId
phone {
...PhoneFragment
}
phoneId
reservationLineItem {
...ReservationLineItemFragment
}
reservationLineItemId
sites {
...SiteFragment
}
suggestedAssignees {
...AvailableHandlerFragment
}
table {
...TicketContentFieldTableFragment
}
tableId
tags {
...TagFragment
}
textValue
ticketId
title {
...TranslationFragment
}
titleId
updated
uploadedDocuments {
...DocumentFragment
}
yesNoValue
}
}
Variables
{
"id": HashedId,
"input": TicketContentFieldDateUpdateInput
}
Response
{
"data": {
"updateTicketContentFieldDate": {
"assetCategories": [AssetCategory],
"assetTypes": [AssetType],
"assets": [Asset],
"assignees": [AvailableHandler],
"automations": 123,
"checkedValue": true,
"children": [TicketContentField],
"choiceOptions": [TicketContentFieldChoiceOption],
"choiceValue": "good",
"comment": "xyz789",
"contentType": "asset",
"created": 1592577642,
"customFieldColumns": [CustomField],
"dateValue": "2007-12-03T10:15:30Z",
"description": Translation,
"descriptionId": HashedId,
"documents": [Document],
"emails": [TicketContentFieldEmail],
"filters": [Filters],
"id": HashedId,
"includeTime": false,
"isChangeAllowed": true,
"isEditableInTicket": true,
"isHiddenInTicket": false,
"isReservationConstrained": true,
"issues": [ReservationLineItemIssue],
"location": Address,
"locationId": HashedId,
"numberValue": 123,
"numberValueDecimal": 123.45,
"order": 123,
"parentId": HashedId,
"phone": Phone,
"phoneId": HashedId,
"reservationLineItem": ReservationLineItem,
"reservationLineItemId": HashedId,
"sites": [Site],
"suggestedAssignees": [AvailableHandler],
"table": TicketContentFieldTable,
"tableId": HashedId,
"tags": [Tag],
"textValue": "abc123",
"ticketId": HashedId,
"title": Translation,
"titleId": HashedId,
"updated": 1592577642,
"uploadedDocuments": [Document],
"yesNoValue": "na"
}
}
}
updateTicketHandlerGroupTicketHandlerById
Description
Update a ticket handler group ticket handler by its ID
Response
Returns a TicketHandlerGroupTicketHandler!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Unique identifier of the entity |
input - TicketHandlerGroupTicketHandlerUpdateInput!
|
Ticket handler group ticket handler update fields |
Example
Query
mutation updateTicketHandlerGroupTicketHandlerById(
$id: HashedId!,
$input: TicketHandlerGroupTicketHandlerUpdateInput!
) {
updateTicketHandlerGroupTicketHandlerById(
id: $id,
input: $input
) {
created
groupTicketHandler {
...GroupTicketHandlerFragment
}
groupTicketHandlerId
id
isNotifiable
isRemovable
role
ticketId
updated
}
}
Variables
{
"id": HashedId,
"input": TicketHandlerGroupTicketHandlerUpdateInput
}
Response
{
"data": {
"updateTicketHandlerGroupTicketHandlerById": {
"created": 1592577642,
"groupTicketHandler": GroupTicketHandler,
"groupTicketHandlerId": HashedId,
"id": HashedId,
"isNotifiable": true,
"isRemovable": true,
"role": "ASSIGNEE",
"ticketId": HashedId,
"updated": 1592577642
}
}
}
updateTicketHandlerTeamById
Description
Update a ticket handler team assignment by its ID
Response
Returns a TicketHandlerTeam!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Unique identifier of the entity |
input - TicketHandlerTeamUpdateInput!
|
Ticket handler team update fields |
Example
Query
mutation updateTicketHandlerTeamById(
$id: HashedId!,
$input: TicketHandlerTeamUpdateInput!
) {
updateTicketHandlerTeamById(
id: $id,
input: $input
) {
created
id
isNotifiable
isRemovable
role
team {
...TeamFragment
}
teamId
ticketId
updated
}
}
Variables
{
"id": HashedId,
"input": TicketHandlerTeamUpdateInput
}
Response
{
"data": {
"updateTicketHandlerTeamById": {
"created": 1592577642,
"id": HashedId,
"isNotifiable": true,
"isRemovable": true,
"role": "ASSIGNEE",
"team": Team,
"teamId": HashedId,
"ticketId": HashedId,
"updated": 1592577642
}
}
}
updateTicketHandlerUserById
Description
Update a ticket handler user assignment by its ID
Response
Returns a TicketHandlerUser!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Unique identifier of the entity |
input - TicketHandlerUserUpdateInput!
|
Ticket handler user update fields |
Example
Query
mutation updateTicketHandlerUserById(
$id: HashedId!,
$input: TicketHandlerUserUpdateInput!
) {
updateTicketHandlerUserById(
id: $id,
input: $input
) {
created
id
isNotifiable
isRemovable
role
ticketId
updated
user {
...UserFragment
}
userId
}
}
Variables
{
"id": HashedId,
"input": TicketHandlerUserUpdateInput
}
Response
{
"data": {
"updateTicketHandlerUserById": {
"created": 1592577642,
"id": HashedId,
"isNotifiable": false,
"isRemovable": false,
"role": "ASSIGNEE",
"ticketId": HashedId,
"updated": 1592577642,
"user": User,
"userId": HashedId
}
}
}
updateTicketState
Description
Transition ticket workflow status using legacy format
Response
Returns a Boolean!
Arguments
| Name | Description |
|---|---|
assignCurrentUser - Boolean
|
Assign current user as handler on status change. Default = false |
attachments - [Upload!]
|
Files attached to the status change |
disableWebhooks - Boolean
|
Whether to skip webhook notifications for this operation. Default = false |
id - HashedId!
|
Unique identifier of the entity |
note - String
|
Explanation for the status change |
status - TicketStateEnum
|
New workflow status for the ticket |
Example
Query
mutation updateTicketState(
$assignCurrentUser: Boolean,
$attachments: [Upload!],
$disableWebhooks: Boolean,
$id: HashedId!,
$note: String,
$status: TicketStateEnum
) {
updateTicketState(
assignCurrentUser: $assignCurrentUser,
attachments: $attachments,
disableWebhooks: $disableWebhooks,
id: $id,
note: $note,
status: $status
)
}
Variables
{
"assignCurrentUser": false,
"attachments": [Upload],
"disableWebhooks": false,
"id": HashedId,
"note": "abc123",
"status": "approvalNeeded"
}
Response
{"data": {"updateTicketState": true}}
updateTicketTags
Description
Replace the set of tags on a ticket
Response
Returns a Ticket!
Arguments
| Name | Description |
|---|---|
input - TicketTagsUpdateInput!
|
Ticket tags update input |
Example
Query
mutation updateTicketTags($input: TicketTagsUpdateInput!) {
updateTicketTags(input: $input) {
activityEvents {
... on TicketApprovalUpdate {
...TicketApprovalUpdateFragment
}
... on TicketAssetAvailabilityUpdate {
...TicketAssetAvailabilityUpdateFragment
}
... on TicketAssetCheckComplete {
...TicketAssetCheckCompleteFragment
}
... on TicketAssetSiteUpdate {
...TicketAssetSiteUpdateFragment
}
... on TicketAutomationEmailSent {
...TicketAutomationEmailSentFragment
}
... on TicketHandlerUpdate {
...TicketHandlerUpdateFragment
}
... on TicketTagsUpdate {
...TicketTagsUpdateFragment
}
... on TicketUrgencyUpdate {
...TicketUrgencyUpdateFragment
}
}
approvers {
...TicketApproverFragment
}
assetPackages {
...AssetPackageFragment
}
assignee {
...ProcessHandlerFragment
}
associatedAssetCategories {
...AssetCategoryFragment
}
associatedAssetTypes {
...AssetTypeFragment
}
associatedAssets {
...AssetFragment
}
associatedSites {
...SiteFragment
}
automationDetails {
...TicketAutomationDetailsFragment
}
batteryCosts
canEdit
canEditTags
certificationCosts
checkEvent {
...EventFragment
}
checkEventId
comments {
...TicketCommentFragment
}
consumablesCosts
content
costLines {
...CostLineFragment
}
costs {
...CostFragment
}
created
createdByGroup {
...GroupFragment
}
createdByGroupId
createdByUser {
...UserFragment
}
createdByUserId
createdFrom
creatingSyncedOn
currentState {
...TicketCurrentStateFragment
}
customFieldColumns {
...CustomFieldFragment
}
deleted
documents {
...DocumentFragment
}
externalEmailHandlers {
...TicketHandlerExternalEmailFragment
}
fuelCosts
groupHandlers {
...TicketHandlerGroupFragment
}
groupTicketHandlerHandlers {
...TicketHandlerGroupTicketHandlerFragment
}
history {
...TicketHistoryFragment
}
id
insuranceTaxesCosts
isStatusUpdatedAutomatically
isTicketApproversEnabled
laborCosts
lastActivityAt
lastStatusChange
logisticsCosts
notifications {
...NotificationFilterFragment
}
otherCosts
partsUsed {
...TicketPartUsageFragment
}
pdfCertificateLink {
...DocumentFragment
}
procedureInstance {
...ProcedureInstanceFragment
}
procedureInstanceId
publicId
repairCosts
reporterName
reservation {
...ReservationFragment
}
reservationDisplayId
reservationId
responsibles {
...ProcessHandlerFragment
}
ruleEntryEvent {
...RuleEntryEventFragment
}
service {
...ServiceFragment
}
serviceId
serviceResponseId
siteManagerHandler {
...TicketHandlerSiteManagerFragment
}
sparePartsCosts
status
statusUpdatedAt
statusUpdatedByUser {
...UserFragment
}
statusUpdatedByUserId
tags {
...TagFragment
}
teamHandlers {
...TicketHandlerTeamFragment
}
ticketComments {
...TicketCommentFragment
}
ticketContent {
...TicketContentFieldFragment
}
ticketId
ticketTimeline {
...TicketTimelineFragment
}
title {
...TranslationFragment
}
titleId
totalCosts
totalPartsCost
updated
urgency
userHandlers {
...TicketHandlerUserFragment
}
uuid
workOrders {
...WorkOrderV2Fragment
}
}
}
Variables
{"input": TicketTagsUpdateInput}
Response
{
"data": {
"updateTicketTags": {
"activityEvents": [TicketApprovalUpdate],
"approvers": [TicketApprover],
"assetPackages": [AssetPackage],
"assignee": ProcessHandler,
"associatedAssetCategories": [AssetCategory],
"associatedAssetTypes": [AssetType],
"associatedAssets": [Asset],
"associatedSites": [Site],
"automationDetails": TicketAutomationDetails,
"batteryCosts": "xyz789",
"canEdit": true,
"canEditTags": true,
"certificationCosts": "abc123",
"checkEvent": Event,
"checkEventId": HashedId,
"comments": [TicketComment],
"consumablesCosts": "xyz789",
"content": {},
"costLines": [CostLine],
"costs": [Cost],
"created": 1592577642,
"createdByGroup": Group,
"createdByGroupId": HashedId,
"createdByUser": User,
"createdByUserId": HashedId,
"createdFrom": "ASSET_SERVICE",
"creatingSyncedOn": 1592577642,
"currentState": TicketCurrentState,
"customFieldColumns": [CustomField],
"deleted": 1592577642,
"documents": [Document],
"externalEmailHandlers": [
TicketHandlerExternalEmail
],
"fuelCosts": "xyz789",
"groupHandlers": [TicketHandlerGroup],
"groupTicketHandlerHandlers": [
TicketHandlerGroupTicketHandler
],
"history": [TicketHistory],
"id": HashedId,
"insuranceTaxesCosts": "abc123",
"isStatusUpdatedAutomatically": false,
"isTicketApproversEnabled": true,
"laborCosts": "xyz789",
"lastActivityAt": 1592577642,
"lastStatusChange": 1592577642,
"logisticsCosts": "xyz789",
"notifications": NotificationFilter,
"otherCosts": "xyz789",
"partsUsed": [TicketPartUsage],
"pdfCertificateLink": Document,
"procedureInstance": ProcedureInstance,
"procedureInstanceId": HashedId,
"publicId": 123,
"repairCosts": "xyz789",
"reporterName": "abc123",
"reservation": Reservation,
"reservationDisplayId": 123,
"reservationId": HashedId,
"responsibles": [ProcessHandler],
"ruleEntryEvent": RuleEntryEvent,
"service": Service,
"serviceId": HashedId,
"serviceResponseId": HashedId,
"siteManagerHandler": TicketHandlerSiteManager,
"sparePartsCosts": "abc123",
"status": "approvalNeeded",
"statusUpdatedAt": 1592577642,
"statusUpdatedByUser": User,
"statusUpdatedByUserId": HashedId,
"tags": [Tag],
"teamHandlers": [TicketHandlerTeam],
"ticketComments": [TicketComment],
"ticketContent": [TicketContentField],
"ticketId": 123,
"ticketTimeline": TicketTimeline,
"title": Translation,
"titleId": HashedId,
"totalCosts": "xyz789",
"totalPartsCost": 987.65,
"updated": 1592577642,
"urgency": "CRITICAL",
"userHandlers": [TicketHandlerUser],
"uuid": "abc123",
"workOrders": [WorkOrderV2]
}
}
}
updateTicketUrgency
Description
Change ticket urgency level, returns boolean
Response
Returns a Boolean!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Unique identifier of the entity |
urgency - TicketUrgencyEnum!
|
Priority level (e.g. low, normal, high, very high) |
Example
Query
mutation updateTicketUrgency(
$id: HashedId!,
$urgency: TicketUrgencyEnum!
) {
updateTicketUrgency(
id: $id,
urgency: $urgency
)
}
Variables
{"id": HashedId, "urgency": "CRITICAL"}
Response
{"data": {"updateTicketUrgency": true}}
updateTicketUrgencyV2
Description
Change ticket urgency level and return updated ticket
Response
Returns a Ticket!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Unique identifier of the entity |
urgency - TicketUrgencyEnum!
|
Priority level (e.g. low, normal, high, very high) |
Example
Query
mutation updateTicketUrgencyV2(
$id: HashedId!,
$urgency: TicketUrgencyEnum!
) {
updateTicketUrgencyV2(
id: $id,
urgency: $urgency
) {
activityEvents {
... on TicketApprovalUpdate {
...TicketApprovalUpdateFragment
}
... on TicketAssetAvailabilityUpdate {
...TicketAssetAvailabilityUpdateFragment
}
... on TicketAssetCheckComplete {
...TicketAssetCheckCompleteFragment
}
... on TicketAssetSiteUpdate {
...TicketAssetSiteUpdateFragment
}
... on TicketAutomationEmailSent {
...TicketAutomationEmailSentFragment
}
... on TicketHandlerUpdate {
...TicketHandlerUpdateFragment
}
... on TicketTagsUpdate {
...TicketTagsUpdateFragment
}
... on TicketUrgencyUpdate {
...TicketUrgencyUpdateFragment
}
}
approvers {
...TicketApproverFragment
}
assetPackages {
...AssetPackageFragment
}
assignee {
...ProcessHandlerFragment
}
associatedAssetCategories {
...AssetCategoryFragment
}
associatedAssetTypes {
...AssetTypeFragment
}
associatedAssets {
...AssetFragment
}
associatedSites {
...SiteFragment
}
automationDetails {
...TicketAutomationDetailsFragment
}
batteryCosts
canEdit
canEditTags
certificationCosts
checkEvent {
...EventFragment
}
checkEventId
comments {
...TicketCommentFragment
}
consumablesCosts
content
costLines {
...CostLineFragment
}
costs {
...CostFragment
}
created
createdByGroup {
...GroupFragment
}
createdByGroupId
createdByUser {
...UserFragment
}
createdByUserId
createdFrom
creatingSyncedOn
currentState {
...TicketCurrentStateFragment
}
customFieldColumns {
...CustomFieldFragment
}
deleted
documents {
...DocumentFragment
}
externalEmailHandlers {
...TicketHandlerExternalEmailFragment
}
fuelCosts
groupHandlers {
...TicketHandlerGroupFragment
}
groupTicketHandlerHandlers {
...TicketHandlerGroupTicketHandlerFragment
}
history {
...TicketHistoryFragment
}
id
insuranceTaxesCosts
isStatusUpdatedAutomatically
isTicketApproversEnabled
laborCosts
lastActivityAt
lastStatusChange
logisticsCosts
notifications {
...NotificationFilterFragment
}
otherCosts
partsUsed {
...TicketPartUsageFragment
}
pdfCertificateLink {
...DocumentFragment
}
procedureInstance {
...ProcedureInstanceFragment
}
procedureInstanceId
publicId
repairCosts
reporterName
reservation {
...ReservationFragment
}
reservationDisplayId
reservationId
responsibles {
...ProcessHandlerFragment
}
ruleEntryEvent {
...RuleEntryEventFragment
}
service {
...ServiceFragment
}
serviceId
serviceResponseId
siteManagerHandler {
...TicketHandlerSiteManagerFragment
}
sparePartsCosts
status
statusUpdatedAt
statusUpdatedByUser {
...UserFragment
}
statusUpdatedByUserId
tags {
...TagFragment
}
teamHandlers {
...TicketHandlerTeamFragment
}
ticketComments {
...TicketCommentFragment
}
ticketContent {
...TicketContentFieldFragment
}
ticketId
ticketTimeline {
...TicketTimelineFragment
}
title {
...TranslationFragment
}
titleId
totalCosts
totalPartsCost
updated
urgency
userHandlers {
...TicketHandlerUserFragment
}
uuid
workOrders {
...WorkOrderV2Fragment
}
}
}
Variables
{"id": HashedId, "urgency": "CRITICAL"}
Response
{
"data": {
"updateTicketUrgencyV2": {
"activityEvents": [TicketApprovalUpdate],
"approvers": [TicketApprover],
"assetPackages": [AssetPackage],
"assignee": ProcessHandler,
"associatedAssetCategories": [AssetCategory],
"associatedAssetTypes": [AssetType],
"associatedAssets": [Asset],
"associatedSites": [Site],
"automationDetails": TicketAutomationDetails,
"batteryCosts": "abc123",
"canEdit": false,
"canEditTags": false,
"certificationCosts": "xyz789",
"checkEvent": Event,
"checkEventId": HashedId,
"comments": [TicketComment],
"consumablesCosts": "abc123",
"content": {},
"costLines": [CostLine],
"costs": [Cost],
"created": 1592577642,
"createdByGroup": Group,
"createdByGroupId": HashedId,
"createdByUser": User,
"createdByUserId": HashedId,
"createdFrom": "ASSET_SERVICE",
"creatingSyncedOn": 1592577642,
"currentState": TicketCurrentState,
"customFieldColumns": [CustomField],
"deleted": 1592577642,
"documents": [Document],
"externalEmailHandlers": [
TicketHandlerExternalEmail
],
"fuelCosts": "xyz789",
"groupHandlers": [TicketHandlerGroup],
"groupTicketHandlerHandlers": [
TicketHandlerGroupTicketHandler
],
"history": [TicketHistory],
"id": HashedId,
"insuranceTaxesCosts": "abc123",
"isStatusUpdatedAutomatically": false,
"isTicketApproversEnabled": false,
"laborCosts": "abc123",
"lastActivityAt": 1592577642,
"lastStatusChange": 1592577642,
"logisticsCosts": "abc123",
"notifications": NotificationFilter,
"otherCosts": "xyz789",
"partsUsed": [TicketPartUsage],
"pdfCertificateLink": Document,
"procedureInstance": ProcedureInstance,
"procedureInstanceId": HashedId,
"publicId": 123,
"repairCosts": "xyz789",
"reporterName": "abc123",
"reservation": Reservation,
"reservationDisplayId": 987,
"reservationId": HashedId,
"responsibles": [ProcessHandler],
"ruleEntryEvent": RuleEntryEvent,
"service": Service,
"serviceId": HashedId,
"serviceResponseId": HashedId,
"siteManagerHandler": TicketHandlerSiteManager,
"sparePartsCosts": "abc123",
"status": "approvalNeeded",
"statusUpdatedAt": 1592577642,
"statusUpdatedByUser": User,
"statusUpdatedByUserId": HashedId,
"tags": [Tag],
"teamHandlers": [TicketHandlerTeam],
"ticketComments": [TicketComment],
"ticketContent": [TicketContentField],
"ticketId": 123,
"ticketTimeline": TicketTimeline,
"title": Translation,
"titleId": HashedId,
"totalCosts": "abc123",
"totalPartsCost": 123.45,
"updated": 1592577642,
"urgency": "CRITICAL",
"userHandlers": [TicketHandlerUser],
"uuid": "xyz789",
"workOrders": [WorkOrderV2]
}
}
}
updateTicketView
Description
Update an existing saved ticket list view
Response
Returns a TicketView!
Arguments
| Name | Description |
|---|---|
view - TicketViewUpdateInput!
|
View configuration data |
Example
Query
mutation updateTicketView($view: TicketViewUpdateInput!) {
updateTicketView(view: $view) {
created
displayMode
forEntity
id
isActive
isDeletable
isEditable
isShareable
isShared
isSystemView
isUnsharedByParentGroup
options {
...TicketViewOptionsFragment
}
title {
...TranslationFragment
}
titleId
updated
}
}
Variables
{"view": TicketViewUpdateInput}
Response
{
"data": {
"updateTicketView": {
"created": 1592577642,
"displayMode": "GANTT",
"forEntity": "ASSET",
"id": HashedId,
"isActive": true,
"isDeletable": true,
"isEditable": true,
"isShareable": true,
"isShared": false,
"isSystemView": false,
"isUnsharedByParentGroup": false,
"options": TicketViewOptions,
"title": Translation,
"titleId": HashedId,
"updated": 1592577642
}
}
}
updateTripIsPrivate
Description
Update an existing trip
Response
Returns a Trip!
Arguments
| Name | Description |
|---|---|
input - TripIsPrivateUpdateInput!
|
Trip is private update fields |
tripId - ID!
|
Compound trip ID combining asset ID with Flespi trip ID |
Example
Query
mutation updateTripIsPrivate(
$input: TripIsPrivateUpdateInput!,
$tripId: ID!
) {
updateTripIsPrivate(
input: $input,
tripId: $tripId
) {
active
asset {
...AssetFragment
}
assetId
avgSpeed
avgSpeedRaw
created
datapoints {
...DatapointFragment
}
distance
distanceRaw
distanceUnit
driverId
driverName
duration
endLocation {
...AddressFragment
}
endTime
eventPoints {
...EventPointFragment
}
fuelConsumed
fuelConsumedPercentage
fuelConsumedRaw
fuelUnit
group {
...GroupFragment
}
id
imei
isPrivate
linearDistance
linearDistanceRaw
maxSpeed
maxSpeedRaw
nextIsPrivateGap
points {
...RoutePointFragment
}
pointsInRange {
...RoutePointFragment
}
responsiblePerson
route
startLocation {
...AddressFragment
}
startTime
stopDuration
timestamp
tripId
updated
}
}
Variables
{"input": TripIsPrivateUpdateInput, "tripId": 4}
Response
{
"data": {
"updateTripIsPrivate": {
"active": true,
"asset": Asset,
"assetId": HashedId,
"avgSpeed": 123.45,
"avgSpeedRaw": 987.65,
"created": 1592577642,
"datapoints": [Datapoint],
"distance": 123.45,
"distanceRaw": 987.65,
"distanceUnit": "xyz789",
"driverId": "xyz789",
"driverName": "xyz789",
"duration": 123.45,
"endLocation": Address,
"endTime": 987.65,
"eventPoints": [EventPoint],
"fuelConsumed": 123.45,
"fuelConsumedPercentage": 987,
"fuelConsumedRaw": 123,
"fuelUnit": "abc123",
"group": Group,
"id": "abc123",
"imei": "abc123",
"isPrivate": false,
"linearDistance": 987.65,
"linearDistanceRaw": 123.45,
"maxSpeed": 987.65,
"maxSpeedRaw": 123.45,
"nextIsPrivateGap": true,
"points": [RoutePoint],
"pointsInRange": [RoutePoint],
"responsiblePerson": "xyz789",
"route": "xyz789",
"startLocation": Address,
"startTime": 987.65,
"stopDuration": 123.45,
"timestamp": 987.65,
"tripId": 4,
"updated": 1592577642
}
}
}
updateTripsView
Description
Update an existing saved trips view
Response
Returns a TripsView!
Arguments
| Name | Description |
|---|---|
view - TripsViewUpdateInput!
|
View configuration data |
Example
Query
mutation updateTripsView($view: TripsViewUpdateInput!) {
updateTripsView(view: $view) {
created
displayMode
forEntity
id
isActive
isDeletable
isEditable
isShareable
isShared
isSystemView
isUnsharedByParentGroup
options {
...TripsViewOptionsFragment
}
title {
...TranslationFragment
}
titleId
updated
}
}
Variables
{"view": TripsViewUpdateInput}
Response
{
"data": {
"updateTripsView": {
"created": 1592577642,
"displayMode": "GANTT",
"forEntity": "ASSET",
"id": HashedId,
"isActive": false,
"isDeletable": false,
"isEditable": false,
"isShareable": false,
"isShared": false,
"isSystemView": false,
"isUnsharedByParentGroup": true,
"options": TripsViewOptions,
"title": Translation,
"titleId": HashedId,
"updated": 1592577642
}
}
}
updateUser
Description
Update an existing user profile
Response
Returns [User!]
Arguments
| Name | Description |
|---|---|
apiKey - String
|
API key for external integrations |
belongsToGroupId - HashedId
|
Group this record belongs to |
canConvertServiceJotforms - Boolean
|
Whether the admin user can convert and revert Jotform forms |
canEditInspectionsAssignee - Boolean
|
Whether this user can edit the assignee of rule entry events (Inspections) |
canEditOnlyOwnDocuments - Boolean
|
Whether this user can only edit and delete their own documents |
canEditTicketTags - Boolean
|
Whether this user can add or remove tags on tickets when the group setting ticketTagsByPermission is on |
canManageIntegrations - Boolean
|
Whether the admin user can manage integrations |
canScheduleDisposition - Boolean
|
Whether the user can schedule work orders on the disposition Gantt |
canShareViews - Boolean
|
Whether the user can share views |
dashboardId - HashedId
|
Dashboard identifier |
email - String
|
Email address |
firstname - String
|
First name |
hasAccessToPersonnelManagement - Boolean
|
Whether the user can manage the personnel database |
id - HashedId!
|
Unique identifier |
image - String
|
Image URL |
info - JSON
|
Info |
isCostEnabled - Boolean
|
Whether cost enabled |
isSSOEnabled - Boolean
|
Whether s s o enabled |
label - String
|
Display label |
languageId - HashedId
|
Language preference identifier |
lastname - String
|
Last name |
locale - String
|
Locale tag |
password - String
|
Account password |
phone - String
|
Phone number |
roleId - HashedId
|
Role identifier |
settings - JSON
|
Configuration settings |
settingsPath - String
|
Settings path |
supportAdmin - Boolean
|
Support admin |
timezone - String
|
Timezone identifier |
username - String
|
keeping it for backward compatibility, if passed value for username it will be ignored |
Example
Query
mutation updateUser(
$apiKey: String,
$belongsToGroupId: HashedId,
$canConvertServiceJotforms: Boolean,
$canEditInspectionsAssignee: Boolean,
$canEditOnlyOwnDocuments: Boolean,
$canEditTicketTags: Boolean,
$canManageIntegrations: Boolean,
$canScheduleDisposition: Boolean,
$canShareViews: Boolean,
$dashboardId: HashedId,
$email: String,
$firstname: String,
$hasAccessToPersonnelManagement: Boolean,
$id: HashedId!,
$image: String,
$info: JSON,
$isCostEnabled: Boolean,
$isSSOEnabled: Boolean,
$label: String,
$languageId: HashedId,
$lastname: String,
$locale: String,
$password: String,
$phone: String,
$roleId: HashedId,
$settings: JSON,
$settingsPath: String,
$supportAdmin: Boolean,
$timezone: String,
$username: String
) {
updateUser(
apiKey: $apiKey,
belongsToGroupId: $belongsToGroupId,
canConvertServiceJotforms: $canConvertServiceJotforms,
canEditInspectionsAssignee: $canEditInspectionsAssignee,
canEditOnlyOwnDocuments: $canEditOnlyOwnDocuments,
canEditTicketTags: $canEditTicketTags,
canManageIntegrations: $canManageIntegrations,
canScheduleDisposition: $canScheduleDisposition,
canShareViews: $canShareViews,
dashboardId: $dashboardId,
email: $email,
firstname: $firstname,
hasAccessToPersonnelManagement: $hasAccessToPersonnelManagement,
id: $id,
image: $image,
info: $info,
isCostEnabled: $isCostEnabled,
isSSOEnabled: $isSSOEnabled,
label: $label,
languageId: $languageId,
lastname: $lastname,
locale: $locale,
password: $password,
phone: $phone,
roleId: $roleId,
settings: $settings,
settingsPath: $settingsPath,
supportAdmin: $supportAdmin,
timezone: $timezone,
username: $username
) {
activated
additionalGroups {
...GroupFragment
}
apiKey
belongsToGroup {
...GroupFragment
}
belongsToGroupId
canConvertServiceJotforms
canEditInspectionsAssignee
canEditOnlyOwnDocuments
canEditTicketTags
canManageIntegrations
canScheduleDisposition
canShareViews
checkPassword
created
dashboard
dashboardId
deleted
email
firstname
fullName
group {
...GroupFragment
}
groupId
groups {
...GroupFragment
}
hasAccessToPersonnelManagement
hasApiKey
hasMultipleGroups
id
image
info
isAnyAdmin
isCostEnabled
isSSOEnabled
isServicing
isSupportAdmin
label
language
languageCode
languageId
lastLogin
lastname
locale
loginInterruptIds
loginInterrupts
notificationIds
notifications
password
personnel {
...PersonnelFragment
}
phone
publicId
resolvedLocale
resolvedTimezone
role {
...RoleFragment
}
roleId
roleKey
services
settings
stripeSubscriptionId
subscription {
...StripeSubscriptionPlanFragment
}
supportAdmin
teams {
...TeamFragment
}
timezone
toolsenseAdmin
unavailability {
...UserUnavailabilityFragment
}
updated
username
}
}
Variables
{
"apiKey": "xyz789",
"belongsToGroupId": HashedId,
"canConvertServiceJotforms": true,
"canEditInspectionsAssignee": true,
"canEditOnlyOwnDocuments": true,
"canEditTicketTags": true,
"canManageIntegrations": false,
"canScheduleDisposition": false,
"canShareViews": true,
"dashboardId": HashedId,
"email": "xyz789",
"firstname": "abc123",
"hasAccessToPersonnelManagement": true,
"id": HashedId,
"image": "xyz789",
"info": {},
"isCostEnabled": false,
"isSSOEnabled": false,
"label": "abc123",
"languageId": HashedId,
"lastname": "abc123",
"locale": "xyz789",
"password": "xyz789",
"phone": "abc123",
"roleId": HashedId,
"settings": {},
"settingsPath": "abc123",
"supportAdmin": true,
"timezone": "xyz789",
"username": "abc123"
}
Response
{
"data": {
"updateUser": [
{
"activated": 1592577642,
"additionalGroups": [Group],
"apiKey": "xyz789",
"belongsToGroup": Group,
"belongsToGroupId": HashedId,
"canConvertServiceJotforms": true,
"canEditInspectionsAssignee": false,
"canEditOnlyOwnDocuments": true,
"canEditTicketTags": false,
"canManageIntegrations": true,
"canScheduleDisposition": false,
"canShareViews": false,
"checkPassword": true,
"created": 1592577642,
"dashboard": {},
"dashboardId": HashedId,
"deleted": 1592577642,
"email": "abc123",
"firstname": "xyz789",
"fullName": "abc123",
"group": Group,
"groupId": HashedId,
"groups": [Group],
"hasAccessToPersonnelManagement": true,
"hasApiKey": true,
"hasMultipleGroups": false,
"id": HashedId,
"image": "xyz789",
"info": {},
"isAnyAdmin": false,
"isCostEnabled": true,
"isSSOEnabled": false,
"isServicing": false,
"isSupportAdmin": true,
"label": "abc123",
"language": HashedId,
"languageCode": "ar_ar",
"languageId": HashedId,
"lastLogin": "2007-12-03T10:15:30Z",
"lastname": "xyz789",
"locale": LanguageTag,
"loginInterruptIds": [HashedId],
"loginInterrupts": {},
"notificationIds": [HashedId],
"notifications": [{}],
"password": "abc123",
"personnel": Personnel,
"phone": "abc123",
"publicId": 987,
"resolvedLocale": LanguageTag,
"resolvedTimezone": "abc123",
"role": Role,
"roleId": HashedId,
"roleKey": "EditorUser",
"services": [{}],
"settings": {},
"stripeSubscriptionId": "abc123",
"subscription": StripeSubscriptionPlan,
"supportAdmin": false,
"teams": [Team],
"timezone": "abc123",
"toolsenseAdmin": true,
"unavailability": [UserUnavailability],
"updated": 1592577642,
"username": "abc123"
}
]
}
}
updateUserImage
Description
Accepts jpg, jpeg, webp, gif, png (case insensitive). Will be contained to a 500px square with white background. 3 images generated: - _2x for high dpi screens - no suffix, half of the default size, this url will be provided - _thumb - 100px thumbnail Send an empty value to remove the image.
Response
Returns a User!
Example
Query
mutation updateUserImage(
$file: Upload,
$id: HashedId!
) {
updateUserImage(
file: $file,
id: $id
) {
activated
additionalGroups {
...GroupFragment
}
apiKey
belongsToGroup {
...GroupFragment
}
belongsToGroupId
canConvertServiceJotforms
canEditInspectionsAssignee
canEditOnlyOwnDocuments
canEditTicketTags
canManageIntegrations
canScheduleDisposition
canShareViews
checkPassword
created
dashboard
dashboardId
deleted
email
firstname
fullName
group {
...GroupFragment
}
groupId
groups {
...GroupFragment
}
hasAccessToPersonnelManagement
hasApiKey
hasMultipleGroups
id
image
info
isAnyAdmin
isCostEnabled
isSSOEnabled
isServicing
isSupportAdmin
label
language
languageCode
languageId
lastLogin
lastname
locale
loginInterruptIds
loginInterrupts
notificationIds
notifications
password
personnel {
...PersonnelFragment
}
phone
publicId
resolvedLocale
resolvedTimezone
role {
...RoleFragment
}
roleId
roleKey
services
settings
stripeSubscriptionId
subscription {
...StripeSubscriptionPlanFragment
}
supportAdmin
teams {
...TeamFragment
}
timezone
toolsenseAdmin
unavailability {
...UserUnavailabilityFragment
}
updated
username
}
}
Variables
{"file": Upload, "id": HashedId}
Response
{
"data": {
"updateUserImage": {
"activated": 1592577642,
"additionalGroups": [Group],
"apiKey": "xyz789",
"belongsToGroup": Group,
"belongsToGroupId": HashedId,
"canConvertServiceJotforms": true,
"canEditInspectionsAssignee": true,
"canEditOnlyOwnDocuments": true,
"canEditTicketTags": false,
"canManageIntegrations": true,
"canScheduleDisposition": false,
"canShareViews": false,
"checkPassword": true,
"created": 1592577642,
"dashboard": {},
"dashboardId": HashedId,
"deleted": 1592577642,
"email": "xyz789",
"firstname": "abc123",
"fullName": "xyz789",
"group": Group,
"groupId": HashedId,
"groups": [Group],
"hasAccessToPersonnelManagement": true,
"hasApiKey": false,
"hasMultipleGroups": false,
"id": HashedId,
"image": "xyz789",
"info": {},
"isAnyAdmin": true,
"isCostEnabled": true,
"isSSOEnabled": true,
"isServicing": true,
"isSupportAdmin": true,
"label": "abc123",
"language": HashedId,
"languageCode": "ar_ar",
"languageId": HashedId,
"lastLogin": "2007-12-03T10:15:30Z",
"lastname": "abc123",
"locale": LanguageTag,
"loginInterruptIds": [HashedId],
"loginInterrupts": {},
"notificationIds": [HashedId],
"notifications": [{}],
"password": "xyz789",
"personnel": Personnel,
"phone": "abc123",
"publicId": 123,
"resolvedLocale": LanguageTag,
"resolvedTimezone": "abc123",
"role": Role,
"roleId": HashedId,
"roleKey": "EditorUser",
"services": [{}],
"settings": {},
"stripeSubscriptionId": "xyz789",
"subscription": StripeSubscriptionPlan,
"supportAdmin": true,
"teams": [Team],
"timezone": "abc123",
"toolsenseAdmin": false,
"unavailability": [UserUnavailability],
"updated": 1592577642,
"username": "xyz789"
}
}
}
updateWebhook
Description
Update an existing webhook configuration
Response
Returns a Webhook!
Arguments
| Name | Description |
|---|---|
input - WebhookUpdateInput!
|
Webhook update fields |
Example
Query
mutation updateWebhook($input: WebhookUpdateInput!) {
updateWebhook(input: $input) {
created
forAssetPackages
forAssets
forReservations
forSites
forTickets
forWorkOrders
groupId
id
updated
url
}
}
Variables
{"input": WebhookUpdateInput}
Response
{
"data": {
"updateWebhook": {
"created": 1592577642,
"forAssetPackages": true,
"forAssets": true,
"forReservations": true,
"forSites": false,
"forTickets": false,
"forWorkOrders": false,
"groupId": HashedId,
"id": HashedId,
"updated": 1592577642,
"url": "xyz789"
}
}
}
updateWorkOrder
Description
Update the fields of an existing work order by ID
Response
Returns a WorkOrderV2!
Arguments
| Name | Description |
|---|---|
workOrder - WorkOrderUpdateInput!
|
Input data containing the fields to update on the work order |
Example
Query
mutation updateWorkOrder($workOrder: WorkOrderUpdateInput!) {
updateWorkOrder(workOrder: $workOrder) {
assetCollections {
...WorkOrderAssetCollectionFragment
}
assets {
...AssetFragment
}
assignee {
...WorkOrderPersonnelV2Fragment
}
comments {
...WorkOrderCommentFragment
}
costCenter
costs {
...WorkOrderCostFragment
}
created
createdByGroup {
...GroupFragment
}
createdByGroupId
creationDate
creator {
...UserFragment
}
creatorId
customerName
customerSignatures {
...WorkOrderCustomerSignatureFragment
}
dailyRate {
...WorkOrderCostFragment
}
deleted
description {
...TranslationFragment
}
endDate
externalEmailHandlers {
...WorkOrderHandlerExternalEmailFragment
}
followers {
...WorkOrderPersonnelV2Fragment
}
groupHandlers {
...WorkOrderHandlerGroupFragment
}
groupTicketHandlerHandlers {
...WorkOrderHandlerGroupTicketHandlerFragment
}
history {
...WorkOrderHistoryEntryFragment
}
historyV2 {
...WorkOrderHistoryFragment
}
id
linkedTickets {
...TicketFragment
}
locations {
...WorkOrderLocationFragment
}
name
notes {
...TranslationFragment
}
notesId
operatingCosts {
...CostFragment
}
partsUsed {
...TicketPartUsageFragment
}
personnel {
...WorkOrderCostFragment
}
personnelHandlers {
...WorkOrderHandlerPersonnelFragment
}
procedureTemplate {
...ProcedureTemplateFragment
}
procedureTemplateId
site {
...SiteFragment
}
siteId
siteManagerHandler {
...WorkOrderHandlerSiteManagerFragment
}
sourceTicket {
...TicketFragment
}
sourceTicketId
startDate
status
teamHandlers {
...WorkOrderHandlerTeamFragment
}
timeEntries {
...WorkOrderTimeEntryFragment
}
timeEntriesSummary {
...WorkOrderTimeEntrySummaryFragment
}
title {
...TranslationFragment
}
totalPartsCost
updated
userHandlers {
...WorkOrderHandlerUserFragment
}
workOrderNumber
workers {
...WorkOrderPersonnelV2Fragment
}
}
}
Variables
{"workOrder": WorkOrderUpdateInput}
Response
{
"data": {
"updateWorkOrder": {
"assetCollections": [WorkOrderAssetCollection],
"assets": [Asset],
"assignee": WorkOrderPersonnelV2,
"comments": [WorkOrderComment],
"costCenter": "abc123",
"costs": [WorkOrderCost],
"created": 1592577642,
"createdByGroup": Group,
"createdByGroupId": HashedId,
"creationDate": "2007-12-03T10:15:30Z",
"creator": User,
"creatorId": HashedId,
"customerName": "abc123",
"customerSignatures": [WorkOrderCustomerSignature],
"dailyRate": WorkOrderCost,
"deleted": 1592577642,
"description": Translation,
"endDate": "2007-12-03T10:15:30Z",
"externalEmailHandlers": [
WorkOrderHandlerExternalEmail
],
"followers": [WorkOrderPersonnelV2],
"groupHandlers": [WorkOrderHandlerGroup],
"groupTicketHandlerHandlers": [
WorkOrderHandlerGroupTicketHandler
],
"history": [WorkOrderHistoryEntry],
"historyV2": [WorkOrderHistory],
"id": HashedId,
"linkedTickets": [Ticket],
"locations": [WorkOrderLocation],
"name": "abc123",
"notes": Translation,
"notesId": HashedId,
"operatingCosts": [Cost],
"partsUsed": [TicketPartUsage],
"personnel": [WorkOrderCost],
"personnelHandlers": [WorkOrderHandlerPersonnel],
"procedureTemplate": ProcedureTemplate,
"procedureTemplateId": HashedId,
"site": Site,
"siteId": HashedId,
"siteManagerHandler": WorkOrderHandlerSiteManager,
"sourceTicket": Ticket,
"sourceTicketId": HashedId,
"startDate": "2007-12-03T10:15:30Z",
"status": "CANCELLED",
"teamHandlers": [WorkOrderHandlerTeam],
"timeEntries": [WorkOrderTimeEntry],
"timeEntriesSummary": WorkOrderTimeEntrySummary,
"title": Translation,
"totalPartsCost": 987.65,
"updated": 1592577642,
"userHandlers": [WorkOrderHandlerUser],
"workOrderNumber": 987,
"workers": [WorkOrderPersonnelV2]
}
}
}
updateWorkOrderAssets
Description
Update work order assets and return the updated work order
Response
Returns a WorkOrderV2!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Unique identifier of the entity |
input - WorkOrderUpdateAssetsInput!
|
Asset update input |
Example
Query
mutation updateWorkOrderAssets(
$id: HashedId!,
$input: WorkOrderUpdateAssetsInput!
) {
updateWorkOrderAssets(
id: $id,
input: $input
) {
assetCollections {
...WorkOrderAssetCollectionFragment
}
assets {
...AssetFragment
}
assignee {
...WorkOrderPersonnelV2Fragment
}
comments {
...WorkOrderCommentFragment
}
costCenter
costs {
...WorkOrderCostFragment
}
created
createdByGroup {
...GroupFragment
}
createdByGroupId
creationDate
creator {
...UserFragment
}
creatorId
customerName
customerSignatures {
...WorkOrderCustomerSignatureFragment
}
dailyRate {
...WorkOrderCostFragment
}
deleted
description {
...TranslationFragment
}
endDate
externalEmailHandlers {
...WorkOrderHandlerExternalEmailFragment
}
followers {
...WorkOrderPersonnelV2Fragment
}
groupHandlers {
...WorkOrderHandlerGroupFragment
}
groupTicketHandlerHandlers {
...WorkOrderHandlerGroupTicketHandlerFragment
}
history {
...WorkOrderHistoryEntryFragment
}
historyV2 {
...WorkOrderHistoryFragment
}
id
linkedTickets {
...TicketFragment
}
locations {
...WorkOrderLocationFragment
}
name
notes {
...TranslationFragment
}
notesId
operatingCosts {
...CostFragment
}
partsUsed {
...TicketPartUsageFragment
}
personnel {
...WorkOrderCostFragment
}
personnelHandlers {
...WorkOrderHandlerPersonnelFragment
}
procedureTemplate {
...ProcedureTemplateFragment
}
procedureTemplateId
site {
...SiteFragment
}
siteId
siteManagerHandler {
...WorkOrderHandlerSiteManagerFragment
}
sourceTicket {
...TicketFragment
}
sourceTicketId
startDate
status
teamHandlers {
...WorkOrderHandlerTeamFragment
}
timeEntries {
...WorkOrderTimeEntryFragment
}
timeEntriesSummary {
...WorkOrderTimeEntrySummaryFragment
}
title {
...TranslationFragment
}
totalPartsCost
updated
userHandlers {
...WorkOrderHandlerUserFragment
}
workOrderNumber
workers {
...WorkOrderPersonnelV2Fragment
}
}
}
Variables
{
"id": HashedId,
"input": WorkOrderUpdateAssetsInput
}
Response
{
"data": {
"updateWorkOrderAssets": {
"assetCollections": [WorkOrderAssetCollection],
"assets": [Asset],
"assignee": WorkOrderPersonnelV2,
"comments": [WorkOrderComment],
"costCenter": "abc123",
"costs": [WorkOrderCost],
"created": 1592577642,
"createdByGroup": Group,
"createdByGroupId": HashedId,
"creationDate": "2007-12-03T10:15:30Z",
"creator": User,
"creatorId": HashedId,
"customerName": "xyz789",
"customerSignatures": [WorkOrderCustomerSignature],
"dailyRate": WorkOrderCost,
"deleted": 1592577642,
"description": Translation,
"endDate": "2007-12-03T10:15:30Z",
"externalEmailHandlers": [
WorkOrderHandlerExternalEmail
],
"followers": [WorkOrderPersonnelV2],
"groupHandlers": [WorkOrderHandlerGroup],
"groupTicketHandlerHandlers": [
WorkOrderHandlerGroupTicketHandler
],
"history": [WorkOrderHistoryEntry],
"historyV2": [WorkOrderHistory],
"id": HashedId,
"linkedTickets": [Ticket],
"locations": [WorkOrderLocation],
"name": "xyz789",
"notes": Translation,
"notesId": HashedId,
"operatingCosts": [Cost],
"partsUsed": [TicketPartUsage],
"personnel": [WorkOrderCost],
"personnelHandlers": [WorkOrderHandlerPersonnel],
"procedureTemplate": ProcedureTemplate,
"procedureTemplateId": HashedId,
"site": Site,
"siteId": HashedId,
"siteManagerHandler": WorkOrderHandlerSiteManager,
"sourceTicket": Ticket,
"sourceTicketId": HashedId,
"startDate": "2007-12-03T10:15:30Z",
"status": "CANCELLED",
"teamHandlers": [WorkOrderHandlerTeam],
"timeEntries": [WorkOrderTimeEntry],
"timeEntriesSummary": WorkOrderTimeEntrySummary,
"title": Translation,
"totalPartsCost": 987.65,
"updated": 1592577642,
"userHandlers": [WorkOrderHandlerUser],
"workOrderNumber": 987,
"workers": [WorkOrderPersonnelV2]
}
}
}
updateWorkOrderById
Description
Update the fields of an existing work order by ID
Response
Returns a WorkOrderV2!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Unique identifier of the entity |
input - WorkOrderUpdateV2Input!
|
Input data containing the fields to update on the work order |
Example
Query
mutation updateWorkOrderById(
$id: HashedId!,
$input: WorkOrderUpdateV2Input!
) {
updateWorkOrderById(
id: $id,
input: $input
) {
assetCollections {
...WorkOrderAssetCollectionFragment
}
assets {
...AssetFragment
}
assignee {
...WorkOrderPersonnelV2Fragment
}
comments {
...WorkOrderCommentFragment
}
costCenter
costs {
...WorkOrderCostFragment
}
created
createdByGroup {
...GroupFragment
}
createdByGroupId
creationDate
creator {
...UserFragment
}
creatorId
customerName
customerSignatures {
...WorkOrderCustomerSignatureFragment
}
dailyRate {
...WorkOrderCostFragment
}
deleted
description {
...TranslationFragment
}
endDate
externalEmailHandlers {
...WorkOrderHandlerExternalEmailFragment
}
followers {
...WorkOrderPersonnelV2Fragment
}
groupHandlers {
...WorkOrderHandlerGroupFragment
}
groupTicketHandlerHandlers {
...WorkOrderHandlerGroupTicketHandlerFragment
}
history {
...WorkOrderHistoryEntryFragment
}
historyV2 {
...WorkOrderHistoryFragment
}
id
linkedTickets {
...TicketFragment
}
locations {
...WorkOrderLocationFragment
}
name
notes {
...TranslationFragment
}
notesId
operatingCosts {
...CostFragment
}
partsUsed {
...TicketPartUsageFragment
}
personnel {
...WorkOrderCostFragment
}
personnelHandlers {
...WorkOrderHandlerPersonnelFragment
}
procedureTemplate {
...ProcedureTemplateFragment
}
procedureTemplateId
site {
...SiteFragment
}
siteId
siteManagerHandler {
...WorkOrderHandlerSiteManagerFragment
}
sourceTicket {
...TicketFragment
}
sourceTicketId
startDate
status
teamHandlers {
...WorkOrderHandlerTeamFragment
}
timeEntries {
...WorkOrderTimeEntryFragment
}
timeEntriesSummary {
...WorkOrderTimeEntrySummaryFragment
}
title {
...TranslationFragment
}
totalPartsCost
updated
userHandlers {
...WorkOrderHandlerUserFragment
}
workOrderNumber
workers {
...WorkOrderPersonnelV2Fragment
}
}
}
Variables
{
"id": HashedId,
"input": WorkOrderUpdateV2Input
}
Response
{
"data": {
"updateWorkOrderById": {
"assetCollections": [WorkOrderAssetCollection],
"assets": [Asset],
"assignee": WorkOrderPersonnelV2,
"comments": [WorkOrderComment],
"costCenter": "abc123",
"costs": [WorkOrderCost],
"created": 1592577642,
"createdByGroup": Group,
"createdByGroupId": HashedId,
"creationDate": "2007-12-03T10:15:30Z",
"creator": User,
"creatorId": HashedId,
"customerName": "abc123",
"customerSignatures": [WorkOrderCustomerSignature],
"dailyRate": WorkOrderCost,
"deleted": 1592577642,
"description": Translation,
"endDate": "2007-12-03T10:15:30Z",
"externalEmailHandlers": [
WorkOrderHandlerExternalEmail
],
"followers": [WorkOrderPersonnelV2],
"groupHandlers": [WorkOrderHandlerGroup],
"groupTicketHandlerHandlers": [
WorkOrderHandlerGroupTicketHandler
],
"history": [WorkOrderHistoryEntry],
"historyV2": [WorkOrderHistory],
"id": HashedId,
"linkedTickets": [Ticket],
"locations": [WorkOrderLocation],
"name": "abc123",
"notes": Translation,
"notesId": HashedId,
"operatingCosts": [Cost],
"partsUsed": [TicketPartUsage],
"personnel": [WorkOrderCost],
"personnelHandlers": [WorkOrderHandlerPersonnel],
"procedureTemplate": ProcedureTemplate,
"procedureTemplateId": HashedId,
"site": Site,
"siteId": HashedId,
"siteManagerHandler": WorkOrderHandlerSiteManager,
"sourceTicket": Ticket,
"sourceTicketId": HashedId,
"startDate": "2007-12-03T10:15:30Z",
"status": "CANCELLED",
"teamHandlers": [WorkOrderHandlerTeam],
"timeEntries": [WorkOrderTimeEntry],
"timeEntriesSummary": WorkOrderTimeEntrySummary,
"title": Translation,
"totalPartsCost": 987.65,
"updated": 1592577642,
"userHandlers": [WorkOrderHandlerUser],
"workOrderNumber": 987,
"workers": [WorkOrderPersonnelV2]
}
}
}
updateWorkOrderComment
Description
Update an existing work order comment
Response
Returns a WorkOrderComment!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Unique identifier of the entity |
input - WorkOrderCommentUpdateInput!
|
Updated content for an existing work order comment |
Example
Query
mutation updateWorkOrderComment(
$id: HashedId!,
$input: WorkOrderCommentUpdateInput!
) {
updateWorkOrderComment(
id: $id,
input: $input
) {
attachments {
...DocumentFragment
}
content
created
createdByGroupId
createdByUser {
...UserFragment
}
createdByUserId
deleted
history {
...WorkOrderCommentHistoryFragment
}
id
internal
updated
workOrderId
}
}
Variables
{
"id": HashedId,
"input": WorkOrderCommentUpdateInput
}
Response
{
"data": {
"updateWorkOrderComment": {
"attachments": [Document],
"content": "xyz789",
"created": 1592577642,
"createdByGroupId": HashedId,
"createdByUser": User,
"createdByUserId": HashedId,
"deleted": 1592577642,
"history": [WorkOrderCommentHistory],
"id": HashedId,
"internal": true,
"updated": 1592577642,
"workOrderId": HashedId
}
}
}
updateWorkOrderCosts
Description
Update work order costs and return the updated work order
Response
Returns a WorkOrderV2!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Unique identifier of the entity |
input - WorkOrderUpdateCostsInput!
|
Cost update input |
Example
Query
mutation updateWorkOrderCosts(
$id: HashedId!,
$input: WorkOrderUpdateCostsInput!
) {
updateWorkOrderCosts(
id: $id,
input: $input
) {
assetCollections {
...WorkOrderAssetCollectionFragment
}
assets {
...AssetFragment
}
assignee {
...WorkOrderPersonnelV2Fragment
}
comments {
...WorkOrderCommentFragment
}
costCenter
costs {
...WorkOrderCostFragment
}
created
createdByGroup {
...GroupFragment
}
createdByGroupId
creationDate
creator {
...UserFragment
}
creatorId
customerName
customerSignatures {
...WorkOrderCustomerSignatureFragment
}
dailyRate {
...WorkOrderCostFragment
}
deleted
description {
...TranslationFragment
}
endDate
externalEmailHandlers {
...WorkOrderHandlerExternalEmailFragment
}
followers {
...WorkOrderPersonnelV2Fragment
}
groupHandlers {
...WorkOrderHandlerGroupFragment
}
groupTicketHandlerHandlers {
...WorkOrderHandlerGroupTicketHandlerFragment
}
history {
...WorkOrderHistoryEntryFragment
}
historyV2 {
...WorkOrderHistoryFragment
}
id
linkedTickets {
...TicketFragment
}
locations {
...WorkOrderLocationFragment
}
name
notes {
...TranslationFragment
}
notesId
operatingCosts {
...CostFragment
}
partsUsed {
...TicketPartUsageFragment
}
personnel {
...WorkOrderCostFragment
}
personnelHandlers {
...WorkOrderHandlerPersonnelFragment
}
procedureTemplate {
...ProcedureTemplateFragment
}
procedureTemplateId
site {
...SiteFragment
}
siteId
siteManagerHandler {
...WorkOrderHandlerSiteManagerFragment
}
sourceTicket {
...TicketFragment
}
sourceTicketId
startDate
status
teamHandlers {
...WorkOrderHandlerTeamFragment
}
timeEntries {
...WorkOrderTimeEntryFragment
}
timeEntriesSummary {
...WorkOrderTimeEntrySummaryFragment
}
title {
...TranslationFragment
}
totalPartsCost
updated
userHandlers {
...WorkOrderHandlerUserFragment
}
workOrderNumber
workers {
...WorkOrderPersonnelV2Fragment
}
}
}
Variables
{
"id": HashedId,
"input": WorkOrderUpdateCostsInput
}
Response
{
"data": {
"updateWorkOrderCosts": {
"assetCollections": [WorkOrderAssetCollection],
"assets": [Asset],
"assignee": WorkOrderPersonnelV2,
"comments": [WorkOrderComment],
"costCenter": "xyz789",
"costs": [WorkOrderCost],
"created": 1592577642,
"createdByGroup": Group,
"createdByGroupId": HashedId,
"creationDate": "2007-12-03T10:15:30Z",
"creator": User,
"creatorId": HashedId,
"customerName": "abc123",
"customerSignatures": [WorkOrderCustomerSignature],
"dailyRate": WorkOrderCost,
"deleted": 1592577642,
"description": Translation,
"endDate": "2007-12-03T10:15:30Z",
"externalEmailHandlers": [
WorkOrderHandlerExternalEmail
],
"followers": [WorkOrderPersonnelV2],
"groupHandlers": [WorkOrderHandlerGroup],
"groupTicketHandlerHandlers": [
WorkOrderHandlerGroupTicketHandler
],
"history": [WorkOrderHistoryEntry],
"historyV2": [WorkOrderHistory],
"id": HashedId,
"linkedTickets": [Ticket],
"locations": [WorkOrderLocation],
"name": "abc123",
"notes": Translation,
"notesId": HashedId,
"operatingCosts": [Cost],
"partsUsed": [TicketPartUsage],
"personnel": [WorkOrderCost],
"personnelHandlers": [WorkOrderHandlerPersonnel],
"procedureTemplate": ProcedureTemplate,
"procedureTemplateId": HashedId,
"site": Site,
"siteId": HashedId,
"siteManagerHandler": WorkOrderHandlerSiteManager,
"sourceTicket": Ticket,
"sourceTicketId": HashedId,
"startDate": "2007-12-03T10:15:30Z",
"status": "CANCELLED",
"teamHandlers": [WorkOrderHandlerTeam],
"timeEntries": [WorkOrderTimeEntry],
"timeEntriesSummary": WorkOrderTimeEntrySummary,
"title": Translation,
"totalPartsCost": 987.65,
"updated": 1592577642,
"userHandlers": [WorkOrderHandlerUser],
"workOrderNumber": 987,
"workers": [WorkOrderPersonnelV2]
}
}
}
updateWorkOrderFollowers
Description
Update work order viewers and return the updated work order
Response
Returns a WorkOrderV2!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Unique identifier of the entity |
input - WorkOrderUpdateFollowersInput!
|
Viewer update input |
Example
Query
mutation updateWorkOrderFollowers(
$id: HashedId!,
$input: WorkOrderUpdateFollowersInput!
) {
updateWorkOrderFollowers(
id: $id,
input: $input
) {
assetCollections {
...WorkOrderAssetCollectionFragment
}
assets {
...AssetFragment
}
assignee {
...WorkOrderPersonnelV2Fragment
}
comments {
...WorkOrderCommentFragment
}
costCenter
costs {
...WorkOrderCostFragment
}
created
createdByGroup {
...GroupFragment
}
createdByGroupId
creationDate
creator {
...UserFragment
}
creatorId
customerName
customerSignatures {
...WorkOrderCustomerSignatureFragment
}
dailyRate {
...WorkOrderCostFragment
}
deleted
description {
...TranslationFragment
}
endDate
externalEmailHandlers {
...WorkOrderHandlerExternalEmailFragment
}
followers {
...WorkOrderPersonnelV2Fragment
}
groupHandlers {
...WorkOrderHandlerGroupFragment
}
groupTicketHandlerHandlers {
...WorkOrderHandlerGroupTicketHandlerFragment
}
history {
...WorkOrderHistoryEntryFragment
}
historyV2 {
...WorkOrderHistoryFragment
}
id
linkedTickets {
...TicketFragment
}
locations {
...WorkOrderLocationFragment
}
name
notes {
...TranslationFragment
}
notesId
operatingCosts {
...CostFragment
}
partsUsed {
...TicketPartUsageFragment
}
personnel {
...WorkOrderCostFragment
}
personnelHandlers {
...WorkOrderHandlerPersonnelFragment
}
procedureTemplate {
...ProcedureTemplateFragment
}
procedureTemplateId
site {
...SiteFragment
}
siteId
siteManagerHandler {
...WorkOrderHandlerSiteManagerFragment
}
sourceTicket {
...TicketFragment
}
sourceTicketId
startDate
status
teamHandlers {
...WorkOrderHandlerTeamFragment
}
timeEntries {
...WorkOrderTimeEntryFragment
}
timeEntriesSummary {
...WorkOrderTimeEntrySummaryFragment
}
title {
...TranslationFragment
}
totalPartsCost
updated
userHandlers {
...WorkOrderHandlerUserFragment
}
workOrderNumber
workers {
...WorkOrderPersonnelV2Fragment
}
}
}
Variables
{
"id": HashedId,
"input": WorkOrderUpdateFollowersInput
}
Response
{
"data": {
"updateWorkOrderFollowers": {
"assetCollections": [WorkOrderAssetCollection],
"assets": [Asset],
"assignee": WorkOrderPersonnelV2,
"comments": [WorkOrderComment],
"costCenter": "abc123",
"costs": [WorkOrderCost],
"created": 1592577642,
"createdByGroup": Group,
"createdByGroupId": HashedId,
"creationDate": "2007-12-03T10:15:30Z",
"creator": User,
"creatorId": HashedId,
"customerName": "abc123",
"customerSignatures": [WorkOrderCustomerSignature],
"dailyRate": WorkOrderCost,
"deleted": 1592577642,
"description": Translation,
"endDate": "2007-12-03T10:15:30Z",
"externalEmailHandlers": [
WorkOrderHandlerExternalEmail
],
"followers": [WorkOrderPersonnelV2],
"groupHandlers": [WorkOrderHandlerGroup],
"groupTicketHandlerHandlers": [
WorkOrderHandlerGroupTicketHandler
],
"history": [WorkOrderHistoryEntry],
"historyV2": [WorkOrderHistory],
"id": HashedId,
"linkedTickets": [Ticket],
"locations": [WorkOrderLocation],
"name": "abc123",
"notes": Translation,
"notesId": HashedId,
"operatingCosts": [Cost],
"partsUsed": [TicketPartUsage],
"personnel": [WorkOrderCost],
"personnelHandlers": [WorkOrderHandlerPersonnel],
"procedureTemplate": ProcedureTemplate,
"procedureTemplateId": HashedId,
"site": Site,
"siteId": HashedId,
"siteManagerHandler": WorkOrderHandlerSiteManager,
"sourceTicket": Ticket,
"sourceTicketId": HashedId,
"startDate": "2007-12-03T10:15:30Z",
"status": "CANCELLED",
"teamHandlers": [WorkOrderHandlerTeam],
"timeEntries": [WorkOrderTimeEntry],
"timeEntriesSummary": WorkOrderTimeEntrySummary,
"title": Translation,
"totalPartsCost": 987.65,
"updated": 1592577642,
"userHandlers": [WorkOrderHandlerUser],
"workOrderNumber": 987,
"workers": [WorkOrderPersonnelV2]
}
}
}
updateWorkOrderHandlerGroupTicketHandlerById
Description
Update a work order handler group ticket handler assignment by its identifier
Response
Returns a WorkOrderHandlerGroupTicketHandler!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Unique identifier of the entity |
input - WorkOrderHandlerGroupTicketHandlerUpdateInput!
|
Work order handler group ticket handler update fields |
Example
Query
mutation updateWorkOrderHandlerGroupTicketHandlerById(
$id: HashedId!,
$input: WorkOrderHandlerGroupTicketHandlerUpdateInput!
) {
updateWorkOrderHandlerGroupTicketHandlerById(
id: $id,
input: $input
) {
created
deleted
groupTicketHandler {
...GroupTicketHandlerFragment
}
groupTicketHandlerId
id
isNotifiable
isRemovable
role
updated
widgetHint
workOrderId
}
}
Variables
{
"id": HashedId,
"input": WorkOrderHandlerGroupTicketHandlerUpdateInput
}
Response
{
"data": {
"updateWorkOrderHandlerGroupTicketHandlerById": {
"created": 1592577642,
"deleted": 1592577642,
"groupTicketHandler": GroupTicketHandler,
"groupTicketHandlerId": HashedId,
"id": HashedId,
"isNotifiable": true,
"isRemovable": false,
"role": "ASSIGNEE",
"updated": 1592577642,
"widgetHint": "xyz789",
"workOrderId": HashedId
}
}
}
updateWorkOrderHandlerPersonnelById
Description
Update a work order handler personnel assignment by its identifier
Response
Returns a WorkOrderHandlerPersonnel!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Unique identifier of the entity |
input - WorkOrderHandlerPersonnelUpdateInput!
|
Work order handler personnel update fields |
Example
Query
mutation updateWorkOrderHandlerPersonnelById(
$id: HashedId!,
$input: WorkOrderHandlerPersonnelUpdateInput!
) {
updateWorkOrderHandlerPersonnelById(
id: $id,
input: $input
) {
created
deleted
id
isNotifiable
isRemovable
personnel {
...PersonnelValueFragment
}
personnelId
role
updated
widgetHint
workOrderId
}
}
Variables
{
"id": HashedId,
"input": WorkOrderHandlerPersonnelUpdateInput
}
Response
{
"data": {
"updateWorkOrderHandlerPersonnelById": {
"created": 1592577642,
"deleted": 1592577642,
"id": HashedId,
"isNotifiable": false,
"isRemovable": true,
"personnel": PersonnelValue,
"personnelId": HashedId,
"role": "ASSIGNEE",
"updated": 1592577642,
"widgetHint": "abc123",
"workOrderId": HashedId
}
}
}
updateWorkOrderHandlerTeamById
Description
Update a work order handler team assignment by its identifier
Response
Returns a WorkOrderHandlerTeam!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Unique identifier of the entity |
input - WorkOrderHandlerTeamUpdateInput!
|
Work order handler team update fields |
Example
Query
mutation updateWorkOrderHandlerTeamById(
$id: HashedId!,
$input: WorkOrderHandlerTeamUpdateInput!
) {
updateWorkOrderHandlerTeamById(
id: $id,
input: $input
) {
created
deleted
id
isNotifiable
isRemovable
role
team {
...TeamFragment
}
teamId
updated
widgetHint
workOrderId
}
}
Variables
{
"id": HashedId,
"input": WorkOrderHandlerTeamUpdateInput
}
Response
{
"data": {
"updateWorkOrderHandlerTeamById": {
"created": 1592577642,
"deleted": 1592577642,
"id": HashedId,
"isNotifiable": true,
"isRemovable": false,
"role": "ASSIGNEE",
"team": Team,
"teamId": HashedId,
"updated": 1592577642,
"widgetHint": "abc123",
"workOrderId": HashedId
}
}
}
updateWorkOrderHandlerUserById
Description
Update a work order handler user assignment by its identifier
Response
Returns a WorkOrderHandlerUser!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Unique identifier of the entity |
input - WorkOrderHandlerUserUpdateInput!
|
Work order handler user update fields |
Example
Query
mutation updateWorkOrderHandlerUserById(
$id: HashedId!,
$input: WorkOrderHandlerUserUpdateInput!
) {
updateWorkOrderHandlerUserById(
id: $id,
input: $input
) {
created
deleted
id
isNotifiable
isRemovable
personnel {
...PersonnelValueFragment
}
role
updated
user {
...UserFragment
}
userId
widgetHint
workOrderId
}
}
Variables
{
"id": HashedId,
"input": WorkOrderHandlerUserUpdateInput
}
Response
{
"data": {
"updateWorkOrderHandlerUserById": {
"created": 1592577642,
"deleted": 1592577642,
"id": HashedId,
"isNotifiable": false,
"isRemovable": false,
"personnel": PersonnelValue,
"role": "ASSIGNEE",
"updated": 1592577642,
"user": User,
"userId": HashedId,
"widgetHint": "xyz789",
"workOrderId": HashedId
}
}
}
updateWorkOrderLocations
Description
Update work order locations and return the updated work order
Response
Returns a WorkOrderV2!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Unique identifier of the entity |
input - WorkOrderUpdateLocationsInput!
|
Location update input |
Example
Query
mutation updateWorkOrderLocations(
$id: HashedId!,
$input: WorkOrderUpdateLocationsInput!
) {
updateWorkOrderLocations(
id: $id,
input: $input
) {
assetCollections {
...WorkOrderAssetCollectionFragment
}
assets {
...AssetFragment
}
assignee {
...WorkOrderPersonnelV2Fragment
}
comments {
...WorkOrderCommentFragment
}
costCenter
costs {
...WorkOrderCostFragment
}
created
createdByGroup {
...GroupFragment
}
createdByGroupId
creationDate
creator {
...UserFragment
}
creatorId
customerName
customerSignatures {
...WorkOrderCustomerSignatureFragment
}
dailyRate {
...WorkOrderCostFragment
}
deleted
description {
...TranslationFragment
}
endDate
externalEmailHandlers {
...WorkOrderHandlerExternalEmailFragment
}
followers {
...WorkOrderPersonnelV2Fragment
}
groupHandlers {
...WorkOrderHandlerGroupFragment
}
groupTicketHandlerHandlers {
...WorkOrderHandlerGroupTicketHandlerFragment
}
history {
...WorkOrderHistoryEntryFragment
}
historyV2 {
...WorkOrderHistoryFragment
}
id
linkedTickets {
...TicketFragment
}
locations {
...WorkOrderLocationFragment
}
name
notes {
...TranslationFragment
}
notesId
operatingCosts {
...CostFragment
}
partsUsed {
...TicketPartUsageFragment
}
personnel {
...WorkOrderCostFragment
}
personnelHandlers {
...WorkOrderHandlerPersonnelFragment
}
procedureTemplate {
...ProcedureTemplateFragment
}
procedureTemplateId
site {
...SiteFragment
}
siteId
siteManagerHandler {
...WorkOrderHandlerSiteManagerFragment
}
sourceTicket {
...TicketFragment
}
sourceTicketId
startDate
status
teamHandlers {
...WorkOrderHandlerTeamFragment
}
timeEntries {
...WorkOrderTimeEntryFragment
}
timeEntriesSummary {
...WorkOrderTimeEntrySummaryFragment
}
title {
...TranslationFragment
}
totalPartsCost
updated
userHandlers {
...WorkOrderHandlerUserFragment
}
workOrderNumber
workers {
...WorkOrderPersonnelV2Fragment
}
}
}
Variables
{
"id": HashedId,
"input": WorkOrderUpdateLocationsInput
}
Response
{
"data": {
"updateWorkOrderLocations": {
"assetCollections": [WorkOrderAssetCollection],
"assets": [Asset],
"assignee": WorkOrderPersonnelV2,
"comments": [WorkOrderComment],
"costCenter": "abc123",
"costs": [WorkOrderCost],
"created": 1592577642,
"createdByGroup": Group,
"createdByGroupId": HashedId,
"creationDate": "2007-12-03T10:15:30Z",
"creator": User,
"creatorId": HashedId,
"customerName": "abc123",
"customerSignatures": [WorkOrderCustomerSignature],
"dailyRate": WorkOrderCost,
"deleted": 1592577642,
"description": Translation,
"endDate": "2007-12-03T10:15:30Z",
"externalEmailHandlers": [
WorkOrderHandlerExternalEmail
],
"followers": [WorkOrderPersonnelV2],
"groupHandlers": [WorkOrderHandlerGroup],
"groupTicketHandlerHandlers": [
WorkOrderHandlerGroupTicketHandler
],
"history": [WorkOrderHistoryEntry],
"historyV2": [WorkOrderHistory],
"id": HashedId,
"linkedTickets": [Ticket],
"locations": [WorkOrderLocation],
"name": "xyz789",
"notes": Translation,
"notesId": HashedId,
"operatingCosts": [Cost],
"partsUsed": [TicketPartUsage],
"personnel": [WorkOrderCost],
"personnelHandlers": [WorkOrderHandlerPersonnel],
"procedureTemplate": ProcedureTemplate,
"procedureTemplateId": HashedId,
"site": Site,
"siteId": HashedId,
"siteManagerHandler": WorkOrderHandlerSiteManager,
"sourceTicket": Ticket,
"sourceTicketId": HashedId,
"startDate": "2007-12-03T10:15:30Z",
"status": "CANCELLED",
"teamHandlers": [WorkOrderHandlerTeam],
"timeEntries": [WorkOrderTimeEntry],
"timeEntriesSummary": WorkOrderTimeEntrySummary,
"title": Translation,
"totalPartsCost": 123.45,
"updated": 1592577642,
"userHandlers": [WorkOrderHandlerUser],
"workOrderNumber": 987,
"workers": [WorkOrderPersonnelV2]
}
}
}
updateWorkOrderPersonnel
Description
Update work order personnel and return the updated work order
Response
Returns a WorkOrderV2!
Arguments
| Name | Description |
|---|---|
personnel - WorkOrderPersonnelInput
|
Personnel assignment details for the work order |
workOrder - WorkOrderDatesInput!
|
Work order date range identifying the target work order |
Example
Query
mutation updateWorkOrderPersonnel(
$personnel: WorkOrderPersonnelInput,
$workOrder: WorkOrderDatesInput!
) {
updateWorkOrderPersonnel(
personnel: $personnel,
workOrder: $workOrder
) {
assetCollections {
...WorkOrderAssetCollectionFragment
}
assets {
...AssetFragment
}
assignee {
...WorkOrderPersonnelV2Fragment
}
comments {
...WorkOrderCommentFragment
}
costCenter
costs {
...WorkOrderCostFragment
}
created
createdByGroup {
...GroupFragment
}
createdByGroupId
creationDate
creator {
...UserFragment
}
creatorId
customerName
customerSignatures {
...WorkOrderCustomerSignatureFragment
}
dailyRate {
...WorkOrderCostFragment
}
deleted
description {
...TranslationFragment
}
endDate
externalEmailHandlers {
...WorkOrderHandlerExternalEmailFragment
}
followers {
...WorkOrderPersonnelV2Fragment
}
groupHandlers {
...WorkOrderHandlerGroupFragment
}
groupTicketHandlerHandlers {
...WorkOrderHandlerGroupTicketHandlerFragment
}
history {
...WorkOrderHistoryEntryFragment
}
historyV2 {
...WorkOrderHistoryFragment
}
id
linkedTickets {
...TicketFragment
}
locations {
...WorkOrderLocationFragment
}
name
notes {
...TranslationFragment
}
notesId
operatingCosts {
...CostFragment
}
partsUsed {
...TicketPartUsageFragment
}
personnel {
...WorkOrderCostFragment
}
personnelHandlers {
...WorkOrderHandlerPersonnelFragment
}
procedureTemplate {
...ProcedureTemplateFragment
}
procedureTemplateId
site {
...SiteFragment
}
siteId
siteManagerHandler {
...WorkOrderHandlerSiteManagerFragment
}
sourceTicket {
...TicketFragment
}
sourceTicketId
startDate
status
teamHandlers {
...WorkOrderHandlerTeamFragment
}
timeEntries {
...WorkOrderTimeEntryFragment
}
timeEntriesSummary {
...WorkOrderTimeEntrySummaryFragment
}
title {
...TranslationFragment
}
totalPartsCost
updated
userHandlers {
...WorkOrderHandlerUserFragment
}
workOrderNumber
workers {
...WorkOrderPersonnelV2Fragment
}
}
}
Variables
{
"personnel": WorkOrderPersonnelInput,
"workOrder": WorkOrderDatesInput
}
Response
{
"data": {
"updateWorkOrderPersonnel": {
"assetCollections": [WorkOrderAssetCollection],
"assets": [Asset],
"assignee": WorkOrderPersonnelV2,
"comments": [WorkOrderComment],
"costCenter": "abc123",
"costs": [WorkOrderCost],
"created": 1592577642,
"createdByGroup": Group,
"createdByGroupId": HashedId,
"creationDate": "2007-12-03T10:15:30Z",
"creator": User,
"creatorId": HashedId,
"customerName": "xyz789",
"customerSignatures": [WorkOrderCustomerSignature],
"dailyRate": WorkOrderCost,
"deleted": 1592577642,
"description": Translation,
"endDate": "2007-12-03T10:15:30Z",
"externalEmailHandlers": [
WorkOrderHandlerExternalEmail
],
"followers": [WorkOrderPersonnelV2],
"groupHandlers": [WorkOrderHandlerGroup],
"groupTicketHandlerHandlers": [
WorkOrderHandlerGroupTicketHandler
],
"history": [WorkOrderHistoryEntry],
"historyV2": [WorkOrderHistory],
"id": HashedId,
"linkedTickets": [Ticket],
"locations": [WorkOrderLocation],
"name": "abc123",
"notes": Translation,
"notesId": HashedId,
"operatingCosts": [Cost],
"partsUsed": [TicketPartUsage],
"personnel": [WorkOrderCost],
"personnelHandlers": [WorkOrderHandlerPersonnel],
"procedureTemplate": ProcedureTemplate,
"procedureTemplateId": HashedId,
"site": Site,
"siteId": HashedId,
"siteManagerHandler": WorkOrderHandlerSiteManager,
"sourceTicket": Ticket,
"sourceTicketId": HashedId,
"startDate": "2007-12-03T10:15:30Z",
"status": "CANCELLED",
"teamHandlers": [WorkOrderHandlerTeam],
"timeEntries": [WorkOrderTimeEntry],
"timeEntriesSummary": WorkOrderTimeEntrySummary,
"title": Translation,
"totalPartsCost": 987.65,
"updated": 1592577642,
"userHandlers": [WorkOrderHandlerUser],
"workOrderNumber": 987,
"workers": [WorkOrderPersonnelV2]
}
}
}
updateWorkOrderTimeEntryById
Description
Update an existing work order time entry
Response
Returns a WorkOrderTimeEntry!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Unique identifier of the entity |
input - WorkOrderTimeEntryUpdateInput!
|
Input data for updating the time entry |
Example
Query
mutation updateWorkOrderTimeEntryById(
$id: HashedId!,
$input: WorkOrderTimeEntryUpdateInput!
) {
updateWorkOrderTimeEntryById(
id: $id,
input: $input
) {
created
createdByGroupId
createdByUserId
createdManually
endedAt
groupTicketHandlerHandler {
...WorkOrderHandlerGroupTicketHandlerFragment
}
id
kind
note
personnelHandler {
...WorkOrderHandlerPersonnelFragment
}
startedAt
teamHandler {
...WorkOrderHandlerTeamFragment
}
updated
userHandler {
...WorkOrderHandlerUserFragment
}
workOrderHandlerGroupTicketHandlerId
workOrderHandlerPersonnelId
workOrderHandlerTeamId
workOrderHandlerUserId
workOrderId
}
}
Variables
{
"id": HashedId,
"input": WorkOrderTimeEntryUpdateInput
}
Response
{
"data": {
"updateWorkOrderTimeEntryById": {
"created": 1592577642,
"createdByGroupId": HashedId,
"createdByUserId": HashedId,
"createdManually": true,
"endedAt": "2007-12-03T10:15:30Z",
"groupTicketHandlerHandler": WorkOrderHandlerGroupTicketHandler,
"id": HashedId,
"kind": "BREAK",
"note": "abc123",
"personnelHandler": WorkOrderHandlerPersonnel,
"startedAt": "2007-12-03T10:15:30Z",
"teamHandler": WorkOrderHandlerTeam,
"updated": 1592577642,
"userHandler": WorkOrderHandlerUser,
"workOrderHandlerGroupTicketHandlerId": HashedId,
"workOrderHandlerPersonnelId": HashedId,
"workOrderHandlerTeamId": HashedId,
"workOrderHandlerUserId": HashedId,
"workOrderId": HashedId
}
}
}
updateWorkOrderView
Description
Update an existing saved work order list view
Response
Returns a WorkOrderView!
Arguments
| Name | Description |
|---|---|
view - WorkOrderViewUpdateInput!
|
View configuration data |
Example
Query
mutation updateWorkOrderView($view: WorkOrderViewUpdateInput!) {
updateWorkOrderView(view: $view) {
created
displayMode
forEntity
id
isActive
isDeletable
isEditable
isShareable
isShared
isSystemView
isUnsharedByParentGroup
options {
...WorkOrderViewOptionsFragment
}
title {
...TranslationFragment
}
titleId
updated
}
}
Variables
{"view": WorkOrderViewUpdateInput}
Response
{
"data": {
"updateWorkOrderView": {
"created": 1592577642,
"displayMode": "GANTT",
"forEntity": "ASSET",
"id": HashedId,
"isActive": true,
"isDeletable": true,
"isEditable": true,
"isShareable": true,
"isShared": true,
"isSystemView": false,
"isUnsharedByParentGroup": false,
"options": WorkOrderViewOptions,
"title": Translation,
"titleId": HashedId,
"updated": 1592577642
}
}
}
uploadBrandImage
Response
Returns a String!
Arguments
| Name | Description |
|---|---|
file - Upload!
|
|
input - BrandUploadImageInput!
|
Example
Query
mutation uploadBrandImage(
$file: Upload!,
$input: BrandUploadImageInput!
) {
uploadBrandImage(
file: $file,
input: $input
)
}
Variables
{
"file": Upload,
"input": BrandUploadImageInput
}
Response
{"data": {"uploadBrandImage": "xyz789"}}
uploadDashboardWidgetImage
Description
Upload a PNG, JPEG or SVG image for an image widget and return its public URL
upsertTag
Description
Create a tag in the current group, or rename and recolor it when id is set
Response
Returns a Tag!
Arguments
| Name | Description |
|---|---|
input - TagUpsertInput!
|
Tag create or update fields |
Example
Query
mutation upsertTag($input: TagUpsertInput!) {
upsertTag(input: $input) {
color
created
createdByUser {
...UserFragment
}
createdByUserId
group {
...GroupFragment
}
groupId
id
name
ticketUsageCount
updated
}
}
Variables
{"input": TagUpsertInput}
Response
{
"data": {
"upsertTag": {
"color": "abc123",
"created": 1592577642,
"createdByUser": User,
"createdByUserId": HashedId,
"group": Group,
"groupId": HashedId,
"id": HashedId,
"name": "abc123",
"ticketUsageCount": 123,
"updated": 1592577642
}
}
}
validateAssets
Description
Validates a batch of asset rows against the import schema and returns per-row column-level validation results.
Response
Returns [AssetImportValidateResult!]!
Arguments
| Name | Description |
|---|---|
input - [ImporterValidateAssetInput!]!
|
List of asset rows to validate before import |
mode - ImporterMode!
|
Importer mode for validation: CREATE produces a create-only schema; UPDATE produces an update-only schema requiring identity columns. |
Example
Query
mutation validateAssets(
$input: [ImporterValidateAssetInput!]!,
$mode: ImporterMode!
) {
validateAssets(
input: $input,
mode: $mode
) {
assetInternal {
...ImporterValidateColumnResultFragment
}
assignment {
...ImporterValidateColumnResultFragment
}
availability {
...ImporterValidateColumnResultFragment
}
categoryInternal {
...ImporterValidateColumnResultFragment
}
category_ar {
...ImporterValidateColumnResultFragment
}
category_bg {
...ImporterValidateColumnResultFragment
}
category_bn {
...ImporterValidateColumnResultFragment
}
category_cs {
...ImporterValidateColumnResultFragment
}
category_da {
...ImporterValidateColumnResultFragment
}
category_de {
...ImporterValidateColumnResultFragment
}
category_el {
...ImporterValidateColumnResultFragment
}
category_en {
...ImporterValidateColumnResultFragment
}
category_es {
...ImporterValidateColumnResultFragment
}
category_et {
...ImporterValidateColumnResultFragment
}
category_fa {
...ImporterValidateColumnResultFragment
}
category_fi {
...ImporterValidateColumnResultFragment
}
category_fr {
...ImporterValidateColumnResultFragment
}
category_he {
...ImporterValidateColumnResultFragment
}
category_hi {
...ImporterValidateColumnResultFragment
}
category_hr {
...ImporterValidateColumnResultFragment
}
category_hu {
...ImporterValidateColumnResultFragment
}
category_id {
...ImporterValidateColumnResultFragment
}
category_it {
...ImporterValidateColumnResultFragment
}
category_ja {
...ImporterValidateColumnResultFragment
}
category_ko {
...ImporterValidateColumnResultFragment
}
category_lo {
...ImporterValidateColumnResultFragment
}
category_lt {
...ImporterValidateColumnResultFragment
}
category_lv {
...ImporterValidateColumnResultFragment
}
category_ms {
...ImporterValidateColumnResultFragment
}
category_my {
...ImporterValidateColumnResultFragment
}
category_nb {
...ImporterValidateColumnResultFragment
}
category_nl {
...ImporterValidateColumnResultFragment
}
category_pl {
...ImporterValidateColumnResultFragment
}
category_pt {
...ImporterValidateColumnResultFragment
}
category_ro {
...ImporterValidateColumnResultFragment
}
category_ru {
...ImporterValidateColumnResultFragment
}
category_sk {
...ImporterValidateColumnResultFragment
}
category_sl {
...ImporterValidateColumnResultFragment
}
category_sr {
...ImporterValidateColumnResultFragment
}
category_sv {
...ImporterValidateColumnResultFragment
}
category_sw {
...ImporterValidateColumnResultFragment
}
category_ta {
...ImporterValidateColumnResultFragment
}
category_th {
...ImporterValidateColumnResultFragment
}
category_tl {
...ImporterValidateColumnResultFragment
}
category_tr {
...ImporterValidateColumnResultFragment
}
category_uk {
...ImporterValidateColumnResultFragment
}
category_ur {
...ImporterValidateColumnResultFragment
}
category_vi {
...ImporterValidateColumnResultFragment
}
category_zh {
...ImporterValidateColumnResultFragment
}
checkSchedule {
...ImporterValidateColumnResultFragment
}
classification {
...ImporterValidateColumnResultFragment
}
client {
...ImporterValidateColumnResultFragment
}
commissionDate {
...ImporterValidateColumnResultFragment
}
costCenter {
...ImporterValidateColumnResultFragment
}
currency {
...ImporterValidateColumnResultFragment
}
customFields {
...AssetImportCustomFieldResultDtoFragment
}
dailyRate {
...ImporterValidateColumnResultFragment
}
description_ar {
...ImporterValidateColumnResultFragment
}
description_bg {
...ImporterValidateColumnResultFragment
}
description_bn {
...ImporterValidateColumnResultFragment
}
description_cs {
...ImporterValidateColumnResultFragment
}
description_da {
...ImporterValidateColumnResultFragment
}
description_de {
...ImporterValidateColumnResultFragment
}
description_el {
...ImporterValidateColumnResultFragment
}
description_en {
...ImporterValidateColumnResultFragment
}
description_es {
...ImporterValidateColumnResultFragment
}
description_et {
...ImporterValidateColumnResultFragment
}
description_fa {
...ImporterValidateColumnResultFragment
}
description_fi {
...ImporterValidateColumnResultFragment
}
description_fr {
...ImporterValidateColumnResultFragment
}
description_he {
...ImporterValidateColumnResultFragment
}
description_hi {
...ImporterValidateColumnResultFragment
}
description_hr {
...ImporterValidateColumnResultFragment
}
description_hu {
...ImporterValidateColumnResultFragment
}
description_id {
...ImporterValidateColumnResultFragment
}
description_it {
...ImporterValidateColumnResultFragment
}
description_ja {
...ImporterValidateColumnResultFragment
}
description_ko {
...ImporterValidateColumnResultFragment
}
description_lo {
...ImporterValidateColumnResultFragment
}
description_lt {
...ImporterValidateColumnResultFragment
}
description_lv {
...ImporterValidateColumnResultFragment
}
description_ms {
...ImporterValidateColumnResultFragment
}
description_my {
...ImporterValidateColumnResultFragment
}
description_nb {
...ImporterValidateColumnResultFragment
}
description_nl {
...ImporterValidateColumnResultFragment
}
description_pl {
...ImporterValidateColumnResultFragment
}
description_pt {
...ImporterValidateColumnResultFragment
}
description_ro {
...ImporterValidateColumnResultFragment
}
description_ru {
...ImporterValidateColumnResultFragment
}
description_sk {
...ImporterValidateColumnResultFragment
}
description_sl {
...ImporterValidateColumnResultFragment
}
description_sr {
...ImporterValidateColumnResultFragment
}
description_sv {
...ImporterValidateColumnResultFragment
}
description_sw {
...ImporterValidateColumnResultFragment
}
description_ta {
...ImporterValidateColumnResultFragment
}
description_th {
...ImporterValidateColumnResultFragment
}
description_tl {
...ImporterValidateColumnResultFragment
}
description_tr {
...ImporterValidateColumnResultFragment
}
description_uk {
...ImporterValidateColumnResultFragment
}
description_ur {
...ImporterValidateColumnResultFragment
}
description_vi {
...ImporterValidateColumnResultFragment
}
description_zh {
...ImporterValidateColumnResultFragment
}
externalId {
...ImporterValidateColumnResultFragment
}
fixedAssetNumber {
...ImporterValidateColumnResultFragment
}
floorRoom {
...ImporterValidateColumnResultFragment
}
hasErrors
hasWarnings
id {
...ImporterValidateColumnResultFragment
}
imei {
...ImporterValidateColumnResultFragment
}
index
initialValue {
...ImporterValidateColumnResultFragment
}
inventoryNumber {
...ImporterValidateColumnResultFragment
}
inventoryPrefix {
...ImporterValidateColumnResultFragment
}
lastMachineCheck {
...ImporterValidateColumnResultFragment
}
leasingCostTermination {
...ImporterValidateColumnResultFragment
}
leasingEnd {
...ImporterValidateColumnResultFragment
}
leasingLevel {
...ImporterValidateColumnResultFragment
}
leasingMonthlyCost {
...ImporterValidateColumnResultFragment
}
leasingPartner {
...ImporterValidateColumnResultFragment
}
leasingPartnerContractNumber {
...ImporterValidateColumnResultFragment
}
leasingPartnerContractPositionNumber {
...ImporterValidateColumnResultFragment
}
leasingRenewalDate {
...ImporterValidateColumnResultFragment
}
leasingRenewalRate {
...ImporterValidateColumnResultFragment
}
leasingStart {
...ImporterValidateColumnResultFragment
}
machineCheckInterval {
...ImporterValidateColumnResultFragment
}
machineCheckName {
...ImporterValidateColumnResultFragment
}
machineCheckTimeframe {
...ImporterValidateColumnResultFragment
}
maintenanceInterval {
...ImporterValidateColumnResultFragment
}
maintenanceLastDate {
...ImporterValidateColumnResultFragment
}
maintenanceSchedule {
...ImporterValidateColumnResultFragment
}
make {
...ImporterValidateColumnResultFragment
}
minDaysBilled {
...ImporterValidateColumnResultFragment
}
optionalAssetID {
...ImporterValidateColumnResultFragment
}
ownership {
...ImporterValidateColumnResultFragment
}
plateNumber {
...ImporterValidateColumnResultFragment
}
projectNumber {
...ImporterValidateColumnResultFragment
}
purchaseCost {
...ImporterValidateColumnResultFragment
}
purchaseDepreciationMonths {
...ImporterValidateColumnResultFragment
}
purchaseInvoiceNumber {
...ImporterValidateColumnResultFragment
}
purchaseLowValueAsset {
...ImporterValidateColumnResultFragment
}
purchaseStart {
...ImporterValidateColumnResultFragment
}
purchaseWarrantyEnd {
...ImporterValidateColumnResultFragment
}
purchaseWarrantyPeriod {
...ImporterValidateColumnResultFragment
}
purchaseWarrantyStart {
...ImporterValidateColumnResultFragment
}
quantity {
...ImporterValidateColumnResultFragment
}
rentalCostTermination {
...ImporterValidateColumnResultFragment
}
rentalEnd {
...ImporterValidateColumnResultFragment
}
rentalMonthlyCost {
...ImporterValidateColumnResultFragment
}
rentalRenewalDate {
...ImporterValidateColumnResultFragment
}
rentalRenewalRate {
...ImporterValidateColumnResultFragment
}
rentalStart {
...ImporterValidateColumnResultFragment
}
reservations {
...ImporterValidateColumnResultFragment
}
responsiblePerson {
...ImporterValidateColumnResultFragment
}
serial {
...ImporterValidateColumnResultFragment
}
serviceContract {
...ImporterValidateColumnResultFragment
}
serviceContractCostPerYear {
...ImporterValidateColumnResultFragment
}
serviceContractEmail {
...ImporterValidateColumnResultFragment
}
serviceContractEnd {
...ImporterValidateColumnResultFragment
}
serviceContractLevel {
...ImporterValidateColumnResultFragment
}
serviceContractPartner {
...ImporterValidateColumnResultFragment
}
serviceContractStart {
...ImporterValidateColumnResultFragment
}
shouldUpdateActiveAssetSiteAssignment {
...ImporterValidateColumnResultFragment
}
site {
...ImporterValidateColumnResultFragment
}
siteAddress {
...ImporterValidateColumnResultFragment
}
siteExternalId {
...ImporterValidateColumnResultFragment
}
siteInternal {
...ImporterValidateColumnResultFragment
}
supplier {
...ImporterValidateColumnResultFragment
}
typeInternal {
...ImporterValidateColumnResultFragment
}
type_ar {
...ImporterValidateColumnResultFragment
}
type_bg {
...ImporterValidateColumnResultFragment
}
type_bn {
...ImporterValidateColumnResultFragment
}
type_cs {
...ImporterValidateColumnResultFragment
}
type_da {
...ImporterValidateColumnResultFragment
}
type_de {
...ImporterValidateColumnResultFragment
}
type_el {
...ImporterValidateColumnResultFragment
}
type_en {
...ImporterValidateColumnResultFragment
}
type_es {
...ImporterValidateColumnResultFragment
}
type_et {
...ImporterValidateColumnResultFragment
}
type_fa {
...ImporterValidateColumnResultFragment
}
type_fi {
...ImporterValidateColumnResultFragment
}
type_fr {
...ImporterValidateColumnResultFragment
}
type_he {
...ImporterValidateColumnResultFragment
}
type_hi {
...ImporterValidateColumnResultFragment
}
type_hr {
...ImporterValidateColumnResultFragment
}
type_hu {
...ImporterValidateColumnResultFragment
}
type_id {
...ImporterValidateColumnResultFragment
}
type_it {
...ImporterValidateColumnResultFragment
}
type_ja {
...ImporterValidateColumnResultFragment
}
type_ko {
...ImporterValidateColumnResultFragment
}
type_lo {
...ImporterValidateColumnResultFragment
}
type_lt {
...ImporterValidateColumnResultFragment
}
type_lv {
...ImporterValidateColumnResultFragment
}
type_ms {
...ImporterValidateColumnResultFragment
}
type_my {
...ImporterValidateColumnResultFragment
}
type_nb {
...ImporterValidateColumnResultFragment
}
type_nl {
...ImporterValidateColumnResultFragment
}
type_pl {
...ImporterValidateColumnResultFragment
}
type_pt {
...ImporterValidateColumnResultFragment
}
type_ro {
...ImporterValidateColumnResultFragment
}
type_ru {
...ImporterValidateColumnResultFragment
}
type_sk {
...ImporterValidateColumnResultFragment
}
type_sl {
...ImporterValidateColumnResultFragment
}
type_sr {
...ImporterValidateColumnResultFragment
}
type_sv {
...ImporterValidateColumnResultFragment
}
type_sw {
...ImporterValidateColumnResultFragment
}
type_ta {
...ImporterValidateColumnResultFragment
}
type_th {
...ImporterValidateColumnResultFragment
}
type_tl {
...ImporterValidateColumnResultFragment
}
type_tr {
...ImporterValidateColumnResultFragment
}
type_uk {
...ImporterValidateColumnResultFragment
}
type_ur {
...ImporterValidateColumnResultFragment
}
type_vi {
...ImporterValidateColumnResultFragment
}
type_zh {
...ImporterValidateColumnResultFragment
}
vehicle {
...ImporterValidateColumnResultFragment
}
}
}
Variables
{"input": [ImporterValidateAssetInput], "mode": "CREATE"}
Response
{
"data": {
"validateAssets": [
{
"assetInternal": ImporterValidateColumnResult,
"assignment": ImporterValidateColumnResult,
"availability": ImporterValidateColumnResult,
"categoryInternal": ImporterValidateColumnResult,
"category_ar": ImporterValidateColumnResult,
"category_bg": ImporterValidateColumnResult,
"category_bn": ImporterValidateColumnResult,
"category_cs": ImporterValidateColumnResult,
"category_da": ImporterValidateColumnResult,
"category_de": ImporterValidateColumnResult,
"category_el": ImporterValidateColumnResult,
"category_en": ImporterValidateColumnResult,
"category_es": ImporterValidateColumnResult,
"category_et": ImporterValidateColumnResult,
"category_fa": ImporterValidateColumnResult,
"category_fi": ImporterValidateColumnResult,
"category_fr": ImporterValidateColumnResult,
"category_he": ImporterValidateColumnResult,
"category_hi": ImporterValidateColumnResult,
"category_hr": ImporterValidateColumnResult,
"category_hu": ImporterValidateColumnResult,
"category_id": ImporterValidateColumnResult,
"category_it": ImporterValidateColumnResult,
"category_ja": ImporterValidateColumnResult,
"category_ko": ImporterValidateColumnResult,
"category_lo": ImporterValidateColumnResult,
"category_lt": ImporterValidateColumnResult,
"category_lv": ImporterValidateColumnResult,
"category_ms": ImporterValidateColumnResult,
"category_my": ImporterValidateColumnResult,
"category_nb": ImporterValidateColumnResult,
"category_nl": ImporterValidateColumnResult,
"category_pl": ImporterValidateColumnResult,
"category_pt": ImporterValidateColumnResult,
"category_ro": ImporterValidateColumnResult,
"category_ru": ImporterValidateColumnResult,
"category_sk": ImporterValidateColumnResult,
"category_sl": ImporterValidateColumnResult,
"category_sr": ImporterValidateColumnResult,
"category_sv": ImporterValidateColumnResult,
"category_sw": ImporterValidateColumnResult,
"category_ta": ImporterValidateColumnResult,
"category_th": ImporterValidateColumnResult,
"category_tl": ImporterValidateColumnResult,
"category_tr": ImporterValidateColumnResult,
"category_uk": ImporterValidateColumnResult,
"category_ur": ImporterValidateColumnResult,
"category_vi": ImporterValidateColumnResult,
"category_zh": ImporterValidateColumnResult,
"checkSchedule": ImporterValidateColumnResult,
"classification": ImporterValidateColumnResult,
"client": ImporterValidateColumnResult,
"commissionDate": ImporterValidateColumnResult,
"costCenter": ImporterValidateColumnResult,
"currency": ImporterValidateColumnResult,
"customFields": [AssetImportCustomFieldResultDto],
"dailyRate": ImporterValidateColumnResult,
"description_ar": ImporterValidateColumnResult,
"description_bg": ImporterValidateColumnResult,
"description_bn": ImporterValidateColumnResult,
"description_cs": ImporterValidateColumnResult,
"description_da": ImporterValidateColumnResult,
"description_de": ImporterValidateColumnResult,
"description_el": ImporterValidateColumnResult,
"description_en": ImporterValidateColumnResult,
"description_es": ImporterValidateColumnResult,
"description_et": ImporterValidateColumnResult,
"description_fa": ImporterValidateColumnResult,
"description_fi": ImporterValidateColumnResult,
"description_fr": ImporterValidateColumnResult,
"description_he": ImporterValidateColumnResult,
"description_hi": ImporterValidateColumnResult,
"description_hr": ImporterValidateColumnResult,
"description_hu": ImporterValidateColumnResult,
"description_id": ImporterValidateColumnResult,
"description_it": ImporterValidateColumnResult,
"description_ja": ImporterValidateColumnResult,
"description_ko": ImporterValidateColumnResult,
"description_lo": ImporterValidateColumnResult,
"description_lt": ImporterValidateColumnResult,
"description_lv": ImporterValidateColumnResult,
"description_ms": ImporterValidateColumnResult,
"description_my": ImporterValidateColumnResult,
"description_nb": ImporterValidateColumnResult,
"description_nl": ImporterValidateColumnResult,
"description_pl": ImporterValidateColumnResult,
"description_pt": ImporterValidateColumnResult,
"description_ro": ImporterValidateColumnResult,
"description_ru": ImporterValidateColumnResult,
"description_sk": ImporterValidateColumnResult,
"description_sl": ImporterValidateColumnResult,
"description_sr": ImporterValidateColumnResult,
"description_sv": ImporterValidateColumnResult,
"description_sw": ImporterValidateColumnResult,
"description_ta": ImporterValidateColumnResult,
"description_th": ImporterValidateColumnResult,
"description_tl": ImporterValidateColumnResult,
"description_tr": ImporterValidateColumnResult,
"description_uk": ImporterValidateColumnResult,
"description_ur": ImporterValidateColumnResult,
"description_vi": ImporterValidateColumnResult,
"description_zh": ImporterValidateColumnResult,
"externalId": ImporterValidateColumnResult,
"fixedAssetNumber": ImporterValidateColumnResult,
"floorRoom": ImporterValidateColumnResult,
"hasErrors": false,
"hasWarnings": true,
"id": ImporterValidateColumnResult,
"imei": ImporterValidateColumnResult,
"index": 123,
"initialValue": ImporterValidateColumnResult,
"inventoryNumber": ImporterValidateColumnResult,
"inventoryPrefix": ImporterValidateColumnResult,
"lastMachineCheck": ImporterValidateColumnResult,
"leasingCostTermination": ImporterValidateColumnResult,
"leasingEnd": ImporterValidateColumnResult,
"leasingLevel": ImporterValidateColumnResult,
"leasingMonthlyCost": ImporterValidateColumnResult,
"leasingPartner": ImporterValidateColumnResult,
"leasingPartnerContractNumber": ImporterValidateColumnResult,
"leasingPartnerContractPositionNumber": ImporterValidateColumnResult,
"leasingRenewalDate": ImporterValidateColumnResult,
"leasingRenewalRate": ImporterValidateColumnResult,
"leasingStart": ImporterValidateColumnResult,
"machineCheckInterval": ImporterValidateColumnResult,
"machineCheckName": ImporterValidateColumnResult,
"machineCheckTimeframe": ImporterValidateColumnResult,
"maintenanceInterval": ImporterValidateColumnResult,
"maintenanceLastDate": ImporterValidateColumnResult,
"maintenanceSchedule": ImporterValidateColumnResult,
"make": ImporterValidateColumnResult,
"minDaysBilled": ImporterValidateColumnResult,
"optionalAssetID": ImporterValidateColumnResult,
"ownership": ImporterValidateColumnResult,
"plateNumber": ImporterValidateColumnResult,
"projectNumber": ImporterValidateColumnResult,
"purchaseCost": ImporterValidateColumnResult,
"purchaseDepreciationMonths": ImporterValidateColumnResult,
"purchaseInvoiceNumber": ImporterValidateColumnResult,
"purchaseLowValueAsset": ImporterValidateColumnResult,
"purchaseStart": ImporterValidateColumnResult,
"purchaseWarrantyEnd": ImporterValidateColumnResult,
"purchaseWarrantyPeriod": ImporterValidateColumnResult,
"purchaseWarrantyStart": ImporterValidateColumnResult,
"quantity": ImporterValidateColumnResult,
"rentalCostTermination": ImporterValidateColumnResult,
"rentalEnd": ImporterValidateColumnResult,
"rentalMonthlyCost": ImporterValidateColumnResult,
"rentalRenewalDate": ImporterValidateColumnResult,
"rentalRenewalRate": ImporterValidateColumnResult,
"rentalStart": ImporterValidateColumnResult,
"reservations": ImporterValidateColumnResult,
"responsiblePerson": ImporterValidateColumnResult,
"serial": ImporterValidateColumnResult,
"serviceContract": ImporterValidateColumnResult,
"serviceContractCostPerYear": ImporterValidateColumnResult,
"serviceContractEmail": ImporterValidateColumnResult,
"serviceContractEnd": ImporterValidateColumnResult,
"serviceContractLevel": ImporterValidateColumnResult,
"serviceContractPartner": ImporterValidateColumnResult,
"serviceContractStart": ImporterValidateColumnResult,
"shouldUpdateActiveAssetSiteAssignment": ImporterValidateColumnResult,
"site": ImporterValidateColumnResult,
"siteAddress": ImporterValidateColumnResult,
"siteExternalId": ImporterValidateColumnResult,
"siteInternal": ImporterValidateColumnResult,
"supplier": ImporterValidateColumnResult,
"typeInternal": ImporterValidateColumnResult,
"type_ar": ImporterValidateColumnResult,
"type_bg": ImporterValidateColumnResult,
"type_bn": ImporterValidateColumnResult,
"type_cs": ImporterValidateColumnResult,
"type_da": ImporterValidateColumnResult,
"type_de": ImporterValidateColumnResult,
"type_el": ImporterValidateColumnResult,
"type_en": ImporterValidateColumnResult,
"type_es": ImporterValidateColumnResult,
"type_et": ImporterValidateColumnResult,
"type_fa": ImporterValidateColumnResult,
"type_fi": ImporterValidateColumnResult,
"type_fr": ImporterValidateColumnResult,
"type_he": ImporterValidateColumnResult,
"type_hi": ImporterValidateColumnResult,
"type_hr": ImporterValidateColumnResult,
"type_hu": ImporterValidateColumnResult,
"type_id": ImporterValidateColumnResult,
"type_it": ImporterValidateColumnResult,
"type_ja": ImporterValidateColumnResult,
"type_ko": ImporterValidateColumnResult,
"type_lo": ImporterValidateColumnResult,
"type_lt": ImporterValidateColumnResult,
"type_lv": ImporterValidateColumnResult,
"type_ms": ImporterValidateColumnResult,
"type_my": ImporterValidateColumnResult,
"type_nb": ImporterValidateColumnResult,
"type_nl": ImporterValidateColumnResult,
"type_pl": ImporterValidateColumnResult,
"type_pt": ImporterValidateColumnResult,
"type_ro": ImporterValidateColumnResult,
"type_ru": ImporterValidateColumnResult,
"type_sk": ImporterValidateColumnResult,
"type_sl": ImporterValidateColumnResult,
"type_sr": ImporterValidateColumnResult,
"type_sv": ImporterValidateColumnResult,
"type_sw": ImporterValidateColumnResult,
"type_ta": ImporterValidateColumnResult,
"type_th": ImporterValidateColumnResult,
"type_tl": ImporterValidateColumnResult,
"type_tr": ImporterValidateColumnResult,
"type_uk": ImporterValidateColumnResult,
"type_ur": ImporterValidateColumnResult,
"type_vi": ImporterValidateColumnResult,
"type_zh": ImporterValidateColumnResult,
"vehicle": ImporterValidateColumnResult
}
]
}
}
validateParts
Description
Validates a batch of part rows against the import schema and returns per-row column-level validation results.
Response
Returns [PartImporterValidateResult!]!
Arguments
| Name | Description |
|---|---|
input - [PartImporterValidateInput!]!
|
List of part rows to validate before import |
mode - ImporterMode!
|
Importer mode for validation: CREATE produces a create-only schema; UPDATE produces an update-only schema requiring identity columns. |
Example
Query
mutation validateParts(
$input: [PartImporterValidateInput!]!,
$mode: ImporterMode!
) {
validateParts(
input: $input,
mode: $mode
) {
area {
...ImporterValidateColumnResultFragment
}
availableQuantity {
...ImporterValidateColumnResultFragment
}
brand {
...ImporterValidateColumnResultFragment
}
currency {
...ImporterValidateColumnResultFragment
}
description_ar {
...ImporterValidateColumnResultFragment
}
description_bg {
...ImporterValidateColumnResultFragment
}
description_bn {
...ImporterValidateColumnResultFragment
}
description_cs {
...ImporterValidateColumnResultFragment
}
description_da {
...ImporterValidateColumnResultFragment
}
description_de {
...ImporterValidateColumnResultFragment
}
description_el {
...ImporterValidateColumnResultFragment
}
description_en {
...ImporterValidateColumnResultFragment
}
description_es {
...ImporterValidateColumnResultFragment
}
description_et {
...ImporterValidateColumnResultFragment
}
description_fa {
...ImporterValidateColumnResultFragment
}
description_fi {
...ImporterValidateColumnResultFragment
}
description_fr {
...ImporterValidateColumnResultFragment
}
description_he {
...ImporterValidateColumnResultFragment
}
description_hi {
...ImporterValidateColumnResultFragment
}
description_hr {
...ImporterValidateColumnResultFragment
}
description_hu {
...ImporterValidateColumnResultFragment
}
description_id {
...ImporterValidateColumnResultFragment
}
description_it {
...ImporterValidateColumnResultFragment
}
description_ja {
...ImporterValidateColumnResultFragment
}
description_ko {
...ImporterValidateColumnResultFragment
}
description_lo {
...ImporterValidateColumnResultFragment
}
description_lt {
...ImporterValidateColumnResultFragment
}
description_lv {
...ImporterValidateColumnResultFragment
}
description_ms {
...ImporterValidateColumnResultFragment
}
description_my {
...ImporterValidateColumnResultFragment
}
description_nb {
...ImporterValidateColumnResultFragment
}
description_nl {
...ImporterValidateColumnResultFragment
}
description_pl {
...ImporterValidateColumnResultFragment
}
description_pt {
...ImporterValidateColumnResultFragment
}
description_ro {
...ImporterValidateColumnResultFragment
}
description_ru {
...ImporterValidateColumnResultFragment
}
description_sk {
...ImporterValidateColumnResultFragment
}
description_sl {
...ImporterValidateColumnResultFragment
}
description_sr {
...ImporterValidateColumnResultFragment
}
description_sv {
...ImporterValidateColumnResultFragment
}
description_sw {
...ImporterValidateColumnResultFragment
}
description_ta {
...ImporterValidateColumnResultFragment
}
description_th {
...ImporterValidateColumnResultFragment
}
description_tl {
...ImporterValidateColumnResultFragment
}
description_tr {
...ImporterValidateColumnResultFragment
}
description_uk {
...ImporterValidateColumnResultFragment
}
description_ur {
...ImporterValidateColumnResultFragment
}
description_vi {
...ImporterValidateColumnResultFragment
}
description_zh {
...ImporterValidateColumnResultFragment
}
externalId {
...ImporterValidateColumnResultFragment
}
hasErrors
hasWarnings
id {
...ImporterValidateColumnResultFragment
}
index
maxQuantity {
...ImporterValidateColumnResultFragment
}
minQuantity {
...ImporterValidateColumnResultFragment
}
name_ar {
...ImporterValidateColumnResultFragment
}
name_bg {
...ImporterValidateColumnResultFragment
}
name_bn {
...ImporterValidateColumnResultFragment
}
name_cs {
...ImporterValidateColumnResultFragment
}
name_da {
...ImporterValidateColumnResultFragment
}
name_de {
...ImporterValidateColumnResultFragment
}
name_el {
...ImporterValidateColumnResultFragment
}
name_en {
...ImporterValidateColumnResultFragment
}
name_es {
...ImporterValidateColumnResultFragment
}
name_et {
...ImporterValidateColumnResultFragment
}
name_fa {
...ImporterValidateColumnResultFragment
}
name_fi {
...ImporterValidateColumnResultFragment
}
name_fr {
...ImporterValidateColumnResultFragment
}
name_he {
...ImporterValidateColumnResultFragment
}
name_hi {
...ImporterValidateColumnResultFragment
}
name_hr {
...ImporterValidateColumnResultFragment
}
name_hu {
...ImporterValidateColumnResultFragment
}
name_id {
...ImporterValidateColumnResultFragment
}
name_it {
...ImporterValidateColumnResultFragment
}
name_ja {
...ImporterValidateColumnResultFragment
}
name_ko {
...ImporterValidateColumnResultFragment
}
name_lo {
...ImporterValidateColumnResultFragment
}
name_lt {
...ImporterValidateColumnResultFragment
}
name_lv {
...ImporterValidateColumnResultFragment
}
name_ms {
...ImporterValidateColumnResultFragment
}
name_my {
...ImporterValidateColumnResultFragment
}
name_nb {
...ImporterValidateColumnResultFragment
}
name_nl {
...ImporterValidateColumnResultFragment
}
name_pl {
...ImporterValidateColumnResultFragment
}
name_pt {
...ImporterValidateColumnResultFragment
}
name_ro {
...ImporterValidateColumnResultFragment
}
name_ru {
...ImporterValidateColumnResultFragment
}
name_sk {
...ImporterValidateColumnResultFragment
}
name_sl {
...ImporterValidateColumnResultFragment
}
name_sr {
...ImporterValidateColumnResultFragment
}
name_sv {
...ImporterValidateColumnResultFragment
}
name_sw {
...ImporterValidateColumnResultFragment
}
name_ta {
...ImporterValidateColumnResultFragment
}
name_th {
...ImporterValidateColumnResultFragment
}
name_tl {
...ImporterValidateColumnResultFragment
}
name_tr {
...ImporterValidateColumnResultFragment
}
name_uk {
...ImporterValidateColumnResultFragment
}
name_ur {
...ImporterValidateColumnResultFragment
}
name_vi {
...ImporterValidateColumnResultFragment
}
name_zh {
...ImporterValidateColumnResultFragment
}
responsiblePerson {
...ImporterValidateColumnResultFragment
}
site {
...ImporterValidateColumnResultFragment
}
siteAddress {
...ImporterValidateColumnResultFragment
}
siteExternalId {
...ImporterValidateColumnResultFragment
}
siteInternal {
...ImporterValidateColumnResultFragment
}
type {
...ImporterValidateColumnResultFragment
}
unitCost {
...ImporterValidateColumnResultFragment
}
unitOfMeasure {
...ImporterValidateColumnResultFragment
}
vendor {
...ImporterValidateColumnResultFragment
}
}
}
Variables
{"input": [PartImporterValidateInput], "mode": "CREATE"}
Response
{
"data": {
"validateParts": [
{
"area": ImporterValidateColumnResult,
"availableQuantity": ImporterValidateColumnResult,
"brand": ImporterValidateColumnResult,
"currency": ImporterValidateColumnResult,
"description_ar": ImporterValidateColumnResult,
"description_bg": ImporterValidateColumnResult,
"description_bn": ImporterValidateColumnResult,
"description_cs": ImporterValidateColumnResult,
"description_da": ImporterValidateColumnResult,
"description_de": ImporterValidateColumnResult,
"description_el": ImporterValidateColumnResult,
"description_en": ImporterValidateColumnResult,
"description_es": ImporterValidateColumnResult,
"description_et": ImporterValidateColumnResult,
"description_fa": ImporterValidateColumnResult,
"description_fi": ImporterValidateColumnResult,
"description_fr": ImporterValidateColumnResult,
"description_he": ImporterValidateColumnResult,
"description_hi": ImporterValidateColumnResult,
"description_hr": ImporterValidateColumnResult,
"description_hu": ImporterValidateColumnResult,
"description_id": ImporterValidateColumnResult,
"description_it": ImporterValidateColumnResult,
"description_ja": ImporterValidateColumnResult,
"description_ko": ImporterValidateColumnResult,
"description_lo": ImporterValidateColumnResult,
"description_lt": ImporterValidateColumnResult,
"description_lv": ImporterValidateColumnResult,
"description_ms": ImporterValidateColumnResult,
"description_my": ImporterValidateColumnResult,
"description_nb": ImporterValidateColumnResult,
"description_nl": ImporterValidateColumnResult,
"description_pl": ImporterValidateColumnResult,
"description_pt": ImporterValidateColumnResult,
"description_ro": ImporterValidateColumnResult,
"description_ru": ImporterValidateColumnResult,
"description_sk": ImporterValidateColumnResult,
"description_sl": ImporterValidateColumnResult,
"description_sr": ImporterValidateColumnResult,
"description_sv": ImporterValidateColumnResult,
"description_sw": ImporterValidateColumnResult,
"description_ta": ImporterValidateColumnResult,
"description_th": ImporterValidateColumnResult,
"description_tl": ImporterValidateColumnResult,
"description_tr": ImporterValidateColumnResult,
"description_uk": ImporterValidateColumnResult,
"description_ur": ImporterValidateColumnResult,
"description_vi": ImporterValidateColumnResult,
"description_zh": ImporterValidateColumnResult,
"externalId": ImporterValidateColumnResult,
"hasErrors": false,
"hasWarnings": false,
"id": ImporterValidateColumnResult,
"index": 123,
"maxQuantity": ImporterValidateColumnResult,
"minQuantity": ImporterValidateColumnResult,
"name_ar": ImporterValidateColumnResult,
"name_bg": ImporterValidateColumnResult,
"name_bn": ImporterValidateColumnResult,
"name_cs": ImporterValidateColumnResult,
"name_da": ImporterValidateColumnResult,
"name_de": ImporterValidateColumnResult,
"name_el": ImporterValidateColumnResult,
"name_en": ImporterValidateColumnResult,
"name_es": ImporterValidateColumnResult,
"name_et": ImporterValidateColumnResult,
"name_fa": ImporterValidateColumnResult,
"name_fi": ImporterValidateColumnResult,
"name_fr": ImporterValidateColumnResult,
"name_he": ImporterValidateColumnResult,
"name_hi": ImporterValidateColumnResult,
"name_hr": ImporterValidateColumnResult,
"name_hu": ImporterValidateColumnResult,
"name_id": ImporterValidateColumnResult,
"name_it": ImporterValidateColumnResult,
"name_ja": ImporterValidateColumnResult,
"name_ko": ImporterValidateColumnResult,
"name_lo": ImporterValidateColumnResult,
"name_lt": ImporterValidateColumnResult,
"name_lv": ImporterValidateColumnResult,
"name_ms": ImporterValidateColumnResult,
"name_my": ImporterValidateColumnResult,
"name_nb": ImporterValidateColumnResult,
"name_nl": ImporterValidateColumnResult,
"name_pl": ImporterValidateColumnResult,
"name_pt": ImporterValidateColumnResult,
"name_ro": ImporterValidateColumnResult,
"name_ru": ImporterValidateColumnResult,
"name_sk": ImporterValidateColumnResult,
"name_sl": ImporterValidateColumnResult,
"name_sr": ImporterValidateColumnResult,
"name_sv": ImporterValidateColumnResult,
"name_sw": ImporterValidateColumnResult,
"name_ta": ImporterValidateColumnResult,
"name_th": ImporterValidateColumnResult,
"name_tl": ImporterValidateColumnResult,
"name_tr": ImporterValidateColumnResult,
"name_uk": ImporterValidateColumnResult,
"name_ur": ImporterValidateColumnResult,
"name_vi": ImporterValidateColumnResult,
"name_zh": ImporterValidateColumnResult,
"responsiblePerson": ImporterValidateColumnResult,
"site": ImporterValidateColumnResult,
"siteAddress": ImporterValidateColumnResult,
"siteExternalId": ImporterValidateColumnResult,
"siteInternal": ImporterValidateColumnResult,
"type": ImporterValidateColumnResult,
"unitCost": ImporterValidateColumnResult,
"unitOfMeasure": ImporterValidateColumnResult,
"vendor": ImporterValidateColumnResult
}
]
}
}
validatePersonnel
Description
Validates a batch of personnel rows against the import schema and returns per-row column-level validation results.
Response
Arguments
| Name | Description |
|---|---|
input - [ImporterValidatePersonnelInput!]!
|
List of personnel rows to validate before import |
mode - ImporterMode!
|
Importer mode for validation: CREATE validates new personnel, UPDATE resolves each row against an existing record before validating. |
Example
Query
mutation validatePersonnel(
$input: [ImporterValidatePersonnelInput!]!,
$mode: ImporterMode!
) {
validatePersonnel(
input: $input,
mode: $mode
) {
city {
...ImporterValidateColumnResultFragment
}
contractType {
...ImporterValidateColumnResultFragment
}
contractWorkCategory {
...ImporterValidateColumnResultFragment
}
country {
...ImporterValidateColumnResultFragment
}
countryOfBirth {
...ImporterValidateColumnResultFragment
}
dateOfBirth {
...ImporterValidateColumnResultFragment
}
dependentChildren {
...ImporterValidateColumnResultFragment
}
dependentHandicappedChildren {
...ImporterValidateColumnResultFragment
}
dependentPersonsOver65 {
...ImporterValidateColumnResultFragment
}
dependentPersonsUnder65 {
...ImporterValidateColumnResultFragment
}
dependentPersonsUnder65Income {
...ImporterValidateColumnResultFragment
}
driversLicenceNumber {
...ImporterValidateColumnResultFragment
}
email {
...ImporterValidateColumnResultFragment
}
email2 {
...ImporterValidateColumnResultFragment
}
employmentEndDate {
...ImporterValidateColumnResultFragment
}
employmentSchedule {
...ImporterValidateColumnResultFragment
}
employmentStartDate {
...ImporterValidateColumnResultFragment
}
externalErpId {
...ImporterValidateColumnResultFragment
}
firstName {
...ImporterValidateColumnResultFragment
}
fullName {
...ImporterValidateColumnResultFragment
}
gender {
...ImporterValidateColumnResultFragment
}
group {
...ImporterValidateColumnResultFragment
}
hasErrors
hasWarnings
id {
...ImporterValidateColumnResultFragment
}
index
jobFunction {
...ImporterValidateColumnResultFragment
}
jointCommitteeNumber {
...ImporterValidateColumnResultFragment
}
language {
...ImporterValidateColumnResultFragment
}
lastName {
...ImporterValidateColumnResultFragment
}
licenceCategory {
...ImporterValidateColumnResultFragment
}
licenceExpiryDate {
...ImporterValidateColumnResultFragment
}
maritalStatus {
...ImporterValidateColumnResultFragment
}
marriageDate {
...ImporterValidateColumnResultFragment
}
nationalInsuranceNumber {
...ImporterValidateColumnResultFragment
}
nationality {
...ImporterValidateColumnResultFragment
}
notes {
...ImporterValidateColumnResultFragment
}
personnelNumber {
...ImporterValidateColumnResultFragment
}
personnelNumberPrefix {
...ImporterValidateColumnResultFragment
}
phone {
...ImporterValidateColumnResultFragment
}
placeOfBirth {
...ImporterValidateColumnResultFragment
}
postalCode {
...ImporterValidateColumnResultFragment
}
salaryIBAN {
...ImporterValidateColumnResultFragment
}
salaryPaymentType {
...ImporterValidateColumnResultFragment
}
salaryScaleStartDate {
...ImporterValidateColumnResultFragment
}
seniorityStartDate {
...ImporterValidateColumnResultFragment
}
shownOnDispositionPage {
...ImporterValidateColumnResultFragment
}
specializationLevel {
...ImporterValidateColumnResultFragment
}
spouseBirthDate {
...ImporterValidateColumnResultFragment
}
spousePartnerName {
...ImporterValidateColumnResultFragment
}
street {
...ImporterValidateColumnResultFragment
}
studyLevel {
...ImporterValidateColumnResultFragment
}
}
}
Variables
{
"input": [ImporterValidatePersonnelInput],
"mode": "CREATE"
}
Response
{
"data": {
"validatePersonnel": [
{
"city": ImporterValidateColumnResult,
"contractType": ImporterValidateColumnResult,
"contractWorkCategory": ImporterValidateColumnResult,
"country": ImporterValidateColumnResult,
"countryOfBirth": ImporterValidateColumnResult,
"dateOfBirth": ImporterValidateColumnResult,
"dependentChildren": ImporterValidateColumnResult,
"dependentHandicappedChildren": ImporterValidateColumnResult,
"dependentPersonsOver65": ImporterValidateColumnResult,
"dependentPersonsUnder65": ImporterValidateColumnResult,
"dependentPersonsUnder65Income": ImporterValidateColumnResult,
"driversLicenceNumber": ImporterValidateColumnResult,
"email": ImporterValidateColumnResult,
"email2": ImporterValidateColumnResult,
"employmentEndDate": ImporterValidateColumnResult,
"employmentSchedule": ImporterValidateColumnResult,
"employmentStartDate": ImporterValidateColumnResult,
"externalErpId": ImporterValidateColumnResult,
"firstName": ImporterValidateColumnResult,
"fullName": ImporterValidateColumnResult,
"gender": ImporterValidateColumnResult,
"group": ImporterValidateColumnResult,
"hasErrors": false,
"hasWarnings": true,
"id": ImporterValidateColumnResult,
"index": 987,
"jobFunction": ImporterValidateColumnResult,
"jointCommitteeNumber": ImporterValidateColumnResult,
"language": ImporterValidateColumnResult,
"lastName": ImporterValidateColumnResult,
"licenceCategory": ImporterValidateColumnResult,
"licenceExpiryDate": ImporterValidateColumnResult,
"maritalStatus": ImporterValidateColumnResult,
"marriageDate": ImporterValidateColumnResult,
"nationalInsuranceNumber": ImporterValidateColumnResult,
"nationality": ImporterValidateColumnResult,
"notes": ImporterValidateColumnResult,
"personnelNumber": ImporterValidateColumnResult,
"personnelNumberPrefix": ImporterValidateColumnResult,
"phone": ImporterValidateColumnResult,
"placeOfBirth": ImporterValidateColumnResult,
"postalCode": ImporterValidateColumnResult,
"salaryIBAN": ImporterValidateColumnResult,
"salaryPaymentType": ImporterValidateColumnResult,
"salaryScaleStartDate": ImporterValidateColumnResult,
"seniorityStartDate": ImporterValidateColumnResult,
"shownOnDispositionPage": ImporterValidateColumnResult,
"specializationLevel": ImporterValidateColumnResult,
"spouseBirthDate": ImporterValidateColumnResult,
"spousePartnerName": ImporterValidateColumnResult,
"street": ImporterValidateColumnResult,
"studyLevel": ImporterValidateColumnResult
}
]
}
}
validateRuleEntryAssetDateOverrides
Description
Validates a batch of rule entry asset date override rows against the import schema and returns per-row column-level validation results.
Response
Arguments
| Name | Description |
|---|---|
input - [ImporterValidateRuleEntryAssetDateOverrideInput!]!
|
List of rule entry asset date override rows to validate before import |
ruleId - HashedId!
|
Identifier of the rule entry the date overrides belong to |
Example
Query
mutation validateRuleEntryAssetDateOverrides(
$input: [ImporterValidateRuleEntryAssetDateOverrideInput!]!,
$ruleId: HashedId!
) {
validateRuleEntryAssetDateOverrides(
input: $input,
ruleId: $ruleId
) {
hasErrors
hasWarnings
index
lastInspectionDate {
...ImporterValidateColumnResultFragment
}
nextInspectionDate {
...ImporterValidateColumnResultFragment
}
publicId {
...ImporterValidateColumnResultFragment
}
}
}
Variables
{
"input": [
ImporterValidateRuleEntryAssetDateOverrideInput
],
"ruleId": HashedId
}
Response
{
"data": {
"validateRuleEntryAssetDateOverrides": [
{
"hasErrors": false,
"hasWarnings": false,
"index": 123,
"lastInspectionDate": ImporterValidateColumnResult,
"nextInspectionDate": ImporterValidateColumnResult,
"publicId": ImporterValidateColumnResult
}
]
}
}
validateSites
Description
Validates a batch of site rows against the import schema and returns per-row column-level validation results.
Response
Returns [SiteImportValidateResult!]!
Arguments
| Name | Description |
|---|---|
input - [ImporterValidateSiteInput!]!
|
List of site rows to validate before import |
mode - ImporterMode!
|
Importer mode for validation: CREATE produces a create-only schema; UPDATE produces an update-only schema requiring identity columns. |
Example
Query
mutation validateSites(
$input: [ImporterValidateSiteInput!]!,
$mode: ImporterMode!
) {
validateSites(
input: $input,
mode: $mode
) {
accountNumber {
...ImporterValidateColumnResultFragment
}
address {
...ImporterValidateColumnResultFragment
}
assignment {
...ImporterValidateColumnResultFragment
}
costCenter {
...ImporterValidateColumnResultFragment
}
country {
...ImporterValidateColumnResultFragment
}
customerNumber {
...ImporterValidateColumnResultFragment
}
email {
...ImporterValidateColumnResultFragment
}
externalId {
...ImporterValidateColumnResultFragment
}
geofenceAlert {
...ImporterValidateColumnResultFragment
}
geofenceNotificationEmails {
...ImporterValidateColumnResultFragment
}
geofenceRadius {
...ImporterValidateColumnResultFragment
}
hasErrors
hasWarnings
id {
...ImporterValidateColumnResultFragment
}
index
isFixed {
...ImporterValidateColumnResultFragment
}
lat {
...ImporterValidateColumnResultFragment
}
lng {
...ImporterValidateColumnResultFragment
}
name {
...ImporterValidateColumnResultFragment
}
note {
...ImporterValidateColumnResultFragment
}
parentSiteId {
...ImporterValidateColumnResultFragment
}
parentSiteName {
...ImporterValidateColumnResultFragment
}
postalCode {
...ImporterValidateColumnResultFragment
}
servicePackageId {
...ImporterValidateColumnResultFragment
}
servicePackageName {
...ImporterValidateColumnResultFragment
}
shouldInheritGeofenceSettings {
...ImporterValidateColumnResultFragment
}
shouldInheritManagerDetails {
...ImporterValidateColumnResultFragment
}
shouldInheritServicePackage {
...ImporterValidateColumnResultFragment
}
siteManagerName {
...ImporterValidateColumnResultFragment
}
siteTypeInternal {
...ImporterValidateColumnResultFragment
}
siteTypeName {
...ImporterValidateColumnResultFragment
}
telephone {
...ImporterValidateColumnResultFragment
}
}
}
Variables
{"input": [ImporterValidateSiteInput], "mode": "CREATE"}
Response
{
"data": {
"validateSites": [
{
"accountNumber": ImporterValidateColumnResult,
"address": ImporterValidateColumnResult,
"assignment": ImporterValidateColumnResult,
"costCenter": ImporterValidateColumnResult,
"country": ImporterValidateColumnResult,
"customerNumber": ImporterValidateColumnResult,
"email": ImporterValidateColumnResult,
"externalId": ImporterValidateColumnResult,
"geofenceAlert": ImporterValidateColumnResult,
"geofenceNotificationEmails": ImporterValidateColumnResult,
"geofenceRadius": ImporterValidateColumnResult,
"hasErrors": false,
"hasWarnings": true,
"id": ImporterValidateColumnResult,
"index": 987,
"isFixed": ImporterValidateColumnResult,
"lat": ImporterValidateColumnResult,
"lng": ImporterValidateColumnResult,
"name": ImporterValidateColumnResult,
"note": ImporterValidateColumnResult,
"parentSiteId": ImporterValidateColumnResult,
"parentSiteName": ImporterValidateColumnResult,
"postalCode": ImporterValidateColumnResult,
"servicePackageId": ImporterValidateColumnResult,
"servicePackageName": ImporterValidateColumnResult,
"shouldInheritGeofenceSettings": ImporterValidateColumnResult,
"shouldInheritManagerDetails": ImporterValidateColumnResult,
"shouldInheritServicePackage": ImporterValidateColumnResult,
"siteManagerName": ImporterValidateColumnResult,
"siteTypeInternal": ImporterValidateColumnResult,
"siteTypeName": ImporterValidateColumnResult,
"telephone": ImporterValidateColumnResult
}
]
}
}
Subscriptions
assetTelemetryUpdated
Description
Emits when asset telemetry data is updated
Response
Returns a RobotTelemetryUpdate!
Example
Query
subscription assetTelemetryUpdated(
$from: DateTime!,
$to: DateTime!
) {
assetTelemetryUpdated(
from: $from,
to: $to
) {
assetId
batteryLevelPercent
cleaningAreaM2
cleaningEfficiencyM2H
runtimeHours
timestamp
waterLevelPercent
}
}
Variables
{
"from": "2007-12-03T10:15:30Z",
"to": "2007-12-03T10:15:30Z"
}
Response
{
"data": {
"assetTelemetryUpdated": {
"assetId": HashedId,
"batteryLevelPercent": 987.65,
"cleaningAreaM2": 987.65,
"cleaningEfficiencyM2H": 987.65,
"runtimeHours": 123.45,
"timestamp": "abc123",
"waterLevelPercent": 123.45
}
}
}
backgroundJobStatusChanged
Description
Emits the status and stored progress of a readable background job on every progress write and when it reaches READY or FAILED; a finished job emits its terminal state once on open
Response
Returns a BackgroundJobStatus!
Arguments
| Name | Description |
|---|---|
id - HashedId!
|
Unique identifier of the entity |
Example
Query
subscription backgroundJobStatusChanged($id: HashedId!) {
backgroundJobStatusChanged(id: $id) {
id
progressDone
progressTotal
status
}
}
Variables
{"id": HashedId}
Response
{
"data": {
"backgroundJobStatusChanged": {
"id": HashedId,
"progressDone": 123,
"progressTotal": 123,
"status": "FAILED"
}
}
}
robotStatusChanged
Description
Emits when a robot status changes
Response
Returns a RobotStatusUpdate!
Example
Query
subscription robotStatusChanged {
robotStatusChanged {
assetId
brand
status
subState
taskName
timestamp
}
}
Response
{
"data": {
"robotStatusChanged": {
"assetId": HashedId,
"brand": "CENOBOTS",
"status": "CHARGING",
"subState": "xyz789",
"taskName": "abc123",
"timestamp": "abc123"
}
}
}
Types
AccessLossAssetInfo
Description
Asset info for assets where the user would lose access after site reassignment
Example
{
"id": HashedId,
"inventoryNumber": "abc123",
"serial": "abc123"
}
AddAssetToRuleInput
Description
Add asset to rule Input data for add asset to rule
Fields
| Input Field | Description |
|---|---|
assetIds - [HashedId!]!
|
Asset identifiers |
eventConfigs - [EventConfigInput!]!
|
Scheduling configurations for the newly assigned assets |
ruleId - HashedId!
|
Rule identifier |
Example
{
"assetIds": [HashedId],
"eventConfigs": [EventConfigInput],
"ruleId": HashedId
}
Address
Description
A physical street address associated with a site or organization
Fields
| Field Name | Description |
|---|---|
address - String!
|
Street address |
created - Timestamp!
|
Timestamp when the entity was created |
id - HashedId!
|
Unique identifier of the entity |
isAutoDetected - Boolean!
|
Whether address was auto-detected from GPS |
latitude - Float!
|
Geographic latitude coordinate |
location - String!
|
Human-readable location name |
longitude - Float!
|
Geographic longitude coordinate |
translations - JSON!
|
Localized address field translations |
updated - Timestamp
|
Timestamp when the entity was last updated |
Example
{
"address": "xyz789",
"created": 1592577642,
"id": HashedId,
"isAutoDetected": true,
"latitude": 123.45,
"location": "abc123",
"longitude": 123.45,
"translations": {},
"updated": 1592577642
}
AddressCreateInput
Description
Data required to create a new address
Example
{
"address": "xyz789",
"isAutoDetected": true,
"latitude": 987.65,
"longitude": 987.65
}
AdvancedAssetStatesSettingsConfigurationInput
Description
Input data for advanced asset states settings configuration
Fields
| Input Field | Description |
|---|---|
color - String!
|
Hex color code used to visually distinguish this asset state in the UI |
message - AdvancedAssetStatesSettingsConfigurationMessageInput!
|
Localized user-facing message displayed when an asset transitions to this state |
priority - Int!
|
Priority level |
Example
{
"color": "xyz789",
"message": AdvancedAssetStatesSettingsConfigurationMessageInput,
"priority": 987
}
AdvancedAssetStatesSettingsConfigurationMessageInput
Description
Input data for advanced asset states settings configuration message
Example
{
"de_de": "abc123",
"en_us": "abc123"
}
AdvancedAssetStatesSettingsInput
Description
Input data for advanced asset states settings
Fields
| Input Field | Description |
|---|---|
configuration - [AdvancedAssetStatesSettingsConfigurationInput!]!
|
List of custom asset state definitions with display settings and transition messages |
enabled - Boolean!
|
Whether this feature is enabled |
Example
{
"configuration": [
AdvancedAssetStatesSettingsConfigurationInput
],
"enabled": true
}
Asset
Description
A tracked piece of equipment, vehicle, or tool managed within the system
Fields
| Field Name | Description |
|---|---|
BLE - String
|
Bluetooth Low Energy beacon identifier |
activeCustomFields - [CustomField!]!
|
Currently active custom fields on this asset |
Arguments
|
|
activity - AssetActivity!
|
Latest activity record for this asset |
allowReservations - Boolean
|
When set, reservations are explicitly allowed for this asset. |
archivedCustomFields - [CustomField!]!
|
Previously active custom fields now archived |
Arguments
|
|
assetCategory - AssetCategory!
|
Category this asset belongs to |
assetCategoryId - HashedId!
|
Category this asset belongs to |
assetPackageAsset - AssetPackageAsset
|
Active package assignment of this asset |
assetSiteAssignments - [AssetSiteAssignment!]!
|
History of site assignments for this asset |
Arguments
|
|
assetType - AssetType!
|
Type classification of this asset |
assetTypeId - HashedId!
|
Type classification of this asset |
assignedSiteLocation - SiteLocation
|
Location of the currently assigned site |
assignedToGroup - Group!
|
Group this asset is assigned to Use group instead
|
assignedToGroupId - HashedId!
|
Organization group this asset is assigned to |
assignedToPreviousSite - Site
|
Site this asset was previously assigned to |
assignedToSite - Site
|
Site where this asset is currently assigned Use site instead |
assignedToSiteId - HashedId
|
Currently assigned site for this asset Use siteId instead |
assignment - String
|
Current user or team assignment for this asset |
availability - AssetAvailability
|
Current availability status of this asset |
availabilityId - HashedId
|
Current availability status of this asset Use availability instead |
batteryLevel - String
|
Current battery charge level from the IoT module Use iot.batteryLevel instead |
canEdit - Boolean!
|
Whether the current user's group scope reaches this asset |
checkSchedule - AssetCheckSchedule
|
Periodic safety or compliance check schedule |
checkScheduleRule - AssetCheckScheduleRule
|
Rule governing periodic safety or compliance checks |
classification - AssetClassification
|
Asset classification such as robot, vehicle, room, or generic |
client - String
|
Client or customer name associated with this asset |
commissionDate - Date
|
Date when this asset was put into service |
costCenter - String
|
Accounting cost center for financial allocation |
costLines - [CostLine!]!
|
Individual line items that make up this cost entry |
costs - [CostLine!]
|
Cost line items recorded for this asset |
costsSum - Float!
|
Total accumulated costs across all categories |
costsSumBattery - Float!
|
Total battery replacement costs for this asset Use costLines and aggregate by cost type instead |
costsSumCertification - Float!
|
Total certification and inspection costs for this asset Use costLines and aggregate by cost type instead |
costsSumConsumables - Float!
|
Total consumable material costs for this asset Use costLines and aggregate by cost type instead |
costsSumFuel - Float!
|
Total fuel costs for this asset Use costLines and aggregate by cost type instead |
costsSumLabor - Float!
|
Total labor costs for this asset Use costLines and aggregate by cost type instead |
costsSumLogistics - Float!
|
Total logistics and transport costs for this asset Use costLines and aggregate by cost type instead |
costsSumMaintenance - Float!
|
Total maintenance costs for this asset Use costLines and aggregate by cost type instead |
costsSumOther - Float!
|
Total miscellaneous costs for this asset Use costLines and aggregate by cost type instead |
costsSumParts - Float!
|
Total spare parts costs for this asset Use costLines and aggregate by cost type instead |
costsSumRepair - Float!
|
Total repair costs for this asset Use costLines and aggregate by cost type instead |
costsSumTaxes - Float!
|
Total tax costs for this asset Use costLines and aggregate by cost type instead |
countNonArchivedSiteAssignments - Int!
|
Number of active (non-archived) site assignments |
created - Timestamp!
|
Timestamp when this asset was created |
createdByGroup - Group
|
Organization group that originally created this asset |
createdByGroupId - HashedId!
|
Organization group that originally created this asset |
currency - String
|
An optional currency string that overrides the group currency |
currentAlerts - [Event!]!
|
Current error, warning and informational alerts, critical errors first, then oldest |
Arguments
|
|
customer - String
|
End customer this asset is deployed for |
customerEditable - Boolean
|
With this flag the OEM can allow end-customers to edit assets |
dailyRate - Float!
|
Daily rental or usage rate for billing |
deleted - Timestamp
|
Soft deletion timestamp, null if active |
deletedBy - String
|
Full name or email of the user who deleted the asset; set by deleted-asset lists only |
description - Translation
|
Translated description for this asset |
descriptionId - HashedId
|
Translatable description text for this asset |
displayParameters - [DisplayParameter!]!
|
IoT parameters configured for dashboard display |
documents - [Document!]!
|
Attached documents and files |
Arguments
|
|
eventIds - [HashedId!]!
|
Events recorded for this asset |
Arguments
|
|
events - [Event!]!
|
Associated asset |
Arguments
|
|
externalId - String
|
External id should only be filled by a machine. This is used to couple an external asset with an internal asset. An external Asset is an asset that represents the same physical thing but in a different system. |
firmwareVersion - String
|
Firmware Version for this asset Use iot.firmwareVersion instead |
firstTripDate - Float
|
Unix-seconds start time of the earliest trip recorded for this asset |
fixedAssetNumber - String
|
Accounting fixed asset number for depreciation tracking |
floorRoom - String
|
Floor and room location within a building |
gatewayAsset - Asset
|
Stationary gateway asset this asset is connected through |
geofence - AssetGeofence
|
Current measured position against the active assigned site boundary; unavailable for hidden, stale or unreliable positions. |
group - Group!
|
Group this asset belongs to |
groupId - HashedId!
|
Owning organization group of this asset |
groupTimezone - String!
|
IANA timezone of the asset group: its regional default timezone, else its working-hours timezone, else UTC |
id - HashedId!
|
Internal hashed identifier of this asset |
image - String
|
URL of the asset profile image |
imei - String!
|
IMEI number of the attached IoT module |
initialValue - String
|
Original purchase or book value of this asset |
inlineImage - DocumentInlineFile
|
|
Arguments
|
|
integrationId - HashedId
|
Integration this asset is linked to |
integrationSummary - AssetIntegrationSummary
|
Assembled integration summary for the asset Integration panel |
inventoryNumber - String
|
Internal inventory tracking number |
inventoryPrefix - String
|
Manual prefix segment of the auto-assigned inventory number |
inventorySequence - Int
|
Server-assigned sequence segment of the auto-assigned inventory number |
iot - IotAssetData!
|
Iot for this asset |
iotIntegrationProvider - IntegrationProviderEnum
|
Manufacturer integration that most recently supplied IoT data for this asset |
iotRuleEntryEvents - [RuleEntryEvent!]!
|
IoT alert rule entry events of this asset, open and completed, newest first and capped per asset |
isCommodity - Boolean!
|
Assets can be either tracked or commodity. - Tracked assets are machines that have a ToolSense module inside and thus send data (therefore they have stats like battery, runtime, error codes, etc.) Since they have a module, they have an IMEI number identifying it. - Commodity assets are any asset that has no attached module - they only exist in the system for inventory purposes. Such assets can be machines, tools, or any noteworthy work material. With commodity assets, and their assignment to other groups, the interface can be also used as a general inventory/asset management system.
|
isInStationaryGateway - Boolean
|
Whether assigned to a stationary gateway for fixed location |
isIntegrationSyncPaused - Boolean!
|
Whether every integration run skips this asset until sync is resumed |
isLocked - Boolean
|
Whether this asset is locked from editing |
isUsedPrivately - Boolean
|
Whether this asset is flagged for private use |
lastContactInfo - AssetLastContactInfo
|
Last contact timestamp with its data origin |
lastContacted - Timestamp
|
Last time the IoT module sent data |
lastContactedSource - McpAssetStateSourceEnum
|
Source that supplied the current last-contacted timestamp |
lastIntegrationRun - AssetIntegrationRun
|
Result of the most recent integration run that touched this asset |
lastTicketDate - DateTime
|
Date of the most recent ticket for this asset |
latestAssetData - JSON
|
Most recent IoT data payload from the module |
latestTrip - AssetTripLatest
|
Most recent GPS trip recorded for this asset |
leasingCostTermination - String
|
Early termination cost for the leasing contract |
leasingEnd - Date
|
End date of the leasing contract |
leasingLevel - String
|
Tier or level of the leasing agreement |
leasingMonthlyCost - String
|
Monthly payment amount for the leasing contract |
leasingPartner - String
|
Leasing company or partner name |
leasingPartnerContractNumber - String
|
Contract number with the leasing partner |
leasingPartnerContractPositionNumber - String
|
Line item position within the leasing contract |
leasingRenewalDate - Date
|
Date when the leasing contract is up for renewal |
leasingRenewalRate - String
|
Monthly rate after leasing contract renewal |
leasingStart - Date
|
Start date of the leasing contract |
location - Location
|
Current GPS location of this asset Use locationV2 — returns null for vehicles since the locationV2 rollout |
locationHiddenReason - AssetLocationHiddenReasonEnum
|
Owner-group privacy reason that prevents exposing the current location |
locationV2 - AssetLocationV2
|
Unified location for this asset |
maintenanceSchedule - AssetMaintenanceSchedule
|
Recurring maintenance schedule for this asset |
manuals - [Document!]!
|
Documents approved for the AI assistant on this asset, then on its asset type |
manufacturer - Manufacturer!
|
Manufacturer of this asset |
manufacturerId - HashedId!
|
Manufacturer of this asset |
minDaysBilled - Int!
|
Minimum number of days billed per rental period |
module - Module
|
IoT module attached to this asset for data tracking |
moduleConnectionStatus - AssetModuleConnectionStatusEnum!
|
Current connectivity status of the attached IoT module |
moduleId - HashedId
|
IoT module attached to this asset |
nextService - Int
|
Days until the next scheduled service |
nonWorkingDays - [AssetNonWorkingDays!]
|
Scheduled non-working day periods for this asset |
operationalCosts - [Cost!]!
|
Operational cost records associated with this asset |
optionalAssetID - String
|
Secondary user-defined asset identifier |
ownership - AssetOwnership
|
Ownership type (purchased, leased, or rented) |
ownershipId - HashedId
|
Ownership type of this asset (purchased, leased, rented) Use "ownership" instead |
parameterOffsetIds - [HashedId!]!
|
IoT parameter offsets applied to this asset |
parameterOffsets - [AssetParameterOffset!]!
|
Manual offset adjustments for IoT parameter values |
parameterSets - [ParameterSet!]!
|
Assets send data through parameter values - parameters are the keys in a collection of key-value pairs. This prop lists all the parameters currently sent by the module in this asset. As the list may change through module or assetIntegration versions, you can list all the parameters that was ever delivered by this module through the historicalParameters switch in the asset query. Parameters are grouped in Sets, as many of them are closely related (eg. high-low voltage param of the same value). Standalone parameters are in the virtual set called 'Standalone', with a fake 'standalone' id and a single parameters array. Sets with no or filtered parameters are not returned. - graphableParameters: only list parameters/parametersets which can be displayed on a graph (eg. hide values like imei, id, or latitude) |
Arguments
|
|
partsNumber - String
|
Manufacturer part number for this asset |
plateNumber - String
|
Vehicle license plate number |
previousSiteId - HashedId
|
Site this asset was previously assigned to |
primaryServicePackage - ServicePackageWithSourceType
|
Main service package assigned to this asset |
projectNumber - String
|
Project number this asset is allocated to |
publicId - Int!
|
Public numeric identifier |
purchaseCost - String
|
Original purchase price of this asset |
purchaseCurrentBookValue - String
|
Current depreciated book value of this asset |
purchaseDepreciation - Float
|
Depreciation period in years derived from purchaseDepreciationMonths (legacy unit). Use purchaseDepreciationMonths. Use purchaseDepreciationMonths instead |
purchaseDepreciationMonths - Int
|
Depreciation period in months for this asset |
purchaseDepreciationRemainingMonths - Int
|
Remaining depreciation in months based on purchase start and depreciation period |
purchaseDepriciation - Int
|
Depreciation period in years derived from purchaseDepreciationMonths (legacy typo; truncates fractional values for old mobile clients). Use purchaseDepreciationMonths. Use purchaseDepreciationMonths instead |
purchaseInvoiceNumber - String
|
Invoice number from the original purchase |
purchaseLowValueAsset - Boolean
|
Whether classified as a low-value asset for accounting |
purchaseMonthlyCost - String
|
Purchase cost divided by the depreciation period in months, rounded to two decimals |
purchaseStart - Date
|
Date when this asset was purchased |
purchaseWarrantyEnd - Date
|
Expiration date of the purchase warranty |
purchaseWarrantyPeriod - Int
|
Warranty duration in months from purchase |
purchaseWarrantyStart - Date
|
Start date of the purchase warranty coverage |
qrAttached - Boolean!
|
Whether a QR code label is attached to this asset |
quantity - Int
|
Number of identical items for commodity assets |
relatedGroups - [RelatedGroup!]!
|
Organization groups this asset is shared with Use group instead |
rentalCostTermination - String
|
Early termination cost for the rental contract |
rentalEnd - Date
|
End date of the rental contract |
rentalMonthlyCost - String
|
Monthly payment amount for the rental contract |
rentalRenewalDate - Date
|
Date when the rental contract is up for renewal |
rentalRenewalRate - String
|
Monthly rate after rental contract renewal |
rentalStart - Date
|
Start date of the rental contract |
reservationLineItemIssues - [ReservationLineItemIssue!]!
|
Reservation issues affecting this asset, across all reservations |
reservations - [LegacyAssetReservation!]!
|
Legacy reservations affecting this asset; always empty since reservation v2 Legacy reservations v1 field for mobile builds <= rc0-115; always empty; remove once 0.115 is sunset |
resolvedCurrency - Currency!
|
Currency of this asset's money: its own currency, else its group's inherited currency, else EUR |
responsiblePerson - String
|
Responsible Person for this asset |
responsiblePersonUpdatedAt - Timestamp
|
When the responsible person was last changed |
responsiblePersonUpdatedByUser - User
|
User who last updated the responsible person assignment for this asset |
responsiblePersonUpdatedByUserId - HashedId
|
User who last changed the responsible person |
restoreBlockers - [RestoreBlockerEnum!]
|
Reasons the deleted asset cannot be restored right now; set by deleted-asset lists only |
runtimeWithOffsetInSeconds - Int
|
Runtime with offset in seconds Use iot.runtime instead |
scanTime - Date
|
Last time this asset was scanned via QR or BLE |
serial - String
|
Serial number of the asset |
serviceContract - Boolean
|
Whether this asset has an active service contract |
serviceContractCostPerYear - String
|
Annual cost of the service contract |
serviceContractDocuments - [Document!]
|
Service contract documents |
serviceContractEmail - String
|
Contact email for the service contract provider |
serviceContractEnd - Date
|
Expiration date of the service contract |
serviceContractFrom - Timestamp
|
Timestamp when the service contract coverage begins |
serviceContractLevel - String
|
Tier or coverage level of the service contract |
serviceContractPartner - String
|
Service contract provider company name |
serviceContractStart - Date
|
Start date of the service contract |
serviceContractTo - Timestamp
|
Timestamp when the service contract coverage ends |
services - [Service!]!
|
Services associated to current group's servicePackage |
Arguments
|
|
shouldShowLastSeenByGateway - Boolean!
|
Whether to show last seen by gateway |
shouldUpdateActiveAssetSiteAssignment - Boolean!
|
Whether to update active asset site assignment |
site - Site
|
Site where this asset is currently located |
siteId - HashedId
|
Currently assigned site for this asset |
state - AssetState!
|
Aggregated operational state of the asset |
stateV2 - [AssetStateItem!]!
|
Detailed per-event-type state items for this asset |
status - [StatusItem!]!
|
IoT status indicators from latest sensor data Use iot instead |
subscription - String
|
Legacy subscription plan for this asset We don't manage subscriptions over our API anymore |
supplier - String
|
Supplier or vendor this asset was sourced from |
tickets - [Ticket!]!
|
Associated tickets |
ticketsCount - String
|
Total number of tickets filed for this asset Was not implemented in old schema, copied to keep backwards compatibility |
totalUtilization - String
|
Cumulative utilization percentage of this asset Use iot.utilization instead |
totalWorkDone - String
|
Cumulative work output reported by the IoT module Use iot.workDone instead |
trips - [Trip!]!
|
Non-private trips for this asset overlapping the given date range |
Arguments
|
|
unavailability - [AssetUnavailability!]!
|
Scheduled unavailability periods for this asset |
Arguments
|
|
updated - Timestamp
|
Timestamp of the last update to this asset |
utilization - AssetUtilization
|
Derived utilization of this asset; null while the feature is off for the asset group, or until the first nightly computation |
uuid - String!
|
UUID used for cross-system asset identification |
vncTunnelUrl - String
|
URL for remote VNC access to this asset |
workOrders - [WorkOrderV2!]!
|
Work Orders for this asset |
workingHours - AssetWorkingHours
|
Configured working hours for this asset |
workingHoursNotification - [RuleNotificationRelation!]!
|
Notification rules triggered by working hours thresholds |
workingHoursSettings - JSON
|
Configuration for working hours rule monitoring |
Example
{
"BLE": "xyz789",
"activeCustomFields": [CustomField],
"activity": AssetActivity,
"allowReservations": true,
"archivedCustomFields": [CustomField],
"assetCategory": AssetCategory,
"assetCategoryId": HashedId,
"assetPackageAsset": AssetPackageAsset,
"assetSiteAssignments": [AssetSiteAssignment],
"assetType": AssetType,
"assetTypeId": HashedId,
"assignedSiteLocation": SiteLocation,
"assignedToGroup": Group,
"assignedToGroupId": HashedId,
"assignedToPreviousSite": Site,
"assignedToSite": Site,
"assignedToSiteId": HashedId,
"assignment": "xyz789",
"availability": "BORROWED",
"availabilityId": HashedId,
"batteryLevel": "abc123",
"canEdit": false,
"checkSchedule": AssetCheckSchedule,
"checkScheduleRule": AssetCheckScheduleRule,
"classification": "GENERIC",
"client": "xyz789",
"commissionDate": "2007-12-03",
"costCenter": "xyz789",
"costLines": [CostLine],
"costs": [CostLine],
"costsSum": 987.65,
"costsSumBattery": 987.65,
"costsSumCertification": 123.45,
"costsSumConsumables": 987.65,
"costsSumFuel": 123.45,
"costsSumLabor": 987.65,
"costsSumLogistics": 987.65,
"costsSumMaintenance": 987.65,
"costsSumOther": 123.45,
"costsSumParts": 987.65,
"costsSumRepair": 987.65,
"costsSumTaxes": 987.65,
"countNonArchivedSiteAssignments": 987,
"created": 1592577642,
"createdByGroup": Group,
"createdByGroupId": HashedId,
"currency": "abc123",
"currentAlerts": [Event],
"customer": "abc123",
"customerEditable": false,
"dailyRate": 987.65,
"deleted": 1592577642,
"deletedBy": "abc123",
"description": Translation,
"descriptionId": HashedId,
"displayParameters": [DisplayParameter],
"documents": [Document],
"eventIds": [HashedId],
"events": [Event],
"externalId": "xyz789",
"firmwareVersion": "xyz789",
"firstTripDate": 987.65,
"fixedAssetNumber": "xyz789",
"floorRoom": "xyz789",
"gatewayAsset": Asset,
"geofence": AssetGeofence,
"group": Group,
"groupId": HashedId,
"groupTimezone": "abc123",
"id": HashedId,
"image": "xyz789",
"imei": "xyz789",
"initialValue": "abc123",
"inlineImage": DocumentInlineFile,
"integrationId": HashedId,
"integrationSummary": AssetIntegrationSummary,
"inventoryNumber": "xyz789",
"inventoryPrefix": "xyz789",
"inventorySequence": 987,
"iot": IotAssetData,
"iotIntegrationProvider": "ACHELIS_PROVIDER",
"iotRuleEntryEvents": [RuleEntryEvent],
"isCommodity": true,
"isInStationaryGateway": false,
"isIntegrationSyncPaused": false,
"isLocked": false,
"isUsedPrivately": false,
"lastContactInfo": AssetLastContactInfo,
"lastContacted": 1592577642,
"lastContactedSource": "BLE",
"lastIntegrationRun": AssetIntegrationRun,
"lastTicketDate": "2007-12-03T10:15:30Z",
"latestAssetData": {},
"latestTrip": AssetTripLatest,
"leasingCostTermination": "xyz789",
"leasingEnd": "2007-12-03",
"leasingLevel": "xyz789",
"leasingMonthlyCost": "abc123",
"leasingPartner": "xyz789",
"leasingPartnerContractNumber": "xyz789",
"leasingPartnerContractPositionNumber": "xyz789",
"leasingRenewalDate": "2007-12-03",
"leasingRenewalRate": "xyz789",
"leasingStart": "2007-12-03",
"location": Location,
"locationHiddenReason": "PRIVATE_USE",
"locationV2": Location,
"maintenanceSchedule": AssetMaintenanceSchedule,
"manuals": [Document],
"manufacturer": Manufacturer,
"manufacturerId": HashedId,
"minDaysBilled": 987,
"module": Module,
"moduleConnectionStatus": "disconnected",
"moduleId": HashedId,
"nextService": 987,
"nonWorkingDays": [AssetNonWorkingDays],
"operationalCosts": [Cost],
"optionalAssetID": "abc123",
"ownership": "CUSTOMER_MACHINE",
"ownershipId": HashedId,
"parameterOffsetIds": [HashedId],
"parameterOffsets": [AssetParameterOffset],
"parameterSets": [ParameterSet],
"partsNumber": "abc123",
"plateNumber": "xyz789",
"previousSiteId": HashedId,
"primaryServicePackage": ServicePackageWithSourceType,
"projectNumber": "xyz789",
"publicId": 123,
"purchaseCost": "abc123",
"purchaseCurrentBookValue": "xyz789",
"purchaseDepreciation": 123.45,
"purchaseDepreciationMonths": 987,
"purchaseDepreciationRemainingMonths": 987,
"purchaseDepriciation": 987,
"purchaseInvoiceNumber": "abc123",
"purchaseLowValueAsset": true,
"purchaseMonthlyCost": "xyz789",
"purchaseStart": "2007-12-03",
"purchaseWarrantyEnd": "2007-12-03",
"purchaseWarrantyPeriod": 987,
"purchaseWarrantyStart": "2007-12-03",
"qrAttached": true,
"quantity": 123,
"relatedGroups": [RelatedGroup],
"rentalCostTermination": "abc123",
"rentalEnd": "2007-12-03",
"rentalMonthlyCost": "abc123",
"rentalRenewalDate": "2007-12-03",
"rentalRenewalRate": "xyz789",
"rentalStart": "2007-12-03",
"reservationLineItemIssues": [ReservationLineItemIssue],
"reservations": [LegacyAssetReservation],
"resolvedCurrency": "AED",
"responsiblePerson": "xyz789",
"responsiblePersonUpdatedAt": 1592577642,
"responsiblePersonUpdatedByUser": User,
"responsiblePersonUpdatedByUserId": HashedId,
"restoreBlockers": ["PARENT_ASSET_CATEGORY_DELETED"],
"runtimeWithOffsetInSeconds": 123,
"scanTime": "2007-12-03",
"serial": "abc123",
"serviceContract": false,
"serviceContractCostPerYear": "xyz789",
"serviceContractDocuments": [Document],
"serviceContractEmail": "abc123",
"serviceContractEnd": "2007-12-03",
"serviceContractFrom": 1592577642,
"serviceContractLevel": "abc123",
"serviceContractPartner": "xyz789",
"serviceContractStart": "2007-12-03",
"serviceContractTo": 1592577642,
"services": [Service],
"shouldShowLastSeenByGateway": true,
"shouldUpdateActiveAssetSiteAssignment": false,
"site": Site,
"siteId": HashedId,
"state": AssetState,
"stateV2": [AssetStateItem],
"status": [StatusItem],
"subscription": "abc123",
"supplier": "abc123",
"tickets": [Ticket],
"ticketsCount": "abc123",
"totalUtilization": "xyz789",
"totalWorkDone": "abc123",
"trips": [Trip],
"unavailability": [AssetUnavailability],
"updated": 1592577642,
"utilization": AssetUtilization,
"uuid": "xyz789",
"vncTunnelUrl": "xyz789",
"workOrders": [WorkOrderV2],
"workingHours": AssetWorkingHours,
"workingHoursNotification": [RuleNotificationRelation],
"workingHoursSettings": {}
}
AssetActivity
Description
Usage activity summary for an asset
Fields
| Field Name | Description |
|---|---|
downloadLink - String!
|
URL to download the resource |
Arguments
|
|
id - HashedId!
|
Unique identifier of the entity |
Example
{
"downloadLink": "abc123",
"id": HashedId
}
AssetApiData
Description
Raw provider fields fetched for the asset, grouped by dataset
Fields
| Field Name | Description |
|---|---|
hasDeclaration - Boolean!
|
Whether the provider of the linked integration declares the datasets it archives, false when unlinked |
integrationName - String
|
Integration the asset is linked to, null when unlinked |
sections - [AssetApiDataSection!]!
|
Example
{
"hasDeclaration": true,
"integrationName": "abc123",
"sections": [AssetApiDataSection]
}
AssetApiDataRow
Description
One provider field of a dataset with its mapping status
Fields
| Field Name | Description |
|---|---|
mapped - Boolean!
|
Declared by the provider as a field its sync consumes |
path - String!
|
Dot path of the provider field; array elements of objects are indexed, other arrays as [] |
target - IntegrationObservationRecordNamesEnum
|
Processor the provider declares as the consumer |
targetFields - [String!]!
|
ToolSense fields the value lands in, <target>.<field> |
value - String!
|
The provider value as JSON text, exactly as received; parse it with JSON.parse |
Example
{
"mapped": true,
"path": "abc123",
"target": "ASSET",
"targetFields": ["xyz789"],
"value": "abc123"
}
AssetApiDataSection
Description
Provider dataset fetched for the asset with its flattened fields
Fields
| Field Name | Description |
|---|---|
endpoint - String!
|
Provider endpoint the dataset was fetched from |
lastUpdated - Timestamp
|
Epoch milliseconds of the stored row |
mappedCount - Int!
|
Number of distinct fields in the latest stored record that a provider declaration maps; repeated array elements count once |
rows - [AssetApiDataRow!]!
|
Flattened provider fields of the dataset |
unmappedCount - Int!
|
Number of distinct fields in the latest stored record that no provider declaration maps; repeated array elements count once |
Example
{
"endpoint": "xyz789",
"lastUpdated": 1592577642,
"mappedCount": 987,
"rows": [AssetApiDataRow],
"unmappedCount": 123
}
AssetAssignQrCodeBySerialInput
AssetAvailability
Description
Operational availability state of an asset, such as ready to use, damaged, in repair, retired, in warehouse, ordered, borrowed, in transit, or awaiting assignment approval
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"BORROWED"
AssetBLEChecker
Description
Result of a BLE address duplicate check for an asset
Fields
| Field Name | Description |
|---|---|
duplicateAsset - Asset
|
Existing asset with the same BLE address, if any |
msg - AssetBleCheckerMsgEnum
|
Validation result message for the BLE check |
Example
{"duplicateAsset": Asset, "msg": "DUPLICATE"}
AssetBarCodeFilterInput
Description
Filter criteria for searching assets by barcode-related fields
Fields
| Input Field | Description |
|---|---|
query - String
|
Search by next fields:
|
Example
{"query": "abc123"}
AssetBleCheckerMsgEnum
Description
Validation result when checking a Bluetooth Low Energy (BLE) beacon assignment to an asset, indicating whether the beacon is already assigned to another asset or the user lacks access
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
Example
"DUPLICATE"
AssetCategory
Description
Asset category describes what the assets contained in it are - eg. wall saw, floor cleaner, hammer. Categories are specific to manufacturers.
Fields
| Field Name | Description |
|---|---|
assetsCount - Int
|
Total assets in this category |
canEdit - Boolean!
|
Whether the current user's group scope may edit this asset category |
created - Timestamp!
|
Timestamp when the entity was created |
deleted - Timestamp
|
Soft deletion timestamp, null if active |
deletedAssetTypesCount - Int
|
Number of deleted asset types of this deleted asset category; set by the deleted asset category list only |
deletedAssetsCount - Int
|
Number of deleted assets of this deleted asset category; set by the deleted asset category list only |
deletedBy - String
|
Full name or email of the user who deleted the asset category; set by the deleted asset category list only |
externalId - String
|
ID from an external system for integration |
forManufacturer - Manufacturer
|
Manufacturer of this asset category |
forManufacturerId - HashedId!
|
Manufacturer this category belongs to |
group - Group!
|
Associated organization group |
groupId - HashedId
|
Owning organization group |
id - HashedId!
|
Unique identifier of the entity |
image - String
|
Image (url) for this category. Should also be used for assettype or asset image if they don't have it provided |
isPrivate - Boolean!
|
Listed to users outside this group hierarchy - 'publicly' available. May be used to contain yet unreleased models |
manufacturer - Manufacturer!
|
Categories are specific for a manufacturer |
minimalBatteryVoltage - Float
|
Minimum battery voltage threshold |
name - Translation
|
Translated name of the asset category |
nameId - HashedId!
|
Translation record for the category name |
nominalBatteryVoltage - Float
|
Standard battery voltage for this category |
optimalBatteryVoltage - Float
|
Target battery voltage for healthy operation |
optimalRuntime - Float
|
Expected runtime in hours under normal use |
parentParameterKey - AssetParentParameter!
|
IoT parameter used to link child assets |
publicId - Int!
|
Public numeric identifier |
restoreBlockers - [RestoreBlockerEnum!]
|
Reasons the deleted asset category cannot be restored right now; set by the deleted asset category list only |
servicePackage - ServicePackage
|
Service package assigned to this category |
servicePackageId - HashedId
|
Assigned service package |
updated - Timestamp
|
Timestamp when the entity was last updated |
workUnitId - HashedId
|
Unit of measurement for work output |
workUnits - Translation
|
Localized label for the work output unit |
workUnitsPerHour - Float
|
Expected output units per operating hour |
Example
{
"assetsCount": 123,
"canEdit": true,
"created": 1592577642,
"deleted": 1592577642,
"deletedAssetTypesCount": 987,
"deletedAssetsCount": 987,
"deletedBy": "xyz789",
"externalId": "abc123",
"forManufacturer": Manufacturer,
"forManufacturerId": HashedId,
"group": Group,
"groupId": HashedId,
"id": HashedId,
"image": "abc123",
"isPrivate": false,
"manufacturer": Manufacturer,
"minimalBatteryVoltage": 123.45,
"name": Translation,
"nameId": HashedId,
"nominalBatteryVoltage": 123.45,
"optimalBatteryVoltage": 123.45,
"optimalRuntime": 123.45,
"parentParameterKey": "input2",
"publicId": 987,
"restoreBlockers": ["PARENT_ASSET_CATEGORY_DELETED"],
"servicePackage": ServicePackage,
"servicePackageId": HashedId,
"updated": 1592577642,
"workUnitId": HashedId,
"workUnits": Translation,
"workUnitsPerHour": 987.65
}
AssetCategoryBulkUpdateInput
Fields
| Input Field | Description |
|---|---|
assetCategoryIds - [HashedId!]
|
Explicit list of asset category IDs to include in the operation |
excludeAssetCategoryIds - [HashedId!]
|
Asset category IDs to exclude from the selection |
fields - AssetCategoryMassEditFieldsInput!
|
|
filterInput - AssetFilterInput
|
Filter criteria to dynamically select asset categories |
Example
{
"assetCategoryIds": [HashedId],
"excludeAssetCategoryIds": [HashedId],
"fields": AssetCategoryMassEditFieldsInput,
"filterInput": AssetFilterInput
}
AssetCategoryMassEditFailure
Description
Single asset category failure entry from a bulk operation
Fields
| Field Name | Description |
|---|---|
assetCategoryId - HashedId!
|
Asset category ID that failed |
associationCount - Int
|
|
reason - AssetCategoryMassEditFailureReason!
|
Reason the asset category could not be processed |
Example
{
"assetCategoryId": HashedId,
"associationCount": 987,
"reason": "ALREADY_RESTORED"
}
AssetCategoryMassEditFailureReason
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"ALREADY_RESTORED"
AssetCategoryMassEditFieldsInput
Example
{
"externalId": "abc123",
"groupId": HashedId,
"isPrivate": true,
"servicePackageId": HashedId
}
AssetCategoryMassEditResult
Description
Summary result of a mass edit operation on asset categories
Fields
| Field Name | Description |
|---|---|
failed - [AssetCategoryMassEditFailure!]!
|
|
retainedIds - [HashedId!]!
|
Selected ids the user can still edit after the operation; empty after a delete or archive |
skipped - Int!
|
|
succeeded - Int!
|
Example
{
"failed": [AssetCategoryMassEditFailure],
"retainedIds": [HashedId],
"skipped": 123,
"succeeded": 123
}
AssetCategoryMassEditSelectionInput
Description
Selection criteria for asset category mass edit operations
Fields
| Input Field | Description |
|---|---|
assetCategoryIds - [HashedId!]
|
Explicit list of asset category IDs to include in the operation |
excludeAssetCategoryIds - [HashedId!]
|
Asset category IDs to exclude from the selection |
filterInput - AssetFilterInput
|
Filter criteria to dynamically select asset categories |
Example
{
"assetCategoryIds": [HashedId],
"excludeAssetCategoryIds": [HashedId],
"filterInput": AssetFilterInput
}
AssetCategoryPaginatedDto
Description
Paginated list of asset categories with total count
Fields
| Field Name | Description |
|---|---|
meta - PaginationMeta!
|
Pagination metadata including total count and page info |
rows - [AssetCategory!]!
|
List of records for the current page |
total - Int!
|
Total amount |
Example
{
"meta": PaginationMeta,
"rows": [AssetCategory],
"total": 987
}
AssetCheckSchedule
Description
Scheduled safety or compliance check for an asset
Fields
| Field Name | Description |
|---|---|
assetId - HashedId!
|
Associated asset identifier |
daysToNextCheck - Int!
|
Number of days remaining until the next check |
externalId - String
|
External system identifier for integration |
id - HashedId!
|
Unique identifier of the entity |
interval - Int!
|
Check interval in months |
lastCheck - Date
|
Date of the last completed check |
lastCheckLastEdited - AssetCheckScheduleEditNote
|
Edit note for the last check date change |
name - String!
|
Name of the check schedule |
nextCheck - Date!
|
Date of the next scheduled check |
nextCheckLastEdited - AssetCheckScheduleEditNote
|
Edit note for the next check date change |
Example
{
"assetId": HashedId,
"daysToNextCheck": 987,
"externalId": "abc123",
"id": HashedId,
"interval": 123,
"lastCheck": "2007-12-03",
"lastCheckLastEdited": AssetCheckScheduleEditNote,
"name": "abc123",
"nextCheck": "2007-12-03",
"nextCheckLastEdited": AssetCheckScheduleEditNote
}
AssetCheckScheduleEditNote
Description
Audit trail entry for a check schedule date change
Fields
| Field Name | Description |
|---|---|
timestamp - Timestamp!
|
When the date change was made |
user - User
|
User who made the date change |
Example
{"timestamp": 1592577642, "user": User}
AssetCheckScheduleRule
Description
Rule-based check schedule for an asset
Fields
| Field Name | Description |
|---|---|
assetId - HashedId!
|
Associated asset identifier |
daysToNextCheck - Int!
|
Number of days remaining until the next check |
id - HashedId!
|
Unique identifier of the entity |
interval - Int!
|
Check interval in months |
lastCheck - Date
|
Date of the last completed rule-based check |
name - String!
|
Name of the check schedule |
nextCheck - Date!
|
Date of the next scheduled rule-based check |
timeframe - RuleInterval!
|
Recurrence interval for the rule schedule |
Example
{
"assetId": HashedId,
"daysToNextCheck": 123,
"id": HashedId,
"interval": 123,
"lastCheck": "2007-12-03",
"name": "abc123",
"nextCheck": "2007-12-03",
"timeframe": "M"
}
AssetClassification
Description
Classification of an asset indicating its physical type: robot, vehicle, room, or generic equipment
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
Example
"GENERIC"
AssetData
Description
AssetData is the data object sent from the module attached to this asset. It contains parameters and values (either provided by the Toolsense module or manufacturer inverter) needed for statistics and analysis.
Fields
| Field Name | Description |
|---|---|
created - Timestamp!
|
Timestamp when the entity was created |
createdByAsset - Asset
|
Associated asset |
createdByAssetId - HashedId
|
Associated asset |
createdByModule - Module
|
Created By Module for this asset data |
createdByModuleId - HashedId
|
Created By Module Id for this asset data |
createdByModuleImei - String
|
Created By Module Imei for this asset data |
data - JSON
|
A JSON formated String including the data of the last sending |
id - HashedId!
|
Unique identifier of the entity |
updated - Timestamp
|
Timestamp when the entity was last updated |
Example
{
"created": 1592577642,
"createdByAsset": Asset,
"createdByAssetId": HashedId,
"createdByModule": Module,
"createdByModuleId": HashedId,
"createdByModuleImei": "xyz789",
"data": {},
"id": HashedId,
"updated": 1592577642
}
AssetDataExportRequestInput
Description
Data required to request an asset IoT data export
Fields
| Input Field | Description |
|---|---|
assetId - HashedId!
|
Asset to export IoT data for |
headerLocal - String!
|
Header label for the local timestamp column |
headerUTC - String!
|
Header label for the UTC timestamp column |
language - LanguageLocaleEnum!
|
Language preference for parameter titles |
timezone - String!
|
Timezone identifier for the local timestamp column |
Example
{
"assetId": HashedId,
"headerLocal": "abc123",
"headerUTC": "abc123",
"language": "ar_ar",
"timezone": "xyz789"
}
AssetDataNew
Description
IoT telemetry data record for an asset
Fields
| Field Name | Description |
|---|---|
created - Timestamp!
|
Timestamp when the data was recorded |
createdByAsset - Asset
|
Asset that generated this data |
createdByAssetId - HashedId
|
ID of the asset that generated this data |
createdByModule - Module
|
IoT module that sent this data |
createdByModuleId - HashedId
|
ID of the IoT module that sent this data |
createdByModuleImei - String
|
IMEI of the IoT module that sent this data |
data - JSON
|
A JSON formated String including the data of the last sending |
id - HashedId!
|
ID of the asset data record |
moduleTimestamp - Timestamp
|
Timestamp reported by the IoT module |
updated - Timestamp
|
Timestamp when the record was last updated |
Example
{
"created": 1592577642,
"createdByAsset": Asset,
"createdByAssetId": HashedId,
"createdByModule": Module,
"createdByModuleId": HashedId,
"createdByModuleImei": "xyz789",
"data": {},
"id": HashedId,
"moduleTimestamp": 1592577642,
"updated": 1592577642
}
AssetDisplayedRuntimeCode
Description
IoT parameter shown as the runtime for assets of a given type
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
Example
"RUNTIME"
AssetEventColumnEnum
Description
Available columns for asset event list views and exports, including asset identifiers (serial, inventory number, external ID), site details, event metadata (symbol, title, type, status), and timestamps
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"ASSET_BRAND"
AssetEventExportRequestInput
Description
Data required to request an asset event list export
Fields
| Input Field | Description |
|---|---|
columnKeys - [AssetEventColumnEnum!]
|
Subset of exportable columns to include, in the requested order. Defaults to every exportable column when omitted |
filters - [FilterParamsInput]
|
Filter criteria |
search - String
|
Text search query for filtering results |
Example
{
"columnKeys": ["ASSET_BRAND"],
"filters": [FilterParamsInput],
"search": "abc123"
}
AssetEventPaginatedDto
Description
Asset Event Paginated
Fields
| Field Name | Description |
|---|---|
meta - PaginationMeta!
|
Pagination metadata including total count and page info |
rows - [Event!]!
|
List of records for the current page |
total - Int!
|
Total amount |
Example
{
"meta": PaginationMeta,
"rows": [Event],
"total": 987
}
AssetEventView
Description
configuration for an asset event view
Fields
| Field Name | Description |
|---|---|
created - Timestamp!
|
Timestamp when the entity was created |
displayMode - ViewDisplayMode!
|
display mode that this view uses (e.g. MAP) |
forEntity - ViewEntityEnum!
|
type of entity that this view is for (e.g. ASSET) |
id - HashedId!
|
id (hashed) of the view. can be used to re-order the view, or adjust sharing etc. |
isActive - Boolean!
|
whether this view is enabled for this account |
isDeletable - Boolean!
|
whether this account can delete this view |
isEditable - Boolean!
|
whether this account can change this view's display mode, name or options |
isShareable - Boolean!
|
whether this account can share or unshare this view to this group and sub-groups |
isShared - Boolean!
|
whether this view can be seen by other members of this group, and sub-groups |
isSystemView - Boolean!
|
whether this is a system view (inherited from toolsense system). System views can only be shared/unshared; they cannot be edited. |
isUnsharedByParentGroup - Boolean!
|
whether this view has been unshared by a parent of this group |
options - AssetEventViewOptions!
|
options describing pagination, filters and columns available in the view |
title - Translation!
|
User-defined name for this saved view |
titleId - HashedId!
|
human-readable, user-input name that is given upon view creation. EXCEPT when isSystemView is true, then this is a string identifier for the view (e.g. "asset-gantt") |
updated - Timestamp
|
Timestamp when the entity was last updated |
Example
{
"created": 1592577642,
"displayMode": "GANTT",
"forEntity": "ASSET",
"id": HashedId,
"isActive": true,
"isDeletable": false,
"isEditable": false,
"isShareable": false,
"isShared": true,
"isSystemView": false,
"isUnsharedByParentGroup": true,
"options": AssetEventViewOptions,
"title": Translation,
"titleId": HashedId,
"updated": 1592577642
}
AssetEventViewCreateInput
Description
input used to create a new asset event view
Fields
| Input Field | Description |
|---|---|
displayMode - ViewDisplayMode!
|
display mode that this view uses (e.g. MAP) |
options - AssetEventViewOptionsInput!
|
display options to be stored with this view |
title - TranslationInput!
|
Name to assign to the new saved view |
Example
{
"displayMode": "GANTT",
"options": AssetEventViewOptionsInput,
"title": TranslationInput
}
AssetEventViewOptions
Description
Display settings for pagination, filters, and columns in an asset event view
Fields
| Field Name | Description |
|---|---|
columns - [AssetEventColumnEnum!]!
|
asset event columns enabled for this view |
filters - [Filters]
|
well defined filters for this view |
itemsPerPage - Int!
|
number of items per page in this view |
search - String
|
general search string to filter the items in this view |
Example
{
"columns": ["ASSET_BRAND"],
"filters": [Filters],
"itemsPerPage": 987,
"search": "abc123"
}
AssetEventViewOptionsInput
Description
Pagination, filter, and column settings for an asset event view
Fields
| Input Field | Description |
|---|---|
columns - [AssetEventColumnEnum!]!
|
ordered asset event columns that are to be displayed in this view |
filters - [FilterParamsInput]
|
Filter criteria |
itemsPerPage - Int!
|
number of asset events per page in the view |
search - String
|
Text search query for filtering results |
Example
{
"columns": ["ASSET_BRAND"],
"filters": [FilterParamsInput],
"itemsPerPage": 987,
"search": "xyz789"
}
AssetEventViewUpdateInput
Description
Fields to update on an existing asset event view
Fields
| Input Field | Description |
|---|---|
displayMode - ViewDisplayMode!
|
display mode that this view uses (e.g. MAP) |
id - HashedId!
|
Unique identifier of the entity |
options - AssetEventViewOptionsInput!
|
options for displaying asset events in this view |
title - TranslationInput!
|
Updated name for the saved view |
Example
{
"displayMode": "GANTT",
"id": HashedId,
"options": AssetEventViewOptionsInput,
"title": TranslationInput
}
AssetExportRequestInput
Description
Data required to request an asset list export
Fields
| Input Field | Description |
|---|---|
filter - AssetFilterInput
|
Asset list filter criteria |
viewId - HashedId
|
ID of a saved view whose column configuration should be applied to the export |
Example
{
"filter": AssetFilterInput,
"viewId": HashedId
}
AssetFilterInput
Description
Filter criteria combining a text search term and related filter parameters
Fields
| Input Field | Description |
|---|---|
relatedFilters - [FilterParamsInput]
|
Additional filter parameters for related asset fields |
searchTerm - String
|
Text to match against asset name and identifiers |
Example
{
"relatedFilters": [FilterParamsInput],
"searchTerm": "xyz789"
}
AssetFilterPeriodFilter
AssetFilterStats
Description
Aggregated contract expiration statistics for asset filtering
Fields
| Field Name | Description |
|---|---|
leasingEnd - [AssetFilterPeriodFilter!]!
|
Asset counts grouped by leasing end date period |
leasingRemainingMonths - [String]!
|
Months remaining on each active leasing contract |
rentalEnd - [AssetFilterPeriodFilter!]!
|
Asset counts grouped by rental end date period |
rentalRemainingMonths - [String]!
|
Months remaining on each active rental contract |
serviceContractRemainingMonths - [String]!
|
Months remaining on each active service contract |
Example
{
"leasingEnd": [AssetFilterPeriodFilter],
"leasingRemainingMonths": ["xyz789"],
"rentalEnd": [AssetFilterPeriodFilter],
"rentalRemainingMonths": ["abc123"],
"serviceContractRemainingMonths": [
"xyz789"
]
}
AssetGeofence
Description
Current reliable measured position against an assigned site geofence
Fields
| Field Name | Description |
|---|---|
site - Site
|
Active assigned site whose geofence was evaluated |
state - AssetGeofenceStateEnum!
|
Latest measured geofence state |
Example
{"site": Site, "state": "INSIDE"}
AssetGeofenceStateEnum
Description
Latest measured asset state at the active assigned site geofence
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
Example
"INSIDE"
AssetImportCustomFieldResultDto
Fields
| Field Name | Description |
|---|---|
fieldId - Int!
|
|
result - ImporterValidateColumnResult!
|
Example
{"fieldId": 123, "result": ImporterValidateColumnResult}
AssetImportRequestInput
Description
Data required to request an import of an uploaded file of asset rows
Fields
| Input Field | Description |
|---|---|
file - Upload!
|
Newline-delimited JSON file with one importer row per line |
mode - ImporterMode!
|
Importer mode: CREATE creates new records; UPDATE updates matched records |
Example
{"file": Upload, "mode": "CREATE"}
AssetImportValidateResult
Fields
| Field Name | Description |
|---|---|
assetInternal - ImporterValidateColumnResult
|
Validation result for the existing asset reference column |
assignment - ImporterValidateColumnResult
|
Validation result for the assignment |
availability - ImporterValidateColumnResult
|
Validation result for the availability status |
categoryInternal - ImporterValidateColumnResult
|
Validation result for the asset category |
category_ar - ImporterValidateColumnResult
|
Validation result for the category field in ar |
category_bg - ImporterValidateColumnResult
|
Validation result for the category field in bg |
category_bn - ImporterValidateColumnResult
|
Validation result for the category field in bn |
category_cs - ImporterValidateColumnResult
|
Validation result for the category field in cs |
category_da - ImporterValidateColumnResult
|
Validation result for the category field in da |
category_de - ImporterValidateColumnResult
|
Validation result for the category field in de |
category_el - ImporterValidateColumnResult
|
Validation result for the category field in el |
category_en - ImporterValidateColumnResult
|
Validation result for the category field in en |
category_es - ImporterValidateColumnResult
|
Validation result for the category field in es |
category_et - ImporterValidateColumnResult
|
Validation result for the category field in et |
category_fa - ImporterValidateColumnResult
|
Validation result for the category field in fa |
category_fi - ImporterValidateColumnResult
|
Validation result for the category field in fi |
category_fr - ImporterValidateColumnResult
|
Validation result for the category field in fr |
category_he - ImporterValidateColumnResult
|
Validation result for the category field in he |
category_hi - ImporterValidateColumnResult
|
Validation result for the category field in hi |
category_hr - ImporterValidateColumnResult
|
Validation result for the category field in hr |
category_hu - ImporterValidateColumnResult
|
Validation result for the category field in hu |
category_id - ImporterValidateColumnResult
|
Validation result for the category field in id |
category_it - ImporterValidateColumnResult
|
Validation result for the category field in it |
category_ja - ImporterValidateColumnResult
|
Validation result for the category field in ja |
category_ko - ImporterValidateColumnResult
|
Validation result for the category field in ko |
category_lo - ImporterValidateColumnResult
|
Validation result for the category field in lo |
category_lt - ImporterValidateColumnResult
|
Validation result for the category field in lt |
category_lv - ImporterValidateColumnResult
|
Validation result for the category field in lv |
category_ms - ImporterValidateColumnResult
|
Validation result for the category field in ms |
category_my - ImporterValidateColumnResult
|
Validation result for the category field in my |
category_nb - ImporterValidateColumnResult
|
Validation result for the category field in nb |
category_nl - ImporterValidateColumnResult
|
Validation result for the category field in nl |
category_pl - ImporterValidateColumnResult
|
Validation result for the category field in pl |
category_pt - ImporterValidateColumnResult
|
Validation result for the category field in pt |
category_ro - ImporterValidateColumnResult
|
Validation result for the category field in ro |
category_ru - ImporterValidateColumnResult
|
Validation result for the category field in ru |
category_sk - ImporterValidateColumnResult
|
Validation result for the category field in sk |
category_sl - ImporterValidateColumnResult
|
Validation result for the category field in sl |
category_sr - ImporterValidateColumnResult
|
Validation result for the category field in sr |
category_sv - ImporterValidateColumnResult
|
Validation result for the category field in sv |
category_sw - ImporterValidateColumnResult
|
Validation result for the category field in sw |
category_ta - ImporterValidateColumnResult
|
Validation result for the category field in ta |
category_th - ImporterValidateColumnResult
|
Validation result for the category field in th |
category_tl - ImporterValidateColumnResult
|
Validation result for the category field in tl |
category_tr - ImporterValidateColumnResult
|
Validation result for the category field in tr |
category_uk - ImporterValidateColumnResult
|
Validation result for the category field in uk |
category_ur - ImporterValidateColumnResult
|
Validation result for the category field in ur |
category_vi - ImporterValidateColumnResult
|
Validation result for the category field in vi |
category_zh - ImporterValidateColumnResult
|
Validation result for the category field in zh |
checkSchedule - ImporterValidateColumnResult
|
Validation result for the check schedule |
classification - ImporterValidateColumnResult
|
Validation result for the asset classification |
client - ImporterValidateColumnResult
|
Validation result for the client |
commissionDate - ImporterValidateColumnResult
|
Validation result for the commission date |
costCenter - ImporterValidateColumnResult
|
Validation result for the cost center |
currency - ImporterValidateColumnResult
|
Validation result for the currency |
customFields - [AssetImportCustomFieldResultDto!]
|
|
dailyRate - ImporterValidateColumnResult
|
Validation result for the daily rental rate |
description_ar - ImporterValidateColumnResult
|
Validation result for the description field in ar |
description_bg - ImporterValidateColumnResult
|
Validation result for the description field in bg |
description_bn - ImporterValidateColumnResult
|
Validation result for the description field in bn |
description_cs - ImporterValidateColumnResult
|
Validation result for the description field in cs |
description_da - ImporterValidateColumnResult
|
Validation result for the description field in da |
description_de - ImporterValidateColumnResult
|
Validation result for the description field in de |
description_el - ImporterValidateColumnResult
|
Validation result for the description field in el |
description_en - ImporterValidateColumnResult
|
Validation result for the description field in en |
description_es - ImporterValidateColumnResult
|
Validation result for the description field in es |
description_et - ImporterValidateColumnResult
|
Validation result for the description field in et |
description_fa - ImporterValidateColumnResult
|
Validation result for the description field in fa |
description_fi - ImporterValidateColumnResult
|
Validation result for the description field in fi |
description_fr - ImporterValidateColumnResult
|
Validation result for the description field in fr |
description_he - ImporterValidateColumnResult
|
Validation result for the description field in he |
description_hi - ImporterValidateColumnResult
|
Validation result for the description field in hi |
description_hr - ImporterValidateColumnResult
|
Validation result for the description field in hr |
description_hu - ImporterValidateColumnResult
|
Validation result for the description field in hu |
description_id - ImporterValidateColumnResult
|
Validation result for the description field in id |
description_it - ImporterValidateColumnResult
|
Validation result for the description field in it |
description_ja - ImporterValidateColumnResult
|
Validation result for the description field in ja |
description_ko - ImporterValidateColumnResult
|
Validation result for the description field in ko |
description_lo - ImporterValidateColumnResult
|
Validation result for the description field in lo |
description_lt - ImporterValidateColumnResult
|
Validation result for the description field in lt |
description_lv - ImporterValidateColumnResult
|
Validation result for the description field in lv |
description_ms - ImporterValidateColumnResult
|
Validation result for the description field in ms |
description_my - ImporterValidateColumnResult
|
Validation result for the description field in my |
description_nb - ImporterValidateColumnResult
|
Validation result for the description field in nb |
description_nl - ImporterValidateColumnResult
|
Validation result for the description field in nl |
description_pl - ImporterValidateColumnResult
|
Validation result for the description field in pl |
description_pt - ImporterValidateColumnResult
|
Validation result for the description field in pt |
description_ro - ImporterValidateColumnResult
|
Validation result for the description field in ro |
description_ru - ImporterValidateColumnResult
|
Validation result for the description field in ru |
description_sk - ImporterValidateColumnResult
|
Validation result for the description field in sk |
description_sl - ImporterValidateColumnResult
|
Validation result for the description field in sl |
description_sr - ImporterValidateColumnResult
|
Validation result for the description field in sr |
description_sv - ImporterValidateColumnResult
|
Validation result for the description field in sv |
description_sw - ImporterValidateColumnResult
|
Validation result for the description field in sw |
description_ta - ImporterValidateColumnResult
|
Validation result for the description field in ta |
description_th - ImporterValidateColumnResult
|
Validation result for the description field in th |
description_tl - ImporterValidateColumnResult
|
Validation result for the description field in tl |
description_tr - ImporterValidateColumnResult
|
Validation result for the description field in tr |
description_uk - ImporterValidateColumnResult
|
Validation result for the description field in uk |
description_ur - ImporterValidateColumnResult
|
Validation result for the description field in ur |
description_vi - ImporterValidateColumnResult
|
Validation result for the description field in vi |
description_zh - ImporterValidateColumnResult
|
Validation result for the description field in zh |
externalId - ImporterValidateColumnResult
|
Validation result for the external system identifier |
fixedAssetNumber - ImporterValidateColumnResult
|
Validation result for the fixed asset number |
floorRoom - ImporterValidateColumnResult
|
Validation result for the floor and room location |
hasErrors - Boolean!
|
Whether this row contains any validation errors |
hasWarnings - Boolean!
|
Whether this row contains any validation warnings |
id - ImporterValidateColumnResult
|
Validation result for the internal asset identifier |
imei - ImporterValidateColumnResult
|
Validation result for the IMEI number |
index - Int!
|
Row index of this entry in the import spreadsheet |
initialValue - ImporterValidateColumnResult
|
Validation result for the initial value |
inventoryNumber - ImporterValidateColumnResult
|
Validation result for the inventory number |
inventoryPrefix - ImporterValidateColumnResult
|
Validation result for the inventory number prefix |
lastMachineCheck - ImporterValidateColumnResult
|
Validation result for the last machine check date |
leasingCostTermination - ImporterValidateColumnResult
|
Validation result for the leasing termination cost |
leasingEnd - ImporterValidateColumnResult
|
Validation result for the leasing end date |
leasingLevel - ImporterValidateColumnResult
|
Validation result for the leasing level |
leasingMonthlyCost - ImporterValidateColumnResult
|
Validation result for the monthly leasing cost |
leasingPartner - ImporterValidateColumnResult
|
Validation result for the leasing partner |
leasingPartnerContractNumber - ImporterValidateColumnResult
|
Validation result for the leasing contract number |
leasingPartnerContractPositionNumber - ImporterValidateColumnResult
|
Validation result for the leasing contract position number |
leasingRenewalDate - ImporterValidateColumnResult
|
Validation result for the leasing renewal date |
leasingRenewalRate - ImporterValidateColumnResult
|
Validation result for the leasing renewal rate |
leasingStart - ImporterValidateColumnResult
|
Validation result for the leasing start date |
machineCheckInterval - ImporterValidateColumnResult
|
Validation result for the machine check interval |
machineCheckName - ImporterValidateColumnResult
|
Validation result for the machine check name |
machineCheckTimeframe - ImporterValidateColumnResult
|
Validation result for the machine check timeframe |
maintenanceInterval - ImporterValidateColumnResult
|
Validation result for the maintenance interval |
maintenanceLastDate - ImporterValidateColumnResult
|
Validation result for the last maintenance date |
maintenanceSchedule - ImporterValidateColumnResult
|
Validation result for the maintenance schedule |
make - ImporterValidateColumnResult
|
Validation result for the manufacturer or brand name |
minDaysBilled - ImporterValidateColumnResult
|
Validation result for minimum days billed |
optionalAssetID - ImporterValidateColumnResult
|
Validation result for the optional asset identifier |
ownership - ImporterValidateColumnResult
|
Validation result for the ownership type |
plateNumber - ImporterValidateColumnResult
|
Validation result for the license plate number |
projectNumber - ImporterValidateColumnResult
|
Validation result for the project number |
purchaseCost - ImporterValidateColumnResult
|
Validation result for the purchase cost |
purchaseDepreciationMonths - ImporterValidateColumnResult
|
Validation result for the depreciation period in months |
purchaseInvoiceNumber - ImporterValidateColumnResult
|
Validation result for the invoice number |
purchaseLowValueAsset - ImporterValidateColumnResult
|
Validation result for the low-value asset flag |
purchaseStart - ImporterValidateColumnResult
|
Validation result for the purchase start date |
purchaseWarrantyEnd - ImporterValidateColumnResult
|
Validation result for the warranty end date |
purchaseWarrantyPeriod - ImporterValidateColumnResult
|
Validation result for the warranty period |
purchaseWarrantyStart - ImporterValidateColumnResult
|
Validation result for the warranty start date |
quantity - ImporterValidateColumnResult
|
Validation result for the quantity |
rentalCostTermination - ImporterValidateColumnResult
|
Validation result for the rental termination cost |
rentalEnd - ImporterValidateColumnResult
|
Validation result for the rental end date |
rentalMonthlyCost - ImporterValidateColumnResult
|
Validation result for the monthly rental cost |
rentalRenewalDate - ImporterValidateColumnResult
|
Validation result for the rental renewal date |
rentalRenewalRate - ImporterValidateColumnResult
|
Validation result for the rental renewal rate |
rentalStart - ImporterValidateColumnResult
|
Validation result for the rental start date |
reservations - ImporterValidateColumnResult
|
Validation result for the reservations flag |
responsiblePerson - ImporterValidateColumnResult
|
Validation result for the responsible person |
serial - ImporterValidateColumnResult
|
Validation result for the serial number |
serviceContract - ImporterValidateColumnResult
|
Validation result for the service contract flag |
serviceContractCostPerYear - ImporterValidateColumnResult
|
Validation result for the annual service contract cost |
serviceContractEmail - ImporterValidateColumnResult
|
Validation result for the service contract email |
serviceContractEnd - ImporterValidateColumnResult
|
Validation result for the service contract end date |
serviceContractLevel - ImporterValidateColumnResult
|
Validation result for the service contract level |
serviceContractPartner - ImporterValidateColumnResult
|
Validation result for the service contract partner |
serviceContractStart - ImporterValidateColumnResult
|
Validation result for the service contract start date |
shouldUpdateActiveAssetSiteAssignment - ImporterValidateColumnResult
|
Validation result for the site assignment update flag |
site - ImporterValidateColumnResult
|
Validation result for the site name |
siteAddress - ImporterValidateColumnResult
|
Validation result for the site address |
siteExternalId - ImporterValidateColumnResult
|
Validation result for the site external identifier |
siteInternal - ImporterValidateColumnResult
|
Validation result for the existing site reference column |
supplier - ImporterValidateColumnResult
|
Validation result for the supplier |
typeInternal - ImporterValidateColumnResult
|
Validation result for the asset type |
type_ar - ImporterValidateColumnResult
|
Validation result for the type field in ar |
type_bg - ImporterValidateColumnResult
|
Validation result for the type field in bg |
type_bn - ImporterValidateColumnResult
|
Validation result for the type field in bn |
type_cs - ImporterValidateColumnResult
|
Validation result for the type field in cs |
type_da - ImporterValidateColumnResult
|
Validation result for the type field in da |
type_de - ImporterValidateColumnResult
|
Validation result for the type field in de |
type_el - ImporterValidateColumnResult
|
Validation result for the type field in el |
type_en - ImporterValidateColumnResult
|
Validation result for the type field in en |
type_es - ImporterValidateColumnResult
|
Validation result for the type field in es |
type_et - ImporterValidateColumnResult
|
Validation result for the type field in et |
type_fa - ImporterValidateColumnResult
|
Validation result for the type field in fa |
type_fi - ImporterValidateColumnResult
|
Validation result for the type field in fi |
type_fr - ImporterValidateColumnResult
|
Validation result for the type field in fr |
type_he - ImporterValidateColumnResult
|
Validation result for the type field in he |
type_hi - ImporterValidateColumnResult
|
Validation result for the type field in hi |
type_hr - ImporterValidateColumnResult
|
Validation result for the type field in hr |
type_hu - ImporterValidateColumnResult
|
Validation result for the type field in hu |
type_id - ImporterValidateColumnResult
|
Validation result for the type field in id |
type_it - ImporterValidateColumnResult
|
Validation result for the type field in it |
type_ja - ImporterValidateColumnResult
|
Validation result for the type field in ja |
type_ko - ImporterValidateColumnResult
|
Validation result for the type field in ko |
type_lo - ImporterValidateColumnResult
|
Validation result for the type field in lo |
type_lt - ImporterValidateColumnResult
|
Validation result for the type field in lt |
type_lv - ImporterValidateColumnResult
|
Validation result for the type field in lv |
type_ms - ImporterValidateColumnResult
|
Validation result for the type field in ms |
type_my - ImporterValidateColumnResult
|
Validation result for the type field in my |
type_nb - ImporterValidateColumnResult
|
Validation result for the type field in nb |
type_nl - ImporterValidateColumnResult
|
Validation result for the type field in nl |
type_pl - ImporterValidateColumnResult
|
Validation result for the type field in pl |
type_pt - ImporterValidateColumnResult
|
Validation result for the type field in pt |
type_ro - ImporterValidateColumnResult
|
Validation result for the type field in ro |
type_ru - ImporterValidateColumnResult
|
Validation result for the type field in ru |
type_sk - ImporterValidateColumnResult
|
Validation result for the type field in sk |
type_sl - ImporterValidateColumnResult
|
Validation result for the type field in sl |
type_sr - ImporterValidateColumnResult
|
Validation result for the type field in sr |
type_sv - ImporterValidateColumnResult
|
Validation result for the type field in sv |
type_sw - ImporterValidateColumnResult
|
Validation result for the type field in sw |
type_ta - ImporterValidateColumnResult
|
Validation result for the type field in ta |
type_th - ImporterValidateColumnResult
|
Validation result for the type field in th |
type_tl - ImporterValidateColumnResult
|
Validation result for the type field in tl |
type_tr - ImporterValidateColumnResult
|
Validation result for the type field in tr |
type_uk - ImporterValidateColumnResult
|
Validation result for the type field in uk |
type_ur - ImporterValidateColumnResult
|
Validation result for the type field in ur |
type_vi - ImporterValidateColumnResult
|
Validation result for the type field in vi |
type_zh - ImporterValidateColumnResult
|
Validation result for the type field in zh |
vehicle - ImporterValidateColumnResult
|
Validation result for the vehicle flag |
Example
{
"assetInternal": ImporterValidateColumnResult,
"assignment": ImporterValidateColumnResult,
"availability": ImporterValidateColumnResult,
"categoryInternal": ImporterValidateColumnResult,
"category_ar": ImporterValidateColumnResult,
"category_bg": ImporterValidateColumnResult,
"category_bn": ImporterValidateColumnResult,
"category_cs": ImporterValidateColumnResult,
"category_da": ImporterValidateColumnResult,
"category_de": ImporterValidateColumnResult,
"category_el": ImporterValidateColumnResult,
"category_en": ImporterValidateColumnResult,
"category_es": ImporterValidateColumnResult,
"category_et": ImporterValidateColumnResult,
"category_fa": ImporterValidateColumnResult,
"category_fi": ImporterValidateColumnResult,
"category_fr": ImporterValidateColumnResult,
"category_he": ImporterValidateColumnResult,
"category_hi": ImporterValidateColumnResult,
"category_hr": ImporterValidateColumnResult,
"category_hu": ImporterValidateColumnResult,
"category_id": ImporterValidateColumnResult,
"category_it": ImporterValidateColumnResult,
"category_ja": ImporterValidateColumnResult,
"category_ko": ImporterValidateColumnResult,
"category_lo": ImporterValidateColumnResult,
"category_lt": ImporterValidateColumnResult,
"category_lv": ImporterValidateColumnResult,
"category_ms": ImporterValidateColumnResult,
"category_my": ImporterValidateColumnResult,
"category_nb": ImporterValidateColumnResult,
"category_nl": ImporterValidateColumnResult,
"category_pl": ImporterValidateColumnResult,
"category_pt": ImporterValidateColumnResult,
"category_ro": ImporterValidateColumnResult,
"category_ru": ImporterValidateColumnResult,
"category_sk": ImporterValidateColumnResult,
"category_sl": ImporterValidateColumnResult,
"category_sr": ImporterValidateColumnResult,
"category_sv": ImporterValidateColumnResult,
"category_sw": ImporterValidateColumnResult,
"category_ta": ImporterValidateColumnResult,
"category_th": ImporterValidateColumnResult,
"category_tl": ImporterValidateColumnResult,
"category_tr": ImporterValidateColumnResult,
"category_uk": ImporterValidateColumnResult,
"category_ur": ImporterValidateColumnResult,
"category_vi": ImporterValidateColumnResult,
"category_zh": ImporterValidateColumnResult,
"checkSchedule": ImporterValidateColumnResult,
"classification": ImporterValidateColumnResult,
"client": ImporterValidateColumnResult,
"commissionDate": ImporterValidateColumnResult,
"costCenter": ImporterValidateColumnResult,
"currency": ImporterValidateColumnResult,
"customFields": [AssetImportCustomFieldResultDto],
"dailyRate": ImporterValidateColumnResult,
"description_ar": ImporterValidateColumnResult,
"description_bg": ImporterValidateColumnResult,
"description_bn": ImporterValidateColumnResult,
"description_cs": ImporterValidateColumnResult,
"description_da": ImporterValidateColumnResult,
"description_de": ImporterValidateColumnResult,
"description_el": ImporterValidateColumnResult,
"description_en": ImporterValidateColumnResult,
"description_es": ImporterValidateColumnResult,
"description_et": ImporterValidateColumnResult,
"description_fa": ImporterValidateColumnResult,
"description_fi": ImporterValidateColumnResult,
"description_fr": ImporterValidateColumnResult,
"description_he": ImporterValidateColumnResult,
"description_hi": ImporterValidateColumnResult,
"description_hr": ImporterValidateColumnResult,
"description_hu": ImporterValidateColumnResult,
"description_id": ImporterValidateColumnResult,
"description_it": ImporterValidateColumnResult,
"description_ja": ImporterValidateColumnResult,
"description_ko": ImporterValidateColumnResult,
"description_lo": ImporterValidateColumnResult,
"description_lt": ImporterValidateColumnResult,
"description_lv": ImporterValidateColumnResult,
"description_ms": ImporterValidateColumnResult,
"description_my": ImporterValidateColumnResult,
"description_nb": ImporterValidateColumnResult,
"description_nl": ImporterValidateColumnResult,
"description_pl": ImporterValidateColumnResult,
"description_pt": ImporterValidateColumnResult,
"description_ro": ImporterValidateColumnResult,
"description_ru": ImporterValidateColumnResult,
"description_sk": ImporterValidateColumnResult,
"description_sl": ImporterValidateColumnResult,
"description_sr": ImporterValidateColumnResult,
"description_sv": ImporterValidateColumnResult,
"description_sw": ImporterValidateColumnResult,
"description_ta": ImporterValidateColumnResult,
"description_th": ImporterValidateColumnResult,
"description_tl": ImporterValidateColumnResult,
"description_tr": ImporterValidateColumnResult,
"description_uk": ImporterValidateColumnResult,
"description_ur": ImporterValidateColumnResult,
"description_vi": ImporterValidateColumnResult,
"description_zh": ImporterValidateColumnResult,
"externalId": ImporterValidateColumnResult,
"fixedAssetNumber": ImporterValidateColumnResult,
"floorRoom": ImporterValidateColumnResult,
"hasErrors": false,
"hasWarnings": false,
"id": ImporterValidateColumnResult,
"imei": ImporterValidateColumnResult,
"index": 123,
"initialValue": ImporterValidateColumnResult,
"inventoryNumber": ImporterValidateColumnResult,
"inventoryPrefix": ImporterValidateColumnResult,
"lastMachineCheck": ImporterValidateColumnResult,
"leasingCostTermination": ImporterValidateColumnResult,
"leasingEnd": ImporterValidateColumnResult,
"leasingLevel": ImporterValidateColumnResult,
"leasingMonthlyCost": ImporterValidateColumnResult,
"leasingPartner": ImporterValidateColumnResult,
"leasingPartnerContractNumber": ImporterValidateColumnResult,
"leasingPartnerContractPositionNumber": ImporterValidateColumnResult,
"leasingRenewalDate": ImporterValidateColumnResult,
"leasingRenewalRate": ImporterValidateColumnResult,
"leasingStart": ImporterValidateColumnResult,
"machineCheckInterval": ImporterValidateColumnResult,
"machineCheckName": ImporterValidateColumnResult,
"machineCheckTimeframe": ImporterValidateColumnResult,
"maintenanceInterval": ImporterValidateColumnResult,
"maintenanceLastDate": ImporterValidateColumnResult,
"maintenanceSchedule": ImporterValidateColumnResult,
"make": ImporterValidateColumnResult,
"minDaysBilled": ImporterValidateColumnResult,
"optionalAssetID": ImporterValidateColumnResult,
"ownership": ImporterValidateColumnResult,
"plateNumber": ImporterValidateColumnResult,
"projectNumber": ImporterValidateColumnResult,
"purchaseCost": ImporterValidateColumnResult,
"purchaseDepreciationMonths": ImporterValidateColumnResult,
"purchaseInvoiceNumber": ImporterValidateColumnResult,
"purchaseLowValueAsset": ImporterValidateColumnResult,
"purchaseStart": ImporterValidateColumnResult,
"purchaseWarrantyEnd": ImporterValidateColumnResult,
"purchaseWarrantyPeriod": ImporterValidateColumnResult,
"purchaseWarrantyStart": ImporterValidateColumnResult,
"quantity": ImporterValidateColumnResult,
"rentalCostTermination": ImporterValidateColumnResult,
"rentalEnd": ImporterValidateColumnResult,
"rentalMonthlyCost": ImporterValidateColumnResult,
"rentalRenewalDate": ImporterValidateColumnResult,
"rentalRenewalRate": ImporterValidateColumnResult,
"rentalStart": ImporterValidateColumnResult,
"reservations": ImporterValidateColumnResult,
"responsiblePerson": ImporterValidateColumnResult,
"serial": ImporterValidateColumnResult,
"serviceContract": ImporterValidateColumnResult,
"serviceContractCostPerYear": ImporterValidateColumnResult,
"serviceContractEmail": ImporterValidateColumnResult,
"serviceContractEnd": ImporterValidateColumnResult,
"serviceContractLevel": ImporterValidateColumnResult,
"serviceContractPartner": ImporterValidateColumnResult,
"serviceContractStart": ImporterValidateColumnResult,
"shouldUpdateActiveAssetSiteAssignment": ImporterValidateColumnResult,
"site": ImporterValidateColumnResult,
"siteAddress": ImporterValidateColumnResult,
"siteExternalId": ImporterValidateColumnResult,
"siteInternal": ImporterValidateColumnResult,
"supplier": ImporterValidateColumnResult,
"typeInternal": ImporterValidateColumnResult,
"type_ar": ImporterValidateColumnResult,
"type_bg": ImporterValidateColumnResult,
"type_bn": ImporterValidateColumnResult,
"type_cs": ImporterValidateColumnResult,
"type_da": ImporterValidateColumnResult,
"type_de": ImporterValidateColumnResult,
"type_el": ImporterValidateColumnResult,
"type_en": ImporterValidateColumnResult,
"type_es": ImporterValidateColumnResult,
"type_et": ImporterValidateColumnResult,
"type_fa": ImporterValidateColumnResult,
"type_fi": ImporterValidateColumnResult,
"type_fr": ImporterValidateColumnResult,
"type_he": ImporterValidateColumnResult,
"type_hi": ImporterValidateColumnResult,
"type_hr": ImporterValidateColumnResult,
"type_hu": ImporterValidateColumnResult,
"type_id": ImporterValidateColumnResult,
"type_it": ImporterValidateColumnResult,
"type_ja": ImporterValidateColumnResult,
"type_ko": ImporterValidateColumnResult,
"type_lo": ImporterValidateColumnResult,
"type_lt": ImporterValidateColumnResult,
"type_lv": ImporterValidateColumnResult,
"type_ms": ImporterValidateColumnResult,
"type_my": ImporterValidateColumnResult,
"type_nb": ImporterValidateColumnResult,
"type_nl": ImporterValidateColumnResult,
"type_pl": ImporterValidateColumnResult,
"type_pt": ImporterValidateColumnResult,
"type_ro": ImporterValidateColumnResult,
"type_ru": ImporterValidateColumnResult,
"type_sk": ImporterValidateColumnResult,
"type_sl": ImporterValidateColumnResult,
"type_sr": ImporterValidateColumnResult,
"type_sv": ImporterValidateColumnResult,
"type_sw": ImporterValidateColumnResult,
"type_ta": ImporterValidateColumnResult,
"type_th": ImporterValidateColumnResult,
"type_tl": ImporterValidateColumnResult,
"type_tr": ImporterValidateColumnResult,
"type_uk": ImporterValidateColumnResult,
"type_ur": ImporterValidateColumnResult,
"type_vi": ImporterValidateColumnResult,
"type_zh": ImporterValidateColumnResult,
"vehicle": ImporterValidateColumnResult
}
AssetImportValidationRequestInput
Description
Data required to request a validation of an uploaded file of asset rows
Fields
| Input Field | Description |
|---|---|
file - Upload!
|
Newline-delimited JSON file with one importer row per line |
mode - ImporterMode!
|
Importer mode: CREATE creates new records; UPDATE updates matched records |
Example
{"file": Upload, "mode": "CREATE"}
AssetInAutomationDetails
Description
Asset state changes triggered by an automation rule
Fields
| Field Name | Description |
|---|---|
asset - Asset!
|
Asset affected by the automation |
newAvailability - AssetAvailability
|
Availability status after automation execution |
newSite - Site
|
Site assigned after automation execution |
oldAvailability - AssetAvailability
|
Availability status before automation execution |
oldSite - Site
|
Site assigned before automation execution |
Example
{
"asset": Asset,
"newAvailability": "BORROWED",
"newSite": Site,
"oldAvailability": "BORROWED",
"oldSite": Site
}
AssetIntegration
Description
IoT integration configuration linked to assets
Fields
| Field Name | Description |
|---|---|
assetCategory - AssetCategory
|
Asset category linked to this integration |
assetCategoryId - HashedId
|
Asset category this integration applies to |
created - Timestamp!
|
Timestamp when the entity was created |
id - HashedId!
|
Unique identifier of the entity |
iotParameters - [IotParameter!]
|
Iot Parameters for this asset integration |
manufacturer - Manufacturer!
|
Manufacturer associated with this asset integration |
manufacturerId - HashedId!
|
Manufacturer that provides this integration |
name - String!
|
Display name of the IoT integration |
updated - Timestamp
|
Timestamp when the entity was last updated |
Example
{
"assetCategory": AssetCategory,
"assetCategoryId": HashedId,
"created": 1592577642,
"id": HashedId,
"iotParameters": [IotParameter],
"manufacturer": Manufacturer,
"manufacturerId": HashedId,
"name": "xyz789",
"updated": 1592577642
}
AssetIntegrationCreateInput
Description
Data required to create a new asset integration
Example
{
"assetCategoryId": HashedId,
"manufacturerId": HashedId,
"name": "xyz789"
}
AssetIntegrationRun
Description
Result of the most recent integration run that touched this asset
Fields
| Field Name | Description |
|---|---|
assetId - HashedId!
|
Asset this run result belongs to |
changedFields - [String!]
|
|
created - Timestamp!
|
Timestamp when the entity was created |
duration - Int
|
Duration in milliseconds |
error - String
|
|
id - HashedId!
|
Unique identifier of the entity |
lastEndAt - DateTime
|
|
lastStartAt - DateTime
|
|
lastSuccessAt - DateTime
|
When the latest successful run for this asset finished |
operation - IntegrationObservationRecordEventOperationEnum
|
|
status - IntegrationObservationStatusEnum
|
|
updated - Timestamp
|
Timestamp when the entity was last updated |
Example
{
"assetId": HashedId,
"changedFields": ["xyz789"],
"created": 1592577642,
"duration": 123,
"error": "xyz789",
"id": HashedId,
"lastEndAt": "2007-12-03T10:15:30Z",
"lastStartAt": "2007-12-03T10:15:30Z",
"lastSuccessAt": "2007-12-03T10:15:30Z",
"operation": "CREATE",
"status": "CANCELLED",
"updated": 1592577642
}
AssetIntegrationSummary
Description
Assembled integration summary for the asset Integration panel
Fields
| Field Name | Description |
|---|---|
lastSuccessAt - DateTime
|
Timestamp of the last successful integration run |
name - String!
|
Name identifier of the linked integration |
provider - IntegrationProviderEnum
|
Provider of the linked integration |
scheduleActive - Boolean!
|
Whether the integration schedule is active (CRON_ACTIVATED === true) |
scheduleCron - String
|
CRON_TIME config value for the integration schedule |
Example
{
"lastSuccessAt": "2007-12-03T10:15:30Z",
"name": "xyz789",
"provider": "ACHELIS_PROVIDER",
"scheduleActive": true,
"scheduleCron": "abc123"
}
AssetIntegrationSyncPausedInput
Description
Integration sync state to set on an asset
Fields
| Input Field | Description |
|---|---|
isIntegrationSyncPaused - Boolean!
|
Whether every integration run skips this asset until sync is resumed |
Example
{"isIntegrationSyncPaused": false}
AssetIntegrationUpdateInput
Description
Fields to update on an existing asset integration
Example
{
"assetCategoryId": HashedId,
"manufacturerId": HashedId,
"name": "xyz789"
}
AssetLastContactInfo
Description
Last contact timestamp of an asset together with the origin of the value
Fields
| Field Name | Description |
|---|---|
origin - IotDataOriginEnum!
|
Whether the timestamp was reported by the manufacturer or derived by ToolSense |
timestamp - DateTime!
|
Last contact timestamp for this asset |
Example
{
"origin": "DERIVED",
"timestamp": "2007-12-03T10:15:30Z"
}
AssetLocationHiddenReasonEnum
Description
Owner-group privacy reason that hides an asset location
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
Example
"PRIVATE_USE"
AssetLocationV2
Types
| Union Types |
|---|
Example
Location
AssetMaintenanceSchedule
Description
Scheduled maintenance plan for an asset
Fields
| Field Name | Description |
|---|---|
assetId - HashedId!
|
Associated asset identifier |
id - HashedId!
|
Unique identifier of the entity |
interval - Int!
|
Maintenance interval in months |
lastMaintenance - Date
|
Date of the last completed maintenance |
lastMaintenanceLastEdited - AssetMaintenanceScheduleEditNote
|
Edit note for the last maintenance date change |
nextMaintenance - Date!
|
Date of the next scheduled maintenance |
nextMaintenanceLastEdited - AssetMaintenanceScheduleEditNote
|
Edit note for the next maintenance date change |
Example
{
"assetId": HashedId,
"id": HashedId,
"interval": 123,
"lastMaintenance": "2007-12-03",
"lastMaintenanceLastEdited": AssetMaintenanceScheduleEditNote,
"nextMaintenance": "2007-12-03",
"nextMaintenanceLastEdited": AssetMaintenanceScheduleEditNote
}
AssetMaintenanceScheduleEditNote
Description
Audit trail entry for a maintenance schedule date change
Fields
| Field Name | Description |
|---|---|
timestamp - Timestamp!
|
When the date change was made |
user - User
|
User who made the date change |
Example
{"timestamp": 1592577642, "user": User}
AssetMapLocation
Description
Flat asset location record for map rendering
Fields
| Field Name | Description |
|---|---|
assetCategory - AssetCategory
|
Asset category details |
assetType - AssetType!
|
Type classification of this asset |
availability - AssetAvailability
|
Current availability status of this asset |
id - HashedId!
|
Internal hashed identifier of this asset |
image - String
|
URL of the asset profile image |
latitude - String!
|
Geographic latitude coordinate |
locationSource - LocationSourceEnum
|
Source technology used to determine this location |
longitude - String!
|
Geographic longitude coordinate |
openTicketCount - Int!
|
Number of open tickets associated with this asset |
ownership - AssetOwnership
|
Ownership type (purchased, leased, or rented) |
serial - String
|
Serial number of the asset |
state - AssetState!
|
Aggregated operational state of the asset |
uncertainty - Float!
|
Accuracy radius of the location measurement in meters |
Example
{
"assetCategory": AssetCategory,
"assetType": AssetType,
"availability": "BORROWED",
"id": HashedId,
"image": "xyz789",
"latitude": "xyz789",
"locationSource": "GPS",
"longitude": "xyz789",
"openTicketCount": 987,
"ownership": "CUSTOMER_MACHINE",
"serial": "xyz789",
"state": AssetState,
"uncertainty": 123.45
}
AssetMassEditFailure
AssetMassEditResult
Description
Summary result of a mass edit operation on assets
Fields
| Field Name | Description |
|---|---|
failed - [AssetMassEditFailure!]!
|
|
retainedIds - [HashedId!]!
|
Selected ids the user can still edit after the operation; empty after a delete or archive |
skipped - Int!
|
|
succeeded - Int!
|
Example
{
"failed": [AssetMassEditFailure],
"retainedIds": [HashedId],
"skipped": 123,
"succeeded": 987
}
AssetMassEditSelectionInput
Description
Selection criteria for asset mass edit operations
Fields
| Input Field | Description |
|---|---|
assetIds - [HashedId!]
|
Explicit list of asset IDs to include in the operation |
excludeAssetIds - [HashedId!]
|
Asset IDs to exclude from the selection |
filterInput - AssetFilterInput
|
Filter criteria to dynamically select assets |
Example
{
"assetIds": [HashedId],
"excludeAssetIds": [HashedId],
"filterInput": AssetFilterInput
}
AssetModuleConnectionStatusEnum
Description
Indicates the IoT module connection status of an asset: primary (directly connected), secondary (cloned from primary), or disconnected
Values
| Enum Value | Description |
|---|---|
|
|
Primary/Secondary assets where primary asset was disconnected or has not been connected to any module yet |
|
|
Primary connected and active assets are originally connected to the module, we get data from them |
|
|
Secondary assets are cloned from primary assets, we get data based on primary assets |
Example
"disconnected"
AssetNonWorkingDays
Description
Period when an asset is not in operation
Fields
| Field Name | Description |
|---|---|
created - Timestamp!
|
Timestamp when the entity was created |
endDate - Date!
|
End date of the period |
id - HashedId!
|
Unique identifier of the entity |
startDate - Date!
|
Start date of the period |
timezone - String!
|
Timezone identifier |
updated - Timestamp
|
Timestamp when the entity was last updated |
Example
{
"created": 1592577642,
"endDate": "2007-12-03",
"id": HashedId,
"startDate": "2007-12-03",
"timezone": "xyz789",
"updated": 1592577642
}
AssetNonWorkingDaysUpsertInput
Description
Input to create or update a non-working day period
Example
{
"endDate": "2007-12-03",
"id": HashedId,
"startDate": "2007-12-03",
"timezone": "abc123"
}
AssetOwnership
Description
Describes how an asset is acquired or owned: purchased, leased, rented, provided by a customer, or other arrangements
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"CUSTOMER_MACHINE"
AssetPackage
Description
Named group of assets operated as a single multi-component machine
Fields
| Field Name | Description |
|---|---|
assetCount - Int!
|
Number of assets in the package |
assets - [AssetPackageAsset!]!
|
Assets of this package ordered by sort order |
created - Timestamp!
|
Timestamp when the entity was created |
group - Group!
|
Group owning this package |
groupId - HashedId!
|
ID of the group owning this package |
id - HashedId!
|
Unique identifier of the entity |
isDeleted - Boolean!
|
Whether this package was soft-deleted |
name - Translation!
|
Localized package name, unique within its group |
primaryAsset - Asset
|
Primary asset of this package |
primaryAssetId - HashedId
|
ID of the primary packageAsset asset |
publicId - Int!
|
Public numeric identifier |
site - Site
|
Site of this package |
siteId - HashedId
|
ID of the package site |
siteInheritance - AssetPackageSiteInheritanceEnum!
|
Whether packageAsset sites follow the package site or stay independent |
siteMismatchCount - Int!
|
Number of assets whose current site differs from the package site |
updated - Timestamp
|
Timestamp when the entity was last updated |
Example
{
"assetCount": 123,
"assets": [AssetPackageAsset],
"created": 1592577642,
"group": Group,
"groupId": HashedId,
"id": HashedId,
"isDeleted": false,
"name": Translation,
"primaryAsset": Asset,
"primaryAssetId": HashedId,
"publicId": 123,
"site": Site,
"siteId": HashedId,
"siteInheritance": "CUSTOM",
"siteMismatchCount": 123,
"updated": 1592577642
}
AssetPackageAsset
Description
Assignment record linking an asset to its asset package
Fields
| Field Name | Description |
|---|---|
asset - Asset!
|
Assigned asset |
assetId - HashedId!
|
ID of the assigned asset |
assetPackage - AssetPackage!
|
Package this assignment belongs to |
assetPackageId - HashedId!
|
ID of the asset package |
created - Timestamp!
|
Timestamp when the entity was created |
id - HashedId!
|
Unique identifier of the entity |
order - Int!
|
Manual ordering position within the package |
updated - Timestamp
|
Timestamp when the entity was last updated |
Example
{
"asset": Asset,
"assetId": HashedId,
"assetPackage": AssetPackage,
"assetPackageId": HashedId,
"created": 1592577642,
"id": HashedId,
"order": 123,
"updated": 1592577642
}
AssetPackageAssetAssignInput
AssetPackageAssetRemovalReasonEnum
Description
Why an automated rule removed a packageAsset from its package
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
Example
"GROUP_CHANGED"
AssetPackageAssetRemoveInput
AssetPackageAssetReorderInput
Description
Data for reordering the packageAssets of an asset package
Fields
| Input Field | Description |
|---|---|
assetPackageId - HashedId!
|
ID of the asset package |
orderedAssetIds - [HashedId!]!
|
Asset IDs in the desired display order |
Example
{
"assetPackageId": HashedId,
"orderedAssetIds": [HashedId]
}
AssetPackageCreateInput
Description
Data required to create a new asset package
Fields
| Input Field | Description |
|---|---|
assetIds - [HashedId!]
|
Assets assigned as packageAssets atomically with the package creation |
groupId - HashedId!
|
ID of the group owning this package |
name - TranslationInput!
|
Localized package name |
primaryAssetId - HashedId
|
Primary packageAsset asset, must be one of assetIds |
siteId - HashedId
|
ID of the package site |
siteInheritance - AssetPackageSiteInheritanceEnum!
|
Whether packageAsset sites follow the package site or stay independent |
Example
{
"assetIds": [HashedId],
"groupId": HashedId,
"name": TranslationInput,
"primaryAssetId": HashedId,
"siteId": HashedId,
"siteInheritance": "CUSTOM"
}
AssetPackageHistory
Description
Audit log entry recording a change to an asset package
Fields
| Field Name | Description |
|---|---|
asset - Asset
|
Asset affected by the change |
assetPackageId - HashedId!
|
ID of the asset package |
created - Timestamp!
|
Timestamp when the entity was created |
id - HashedId!
|
Unique identifier of the entity |
newGroup - Group
|
Package group after the change |
newInheritance - AssetPackageSiteInheritanceEnum
|
Site inheritance after the change |
newName - String
|
Package name recorded by the change |
newSite - Site
|
Package or asset site after the change |
previousGroup - Group
|
Package group before the change |
previousInheritance - AssetPackageSiteInheritanceEnum
|
Site inheritance before the change |
previousName - String
|
Package name before the rename |
previousSite - Site
|
Package site before the change |
reassignedPackage - AssetPackage
|
Package the packageAsset was reassigned from or to |
removalReason - AssetPackageAssetRemovalReasonEnum
|
Why the packageAsset was removed by an automated rule |
trigger - AssetPackageHistoryTriggerEnum!
|
Whether a user action or an automated cascade produced this entry |
type - AssetPackageHistoryTypeEnum!
|
Kind of change recorded |
updated - Timestamp
|
Timestamp when the entity was last updated |
user - User
|
User who performed the change |
Example
{
"asset": Asset,
"assetPackageId": HashedId,
"created": 1592577642,
"id": HashedId,
"newGroup": Group,
"newInheritance": "CUSTOM",
"newName": "xyz789",
"newSite": Site,
"previousGroup": Group,
"previousInheritance": "CUSTOM",
"previousName": "xyz789",
"previousSite": Site,
"reassignedPackage": AssetPackage,
"removalReason": "GROUP_CHANGED",
"trigger": "AUTOMATION",
"type": "ASSET_ASSIGNED",
"updated": 1592577642,
"user": User
}
AssetPackageHistoryPaginatedResult
Description
Paginated list of asset package history entries with metadata
Fields
| Field Name | Description |
|---|---|
meta - PaginationMeta!
|
Pagination metadata including total count and page info |
rows - [AssetPackageHistory!]!
|
List of records for the current page |
total - Int!
|
Total amount |
Example
{
"meta": PaginationMeta,
"rows": [AssetPackageHistory],
"total": 123
}
AssetPackageHistoryTriggerEnum
Description
Whether an asset package history entry was produced by a direct user action or an automated cascade
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
Example
"AUTOMATION"
AssetPackageHistoryTypeEnum
Description
Kind of change recorded in an asset package history entry
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"ASSET_ASSIGNED"
AssetPackagePaginatedResult
Description
Paginated list of asset packages with metadata
Fields
| Field Name | Description |
|---|---|
meta - PaginationMeta!
|
Pagination metadata including total count and page info |
rows - [AssetPackage!]!
|
List of records for the current page |
total - Int!
|
Total amount |
Example
{
"meta": PaginationMeta,
"rows": [AssetPackage],
"total": 987
}
AssetPackageSetPrimaryInput
AssetPackageSiteInheritanceEnum
Description
Controls whether packageAsset assets automatically follow the package site (Inherited) or keep independent sites (Custom)
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
Example
"CUSTOM"
AssetPackageUpdateInput
Description
Data for updating an existing asset package
Fields
| Input Field | Description |
|---|---|
assetIds - [HashedId!]
|
Full desired packageAsset set, applied atomically with the update |
groupId - HashedId!
|
ID of the group owning this package |
name - TranslationInput!
|
Localized package name |
primaryAssetId - HashedId
|
Primary packageAsset asset, must be one of assetIds |
siteId - HashedId
|
ID of the package site |
siteInheritance - AssetPackageSiteInheritanceEnum!
|
Whether packageAsset sites follow the package site or stay independent |
Example
{
"assetIds": [HashedId],
"groupId": HashedId,
"name": TranslationInput,
"primaryAssetId": HashedId,
"siteId": HashedId,
"siteInheritance": "CUSTOM"
}
AssetParameterOffset
Description
Parameter offsets offer a way to dynamically adjust summarized parameter values starting from a given point in time - per asset. Note the word summarized: only params with summarized calculation can be offsetted. A common use case would be runtimes: a machine has already a runtime of 34h when the ToolSense module gets built in. When not connected to an inverter, the module would report a runtime of 0h - this can be hand-adjusted to match the valid value. A customer may also want to reset an accumulated value each year or service period. In this cases, a customer can set offsets for the parameter values sent by a specific asset.
The new values offset the existing values starting from the time they're set - they can be positive or negative values. When querying current values, all existing offsets are applied.
Fields
| Field Name | Description |
|---|---|
assetId - HashedId!
|
Asset identifier |
created - Timestamp!
|
Timestamp when the entity was created |
effectiveFrom - Timestamp!
|
The time from which the offset takes effect - any value received past this time will be offsetted |
id - HashedId!
|
Unique identifier of the entity |
offsetValue - Float!
|
The value the parameter value is being offsetted with starting from the timestamp below. |
parameterId - HashedId!
|
IotParameter identifier |
updated - Timestamp
|
Timestamp when the entity was last updated |
Example
{
"assetId": HashedId,
"created": 1592577642,
"effectiveFrom": 1592577642,
"id": HashedId,
"offsetValue": 123.45,
"parameterId": HashedId,
"updated": 1592577642
}
AssetParameterOffsetInput
Description
Input data for asset parameter offset
Fields
| Input Field | Description |
|---|---|
effectiveFrom - Timestamp!
|
The time from which the offset takes effect - any value received past this time will be offsetted |
offsetValue - Float!
|
The value the parameter value is being offsetted with starting from the timestamp below. |
parameterId - HashedId!
|
IotParameter identifier |
Example
{
"effectiveFrom": 1592577642,
"offsetValue": 123.45,
"parameterId": HashedId
}
AssetParentParameter
Description
Parameters that a child asset can inherit or derive from its parent asset, such as runtime hours or secondary input values
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
Example
"input2"
AssetQrCodeSerialPairingResult
Description
Outcome of pairing a QR code with the asset carrying a serial number
Fields
| Field Name | Description |
|---|---|
asset - Asset
|
The paired asset, or the asset already carrying another QR code |
status - AssetQrCodeSerialPairingStatusEnum!
|
Outcome of pairing the QR code with the asset serial |
Example
{"asset": Asset, "status": "ASSET_HAS_QR_CODE"}
AssetQrCodeSerialPairingStatusEnum
Description
Outcome of pairing a QR code with the asset carrying a serial number
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"ASSET_HAS_QR_CODE"
AssetRequest
Description
Users of platform customers can request access/assignment for the assets they use or own. These requests are handled by administrators.
Fields
| Field Name | Description |
|---|---|
asset - Asset
|
Asset being requested |
assetId - HashedId!
|
ID of the requested asset |
byRegistrationRequest - RegistrationRequest
|
Linked registration request if applicable |
byRegistrationRequestId - HashedId
|
ID of the linked registration request |
created - Timestamp!
|
Timestamp when the entity was created |
denialMessage - String
|
Reason provided when the request was denied |
forGroup - Group
|
Group the asset is requested for |
forGroupId - HashedId!
|
ID of the group the asset is requested for |
id - HashedId!
|
Unique identifier of the entity |
isDenied - Boolean!
|
Whether this request was denied |
isProcessed - Boolean!
|
Whether this request has been reviewed |
permalinkUrl - String!
|
Permanent link to the asset request page |
processedByUser - User
|
Admin who processed this request |
processedByUserId - HashedId
|
ID of the admin who processed this request |
requestedByGroup - Group
|
Group the requester belongs to |
requestedByGroupId - HashedId
|
ID of the group the requester belongs to |
requestedByUser - User
|
User who submitted this request |
requestedByUserId - HashedId
|
ID of the user who submitted this request |
serial - String!
|
Serial number of the asset |
updated - Timestamp
|
Timestamp when the entity was last updated |
verificationDocument - Document
|
Verification document |
verificationDocumentId - HashedId!
|
Verification document identifier |
Example
{
"asset": Asset,
"assetId": HashedId,
"byRegistrationRequest": RegistrationRequest,
"byRegistrationRequestId": HashedId,
"created": 1592577642,
"denialMessage": "abc123",
"forGroup": Group,
"forGroupId": HashedId,
"id": HashedId,
"isDenied": false,
"isProcessed": false,
"permalinkUrl": "abc123",
"processedByUser": User,
"processedByUserId": HashedId,
"requestedByGroup": Group,
"requestedByGroupId": HashedId,
"requestedByUser": User,
"requestedByUserId": HashedId,
"serial": "abc123",
"updated": 1592577642,
"verificationDocument": Document,
"verificationDocumentId": HashedId
}
AssetRequestItem
Description
Input to approve or deny an asset request
Example
{
"denialMessage": "abc123",
"id": HashedId,
"isDenied": false
}
AssetRequestSignupRegisterInput
Description
Machines requested during signup, authorised by the signup upload token
Fields
| Input Field | Description |
|---|---|
language - LanguageLocaleEnum!
|
Language of the confirmation email |
requests - [AssetRequestSignupRegisterItemInput!]!
|
Machines to request, each with its staged verification document |
uploadToken - String!
|
Signup upload token returned by the registration activation |
Example
{
"language": "ar_ar",
"requests": [AssetRequestSignupRegisterItemInput],
"uploadToken": "abc123"
}
AssetRequestSignupRegisterItemInput
Description
A machine requested during signup, with its staged verification document
Example
{
"permalink": "abc123",
"serial": "xyz789",
"uploadId": "abc123"
}
AssetRuleChecks
AssetServicesFilterInput
Description
Filter criteria for querying services linked to an asset
Fields
| Input Field | Description |
|---|---|
excludeQRLandingPage - Boolean
|
Exclude QR code landing page services from results. Default = null |
includeBle - Boolean
|
Include Bluetooth Low Energy (BLE) services in results. Default = null |
includeGeneralService - Boolean
|
Include general-purpose services that are not tied to a specific service type. Default = null |
includeQrCodeLanding - Boolean
|
Include QR code landing page services in results. Default = null |
includeRegularService - Boolean
|
Include standard maintenance and repair services in results. Default = null |
isServiceCheck - Boolean
|
if true, only services that are service checks are returned |
itemType - ServiceItemType
|
Filter by the entity type this service applies to (e.g. asset, site) |
publicIds - [Int!]
|
Return only the accessible services with these numeric public ids; matches the publicId a service exposes |
search - String
|
Text search query for filtering results |
type - ServiceType
|
Filter by service classification type. Default = JOT_FORM |
Example
{
"excludeQRLandingPage": false,
"includeBle": false,
"includeGeneralService": true,
"includeQrCodeLanding": true,
"includeRegularService": false,
"isServiceCheck": true,
"itemType": "asset",
"publicIds": [987],
"search": "abc123",
"type": "JOT_FORM"
}
AssetSiteAssignment
Description
Assignment record linking an asset to a physical site for a time period
Fields
| Field Name | Description |
|---|---|
asset - Asset!
|
Asset assigned to this site |
assetId - HashedId!
|
ID of the asset assigned to this site |
averageDailyRate - Float!
|
Average daily cost rate across all cost entries |
costCenter - String
|
Accounting cost center for financial allocation |
costCenterResolved - String
|
Effective cost center from the resolution hierarchy |
costCenterSelected - String
|
Legacy resolved cost center value Use "costCenterResolved" instead |
costCenterSource - AssetSiteAssignmentCostCenterSourceEnum
|
Origin of the cost center value |
costCenterSourceResolved - AssetSiteAssignmentCostCenterSourceEnum
|
Source level from which the cost center was resolved |
costs - [AssetSiteAssignmentCostDto!]!
|
Daily cost rate entries for this assignment |
created - Timestamp!
|
Timestamp when the entity was created |
dailyRateInPeriod - Float!
|
Daily cost rate within a specified date range |
Arguments
|
|
externalId - String
|
External reference ID from an ERP or other external system |
id - HashedId!
|
Unique identifier of the entity |
notes - String
|
Free-text notes about this site assignment |
onSiteFrom - DateTime!
|
Date when the asset arrived on site |
onSiteUntil - DateTime
|
Date when the asset left or will leave the site |
publicId - Int!
|
Public numeric identifier |
site - Site!
|
Site where this asset is deployed |
siteId - HashedId!
|
ID of the site where the asset is deployed |
status - AssetSiteAssignmentStatusEnum!
|
Whether the assignment is active, ended, or archived |
totalCosts - Float!
|
Total accumulated costs for this site assignment |
totalCostsInPeriod - Float!
|
Total costs within a specified date range |
Arguments
|
|
totalDaysBilled - Int!
|
Total number of billed days for this assignment |
totalDaysBilledInPeriod - Int!
|
Total billed days within a specified date range |
Arguments
|
|
totalDaysPlanned - Int!
|
Total number of planned days for the site assignment |
totalDaysPlannedInPeriod - Int!
|
Total planned days within a specified date range |
Arguments
|
|
totalDaysUntilNow - Int!
|
Total elapsed days from assignment start until today |
totalDaysUntilNowInPeriod - Int!
|
Elapsed days until today within a specified date range |
Arguments
|
|
updated - Timestamp
|
Timestamp when the entity was last updated |
Example
{
"asset": Asset,
"assetId": HashedId,
"averageDailyRate": 123.45,
"costCenter": "abc123",
"costCenterResolved": "abc123",
"costCenterSelected": "xyz789",
"costCenterSource": "ASSET",
"costCenterSourceResolved": "ASSET",
"costs": [AssetSiteAssignmentCostDto],
"created": 1592577642,
"dailyRateInPeriod": 987.65,
"externalId": "abc123",
"id": HashedId,
"notes": "abc123",
"onSiteFrom": "2007-12-03T10:15:30Z",
"onSiteUntil": "2007-12-03T10:15:30Z",
"publicId": 987,
"site": Site,
"siteId": HashedId,
"status": "ACTIVE",
"totalCosts": 987.65,
"totalCostsInPeriod": 123.45,
"totalDaysBilled": 123,
"totalDaysBilledInPeriod": 123,
"totalDaysPlanned": 123,
"totalDaysPlannedInPeriod": 123,
"totalDaysUntilNow": 123,
"totalDaysUntilNowInPeriod": 123,
"updated": 1592577642
}
AssetSiteAssignmentColumnEnum
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"assetExternalId"
AssetSiteAssignmentCostCenterSourceEnum
Description
Determines where the cost center value is sourced from for an asset site assignment: directly from the asset, from the assignment itself, or inherited from the site
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
Example
"ASSET"
AssetSiteAssignmentCostDto
Description
Daily cost rate record for an asset site assignment
Fields
| Field Name | Description |
|---|---|
created - Timestamp!
|
Timestamp when the entity was created |
dailyRate - Float!
|
Billing rate per day for this cost entry |
date - Date!
|
Effective date for this cost rate entry |
daysBilled - Int!
|
Number of days billed at this rate |
id - HashedId!
|
Unique identifier of the entity |
isManuallyChanged - Boolean!
|
Whether the daily rate was manually overridden |
updated - Timestamp
|
Timestamp when the entity was last updated |
Example
{
"created": 1592577642,
"dailyRate": 987.65,
"date": "2007-12-03",
"daysBilled": 987,
"id": HashedId,
"isManuallyChanged": false,
"updated": 1592577642
}
AssetSiteAssignmentCostInput
Description
Daily cost rate entry for an asset site assignment
Example
{
"dailyRate": 123.45,
"date": "2007-12-03",
"daysBilled": 987,
"isManuallyChanged": true
}
AssetSiteAssignmentCreateInput
Description
Data required to create a new asset site assignment
Fields
| Input Field | Description |
|---|---|
assetId - HashedId!
|
ID of the asset assigned to this site |
costCenter - String
|
Accounting cost center for financial allocation |
costCenterSource - AssetSiteAssignmentCostCenterSourceEnum
|
Origin of the cost center value |
costs - [AssetSiteAssignmentCostInput!]!
|
Daily cost rate entries for the new assignment |
externalId - String
|
External reference ID from an ERP or other external system |
notes - String
|
Free-text notes about this site assignment |
onSiteFrom - DateTime!
|
Date when the asset arrived on site |
onSiteUntil - DateTime
|
Date when the asset left or will leave the site |
siteId - HashedId!
|
ID of the site where the asset is deployed |
Example
{
"assetId": HashedId,
"costCenter": "abc123",
"costCenterSource": "ASSET",
"costs": [AssetSiteAssignmentCostInput],
"externalId": "abc123",
"notes": "xyz789",
"onSiteFrom": "2007-12-03T10:15:30Z",
"onSiteUntil": "2007-12-03T10:15:30Z",
"siteId": HashedId
}
AssetSiteAssignmentDateRangeFilterInput
AssetSiteAssignmentExportRequestInput
Description
Data required to request an asset site assignment list export
Fields
| Input Field | Description |
|---|---|
columnKeys - [AssetSiteAssignmentColumnEnum!]
|
Subset of exportable columns to include, in the requested order. Defaults to every exportable column when omitted |
dateRange - AssetSiteAssignmentDateRangeFilterInput
|
Date range to filter site assignments |
filters - [FilterParamsInput]
|
Filter criteria |
isArchivedShown - Boolean
|
Whether to include archived assignments in the export |
search - String
|
Text search query for filtering results |
Example
{
"columnKeys": ["assetExternalId"],
"dateRange": AssetSiteAssignmentDateRangeFilterInput,
"filters": [FilterParamsInput],
"isArchivedShown": false,
"search": "abc123"
}
AssetSiteAssignmentPaginatedResult
Description
Paginated list of asset site assignments with metadata
Fields
| Field Name | Description |
|---|---|
meta - PaginationMeta!
|
Pagination metadata including total count and page info |
rows - [AssetSiteAssignment!]!
|
List of records for the current page |
Example
{
"meta": PaginationMeta,
"rows": [AssetSiteAssignment]
}
AssetSiteAssignmentStatusEnum
Description
Lifecycle status of an asset-to-site assignment: active (currently assigned), non-active (temporarily unassigned), or archived (historically completed)
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
Example
"ACTIVE"
AssetSiteAssignmentUpdateInput
Description
Fields to update on an existing asset site assignment
Fields
| Input Field | Description |
|---|---|
assetId - HashedId!
|
ID of the asset assigned to this site |
costCenter - String
|
Accounting cost center for financial allocation |
costCenterSource - AssetSiteAssignmentCostCenterSourceEnum
|
Origin of the cost center value |
costs - [AssetSiteAssignmentCostInput!]!
|
Updated daily cost rate entries for the assignment |
externalId - String
|
External reference ID from an ERP or other external system |
notes - String
|
Free-text notes about this site assignment |
onSiteFrom - DateTime!
|
Date when the asset arrived on site |
onSiteUntil - DateTime
|
Date when the asset left or will leave the site |
siteId - HashedId!
|
ID of the site where the asset is deployed |
Example
{
"assetId": HashedId,
"costCenter": "xyz789",
"costCenterSource": "ASSET",
"costs": [AssetSiteAssignmentCostInput],
"externalId": "xyz789",
"notes": "abc123",
"onSiteFrom": "2007-12-03T10:15:30Z",
"onSiteUntil": "2007-12-03T10:15:30Z",
"siteId": HashedId
}
AssetSiteAssignmentView
Description
Asset site assignment view record
Fields
| Field Name | Description |
|---|---|
created - Timestamp!
|
Timestamp when the entity was created |
displayMode - ViewDisplayMode!
|
display mode that this view uses (e.g. MAP) |
forEntity - ViewEntityEnum!
|
type of entity that this view is for (e.g. ASSET) |
id - HashedId!
|
id (hashed) of the view. can be used to re-order the view, or adjust sharing etc. |
isActive - Boolean!
|
whether this view is enabled for this account |
isDeletable - Boolean!
|
whether this account can delete this view |
isEditable - Boolean!
|
whether this account can change this view's display mode, name or options |
isShareable - Boolean!
|
whether this account can share or unshare this view to this group and sub-groups |
isShared - Boolean!
|
whether this view can be seen by other members of this group, and sub-groups |
isSystemView - Boolean!
|
whether this is a system view (inherited from toolsense system). System views can only be shared/unshared; they cannot be edited. |
isUnsharedByParentGroup - Boolean!
|
whether this view has been unshared by a parent of this group |
options - AssetSiteAssignmentViewOptions!
|
Available options |
title - Translation!
|
User-defined name for this saved view |
titleId - HashedId!
|
human-readable, user-input name that is given upon view creation. EXCEPT when isSystemView is true, then this is a string identifier for the view (e.g. "asset-gantt") |
updated - Timestamp
|
Timestamp when the entity was last updated |
Example
{
"created": 1592577642,
"displayMode": "GANTT",
"forEntity": "ASSET",
"id": HashedId,
"isActive": false,
"isDeletable": true,
"isEditable": true,
"isShareable": false,
"isShared": false,
"isSystemView": false,
"isUnsharedByParentGroup": false,
"options": AssetSiteAssignmentViewOptions,
"title": Translation,
"titleId": HashedId,
"updated": 1592577642
}
AssetSiteAssignmentViewCreateInput
Description
Data required to create a new asset site assignment view
Fields
| Input Field | Description |
|---|---|
displayMode - ViewDisplayMode!
|
display mode that this view uses (e.g. MAP) |
options - AssetSiteAssignmentViewOptionsInput!
|
Available options |
title - TranslationInput!
|
Name to assign to the new saved view |
Example
{
"displayMode": "GANTT",
"options": AssetSiteAssignmentViewOptionsInput,
"title": TranslationInput
}
AssetSiteAssignmentViewOptions
Description
Display settings for pagination, filters, and columns in an asset site assignment view
Fields
| Field Name | Description |
|---|---|
columns - [String!]!
|
Columns |
filters - [Filters]
|
well defined filters for this view |
itemsPerPage - Int!
|
number of items per page in this view |
search - String
|
general search string to filter the items in this view |
Example
{
"columns": ["abc123"],
"filters": [Filters],
"itemsPerPage": 123,
"search": "abc123"
}
AssetSiteAssignmentViewOptionsInput
Description
Input data for asset site assignment view options
Fields
| Input Field | Description |
|---|---|
columns - [String!]!
|
Columns |
filters - [FilterParamsInput]
|
Filter criteria |
itemsPerPage - Int!
|
Items per page |
search - String
|
Text search query for filtering results |
Example
{
"columns": ["xyz789"],
"filters": [FilterParamsInput],
"itemsPerPage": 123,
"search": "abc123"
}
AssetSiteAssignmentViewUpdateInput
Description
Fields to update on an existing asset site assignment view
Fields
| Input Field | Description |
|---|---|
displayMode - ViewDisplayMode!
|
display mode that this view uses (e.g. MAP) |
id - HashedId!
|
Unique identifier of the entity |
options - AssetSiteAssignmentViewOptionsInput!
|
Available options |
title - TranslationInput!
|
Updated name for the saved view |
Example
{
"displayMode": "GANTT",
"id": HashedId,
"options": AssetSiteAssignmentViewOptionsInput,
"title": TranslationInput
}
AssetSiteAvailabilityCount
Fields
| Field Name | Description |
|---|---|
availability - AssetAvailability!
|
|
count - Int!
|
Example
{"availability": "BORROWED", "count": 123}
AssetSiteCategoryCount
Fields
| Field Name | Description |
|---|---|
category - AssetCategory
|
Category shared by these accessible assets |
categoryId - HashedId!
|
|
count - Int!
|
Example
{
"category": AssetCategory,
"categoryId": HashedId,
"count": 123
}
AssetSiteTotals
Fields
| Field Name | Description |
|---|---|
assignmentsEndingNext30Days - Int!
|
|
byAvailability - [AssetSiteAvailabilityCount!]!
|
|
byCategory - [AssetSiteCategoryCount!]!
|
|
byCategoryTruncated - Boolean!
|
|
count - Int!
|
Example
{
"assignmentsEndingNext30Days": 987,
"byAvailability": [AssetSiteAvailabilityCount],
"byCategory": [AssetSiteCategoryCount],
"byCategoryTruncated": true,
"count": 987
}
AssetState
Description
Representation of Asset State - summarizing/derived values for easy dashboard/widget displays
Fields
| Field Name | Description |
|---|---|
error - Boolean!
|
Whether this asset has active error conditions |
id - HashedId!
|
Unique identifier of the entity |
priority - Int!
|
The priority state for the asset if the user has the feature enabled, -1 otherwise. |
service - Boolean!
|
Whether this asset requires service attention |
warning - Boolean!
|
Whether this asset has active warning conditions |
Example
{
"error": true,
"id": HashedId,
"priority": 123,
"service": true,
"warning": false
}
AssetStateItem
Description
Individual event-type state entry for an asset
Fields
| Field Name | Description |
|---|---|
displayName - Translation!
|
Localized display name for this state item Static data, should be translated on the frontend |
displayText - EventTypeEnum!
|
Label text shown in the UI for this state |
displayValue - Int!
|
Numeric count or severity level for this state |
icon - String
|
An url to a square icon image. Can be selected from a predefined list from the eventStyleIcons query. |
id - HashedId!
|
Identifier of this state item |
key - EventTypeEnum!
|
Event type key identifying this state category |
Example
{
"displayName": Translation,
"displayText": "COST",
"displayValue": 123,
"icon": "xyz789",
"id": HashedId,
"key": "COST"
}
AssetSyntheticParameterEnum
Description
Computed parameters derived from raw asset telemetry data, including battery level, utilization rate, work done, and their cumulative totals
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"BATTERY"
AssetTripLatest
Description
Latest trip data for an asset
Fields
| Field Name | Description |
|---|---|
endTime - Timestamp!
|
Trip end time |
id - String!
|
Trip identifier |
startTime - Timestamp!
|
Trip start time |
Example
{
"endTime": 1592577642,
"id": "xyz789",
"startTime": 1592577642
}
AssetType
Description
A specific asset model or product type with manufacturer details
Fields
| Field Name | Description |
|---|---|
assetsCount - Int
|
Total number of assets using this type |
canEdit - Boolean!
|
Whether the current user's group scope may edit this asset type |
chargingVoltageThreshold - Float
|
Charging voltage threshold |
created - Timestamp!
|
Timestamp when the entity was created |
customFields - [CustomField!]!
|
Custom fields scoped to this asset type |
dailyRate - Float!
|
Daily rental or usage rate for billing |
defaultClassification - AssetClassification
|
Default classification for new assets of this type |
deleted - Timestamp
|
Soft deletion timestamp, null if active |
deletedAssetsCount - Int
|
Number of deleted assets of this deleted asset type; set by the deleted asset type list only |
deletedBy - String
|
Full name or email of the user who deleted the asset type; set by the deleted asset type list only |
displayedRuntimeCode - AssetDisplayedRuntimeCode!
|
IoT parameter shown as the runtime for assets of this type |
documents - [Document!]!
|
Documents attached to this asset type |
Arguments
|
|
externalId - String
|
External system identifier |
forManufacturer - Manufacturer
|
Manufacturer of this asset type |
forManufacturerId - HashedId!
|
Manufacturer assigned to this asset type |
group - Group
|
Associated organization group |
groupId - HashedId!
|
Owning organization group |
hasAssortmentList - Boolean
|
Whether the record has assortment list |
hasVNC - Boolean
|
Certain assets can be accessed over a remote connection. This specifies if this type can be accessed over VNC. |
id - HashedId!
|
Unique identifier of the entity |
image - String
|
Image (url) for this asset type. Should also be used for asset if it doesn't have one provided |
inAssetCategory - AssetCategory
|
Category this asset type belongs to |
inAssetCategoryId - HashedId!
|
Category this asset type belongs to |
inAssetIntegration - AssetIntegration
|
IoT integration platform linked to this type |
inAssetIntegrationId - HashedId!
|
IoT integration platform for this asset type |
isApprovedAssetType - Boolean
|
To reduce the amount of duplicate asset types, asset types need to be approved. Everyone can approve an asset type who has access rights to the asset type. |
isLockable - Boolean
|
Certain asset types can be locked. This will then lock the asset Only for limited amount of asset types |
isLockedState - Boolean
|
Whether this asset type is currently in locked state Functionality removed |
isPollingAvailable - Boolean
|
Whether IoT data polling is available for this type |
isPrivate - Boolean!
|
Listed to users outside this group hierarchy - "publicly" available. May be used for not yet released models |
isRoom - Boolean!
|
Denotes whether the asset type is a room (derived from defaultClassification) Use defaultClassification === ROOM instead |
isVehicle - Boolean!
|
Denotes whether the asset type is a vehicle (derived from defaultClassification) Use defaultClassification === VEHICLE instead |
lockAssetType - AssetType!
|
Lock asset type reference (deprecated) This field is deprecated |
lockAssetTypeId - HashedId
|
Asset type used for locking this type (deprecated) Functionality removed |
make - String
|
Legacy free-text field for the manufacturer name, superseded by the forManufacturer relation |
minDaysBilled - Int!
|
Minimum number of days billed per rental period |
minimalBatteryVoltage - Float
|
Minimum battery voltage threshold for alerts |
name - Translation!
|
Localized asset type display name |
nameId - HashedId!
|
Translation record ID for the asset type name |
namespace - String
|
Logical namespace for grouping asset types |
nominalBatteryVoltage - Float
|
Standard operating battery voltage |
optimalBatteryVoltage - Float
|
Ideal battery voltage for peak performance |
optimalRuntime - Float
|
Expected optimal runtime in hours |
parentParameterKey - AssetParentParameter
|
Parameter key used to link child assets to parents; null follows the asset category |
preset - Boolean
|
Whether preset defaults are enabled for new assets |
presetInitialValue - String
|
Default initial asset value for new assets |
presetLeasingCostTermination - String
|
Default leasing termination cost for new assets |
presetLeasingLevel - String
|
Default leasing level for new assets |
presetLeasingMonthlyCost - String
|
Default leasing monthly cost for new assets |
presetLeasingPartner - String
|
Default leasing partner for new assets |
presetLeasingPartnerContractNumber - String
|
Default leasing contract number for new assets |
presetLeasingPartnerContractPositionNumber - String
|
Default leasing contract position number for new assets |
presetLeasingRenewalRate - String
|
Default leasing renewal rate for new assets |
presetLowValueAsset - Boolean
|
Default low-value asset flag for new assets |
presetMachineCheckInterval - Int
|
Default machine check interval in months |
presetMachineCheckLastCreated - Boolean
|
Whether a machine check was auto-created from preset |
presetMachineCheckName - String
|
Default machine check name for new assets |
presetOwnership - AssetOwnership
|
Default ownership type for new assets |
presetPurchaseCost - String
|
Default purchase cost for new assets |
presetPurchaseDepreciationMonths - Int
|
Default depreciation period in months for new assets |
presetPurchaseDepriciation - Int
|
Default depreciation period in years derived from presetPurchaseDepreciationMonths (legacy unit; truncates fractional values for old clients) Use presetPurchaseDepreciationMonths instead |
presetRentalCostTermination - String
|
Default rental termination cost for new assets |
presetRentalMonthlyCost - String
|
Default rental monthly cost for new assets |
presetRentalRenewalRate - String
|
Default rental renewal rate for new assets |
presetServiceContractCostPerYear - String
|
Default annual service contract cost for new assets |
presetServiceContractEmail - String
|
Default service contract email for new assets |
presetServiceContractLevel - String
|
Default service contract level for new assets |
presetServiceContractPartner - String
|
Default service contract partner for new assets |
presetSupplier - String
|
Default supplier for new assets of this type |
presetWarrantyPeriod - Int
|
Default warranty period in months for new assets |
publicId - Int!
|
User-facing numeric ID for this asset type |
reclassifiedAssetsCount - Int
|
Number of assets of this type, in the groups the current user can access, whose classification changes when the default classification becomes the given one; null unless the current user can update the type |
Arguments
|
|
restoreBlockers - [RestoreBlockerEnum!]
|
Reasons the deleted asset type cannot be restored right now; set by the deleted asset type list only |
restrictedType - Boolean!
|
Whether this type is restricted to certain groups |
rules - [Rule!]!
|
Rules scoped to this asset type |
servicePackage - ServicePackage
|
Assigned service package for maintenance coverage |
servicePackageId - HashedId
|
Linked service package for this asset type |
suggestedPartner - AvailableHandler
|
Suggested ticket handler partner for this asset type |
suggestedServicePartner - String
|
Encoded handler identifier of the suggested service partner for this asset type |
ticketContentFields - [TicketContentField!]!
|
Ticket content fields scoped to this asset type |
updated - Timestamp
|
Timestamp when the entity was last updated |
userManual - String
|
The handbook of the AssetType. URL to a PDF File |
workUnitId - HashedId
|
Translation record ID for the work unit label |
workUnits - Translation
|
Localized work unit label (e.g. cycles, hours) |
workUnitsPerHour - Float
|
Expected work output units produced per hour |
Example
{
"assetsCount": 123,
"canEdit": true,
"chargingVoltageThreshold": 123.45,
"created": 1592577642,
"customFields": [CustomField],
"dailyRate": 123.45,
"defaultClassification": "GENERIC",
"deleted": 1592577642,
"deletedAssetsCount": 987,
"deletedBy": "abc123",
"displayedRuntimeCode": "RUNTIME",
"documents": [Document],
"externalId": "xyz789",
"forManufacturer": Manufacturer,
"forManufacturerId": HashedId,
"group": Group,
"groupId": HashedId,
"hasAssortmentList": false,
"hasVNC": false,
"id": HashedId,
"image": "xyz789",
"inAssetCategory": AssetCategory,
"inAssetCategoryId": HashedId,
"inAssetIntegration": AssetIntegration,
"inAssetIntegrationId": HashedId,
"isApprovedAssetType": false,
"isLockable": false,
"isLockedState": true,
"isPollingAvailable": false,
"isPrivate": true,
"isRoom": false,
"isVehicle": false,
"lockAssetType": AssetType,
"lockAssetTypeId": HashedId,
"make": "xyz789",
"minDaysBilled": 123,
"minimalBatteryVoltage": 123.45,
"name": Translation,
"nameId": HashedId,
"namespace": "abc123",
"nominalBatteryVoltage": 987.65,
"optimalBatteryVoltage": 987.65,
"optimalRuntime": 987.65,
"parentParameterKey": "input2",
"preset": true,
"presetInitialValue": "abc123",
"presetLeasingCostTermination": "abc123",
"presetLeasingLevel": "abc123",
"presetLeasingMonthlyCost": "xyz789",
"presetLeasingPartner": "xyz789",
"presetLeasingPartnerContractNumber": "xyz789",
"presetLeasingPartnerContractPositionNumber": "abc123",
"presetLeasingRenewalRate": "abc123",
"presetLowValueAsset": true,
"presetMachineCheckInterval": 987,
"presetMachineCheckLastCreated": false,
"presetMachineCheckName": "xyz789",
"presetOwnership": "CUSTOMER_MACHINE",
"presetPurchaseCost": "xyz789",
"presetPurchaseDepreciationMonths": 987,
"presetPurchaseDepriciation": 987,
"presetRentalCostTermination": "abc123",
"presetRentalMonthlyCost": "xyz789",
"presetRentalRenewalRate": "abc123",
"presetServiceContractCostPerYear": "xyz789",
"presetServiceContractEmail": "abc123",
"presetServiceContractLevel": "xyz789",
"presetServiceContractPartner": "abc123",
"presetSupplier": "xyz789",
"presetWarrantyPeriod": 123,
"publicId": 987,
"reclassifiedAssetsCount": 987,
"restoreBlockers": ["PARENT_ASSET_CATEGORY_DELETED"],
"restrictedType": false,
"rules": [Rule],
"servicePackage": ServicePackage,
"servicePackageId": HashedId,
"suggestedPartner": AvailableHandler,
"suggestedServicePartner": "xyz789",
"ticketContentFields": [TicketContentField],
"updated": 1592577642,
"userManual": "abc123",
"workUnitId": HashedId,
"workUnits": Translation,
"workUnitsPerHour": 123.45
}
AssetTypeBulkUpdateFieldsInput
Fields
| Input Field | Description |
|---|---|
chargingVoltageThreshold - Float
|
Charging voltage threshold |
dailyRate - Float
|
Daily rental or usage rate for billing |
defaultClassification - AssetClassification
|
Default classification for new assets of this type |
displayedRuntimeCode - AssetDisplayedRuntimeCode
|
IoT parameter shown as the runtime for assets of this type |
externalId - String
|
External system identifier |
groupId - HashedId
|
Owning organization group for the asset type |
hasAssortmentList - Boolean
|
Whether the record has assortment list |
hasVNC - Boolean
|
Certain assets can be accessed over a remote connection. This specifies if this type can be accessed over VNC. |
image - String
|
URL of the asset type image |
inAssetCategoryId - HashedId
|
Category to reassign this asset type to |
inAssetIntegrationId - HashedId
|
The asset integration that applies to this type |
isApprovedAssetType - Boolean
|
Whether this asset type has been approved |
isLockable - Boolean
|
Certain Asset Types can be locked. This will then lock the asset |
isLockedState - Boolean
|
Whether this asset type is currently in locked state |
isPollingAvailable - Boolean
|
Whether IoT data polling is available for this type |
isPrivate - Boolean
|
Listed to users outside this group hierarchy - "publicly" available. May be used for not yet released models |
lockAssetTypeId - HashedId
|
Asset type used for locking (deprecated) |
manufacturer - String
|
Manufacturer or brand name |
minDaysBilled - Int
|
Minimum number of days billed per rental period |
minimalBatteryVoltage - Float
|
Minimum acceptable battery voltage in volts |
name - TranslationInput
|
Localized asset type display name |
nominalBatteryVoltage - Float
|
Rated nominal battery voltage in volts |
optimalBatteryVoltage - Float
|
Target optimal battery voltage in volts |
optimalRuntime - Float
|
Target optimal daily runtime in hours |
parentParameterKey - AssetParentParameter
|
Primary IoT parameter used for utilization tracking |
preset - Boolean
|
Preset |
presetInitialValue - String
|
Preset initial value |
presetLeasingCostTermination - String
|
Preset leasing cost termination |
presetLeasingLevel - String
|
Preset leasing level |
presetLeasingMonthlyCost - String
|
Preset leasing monthly cost |
presetLeasingPartner - String
|
Preset leasing partner |
presetLeasingPartnerContractNumber - String
|
Preset leasing partner contract number |
presetLeasingPartnerContractPositionNumber - String
|
Preset leasing partner contract position number |
presetLeasingRenewalRate - String
|
Preset leasing renewal rate |
presetLowValueAsset - Boolean
|
Preset low value asset |
presetMachineCheckInterval - Int
|
Preset machine check interval |
presetMachineCheckLastCreated - Boolean
|
Preset machine check last created |
presetMachineCheckName - String
|
Preset machine check name |
presetOwnership - String
|
Preset ownership |
presetPurchaseCost - String
|
Preset purchase cost |
presetPurchaseDepreciationMonths - Int
|
Preset purchase depreciation in months |
presetPurchaseDepriciation - Int
|
Legacy default depreciation period in years. Accepted on write and converted to presetPurchaseDepreciationMonths. Use presetPurchaseDepreciationMonths. |
presetRentalCostTermination - String
|
Preset rental cost termination |
presetRentalMonthlyCost - String
|
Preset rental monthly cost |
presetRentalRenewalRate - String
|
Preset rental renewal rate |
presetServiceContractCostPerYear - String
|
Preset service contract cost per year |
presetServiceContractEmail - String
|
Preset service contract email |
presetServiceContractLevel - String
|
Preset service contract level |
presetServiceContractPartner - String
|
Preset service contract partner |
presetSupplier - String
|
Preset supplier |
presetWarrantyPeriod - Int
|
Preset warranty period |
restrictedType - Boolean
|
Whether this type is restricted to certain groups |
servicePackageId - HashedId
|
Service package to assign to this asset type |
suggestedServicePartner - String
|
Recommended service partner name |
workUnits - TranslationInput
|
Localized label for the work unit measurement |
workUnitsPerHour - Float
|
Work units per hour |
Example
{
"chargingVoltageThreshold": 123.45,
"dailyRate": 987.65,
"defaultClassification": "GENERIC",
"displayedRuntimeCode": "RUNTIME",
"externalId": "xyz789",
"groupId": HashedId,
"hasAssortmentList": true,
"hasVNC": true,
"image": "xyz789",
"inAssetCategoryId": HashedId,
"inAssetIntegrationId": HashedId,
"isApprovedAssetType": false,
"isLockable": true,
"isLockedState": true,
"isPollingAvailable": true,
"isPrivate": true,
"lockAssetTypeId": HashedId,
"manufacturer": "abc123",
"minDaysBilled": 987,
"minimalBatteryVoltage": 123.45,
"name": TranslationInput,
"nominalBatteryVoltage": 123.45,
"optimalBatteryVoltage": 123.45,
"optimalRuntime": 987.65,
"parentParameterKey": "input2",
"preset": false,
"presetInitialValue": "abc123",
"presetLeasingCostTermination": "xyz789",
"presetLeasingLevel": "xyz789",
"presetLeasingMonthlyCost": "abc123",
"presetLeasingPartner": "xyz789",
"presetLeasingPartnerContractNumber": "xyz789",
"presetLeasingPartnerContractPositionNumber": "xyz789",
"presetLeasingRenewalRate": "abc123",
"presetLowValueAsset": true,
"presetMachineCheckInterval": 123,
"presetMachineCheckLastCreated": false,
"presetMachineCheckName": "xyz789",
"presetOwnership": "xyz789",
"presetPurchaseCost": "xyz789",
"presetPurchaseDepreciationMonths": 123,
"presetPurchaseDepriciation": 123,
"presetRentalCostTermination": "xyz789",
"presetRentalMonthlyCost": "xyz789",
"presetRentalRenewalRate": "abc123",
"presetServiceContractCostPerYear": "abc123",
"presetServiceContractEmail": "xyz789",
"presetServiceContractLevel": "xyz789",
"presetServiceContractPartner": "abc123",
"presetSupplier": "xyz789",
"presetWarrantyPeriod": 123,
"restrictedType": true,
"servicePackageId": HashedId,
"suggestedServicePartner": "abc123",
"workUnits": TranslationInput,
"workUnitsPerHour": 987.65
}
AssetTypeBulkUpdateInput
Fields
| Input Field | Description |
|---|---|
assetTypeIds - [HashedId!]
|
Explicit list of asset type IDs to include in the operation |
excludeAssetTypeIds - [HashedId!]
|
Asset type IDs to exclude from the selection |
fields - AssetTypeBulkUpdateFieldsInput!
|
|
filterInput - AssetFilterInput
|
Filter criteria to dynamically select asset types |
Example
{
"assetTypeIds": [HashedId],
"excludeAssetTypeIds": [HashedId],
"fields": AssetTypeBulkUpdateFieldsInput,
"filterInput": AssetFilterInput
}
AssetTypeMassEditFailure
Description
Single asset type failure entry from a bulk operation
Fields
| Field Name | Description |
|---|---|
assetTypeId - HashedId!
|
Asset type ID that failed |
associationCount - Int
|
|
reason - AssetTypeMassEditFailureReason!
|
Reason the asset type could not be processed |
Example
{
"assetTypeId": HashedId,
"associationCount": 123,
"reason": "ALREADY_RESTORED"
}
AssetTypeMassEditFailureReason
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"ALREADY_RESTORED"
AssetTypeMassEditResult
Description
Summary result of a mass edit operation on asset types
Fields
| Field Name | Description |
|---|---|
failed - [AssetTypeMassEditFailure!]!
|
|
retainedIds - [HashedId!]!
|
Selected ids the user can still edit after the operation; empty after a delete or archive |
skipped - Int!
|
|
succeeded - Int!
|
Example
{
"failed": [AssetTypeMassEditFailure],
"retainedIds": [HashedId],
"skipped": 123,
"succeeded": 123
}
AssetTypeMassEditSelectionInput
Description
Selection criteria for asset type mass edit operations
Fields
| Input Field | Description |
|---|---|
assetTypeIds - [HashedId!]
|
Explicit list of asset type IDs to include in the operation |
excludeAssetTypeIds - [HashedId!]
|
Asset type IDs to exclude from the selection |
filterInput - AssetFilterInput
|
Filter criteria to dynamically select asset types |
Example
{
"assetTypeIds": [HashedId],
"excludeAssetTypeIds": [HashedId],
"filterInput": AssetFilterInput
}
AssetTypeMergeAssociationTransferInput
Fields
| Input Field | Description |
|---|---|
customFieldIds - [HashedId!]!
|
IDs of custom field relations to transfer to the target |
documentIds - [HashedId!]!
|
IDs of documents to re-parent from the merged type to the target |
mergedTypeId - HashedId!
|
ID of the merged asset type whose associations are being transferred |
ruleIds - [HashedId!]!
|
IDs of rules whose asset-type relation should be transferred |
ticketContentFieldIds - [HashedId!]!
|
IDs of ticket content fields to re-parent to the target |
Example
{
"customFieldIds": [HashedId],
"documentIds": [HashedId],
"mergedTypeId": HashedId,
"ruleIds": [HashedId],
"ticketContentFieldIds": [HashedId]
}
AssetTypeMergeFailure
Description
Details of a single asset type that failed during a merge operation
Fields
| Field Name | Description |
|---|---|
assetTypeId - HashedId!
|
ID of the asset type that failed |
reason - AssetTypeMergeFailureReason!
|
Reason why the merge failed for this asset type |
Example
{"assetTypeId": HashedId, "reason": "HAS_EXTERNAL_ID"}
AssetTypeMergeFailureReason
Description
Reason why merging a specific merged asset type failed
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"HAS_EXTERNAL_ID"
AssetTypeMergeResult
Description
Summary result of a merge operation on asset types
Fields
| Field Name | Description |
|---|---|
failed - [AssetTypeMergeFailure!]!
|
List of asset types that failed with reasons |
succeededMergedIds - [HashedId!]!
|
Hashed IDs of merged asset types that were successfully retired into the target |
Example
{
"failed": [AssetTypeMergeFailure],
"succeededMergedIds": [HashedId]
}
AssetTypePaginatedDto
Description
Paginated list of asset types with total count
Fields
| Field Name | Description |
|---|---|
meta - PaginationMeta!
|
Pagination metadata including total count and page info |
rows - [AssetType!]!
|
List of records for the current page |
total - Int!
|
Total amount Use "meta.count" instead |
Example
{
"meta": PaginationMeta,
"rows": [AssetType],
"total": 123
}
AssetTypePropertyOverridesInput
Description
Target property overrides sourced from merged asset type values
Fields
| Input Field | Description |
|---|---|
chargingVoltageThreshold - Float
|
Charging voltage threshold |
dailyRate - Float
|
Daily rental or usage rate for billing |
defaultClassification - AssetClassification
|
Default classification for new assets of this type |
displayedRuntimeCode - AssetDisplayedRuntimeCode
|
IoT parameter shown as the runtime for assets of this type |
externalId - String
|
External system identifier |
hasAssortmentList - Boolean
|
Whether the record has assortment list |
hasVNC - Boolean
|
Certain assets can be accessed over a remote connection. This specifies if this type can be accessed over VNC. |
image - String
|
Image (url) for this asset type. Should also be used for asset if it doesn't have one provided |
inAssetCategoryId - HashedId
|
Category this asset type belongs to |
inAssetIntegrationId - HashedId
|
IoT integration platform for this asset type |
isApprovedAssetType - Boolean
|
To reduce the amount of duplicate asset types, asset types need to be approved. Everyone can approve an asset type who has access rights to the asset type. |
isLockable - Boolean
|
Certain asset types can be locked. This will then lock the asset |
isPollingAvailable - Boolean
|
Whether IoT data polling is available for this type |
make - String
|
Legacy free-text field for the manufacturer name, superseded by the forManufacturer relation |
minDaysBilled - Int
|
Minimum number of days billed per rental period |
minimalBatteryVoltage - Float
|
Minimum battery voltage threshold for alerts |
nominalBatteryVoltage - Float
|
Standard operating battery voltage |
optimalBatteryVoltage - Float
|
Ideal battery voltage for peak performance |
optimalRuntime - Float
|
Expected optimal runtime in hours |
parentParameterKey - AssetParentParameter
|
Parameter key used to link child assets to parents; null follows the asset category |
preset - Boolean
|
Whether preset defaults are enabled for new assets |
presetInitialValue - String
|
Default initial asset value for new assets |
presetLeasingCostTermination - String
|
Default leasing termination cost for new assets |
presetLeasingLevel - String
|
Default leasing level for new assets |
presetLeasingMonthlyCost - String
|
Default leasing monthly cost for new assets |
presetLeasingPartner - String
|
Default leasing partner for new assets |
presetLeasingPartnerContractNumber - String
|
Default leasing contract number for new assets |
presetLeasingPartnerContractPositionNumber - String
|
Default leasing contract position number for new assets |
presetLeasingRenewalRate - String
|
Default leasing renewal rate for new assets |
presetLowValueAsset - Boolean
|
Default low-value asset flag for new assets |
presetMachineCheckInterval - Int
|
Default machine check interval in months |
presetMachineCheckLastCreated - Boolean
|
Whether a machine check was auto-created from preset |
presetMachineCheckName - String
|
Default machine check name for new assets |
presetOwnership - AssetOwnership
|
Default ownership type for new assets |
presetPurchaseCost - String
|
Default purchase cost for new assets |
presetPurchaseDepreciationMonths - Int
|
Default depreciation period in months for new assets |
presetRentalCostTermination - String
|
Default rental termination cost for new assets |
presetRentalMonthlyCost - String
|
Default rental monthly cost for new assets |
presetRentalRenewalRate - String
|
Default rental renewal rate for new assets |
presetServiceContractCostPerYear - String
|
Default annual service contract cost for new assets |
presetServiceContractEmail - String
|
Default service contract email for new assets |
presetServiceContractLevel - String
|
Default service contract level for new assets |
presetServiceContractPartner - String
|
Default service contract partner for new assets |
presetSupplier - String
|
Default supplier for new assets of this type |
presetWarrantyPeriod - Int
|
Default warranty period in months for new assets |
restrictedType - Boolean
|
Whether this type is restricted to certain groups |
servicePackageId - HashedId
|
Linked service package for this asset type |
suggestedServicePartner - String
|
Recommended service partner name |
workUnits - TranslationInput
|
Localized work unit label sourced from a merged asset type |
workUnitsPerHour - Float
|
Expected work output units produced per hour |
Example
{
"chargingVoltageThreshold": 123.45,
"dailyRate": 123.45,
"defaultClassification": "GENERIC",
"displayedRuntimeCode": "RUNTIME",
"externalId": "abc123",
"hasAssortmentList": false,
"hasVNC": false,
"image": "xyz789",
"inAssetCategoryId": HashedId,
"inAssetIntegrationId": HashedId,
"isApprovedAssetType": false,
"isLockable": true,
"isPollingAvailable": true,
"make": "xyz789",
"minDaysBilled": 123,
"minimalBatteryVoltage": 987.65,
"nominalBatteryVoltage": 987.65,
"optimalBatteryVoltage": 987.65,
"optimalRuntime": 123.45,
"parentParameterKey": "input2",
"preset": false,
"presetInitialValue": "abc123",
"presetLeasingCostTermination": "xyz789",
"presetLeasingLevel": "abc123",
"presetLeasingMonthlyCost": "abc123",
"presetLeasingPartner": "abc123",
"presetLeasingPartnerContractNumber": "abc123",
"presetLeasingPartnerContractPositionNumber": "abc123",
"presetLeasingRenewalRate": "abc123",
"presetLowValueAsset": true,
"presetMachineCheckInterval": 987,
"presetMachineCheckLastCreated": false,
"presetMachineCheckName": "abc123",
"presetOwnership": "CUSTOMER_MACHINE",
"presetPurchaseCost": "abc123",
"presetPurchaseDepreciationMonths": 123,
"presetRentalCostTermination": "abc123",
"presetRentalMonthlyCost": "abc123",
"presetRentalRenewalRate": "xyz789",
"presetServiceContractCostPerYear": "xyz789",
"presetServiceContractEmail": "abc123",
"presetServiceContractLevel": "abc123",
"presetServiceContractPartner": "abc123",
"presetSupplier": "abc123",
"presetWarrantyPeriod": 123,
"restrictedType": true,
"servicePackageId": HashedId,
"suggestedServicePartner": "xyz789",
"workUnits": TranslationInput,
"workUnitsPerHour": 987.65
}
AssetTypesMergeInput
Fields
| Input Field | Description |
|---|---|
associationTransfers - [AssetTypeMergeAssociationTransferInput!]!
|
Associations to transfer from each merged type |
mergedTypeIds - [HashedId!]!
|
IDs of the asset types to be merged into the target |
propertyOverrides - AssetTypePropertyOverridesInput
|
Cherry-picked property overrides from merged types |
targetId - HashedId!
|
ID of the target asset type that others merge into |
Example
{
"associationTransfers": [
AssetTypeMergeAssociationTransferInput
],
"mergedTypeIds": [HashedId],
"propertyOverrides": AssetTypePropertyOverridesInput,
"targetId": HashedId
}
AssetUtilization
Description
Derived utilization of one asset, computed nightly from its hourly runtime
Fields
| Field Name | Description |
|---|---|
computedAt - DateTime!
|
When this utilization was last computed |
flags - [AssetUtilizationFlagEnum!]!
|
Data-quality and behaviour flags for the whole asset |
history - [AssetUtilizationHistoryPoint!]!
|
Rolling trailing seven-day utilization per operating weekday of the current pattern on each point, taken like the asset pattern from the 90 local days ending on it, and its operating days, for the selected range |
Arguments
|
|
last30Days - AssetUtilizationWindow!
|
The last 30 complete local days, ending yesterday |
last90Days - AssetUtilizationWindow!
|
The last 90 complete local days, ending yesterday |
last365Days - AssetUtilizationWindow!
|
The last 365 complete local days, ending yesterday |
lastAssignmentDate - Date
|
Local day (yyyy-MM-dd) the asset arrived at its current site; the since-last-assignment window starts the day after; null while it has no current site assignment |
operatingWeekdays - [WeekdayEnum!]!
|
Weekdays the asset is expected to operate on, derived from the last 90 days since the asset arrived at its current site once they span 21 complete days, else from the last 90 days; empty while there is not enough data; every window derives its own |
optimalRuntimeHours - Float!
|
Effective target runtime hours per operating weekday, from the asset type or category |
regularity - AssetUtilizationOperatingRegularityEnum!
|
Regularity classification of the current operating weekdays |
routineObservedDays - Int
|
Complete local days observed since the asset arrived at its current site while its operating routine is still being learned (fewer than 21); null otherwise |
routineRequiredDays - Int
|
Complete local days the operating routine needs to be learned at a new site, set exactly while the learning-routine flag is; null otherwise |
sinceLastAssignment - AssetUtilizationWindow!
|
Full days since the asset arrived at its current site, starting the day after arrival |
siteChanges - [AssetUtilizationSiteChange!]!
|
Site arrivals and departures within the selected range, on the asset local days |
Arguments
|
|
source - AssetUtilizationOperatingProfileSourceEnum!
|
Whether the current operating profile was derived from data or fell back to a default |
staleSince - DateTime
|
Since when the runtime data has been missing, once an expected operating weekday passed without it; null while data is fresh |
timezone - String!
|
IANA timezone the local days and windows are computed in |
total - AssetUtilizationWindow!
|
Every complete local day from the day after the first recorded runtime, ending yesterday |
Example
{
"computedAt": "2007-12-03T10:15:30Z",
"flags": ["INSUFFICIENT_DATA"],
"history": [AssetUtilizationHistoryPoint],
"last30Days": AssetUtilizationWindow,
"last90Days": AssetUtilizationWindow,
"last365Days": AssetUtilizationWindow,
"lastAssignmentDate": "2007-12-03",
"operatingWeekdays": ["Friday"],
"optimalRuntimeHours": 123.45,
"regularity": "INACTIVE",
"routineObservedDays": 123,
"routineRequiredDays": 123,
"sinceLastAssignment": AssetUtilizationWindow,
"siteChanges": [AssetUtilizationSiteChange],
"source": "DERIVED",
"staleSince": "2007-12-03T10:15:30Z",
"timezone": "xyz789",
"total": AssetUtilizationWindow
}
AssetUtilizationFlagEnum
Description
Data-quality and behaviour flags applicable to an asset utilization
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"INSUFFICIENT_DATA"
AssetUtilizationHistoryPoint
Description
Rolling trailing utilization of one asset ending on one local day
Fields
| Field Name | Description |
|---|---|
date - String!
|
Local day (yyyy-MM-dd) this trailing point ends on |
operatingDaysPerWeek - Float
|
Average operating days per week across the window |
utilizationPercent - Float
|
Percentage of the optimal runtime target reached per operating weekday, per calendar day when the window is inactive, or, when it is too short to derive operating weekdays or they are irregular, per working day at 5 a week, and per day with runtime when it ran on more; null when the window has no complete local day or, for sinceLastAssignment, the asset has no assignment |
Example
{
"date": "xyz789",
"operatingDaysPerWeek": 987.65,
"utilizationPercent": 987.65
}
AssetUtilizationOperatingProfileSourceEnum
Description
Whether an asset operating profile was derived from data or fell back to a default
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
Example
"DERIVED"
AssetUtilizationOperatingRegularityEnum
Description
Regularity classification of an asset operating pattern
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
Example
"INACTIVE"
AssetUtilizationRangeInput
Description
Range selector for asset utilization history and site changes
Fields
| Input Field | Description |
|---|---|
from - Date
|
Custom range start day (yyyy-MM-dd), never before the first recorded day; null keeps the window start |
to - Date
|
Custom range end day (yyyy-MM-dd); null keeps the window end |
window - AssetUtilizationWindowEnum!
|
Window the history and site changes are read for |
Example
{
"from": "2007-12-03",
"to": "2007-12-03",
"window": "LAST_30_DAYS"
}
AssetUtilizationSiteChange
Description
A site arrival (START) or departure (END) on the asset local day
Fields
| Field Name | Description |
|---|---|
date - String!
|
Local day (yyyy-MM-dd) the asset arrived at or left the site |
siteId - HashedId!
|
Site the asset arrived at or left |
siteName - String!
|
Name of the site the asset arrived at or left |
type - AssetUtilizationSiteChangeTypeEnum!
|
Whether the asset arrived at (START) or left (END) the site |
Example
{
"date": "abc123",
"siteId": HashedId,
"siteName": "abc123",
"type": "END"
}
AssetUtilizationSiteChangeTypeEnum
Description
Whether an asset arrived at (START) or left (END) a site
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
Example
"END"
AssetUtilizationWindow
Description
Utilization summary of one asset over one window
Fields
| Field Name | Description |
|---|---|
operatingDaysPerWeek - Float
|
Average operating days per week across the window |
utilizationPercent - Float
|
Percentage of the optimal runtime target reached per operating weekday, per calendar day when the window is inactive, or, when it is too short to derive operating weekdays or they are irregular, per working day at 5 a week, and per day with runtime when it ran on more; null when the window has no complete local day or, for sinceLastAssignment, the asset has no assignment |
Example
{"operatingDaysPerWeek": 987.65, "utilizationPercent": 123.45}
AssetUtilizationWindowEnum
Description
Fixed lookback windows used for asset utilization summaries
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
Full days since the asset arrived at its current site, starting the day after the arrival day so runtime recorded before the arrival is never attributed to it |
|
|
Example
"LAST_30_DAYS"
AssetView
Description
configuration for an asset view
Fields
| Field Name | Description |
|---|---|
created - Timestamp!
|
Timestamp when the entity was created |
displayMode - ViewDisplayMode!
|
display mode that this view uses (e.g. MAP) |
forEntity - ViewEntityEnum!
|
type of entity that this view is for (e.g. ASSET) |
id - HashedId!
|
id (hashed) of the view. can be used to re-order the view, or adjust sharing etc. |
isActive - Boolean!
|
whether this view is enabled for this account |
isDeletable - Boolean!
|
whether this account can delete this view |
isEditable - Boolean!
|
whether this account can change this view's display mode, name or options |
isShareable - Boolean!
|
whether this account can share or unshare this view to this group and sub-groups |
isShared - Boolean!
|
whether this view can be seen by other members of this group, and sub-groups |
isSystemView - Boolean!
|
whether this is a system view (inherited from toolsense system). System views can only be shared/unshared; they cannot be edited. |
isUnsharedByParentGroup - Boolean!
|
whether this view has been unshared by a parent of this group |
options - AssetViewOptions!
|
options describing pagination, filters and columns available in the view |
title - Translation!
|
User-defined name for this saved view |
titleId - HashedId!
|
human-readable, user-input name that is given upon view creation. EXCEPT when isSystemView is true, then this is a string identifier for the view (e.g. "asset-gantt") |
updated - Timestamp
|
Timestamp when the entity was last updated |
Example
{
"created": 1592577642,
"displayMode": "GANTT",
"forEntity": "ASSET",
"id": HashedId,
"isActive": false,
"isDeletable": false,
"isEditable": false,
"isShareable": true,
"isShared": false,
"isSystemView": true,
"isUnsharedByParentGroup": false,
"options": AssetViewOptions,
"title": Translation,
"titleId": HashedId,
"updated": 1592577642
}
AssetViewCreateInput
Description
input used to create a new asset view
Fields
| Input Field | Description |
|---|---|
displayMode - ViewDisplayMode!
|
display mode that this view uses (e.g. MAP) |
options - AssetViewOptionsInput!
|
display options to be stored with this view |
title - TranslationInput!
|
Name to assign to the new saved view |
Example
{
"displayMode": "GANTT",
"options": AssetViewOptionsInput,
"title": TranslationInput
}
AssetViewOptions
Description
Display settings for pagination, filters, and columns in an asset view
Fields
| Field Name | Description |
|---|---|
columns - [String!]!
|
asset columns enabled for this view |
filters - [Filters]
|
well defined filters for this view |
itemsPerPage - Int!
|
number of items per page in this view |
search - String
|
general search string to filter the items in this view |
Example
{
"columns": ["xyz789"],
"filters": [Filters],
"itemsPerPage": 123,
"search": "xyz789"
}
AssetViewOptionsInput
Description
Pagination, filter, and column settings for an asset view
Fields
| Input Field | Description |
|---|---|
columns - [String!]!
|
ordered assets columns that are to be displayed in this view |
filters - [FilterParamsInput]
|
Filter criteria |
itemsPerPage - Int!
|
number of assets per page in the view |
search - String
|
Text search query for filtering results |
Example
{
"columns": ["abc123"],
"filters": [FilterParamsInput],
"itemsPerPage": 987,
"search": "abc123"
}
AssetViewUpdateInput
Description
input for updating an asset view
Fields
| Input Field | Description |
|---|---|
displayMode - ViewDisplayMode!
|
display mode that this view uses (e.g. MAP) |
id - HashedId!
|
Unique identifier of the entity |
options - AssetViewOptionsInput!
|
options for displaying assets in this view |
title - TranslationInput!
|
Updated name for the saved view |
Example
{
"displayMode": "GANTT",
"id": HashedId,
"options": AssetViewOptionsInput,
"title": TranslationInput
}
AssetWorkingHours
Description
Weekly operating hour schedule for an asset
Fields
| Field Name | Description |
|---|---|
created - Timestamp!
|
Timestamp when the entity was created |
id - HashedId!
|
Unique identifier of the entity |
timezone - String!
|
IANA timezone for the working hours schedule |
updated - Timestamp
|
Timestamp when the entity was last updated |
workingHoursFriday - [String!]!
|
Operating time ranges for Friday |
workingHoursMonday - [String!]!
|
Operating time ranges for Monday |
workingHoursSaturday - [String!]!
|
Operating time ranges for Saturday |
workingHoursSunday - [String!]
|
Operating time ranges for Sunday |
workingHoursThursday - [String!]!
|
Operating time ranges for Thursday |
workingHoursTuesday - [String!]!
|
Operating time ranges for Tuesday |
workingHoursWednesday - [String!]!
|
Operating time ranges for Wednesday |
Example
{
"created": 1592577642,
"id": HashedId,
"timezone": "xyz789",
"updated": 1592577642,
"workingHoursFriday": ["xyz789"],
"workingHoursMonday": ["abc123"],
"workingHoursSaturday": ["abc123"],
"workingHoursSunday": ["abc123"],
"workingHoursThursday": ["xyz789"],
"workingHoursTuesday": ["abc123"],
"workingHoursWednesday": ["abc123"]
}
AssetWorkingHoursInput
Description
Input to set weekly operating hours for an asset
Fields
| Input Field | Description |
|---|---|
timezone - String!
|
IANA timezone for the working hours schedule |
workingHoursFriday - [String!]!
|
Operating time ranges for Friday |
workingHoursMonday - [String!]!
|
Operating time ranges for Monday |
workingHoursSaturday - [String!]!
|
Operating time ranges for Saturday |
workingHoursSunday - [String!]!
|
Operating time ranges for Sunday |
workingHoursThursday - [String!]!
|
Operating time ranges for Thursday |
workingHoursTuesday - [String!]!
|
Operating time ranges for Tuesday |
workingHoursWednesday - [String!]!
|
Operating time ranges for Wednesday |
Example
{
"timezone": "abc123",
"workingHoursFriday": ["xyz789"],
"workingHoursMonday": ["xyz789"],
"workingHoursSaturday": ["abc123"],
"workingHoursSunday": ["xyz789"],
"workingHoursThursday": ["xyz789"],
"workingHoursTuesday": ["xyz789"],
"workingHoursWednesday": ["abc123"]
}
AssigneeAutomation
Description
Controls how ticket assignees are determined when a service creates a ticket: suggest a partner for manual selection, automatically assign based on rules, or disable assignee automation
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
Example
"AUTO_ASSIGN"
Attention
Description
What needs attention, ranked into tiers with the facts to judge severity
Fields
| Field Name | Description |
|---|---|
items - [AttentionItem!]!
|
Ranked items of the requested tiers, up to the limit |
moneyAtStake - [MoneyAtStake!]!
|
Money at stake of the returned items, one total per currency |
scope - AttentionScope!
|
Applied scope: ALL when a user without responsibilities asked for MINE |
sites - [AttentionSite!]!
|
Up to 10 sites ranked by their act-today and this-week counts |
tierCounts - AttentionTierCounts!
|
Candidates per tier over everything in scope |
urgencyInflatedSites - [AttentionUrgencyInflation!]!
|
Sites where 70% or more of at least 10 tickets opened in the last 90 days are critical or high; listed with the CLEAN_UP tier only |
Example
{
"items": [AttentionItem],
"moneyAtStake": [MoneyAtStake],
"scope": "ALL",
"sites": [AttentionSite],
"tierCounts": AttentionTierCounts,
"urgencyInflatedSites": [AttentionUrgencyInflation]
}
AttentionAction
Description
The one action an attention item ends in
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"ASSIGN"
AttentionAssignment
Description
Who a ticket or work order is assigned to, seen from the asking user
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
Example
"ME"
AttentionFacts
Description
Severity facts of an attention item
Fields
| Field Name | Description |
|---|---|
assetDown - Boolean
|
The asset is damaged or in repair |
assignment - AttentionAssignment
|
Who the ticket or work order is assigned to |
contractEndsInDays - Int
|
Days until the soonest ending contract of the asset ends |
distanceKm - Float
|
Distance from the last measured position to the assigned site, in kilometres |
measuredAt - Timestamp
|
When the position was last measured; this does not prove continuous absence |
newSinceYesterday - Boolean
|
Became due, overdue or open since the start of yesterday |
overdueCycleRatio - Float
|
Overdue days divided by the check cycle length in days |
overdueDays - Int
|
Days past the due date |
ruleCritical - Boolean
|
The check or current error alert comes from a critical rule |
serviceContract - Boolean
|
The asset has a service contract |
silentDays - Int
|
Days since the IoT module of the asset last made contact |
staleHours - Int
|
Hours since the last ticket activity, alert opening or location observation |
stockShortfall - Float
|
Units missing to reach the minimum stock of the part |
ticketsLast90Days - Int
|
Tickets created on the asset in the last 90 days |
underWarranty - Boolean
|
The purchase warranty of the asset has not ended |
urgency - TicketUrgencyEnum
|
Urgency of the ticket |
Example
{
"assetDown": true,
"assignment": "ME",
"contractEndsInDays": 987,
"distanceKm": 123.45,
"measuredAt": 1592577642,
"newSinceYesterday": true,
"overdueCycleRatio": 123.45,
"overdueDays": 987,
"ruleCritical": false,
"serviceContract": true,
"silentDays": 987,
"staleHours": 987,
"stockShortfall": 987.65,
"ticketsLast90Days": 123,
"underWarranty": false,
"urgency": "CRITICAL"
}
AttentionItem
Description
A ranked thing that needs a person, merged per machine or per cause
Fields
| Field Name | Description |
|---|---|
asset - Asset
|
Asset the item is about |
assetId - HashedId
|
Asset the item is about |
facts - AttentionFacts!
|
Severity facts of the leading part |
kind - AttentionItemKind!
|
Signal of the leading part |
moneyAtStake - MoneyAtStake
|
Money at stake, only from recorded data |
parts - [AttentionItemPart!]!
|
Every record merged into the item, leading part first |
reasons - [AttentionReason!]!
|
Every rule the parts of the item matched |
site - Site
|
Site the item is at |
siteId - HashedId
|
Site the item is at |
suggestedAction - AttentionAction!
|
The one action the item ends in |
text - String
|
User-written ticket or work order text of the leading part, at most 200 characters |
textTruncated - Boolean!
|
The text was cut at 200 characters |
tier - AttentionTier!
|
Tier set by the server rules |
title - String
|
Title of the leading part |
Example
{
"asset": Asset,
"assetId": HashedId,
"facts": AttentionFacts,
"kind": "ALERT",
"moneyAtStake": MoneyAtStake,
"parts": [AttentionItemPart],
"reasons": ["ABANDONED_TICKET"],
"site": Site,
"siteId": HashedId,
"suggestedAction": "ASSIGN",
"text": "abc123",
"textTruncated": false,
"tier": "ACT_TODAY",
"title": "abc123"
}
AttentionItemKind
Description
Signal an attention item was found by
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"ALERT"
AttentionItemPart
Description
A record merged into an attention item
Fields
| Field Name | Description |
|---|---|
entity - EntityEnum!
|
Entity type of the part |
id - HashedId!
|
Id of the part entity |
kind - AttentionItemKind!
|
Signal the part was found by |
Example
{"entity": "ASSET", "id": HashedId, "kind": "ALERT"}
AttentionReason
Description
Server rule an attention item matched
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"ABANDONED_TICKET"
AttentionScope
Description
Which sites the attention query looks at
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
Example
"ALL"
AttentionSite
Description
Attention candidates per tier at one site
Example
{
"actToday": 123,
"cleanUp": 987,
"site": Site,
"siteId": HashedId,
"thisWeek": 123
}
AttentionTier
Description
How soon an attention item needs a person: act today, this week, or clean up data
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
Example
"ACT_TODAY"
AttentionTierCounts
AttentionUrgencyInflation
Description
A site whose tickets are mostly opened as critical or high
Example
{
"site": Site,
"siteId": HashedId,
"ticketCount": 987,
"urgentTicketCount": 987
}
AvailabilityValArray
Description
List of available asset availability status values
Fields
| Field Name | Description |
|---|---|
data - [AssetAvailability!]!
|
Possible availability status values |
Example
{"data": ["BORROWED"]}
AvailableHandler
Description
User, team, group, or external email that can be assigned to handle a ticket
Fields
| Field Name | Description |
|---|---|
displayName - String!
|
Primary label showing the handler name or email |
handlerType - HandlerTypeEnum!
|
Entity type such as user, team, group, or external email |
id - String!
|
Handler entity reference used for assignment operations |
maskedEmail - String
|
Partially masked email address for privacy |
publicId - Int!
|
Public numeric identifier |
subLabel - String!
|
Secondary label such as group or team name |
Example
{
"displayName": "xyz789",
"handlerType": "EXTERNALEMAIL",
"id": "abc123",
"maskedEmail": "xyz789",
"publicId": 987,
"subLabel": "xyz789"
}
AvailableServiceHandlerDto
Description
A handler available to process tickets from a specific service
Fields
| Field Name | Description |
|---|---|
handler - AvailableHandler
|
Assigned handler for processing |
tag - TicketAssigneeTagEnum
|
Classification tag or label |
Example
{"handler": AvailableHandler, "tag": "ASSIGNEE_1"}
BackgroundJob
Description
Result of an asynchronous background job
Fields
| Field Name | Description |
|---|---|
attempts - Int!
|
Number of processing attempts made so far |
created - Timestamp!
|
Timestamp when the entity was created |
createdByUser - BackgroundJobUser
|
User who created this job |
downloadUrl - String
|
Presigned URL to download the generated result |
errorMessage - String
|
Error message if the job failed |
expiresAt - DateTime
|
ISO timestamp when the generated result expires |
finishedAt - DateTime
|
ISO timestamp when the job reached a terminal state |
id - HashedId!
|
Unique identifier of the entity |
label - String!
|
Human-readable context line describing this job |
procedureTemplateDocumentImportPreview - ProcedureTemplateDocumentImportPreview
|
Generated draft of a procedure template document import when the job is ready |
progressDone - Int!
|
Number of items processed so far |
progressTotal - Int
|
Total number of items the job will handle |
startedAt - DateTime
|
ISO timestamp when the job started processing |
status - BackgroundJobStatusEnum!
|
Current status of the background job |
type - BackgroundJobTypeEnum!
|
Type of background job |
updated - Timestamp
|
Timestamp when the entity was last updated |
Example
{
"attempts": 123,
"created": 1592577642,
"createdByUser": BackgroundJobUser,
"downloadUrl": "abc123",
"errorMessage": "xyz789",
"expiresAt": "2007-12-03T10:15:30Z",
"finishedAt": "2007-12-03T10:15:30Z",
"id": HashedId,
"label": "abc123",
"procedureTemplateDocumentImportPreview": ProcedureTemplateDocumentImportPreview,
"progressDone": 123,
"progressTotal": 123,
"startedAt": "2007-12-03T10:15:30Z",
"status": "FAILED",
"type": "ASSET_DATA_XLSX_EXPORT",
"updated": 1592577642
}
BackgroundJobStatus
Description
Status and stored progress of a background job pushed on every change of either
Fields
| Field Name | Description |
|---|---|
id - HashedId!
|
Unique identifier of the entity |
progressDone - Int!
|
Number of items processed so far |
progressTotal - Int
|
Total number of items the job will handle |
status - BackgroundJobStatusEnum!
|
Current status of the background job |
Example
{
"id": HashedId,
"progressDone": 987,
"progressTotal": 987,
"status": "FAILED"
}
BackgroundJobStatusEnum
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"FAILED"
BackgroundJobTypeEnum
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"ASSET_DATA_XLSX_EXPORT"
BackgroundJobUser
Description
Lightweight user reference for the creator of a background job
Example
{
"email": "xyz789",
"fullName": "abc123",
"id": HashedId
}
BleEddystoneTagImportSummary
Description
Summary of an Eddystone tag reference-data CSV import
Example
{"imported": 987, "skipped": 987, "updated": 987}
Boolean
Description
The Boolean scalar type represents true or false.
Example
true
Brand
Description
An equipment brand or trademark for asset classification
Fields
| Field Name | Description |
|---|---|
activationMailVideo - String
|
A url leading to the activation email video of the platform |
appUrlAndroid - String
|
URL leading to the download/store page of the Android app of the platform |
appUrlIos - String
|
A url leading to the download/store page of the iOS app of the platform |
color - String
|
Primary color associated with brand |
colorDark - String!
|
Dark theme color hex value |
colorLight - String!
|
Light theme color hex value |
cornerStyle - BrandCornerStyle
|
Corner shape of the web app; null keeps the default soft corners |
created - Timestamp!
|
Timestamp when the entity was created |
faviconUrl - String!
|
A url that provides the favicon image used |
fontFamily - BrandFontFamily
|
Typeface of the web app; null keeps the default Noto Sans |
group - Group
|
Associated organization group |
groupId - HashedId
|
Group associated with the management of this brand |
hasSso - Boolean!
|
Whether this brand has single sign-on configuration |
id - HashedId!
|
Unique identifier of the entity |
isSenderVerified - Boolean!
|
Whether the support email of a sub-group brand is confirmed as a deliverable mail sender |
key - String!
|
A unique identifying string key |
loginBackground - String!
|
A url that provides the background image shown on the login page |
loginLanguageFallback - HashedId
|
Fallback language displayed on the login page when the user's preferred language is unavailable |
logo - String
|
An image url containing the logo for the platform |
logoIsSquare - Boolean
|
Should be true if the logo image has a 1:1 aspect ratio. Helps with visual alignment. |
logoWidth - Int!
|
Logo width |
name - String
|
Display name of the white-label brand shown to end users |
ownURL - String
|
A custom URL where the application is intended to be available |
projects - String
|
Projects have been dropped completely September 2023 |
sectionStyle - BrandSectionStyle
|
Pane section look of the web app; null keeps the default cards |
supportEmail - String
|
A support email address to be displayed across clients |
surfaceStyle - BrandSurfaceStyle
|
Surface depth of the web app; null keeps the default elevated shadows |
symbol - String
|
The image displayed when only the symbol is required. E.g. the main menu is collapsed |
systemName - String!
|
Name of the platform for this brand |
updated - Timestamp
|
Timestamp when the entity was last updated |
Example
{
"activationMailVideo": "xyz789",
"appUrlAndroid": "xyz789",
"appUrlIos": "xyz789",
"color": "xyz789",
"colorDark": "abc123",
"colorLight": "abc123",
"cornerStyle": "ROUND",
"created": 1592577642,
"faviconUrl": "abc123",
"fontFamily": "IBM_PLEX_SANS",
"group": Group,
"groupId": HashedId,
"hasSso": true,
"id": HashedId,
"isSenderVerified": true,
"key": "abc123",
"loginBackground": "xyz789",
"loginLanguageFallback": HashedId,
"logo": "abc123",
"logoIsSquare": true,
"logoWidth": 123,
"name": "abc123",
"ownURL": "xyz789",
"projects": "xyz789",
"sectionStyle": "CARDS",
"supportEmail": "abc123",
"surfaceStyle": "ELEVATED",
"symbol": "abc123",
"systemName": "xyz789",
"updated": 1592577642
}
BrandBenchmark
Description
Performance benchmarks grouped by robot brand with fleet average
Fields
| Field Name | Description |
|---|---|
brands - [BrandBenchmarkEntry!]!
|
Per-brand benchmark entries |
fleetAvg - BrandBenchmarkEntry!
|
Fleet-wide average benchmark |
Example
{
"brands": [BrandBenchmarkEntry],
"fleetAvg": BrandBenchmarkEntry
}
BrandBenchmarkEntry
Description
Performance benchmark metrics for a single brand
Fields
| Field Name | Description |
|---|---|
brand - String!
|
Brand/provider name |
efficiency - Float
|
Cleaning efficiency in m2/h |
energyPerM2 - Float
|
Energy consumption per m2 in kWh |
mtbfHours - Float
|
Mean Time Between Failures in hours |
mttrHours - Float
|
Mean Time To Repair in hours Not based on measured repair time |
successRate - Float
|
Mission success rate percentage |
utilization - Float
|
Utilization percentage |
waterPerM2 - Float
|
Water consumption per m2 in liters |
Example
{
"brand": "xyz789",
"efficiency": 123.45,
"energyPerM2": 987.65,
"mtbfHours": 123.45,
"mttrHours": 987.65,
"successRate": 123.45,
"utilization": 123.45,
"waterPerM2": 123.45
}
BrandCornerStyle
Description
Corner shape a brand gives the web app
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
Example
"ROUND"
BrandCreateInput
Description
Data required to create a new brand
Fields
| Input Field | Description |
|---|---|
activationMailVideo - String
|
A url leading to the activation email video of the platform |
appUrlAndroid - String
|
URL leading to the download/store page of the Android app of the platform |
appUrlIos - String
|
A url leading to the download/store page of the iOS app of the platform |
color - String
|
Primary color associated with brand |
colorDark - String!
|
Dark theme color hex value |
colorLight - String!
|
Light theme color hex value |
cornerStyle - BrandCornerStyle
|
Corner shape of the web app; null keeps the default soft corners |
faviconUrl - String!
|
A url that provides the favicon image used |
fontFamily - BrandFontFamily
|
Typeface of the web app; null keeps the default Noto Sans |
groupId - HashedId
|
Group identifier |
isSenderVerified - Boolean
|
Whether the support email of a sub-group brand is confirmed as a deliverable mail sender |
key - String!
|
A unique identifying string key |
loginBackground - String!
|
A url that provides the background image shown on the login page |
loginLanguageFallback - Int
|
Fallback language displayed on the login page when the user's preferred language is unavailable |
logo - String
|
An image url containing the logo for the platform |
logoIsSquare - Boolean
|
Should be true if the logo image has a 1:1 aspect ratio. Helps with visual alignment. |
name - String
|
Display name of the white-label brand shown to end users |
ownURL - String
|
Custom URL where the branded platform is hosted |
sectionStyle - BrandSectionStyle
|
Pane section look of the web app; null keeps the default cards |
supportEmail - String
|
A support email address to be displayed across clients |
surfaceStyle - BrandSurfaceStyle
|
Surface depth of the web app; null keeps the default elevated shadows |
symbol - String
|
The image displayed when only the symbol is required. E.g. the main menu is collapsed |
systemName - String!
|
Name of the platform for this brand |
Example
{
"activationMailVideo": "abc123",
"appUrlAndroid": "abc123",
"appUrlIos": "xyz789",
"color": "abc123",
"colorDark": "abc123",
"colorLight": "abc123",
"cornerStyle": "ROUND",
"faviconUrl": "abc123",
"fontFamily": "IBM_PLEX_SANS",
"groupId": HashedId,
"isSenderVerified": false,
"key": "xyz789",
"loginBackground": "abc123",
"loginLanguageFallback": 123,
"logo": "abc123",
"logoIsSquare": false,
"name": "abc123",
"ownURL": "xyz789",
"sectionStyle": "CARDS",
"supportEmail": "xyz789",
"surfaceStyle": "ELEVATED",
"symbol": "abc123",
"systemName": "xyz789"
}
BrandFontFamily
Description
Self-hosted typeface a brand gives the web app
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"IBM_PLEX_SANS"
BrandSectionStyle
Description
Pane section look a brand gives the web app
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
Example
"CARDS"
BrandSurfaceStyle
Description
Surface depth a brand gives the web app
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
Example
"ELEVATED"
BrandUpdateInput
Description
Fields to update on an existing brand
Fields
| Input Field | Description |
|---|---|
activationMailVideo - String
|
A url leading to the activation email video of the platform |
appUrlAndroid - String
|
URL leading to the download/store page of the Android app of the platform |
appUrlIos - String
|
A url leading to the download/store page of the iOS app of the platform |
color - String
|
Primary color associated with brand |
colorDark - String
|
Dark theme color hex value |
colorLight - String
|
Light theme color hex value |
cornerStyle - BrandCornerStyle
|
Corner shape of the web app; null keeps the default soft corners |
faviconUrl - String
|
A url that provides the favicon image used |
fontFamily - BrandFontFamily
|
Typeface of the web app; null keeps the default Noto Sans |
groupId - HashedId
|
Group identifier |
isSenderVerified - Boolean
|
Whether the support email of a sub-group brand is confirmed as a deliverable mail sender |
key - String
|
Unique lookup key |
loginBackground - String
|
A url that provides the background image shown on the login page |
loginLanguageFallback - Int
|
Fallback language displayed on the login page when the user's preferred language is unavailable |
logo - String
|
An image url containing the logo for the platform |
logoIsSquare - Boolean
|
Should be true if the logo image has a 1:1 aspect ratio. Helps with visual alignment. |
name - String
|
Display name of the white-label brand shown to end users |
ownURL - String
|
Custom URL where the branded platform is hosted |
sectionStyle - BrandSectionStyle
|
Pane section look of the web app; null keeps the default cards |
supportEmail - String
|
A support email address to be displayed across clients |
surfaceStyle - BrandSurfaceStyle
|
Surface depth of the web app; null keeps the default elevated shadows |
symbol - String
|
The image displayed when only the symbol is required. E.g. the main menu is collapsed |
systemName - String
|
Name of the platform for this brand |
Example
{
"activationMailVideo": "abc123",
"appUrlAndroid": "xyz789",
"appUrlIos": "xyz789",
"color": "xyz789",
"colorDark": "xyz789",
"colorLight": "abc123",
"cornerStyle": "ROUND",
"faviconUrl": "abc123",
"fontFamily": "IBM_PLEX_SANS",
"groupId": HashedId,
"isSenderVerified": true,
"key": "abc123",
"loginBackground": "abc123",
"loginLanguageFallback": 987,
"logo": "xyz789",
"logoIsSquare": false,
"name": "xyz789",
"ownURL": "xyz789",
"sectionStyle": "CARDS",
"supportEmail": "xyz789",
"surfaceStyle": "ELEVATED",
"symbol": "xyz789",
"systemName": "xyz789"
}
BrandUploadImageInput
BrandUpsertInput
Description
Input data for brand upsert mutation
Fields
| Input Field | Description |
|---|---|
activationMailVideo - String
|
A url leading to the activation email video of the platform |
appUrlAndroid - String
|
URL leading to the download/store page of the Android app of the platform |
appUrlIos - String
|
A url leading to the download/store page of the iOS app of the platform |
color - String
|
Primary color associated with brand |
colorDark - String
|
Dark theme color hex value |
colorLight - String
|
Light theme color hex value |
cornerStyle - BrandCornerStyle
|
Corner shape of the web app; null keeps the default soft corners |
faviconUrl - String
|
A url that provides the favicon image used |
fontFamily - BrandFontFamily
|
Typeface of the web app; null keeps the default Noto Sans |
groupId - HashedId!
|
group id of the brand being updated |
id - HashedId
|
Unique identifier |
isSenderVerified - Boolean
|
Whether the support email of a sub-group brand is confirmed as a deliverable mail sender |
key - String!
|
Unique lookup key |
loginBackground - String
|
A url that provides the background image shown on the login page |
loginLanguageFallback - HashedId
|
Fallback language displayed on the login page when the user's preferred language is unavailable |
logo - String
|
An image url containing the logo for the platform |
logoIsSquare - Boolean
|
Should be true if the logo image has a 1:1 aspect ratio. Helps with visual alignment. |
name - String
|
Display name of the white-label brand shown to end users |
ownURL - String
|
A custom URL where the application is intended to be available |
sectionStyle - BrandSectionStyle
|
Pane section look of the web app; null keeps the default cards |
supportEmail - String
|
A support email address to be displayed across clients |
surfaceStyle - BrandSurfaceStyle
|
Surface depth of the web app; null keeps the default elevated shadows |
symbol - String
|
The image displayed when only the symbol is required. E.g. the main menu is collapsed |
systemName - String
|
Name of the platform for this brand |
Example
{
"activationMailVideo": "abc123",
"appUrlAndroid": "abc123",
"appUrlIos": "abc123",
"color": "abc123",
"colorDark": "xyz789",
"colorLight": "xyz789",
"cornerStyle": "ROUND",
"faviconUrl": "abc123",
"fontFamily": "IBM_PLEX_SANS",
"groupId": HashedId,
"id": HashedId,
"isSenderVerified": true,
"key": "xyz789",
"loginBackground": "xyz789",
"loginLanguageFallback": HashedId,
"logo": "abc123",
"logoIsSquare": true,
"name": "xyz789",
"ownURL": "abc123",
"sectionStyle": "CARDS",
"supportEmail": "xyz789",
"surfaceStyle": "ELEVATED",
"symbol": "xyz789",
"systemName": "xyz789"
}
ChangeActionEnum
Description
Represents add or remove actions used when modifying ticket handler assignments and other entity relationships
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
Example
"ADD"
ChangedCostInput
Description
Changed cost Fields to update on an existing cost legacy
Fields
| Input Field | Description |
|---|---|
assetId - HashedId
|
Asset identifier |
currency - Currency
|
Currency code |
id - HashedId!
|
Unique identifier |
type - CostTypeEnum
|
Type category |
value - Float
|
Stored value |
Example
{
"assetId": HashedId,
"currency": "AED",
"id": HashedId,
"type": "BATTERY",
"value": 123.45
}
ChangedCostLineInput
Description
Changed cost line Fields to update on an existing cost line
Example
{
"assetId": HashedId,
"currency": "AED",
"id": HashedId,
"name": "abc123",
"quantity": 123,
"type": "xyz789",
"value": 987.65
}
ChatbotMessage
Description
A single message within a robot chatbot session
Fields
| Field Name | Description |
|---|---|
attachment - ChatbotMessageAttachment
|
The photo the operator attached to this message, if any |
content - String!
|
Rendered message content shown to the operator |
created - Timestamp!
|
Timestamp when the entity was created |
id - HashedId!
|
Unique identifier of the entity |
quickReplies - [ChatbotQuickReply!]!
|
Quick replies offered under this assistant message |
resources - [ChatbotMessageResource!]!
|
Curated external links surfaced to the operator for this turn Chatbot turns no longer surface resource links; always empty. |
role - ChatbotMessageRoleEnum!
|
Author role of the message |
sessionStatus - ChatbotSessionStatusEnum!
|
Status of the owning session after this turn was rendered |
sources - [String!]!
|
Curated data sources backing this turn |
updated - Timestamp
|
Timestamp when the entity was last updated |
Example
{
"attachment": ChatbotMessageAttachment,
"content": "abc123",
"created": 1592577642,
"id": HashedId,
"quickReplies": [ChatbotQuickReply],
"resources": [ChatbotMessageResource],
"role": "ASSISTANT",
"sessionStatus": "ACTIVE",
"sources": ["abc123"],
"updated": 1592577642
}
ChatbotMessageAttachment
ChatbotMessageResource
ChatbotMessageRoleEnum
Description
Author role of a chatbot message
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
Example
"ASSISTANT"
ChatbotMessageSendInput
Description
Data required to send an operator message to a robot chatbot session
Fields
| Input Field | Description |
|---|---|
content - String!
|
Operator message text to send to the chatbot; may be empty when a photo is attached |
locale - LanguageLocaleEnum
|
Current UI locale of the operator; it becomes the session locale for this turn when the reply language cannot be detected |
sessionId - HashedId!
|
Robot chatbot session the operation targets |
uploadId - String
|
Presigned upload id of the single photo attached to this message; a photo-only message needs no text |
Example
{
"content": "xyz789",
"locale": "ar_ar",
"sessionId": HashedId,
"uploadId": "xyz789"
}
ChatbotQrLandingMessageSendInput
Description
Data required to send an anonymous message to a chatbot session
Fields
| Input Field | Description |
|---|---|
content - String!
|
Rendered message content shown to the operator |
locale - LanguageLocaleEnum
|
Current UI locale of the operator; it becomes the session locale for this turn when the reply language cannot be detected |
sessionToken - String!
|
Public token issued when the anonymous chatbot session was opened |
uploadId - String
|
Presigned upload id of the single photo attached to this message; a photo-only message needs no text |
Example
{
"content": "abc123",
"locale": "ar_ar",
"sessionToken": "abc123",
"uploadId": "abc123"
}
ChatbotQrLandingOpenSession
Description
Anonymous chatbot session together with its public access token
Fields
| Field Name | Description |
|---|---|
session - ChatbotSession!
|
The opened chatbot session |
sessionToken - String!
|
Public token authorizing follow-up anonymous chatbot operations |
Example
{
"session": ChatbotSession,
"sessionToken": "xyz789"
}
ChatbotQrLandingSessionOpenInput
Description
Data required to open an anonymous chatbot session from the QR landing
Fields
| Input Field | Description |
|---|---|
locale - LanguageLocaleEnum
|
Locale of the operator device opening the chatbot session |
serviceId - HashedId
|
Assistant-first QR landing service the operator tapped to open this session; the escalation ticket is filed under it |
sessionToken - String
|
Public token of an earlier anonymous session for this asset; an active one is resumed instead of opening a new session |
uuid - String!
|
QR uuid of the robot asset |
Example
{
"locale": "ar_ar",
"serviceId": HashedId,
"sessionToken": "xyz789",
"uuid": "abc123"
}
ChatbotQrLandingTicket
Description
Reference to the ticket created from an anonymous chatbot session
Fields
| Field Name | Description |
|---|---|
id - HashedId!
|
Unique identifier of the entity |
status - TicketStateEnum!
|
Current workflow status of the ticket |
ticketId - Int!
|
Internal numeric ticket identifier |
Example
{
"id": HashedId,
"status": "approvalNeeded",
"ticketId": 123
}
ChatbotQrLandingTicketCreateInput
Description
Data required to create a support ticket from an anonymous chatbot session
Example
{
"reporterName": "abc123",
"sessionToken": "abc123"
}
ChatbotQuickReply
ChatbotSession
Description
A robot chatbot conversation for a single asset and operator
Fields
| Field Name | Description |
|---|---|
assetId - HashedId!
|
Asset this chatbot session is scoped to |
created - Timestamp!
|
Timestamp when the entity was created |
id - HashedId!
|
Unique identifier of the entity |
locale - LanguageLocaleEnum!
|
Locale the chatbot session is conducted in |
messages - [ChatbotMessage!]!
|
Messages exchanged within the chatbot session, in order |
serviceId - HashedId
|
Assistant-first QR landing service the operator tapped to open this session; the escalation ticket is filed under it |
status - ChatbotSessionStatusEnum!
|
Lifecycle status of the chatbot session |
statusSnapshot - ChatbotStatusSnapshot
|
Curated snapshot of the robot state backing this session |
updated - Timestamp
|
Timestamp when the entity was last updated |
Example
{
"assetId": HashedId,
"created": 1592577642,
"id": HashedId,
"locale": "ar_ar",
"messages": [ChatbotMessage],
"serviceId": HashedId,
"status": "ACTIVE",
"statusSnapshot": ChatbotStatusSnapshot,
"updated": 1592577642
}
ChatbotSessionOpenInput
Description
Data required to open or resume a robot chatbot session
Fields
| Input Field | Description |
|---|---|
assetId - HashedId!
|
Asset this chatbot session is scoped to |
locale - LanguageLocaleEnum
|
Locale of the operator device opening the chatbot session |
serviceId - HashedId
|
Assistant-first QR landing service the operator tapped to open this session; the escalation ticket is filed under it |
Example
{
"assetId": HashedId,
"locale": "ar_ar",
"serviceId": HashedId
}
ChatbotSessionStatusEnum
Description
Lifecycle status of a chatbot session
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
Example
"ACTIVE"
ChatbotStatusSnapshot
Description
Curated, translated snapshot of the robot state backing a chatbot session
Fields
| Field Name | Description |
|---|---|
batteryPercent - Float
|
Latest battery level percentage |
errorCode - String
|
Provider error code of the open robot error |
errorLabel - String
|
Curated label of the open robot error |
lastSyncedAt - Timestamp
|
Timestamp the robot status was last synced |
problemLabel - String
|
Short, customer-friendly translated problem derived from the open error |
status - RobotStatusEnum
|
Latest reported robot status |
statusBadgeLabel - String
|
Short, customer-friendly translated status word for the status chip |
taskName - String
|
Name of the task the robot is currently running |
waterPercent - Float
|
Latest clean-water level percentage |
Example
{
"batteryPercent": 123.45,
"errorCode": "abc123",
"errorLabel": "xyz789",
"lastSyncedAt": 1592577642,
"problemLabel": "xyz789",
"status": "CHARGING",
"statusBadgeLabel": "xyz789",
"taskName": "xyz789",
"waterPercent": 987.65
}
ChatbotTicketCreateInput
Description
Data required to create a support ticket from a robot chatbot session
Fields
| Input Field | Description |
|---|---|
sessionId - HashedId!
|
Robot chatbot session the operation targets |
Example
{"sessionId": HashedId}
ColumnConfig
Description
Column config record
Fields
| Field Name | Description |
|---|---|
columnName - String!
|
Column name |
dataType - FilteringDataTypeEnum!
|
Data type |
dependsOnFlags - [String]
|
Depends on flags |
disableFilter - Boolean
|
Disable filter |
disableSort - Boolean
|
Disable sort |
hashId - Boolean
|
Hash identifier |
isNullable - Boolean
|
Whether nullable Not populated |
label - String!
|
Display label |
Example
{
"columnName": "xyz789",
"dataType": "BOOLEAN",
"dependsOnFlags": ["abc123"],
"disableFilter": true,
"disableSort": false,
"hashId": false,
"isNullable": true,
"label": "xyz789"
}
Coordinates
CoordinatesInput
Cost
Description
A financial expense record associated with an asset, ticket, or work order
Fields
| Field Name | Description |
|---|---|
asset - Asset!
|
Asset this cost entry is charged to |
assetId - HashedId!
|
Asset identifier |
canEdit - Boolean!
|
Whether the current user can edit or delete this cost based on the cost's group |
costCenter - String
|
Accounting cost center for financial allocation |
costLines - [CostLine!]!
|
Line items that make up this cost entry |
created - Timestamp!
|
Timestamp when the entity was created |
createdByUser - User
|
User who created this cost |
createdByUserId - HashedId
|
Created by user identifier |
deleted - Timestamp
|
Soft deletion timestamp, null if active |
description - String
|
Human-readable description |
documents - [Document!]!
|
Documents attached to this cost |
history - [CostHistory!]!
|
Audit log of all changes made to this cost entry |
id - HashedId!
|
Unique identifier of the entity |
invoiceDate - DateTime!
|
Date when the invoice was issued, as midnight UTC Use invoiceDay instead. |
invoiceDay - Date!
|
Date when the invoice was issued |
invoiceNumber - String
|
Invoice or receipt reference number |
label - CostLabel
|
Display label |
labelId - HashedId
|
Label identifier |
operatingCosts - Float
|
Total operating costs calculated from all cost lines |
provider - String
|
External provider or vendor name |
site - Site
|
Associated site |
siteId - HashedId
|
Site identifier |
ticketId - HashedId
|
Ticket identifier |
title - String!
|
Title text |
updated - Timestamp
|
Timestamp when the entity was last updated |
workOrderId - HashedId
|
Work order identifier |
Example
{
"asset": Asset,
"assetId": HashedId,
"canEdit": true,
"costCenter": "xyz789",
"costLines": [CostLine],
"created": 1592577642,
"createdByUser": User,
"createdByUserId": HashedId,
"deleted": 1592577642,
"description": "xyz789",
"documents": [Document],
"history": [CostHistory],
"id": HashedId,
"invoiceDate": "2007-12-03T10:15:30Z",
"invoiceDay": "2007-12-03",
"invoiceNumber": "abc123",
"label": CostLabel,
"labelId": HashedId,
"operatingCosts": 987.65,
"provider": "abc123",
"site": Site,
"siteId": HashedId,
"ticketId": HashedId,
"title": "abc123",
"updated": 1592577642,
"workOrderId": HashedId
}
CostColumnsEnum
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"assetId"
CostCreateInput
Description
Data required to create a new cost
Fields
| Input Field | Description |
|---|---|
assetId - HashedId!
|
Asset identifier |
attachments - [Upload!]
|
Attached files |
costCenter - String
|
Accounting cost center for financial allocation |
costLines - [NewCostLineInput!]
|
Individual line items that make up this cost entry |
description - String
|
Human-readable description |
invoiceDay - Date
|
Calendar date when the invoice was issued (yyyy-MM-dd) |
invoiceNumber - String
|
Invoice or receipt reference number |
labelId - HashedId
|
Label identifier |
provider - String
|
External provider or vendor name |
siteId - HashedId
|
Site identifier |
ticketId - HashedId
|
Ticket identifier |
title - String!
|
Title text |
workOrderId - HashedId
|
Work order identifier |
Example
{
"assetId": HashedId,
"attachments": [Upload],
"costCenter": "abc123",
"costLines": [NewCostLineInput],
"description": "xyz789",
"invoiceDay": "2007-12-03",
"invoiceNumber": "xyz789",
"labelId": HashedId,
"provider": "abc123",
"siteId": HashedId,
"ticketId": HashedId,
"title": "abc123",
"workOrderId": HashedId
}
CostExportRequestInput
Description
Data required to request an operational cost list export
Fields
| Input Field | Description |
|---|---|
columnKeys - [CostColumnsEnum!]
|
Subset of exportable columns to include, in the requested order. Defaults to every exportable column when omitted |
costTypeColumnKeys - [String]
|
Cost type column keys to include, in the requested order. Defaults to every accessible cost type when columnKeys is also omitted; no cost type columns when columnKeys is provided without this field |
filters - [FilterParamsInput]
|
Filter criteria |
search - String
|
Text search query for filtering results |
Example
{
"columnKeys": ["assetId"],
"costTypeColumnKeys": ["xyz789"],
"filters": [FilterParamsInput],
"search": "xyz789"
}
CostHistory
Description
An audit log entry recording a change to a cost entry or line item
Fields
| Field Name | Description |
|---|---|
cost - Cost
|
Parent cost record this history entry belongs to |
costId - HashedId!
|
Cost record this history entry refers to |
costLine - CostLine
|
Resolved cost line item if the change targeted a specific line |
costLineId - HashedId
|
Specific cost line item affected, null if the change applies to the cost header |
created - Timestamp!
|
Timestamp when the entity was created |
fieldName - CostHistoryField!
|
Specific cost field that was modified |
id - HashedId!
|
Unique identifier of the entity |
newValue - String!
|
Updated value of the field after the change |
oldValue - String
|
Previous value of the field before the change |
triggeredByUser - User
|
User who triggered this cost history |
triggeredByUserId - HashedId
|
User who performed the change |
type - CostHistoryType!
|
Kind of audit action such as create, update, or delete |
updated - Timestamp
|
Timestamp when the entity was last updated |
Example
{
"cost": Cost,
"costId": HashedId,
"costLine": CostLine,
"costLineId": HashedId,
"created": 1592577642,
"fieldName": "ASSET",
"id": HashedId,
"newValue": "xyz789",
"oldValue": "xyz789",
"triggeredByUser": User,
"triggeredByUserId": HashedId,
"type": "CREATED",
"updated": 1592577642
}
CostHistoryField
Description
Specific field within a cost record that was modified, such as title, description, provider, invoice number, invoice date, cost center, site, label, associated asset, or cost line item details
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"ASSET"
CostHistoryType
Description
Type of change recorded in a cost history entry, indicating whether the cost record was initially created or subsequently updated
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
Example
"CREATED"
CostLabel
Description
A reusable label for categorizing cost entries
Fields
| Field Name | Description |
|---|---|
created - Timestamp!
|
Timestamp when the entity was created |
id - HashedId!
|
Unique identifier of the entity |
label - String!
|
Display label |
updated - Timestamp
|
Timestamp when the entity was last updated |
Example
{
"created": 1592577642,
"id": HashedId,
"label": "xyz789",
"updated": 1592577642
}
CostLine
Description
An individual line item within a cost entry representing a single expense
Fields
| Field Name | Description |
|---|---|
asset - Asset!
|
Asset this cost line item is charged to |
assetId - HashedId!
|
Asset identifier |
costId - HashedId!
|
Cost identifier |
costLines - [CostLine!]!
|
Individual line items within this cost |
costType - CostType!
|
Category type of this cost line |
costTypeId - HashedId!
|
Cost type identifier use "type" enum instead |
created - Timestamp!
|
Timestamp when the entity was created |
createdByUserId - HashedId
|
Created by user identifier |
currency - String!
|
Currency code |
id - HashedId!
|
Unique identifier of the entity |
name - String!
|
Display name |
originatingFromCommentId - HashedId
|
Originating from comment identifier |
originatingFromEventId - HashedId
|
Originating from event identifier |
quantity - Int!
|
Quantity value |
type - String!
|
Type category |
updated - Timestamp
|
Timestamp when the entity was last updated |
value - Float!
|
Stored value |
Example
{
"asset": Asset,
"assetId": HashedId,
"costId": HashedId,
"costLines": [CostLine],
"costType": CostType,
"costTypeId": HashedId,
"created": 1592577642,
"createdByUserId": HashedId,
"currency": "xyz789",
"id": HashedId,
"name": "xyz789",
"originatingFromCommentId": HashedId,
"originatingFromEventId": HashedId,
"quantity": 987,
"type": "xyz789",
"updated": 1592577642,
"value": 987.65
}
CostPaginatedDto
Description
Paginated list of cost entries
Fields
| Field Name | Description |
|---|---|
meta - PaginationMeta!
|
Pagination metadata including total count and page info |
rows - [Cost!]!
|
List of records for the current page |
total - Int!
|
Total amount |
Example
{
"meta": PaginationMeta,
"rows": [Cost],
"total": 987
}
CostType
Description
A classification category for cost lines such as labor, material, or repair
Fields
| Field Name | Description |
|---|---|
created - Timestamp!
|
Timestamp when the entity was created |
id - HashedId!
|
Unique identifier of the entity |
key - String!
|
Unique lookup key |
keyV2 - CostTypeEnum!
|
Standardized enum key |
translation - Translation
|
Translated name of the cost type only for the BC with older mobile app versions |
translationId - String
|
Localization key for the display name |
updated - Timestamp
|
Timestamp when the entity was last updated |
Example
{
"created": 1592577642,
"id": HashedId,
"key": "abc123",
"keyV2": "BATTERY",
"translation": Translation,
"translationId": "xyz789",
"updated": 1592577642
}
CostTypeEnum
Description
Categories of asset-related expenses such as maintenance, repair, fuel, spare parts, insurance, labor, logistics, and certifications
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"BATTERY"
CostUpdateInput
Description
Fields to update on an existing cost
Fields
| Input Field | Description |
|---|---|
assetId - HashedId
|
Asset identifier |
attachments - [Upload!]
|
Attached files |
changedCostLines - [ChangedCostLineInput!]
|
Changed cost lines |
costCenter - String
|
Accounting cost center for financial allocation |
costLineIdsToDelete - [HashedId!]
|
Cost line ids to delete |
description - String
|
Human-readable description |
documentsIdsToDelete - [HashedId!]
|
Documents ids to delete |
invoiceDay - Date
|
Calendar date when the invoice was issued (yyyy-MM-dd) |
invoiceNumber - String
|
Invoice or receipt reference number |
labelId - HashedId
|
Label identifier |
newCostLines - [NewCostLineInput!]
|
New cost lines |
provider - String
|
External provider or vendor name |
siteId - HashedId
|
Site identifier |
title - String
|
Title text |
Example
{
"assetId": HashedId,
"attachments": [Upload],
"changedCostLines": [ChangedCostLineInput],
"costCenter": "abc123",
"costLineIdsToDelete": [HashedId],
"description": "xyz789",
"documentsIdsToDelete": [HashedId],
"invoiceDay": "2007-12-03",
"invoiceNumber": "abc123",
"labelId": HashedId,
"newCostLines": [NewCostLineInput],
"provider": "xyz789",
"siteId": HashedId,
"title": "abc123"
}
CreateUserDto
Description
Result of creating a new user, containing the user and optional password reset link
Example
{
"passwordResetLink": "abc123",
"user": User
}
Currency
Description
ISO 4217 currency codes supported for financial transactions and cost tracking
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"AED"
CustomField
Description
A user-defined field extending the standard data model for an entity
Fields
| Field Name | Description |
|---|---|
addToAllAssetsInGroupAndBelow - Boolean!
|
Whether to assign this field to all assets in the group hierarchy |
assetCategories - [AssetCategory!]!
|
Asset categories |
assetTypes - [AssetType!]!
|
Asset types |
assets - [Asset!]!
|
Assets |
availableCustomerVisibilityRights - [CustomFieldVisibilityRightsEnum!]!
|
Available customer visibility rights |
created - Timestamp!
|
Timestamp when the entity was created |
createdByGroup - Group!
|
Created by group |
createdByGroupId - HashedId!
|
Created by group identifier |
createdByUser - User!
|
Created by user |
createdByUserId - HashedId!
|
Created by user identifier |
customerVisibilityRights - CustomFieldVisibilityRightsEnum
|
Customer visibility rights |
deleted - Timestamp
|
Soft deletion timestamp, null if active |
dropdownOptions - [CustomFieldDropdownOption!]!
|
Selectable options for a dropdown custom field |
group - Group!
|
Associated organization group |
groupId - HashedId!
|
Group identifier |
id - HashedId!
|
Unique identifier of the entity |
isRequired - Boolean!
|
Whether this field is required |
multiselect - Boolean!
|
Whether a dropdown field allows selecting multiple options |
name - Translation!
|
Display name |
nameId - HashedId!
|
Name identifier |
publicId - Int!
|
Numeric identifier of the custom field |
showInEmail - Boolean!
|
Whether to display this field in the ticket email asset block |
showInPdf - Boolean!
|
Whether to display this field in the ticket PDF asset block |
showOnQrLandingPage - Boolean!
|
Whether to display this field on the QR landing page |
showToNonLoggedInUsers - Boolean!
|
Whether this field is visible to unauthenticated users |
type - CustomFieldTypeEnum!
|
Type category |
updated - Timestamp
|
Timestamp when the entity was last updated |
values - [CustomFieldValue!]!
|
Current values set for this custom field across assets |
Example
{
"addToAllAssetsInGroupAndBelow": false,
"assetCategories": [AssetCategory],
"assetTypes": [AssetType],
"assets": [Asset],
"availableCustomerVisibilityRights": ["editor"],
"created": 1592577642,
"createdByGroup": Group,
"createdByGroupId": HashedId,
"createdByUser": User,
"createdByUserId": HashedId,
"customerVisibilityRights": "editor",
"deleted": 1592577642,
"dropdownOptions": [CustomFieldDropdownOption],
"group": Group,
"groupId": HashedId,
"id": HashedId,
"isRequired": false,
"multiselect": true,
"name": Translation,
"nameId": HashedId,
"publicId": 987,
"showInEmail": true,
"showInPdf": true,
"showOnQrLandingPage": true,
"showToNonLoggedInUsers": true,
"type": "currency",
"updated": 1592577642,
"values": [CustomFieldValue]
}
CustomFieldBulkUpdateChangesInput
Fields
| Input Field | Description |
|---|---|
groupId - HashedId
|
Group identifier |
isRequired - Boolean
|
Whether this field is required |
showInPdf - Boolean
|
Whether to display this field in the ticket PDF asset block |
showOnQrLandingPage - Boolean
|
Whether to display this field on the QR landing page |
showToNonLoggedInUsers - Boolean
|
Whether this field is visible to unauthenticated users |
Example
{
"groupId": HashedId,
"isRequired": true,
"showInPdf": true,
"showOnQrLandingPage": true,
"showToNonLoggedInUsers": false
}
CustomFieldBulkUpdateInput
Fields
| Input Field | Description |
|---|---|
changes - CustomFieldBulkUpdateChangesInput!
|
|
customFieldIds - [HashedId!]
|
Custom field IDs to include |
excludeCustomFieldIds - [HashedId!]
|
Custom field IDs to exclude |
filterInput - AssetFilterInput
|
Filter criteria to select custom fields |
Example
{
"changes": CustomFieldBulkUpdateChangesInput,
"customFieldIds": [HashedId],
"excludeCustomFieldIds": [HashedId],
"filterInput": AssetFilterInput
}
CustomFieldCreateInput
Description
Data required to create a new custom field
Fields
| Input Field | Description |
|---|---|
addToAllAssetsInGroupAndBelow - Boolean!
|
Whether to assign this field to all assets in the group hierarchy |
assetCategoryIds - [HashedId!]!
|
Asset category identifiers |
assetIds - [HashedId!]!
|
Asset identifiers |
assetTypeIds - [HashedId!]!
|
Asset type identifiers |
customerVisibilityRights - CustomFieldVisibilityRightsEnum
|
Customer visibility rights |
dropdownOptions - [CustomFieldDropdownOptionCreateInput!]!
|
Selectable options for a dropdown custom field. Default = [] |
groupId - HashedId!
|
Group identifier |
isRequired - Boolean!
|
Whether this field is required |
multiselect - Boolean!
|
Whether a dropdown field allows selecting multiple options. Default = false |
name - TranslationInput!
|
Display name |
showInEmail - Boolean
|
Whether to display this field in the ticket email asset block |
showInPdf - Boolean
|
Whether to display this field in the ticket PDF asset block |
showOnQrLandingPage - Boolean!
|
Whether to display this field on the QR landing page |
showToNonLoggedInUsers - Boolean!
|
Whether this field is visible to unauthenticated users |
type - CustomFieldTypeEnum!
|
Type category |
Example
{
"addToAllAssetsInGroupAndBelow": true,
"assetCategoryIds": [HashedId],
"assetIds": [HashedId],
"assetTypeIds": [HashedId],
"customerVisibilityRights": "editor",
"dropdownOptions": [
CustomFieldDropdownOptionCreateInput
],
"groupId": HashedId,
"isRequired": true,
"multiselect": false,
"name": TranslationInput,
"showInEmail": false,
"showInPdf": false,
"showOnQrLandingPage": true,
"showToNonLoggedInUsers": true,
"type": "currency"
}
CustomFieldDropdownOption
Description
A selectable option of a dropdown custom field
Fields
| Field Name | Description |
|---|---|
assetUsageCount - Int!
|
Number of assets that currently have this option selected |
created - Timestamp!
|
Timestamp when the entity was created |
customFieldId - HashedId!
|
Custom field identifier |
id - HashedId!
|
Unique identifier of the entity |
name - Translation!
|
Display name of the option |
nameId - HashedId!
|
Name identifier |
order - Int!
|
Display order of the option |
updated - Timestamp
|
Timestamp when the entity was last updated |
Example
{
"assetUsageCount": 123,
"created": 1592577642,
"customFieldId": HashedId,
"id": HashedId,
"name": Translation,
"nameId": HashedId,
"order": 987,
"updated": 1592577642
}
CustomFieldDropdownOptionCreateInput
Description
Data required to create or update a dropdown option
Fields
| Input Field | Description |
|---|---|
id - HashedId
|
Unique identifier of the entity |
name - TranslationInput!
|
Display name of the option |
Example
{
"id": HashedId,
"name": TranslationInput
}
CustomFieldFilterInput
Description
Filter criteria for narrowing down custom field results
Example
{
"assetCategoryId": HashedId,
"assetId": HashedId,
"assetTypeId": HashedId,
"withValuesOnly": true
}
CustomFieldMassEditFailure
Fields
| Field Name | Description |
|---|---|
customFieldId - HashedId!
|
|
reason - CustomFieldMassEditFailureReason!
|
Example
{
"customFieldId": HashedId,
"reason": "DROPDOWN_OPTION_LABEL_INVALID"
}
CustomFieldMassEditFailureReason
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
Example
"DROPDOWN_OPTION_LABEL_INVALID"
CustomFieldMassEditResult
Fields
| Field Name | Description |
|---|---|
failed - [CustomFieldMassEditFailure!]!
|
|
retainedIds - [HashedId!]!
|
Selected ids the user can still edit after the operation; empty after a delete or archive |
skipped - Int!
|
|
succeeded - Int!
|
Example
{
"failed": [CustomFieldMassEditFailure],
"retainedIds": [HashedId],
"skipped": 123,
"succeeded": 123
}
CustomFieldMassEditSelectionInput
Fields
| Input Field | Description |
|---|---|
customFieldIds - [HashedId!]
|
Custom field IDs to include |
excludeCustomFieldIds - [HashedId!]
|
Custom field IDs to exclude |
filterInput - AssetFilterInput
|
Filter criteria to select custom fields |
Example
{
"customFieldIds": [HashedId],
"excludeCustomFieldIds": [HashedId],
"filterInput": AssetFilterInput
}
CustomFieldPaginatedResult
Description
Custom field paginated result record
Fields
| Field Name | Description |
|---|---|
meta - PaginationMeta!
|
Pagination metadata including total count and page info |
rows - [CustomField!]!
|
List of records for the current page |
Example
{
"meta": PaginationMeta,
"rows": [CustomField]
}
CustomFieldTypeEnum
Description
Data types available for user-defined custom fields: text, number, date, currency, percentage, or dropdown
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"currency"
CustomFieldUpdateByIdInput
Description
Fields to update on an existing custom field by id
Fields
| Input Field | Description |
|---|---|
addToAllAssetsInGroupAndBelow - Boolean
|
Whether to assign this field to all assets in the group hierarchy |
assetCategoryIds - [HashedId!]
|
Asset category identifiers |
assetIds - [HashedId!]
|
Asset identifiers |
assetTypeIds - [HashedId!]
|
Asset type identifiers |
customerVisibilityRights - CustomFieldVisibilityRightsEnum
|
Customer visibility rights |
dropdownOptions - [CustomFieldDropdownOptionCreateInput!]
|
Selectable options for a dropdown custom field |
groupId - HashedId
|
Group identifier |
isRequired - Boolean
|
Whether this field is required |
multiselect - Boolean
|
Whether a dropdown field allows selecting multiple options |
name - TranslationInput
|
Display name |
showInEmail - Boolean
|
Whether to display this field in the ticket email asset block |
showInPdf - Boolean
|
Whether to display this field in the ticket PDF asset block |
showOnQrLandingPage - Boolean
|
Whether to display this field on the QR landing page |
showToNonLoggedInUsers - Boolean
|
Whether this field is visible to unauthenticated users |
Example
{
"addToAllAssetsInGroupAndBelow": true,
"assetCategoryIds": [HashedId],
"assetIds": [HashedId],
"assetTypeIds": [HashedId],
"customerVisibilityRights": "editor",
"dropdownOptions": [
CustomFieldDropdownOptionCreateInput
],
"groupId": HashedId,
"isRequired": true,
"multiselect": true,
"name": TranslationInput,
"showInEmail": true,
"showInPdf": false,
"showOnQrLandingPage": true,
"showToNonLoggedInUsers": true
}
CustomFieldValue
Description
The stored value of a custom field for a specific entity instance
Fields
| Field Name | Description |
|---|---|
asset - Asset
|
Asset the custom field value belongs to |
assetId - HashedId!
|
Asset identifier |
created - Timestamp!
|
Timestamp when the entity was created |
currencyValue - Float
|
Currency value |
customField - CustomField
|
Custom field the value belongs to |
customFieldId - HashedId!
|
Custom field identifier |
dateValue - Date
|
Date value |
dropdownOptions - [CustomFieldDropdownOption!]!
|
Selected dropdown options, ordered |
id - HashedId!
|
Unique identifier of the entity |
numberValue - Float
|
Number value |
personnelPublicValue - PersonnelPublicValue
|
Reduced personnel projection assigned to this custom field value, safe for anonymous viewers |
personnelValue - PersonnelValue
|
Personnel assigned to this custom field value |
personnelValueId - HashedId
|
Personnel value identifier |
textValue - Translation
|
Text value |
textValueId - HashedId
|
Text value identifier |
updated - Timestamp
|
Timestamp when the entity was last updated |
Example
{
"asset": Asset,
"assetId": HashedId,
"created": 1592577642,
"currencyValue": 123.45,
"customField": CustomField,
"customFieldId": HashedId,
"dateValue": "2007-12-03",
"dropdownOptions": [CustomFieldDropdownOption],
"id": HashedId,
"numberValue": 123.45,
"personnelPublicValue": PersonnelPublicValue,
"personnelValue": PersonnelValue,
"personnelValueId": HashedId,
"textValue": Translation,
"textValueId": HashedId,
"updated": 1592577642
}
CustomFieldVisibilityRightsEnum
Description
Controls who can see a custom field: editors only, all viewers, or hidden from the interface entirely
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
Example
"editor"
CustomFieldsValuesSetInput
Description
Input data for custom fields values set
Fields
| Input Field | Description |
|---|---|
assetId - HashedId!
|
Asset identifier |
currencyValue - Float
|
Currency value |
customFieldId - HashedId!
|
Custom field identifier |
dateValue - Date
|
Date value |
dropdownOptionIds - [HashedId!]
|
Selected dropdown option identifiers |
id - HashedId
|
Unique identifier of the entity |
numberValue - Float
|
Number value |
personnelValueId - HashedId
|
Personnel value identifier |
textValue - TranslationInput
|
Text value |
Example
{
"assetId": HashedId,
"currencyValue": 987.65,
"customFieldId": HashedId,
"dateValue": "2007-12-03",
"dropdownOptionIds": [HashedId],
"id": HashedId,
"numberValue": 123.45,
"personnelValueId": HashedId,
"textValue": TranslationInput
}
Dashboard
Description
Dashboard record
Fields
| Field Name | Description |
|---|---|
created - Timestamp!
|
Timestamp when the entity was created |
createdByGroup - Group!
|
Organization group that owns this dashboard |
createdByGroupId - HashedId!
|
Organization group that owns this dashboard |
createdByUser - User!
|
The user who created the dashboard |
createdByUserId - HashedId!
|
User who originally created this dashboard |
default - Boolean!
|
Whether this dashboard loads by default when opening the dashboard page |
filters - [DashboardFilter!]!
|
Filters for this dashboard |
grafanaDashboardUID - String!
|
Grafana-assigned unique identifier for the underlying dashboard Legacy Grafana dashboard field. |
grafanaDashboardURL - String!
|
Fully qualified URL to the underlying Grafana dashboard Legacy Grafana dashboard field. |
id - HashedId!
|
Unique identifier of the entity |
order - Int
|
Sort position for ordering dashboards in the navigation list |
revision - Int!
|
Optimistic-concurrency revision token bumped on every dashboard update |
source - DashboardSource!
|
Identifies whether the dashboard uses Grafana or the native builder Use grafanaDashboardUID, which only legacy dashboards have. |
title - Translation!
|
The title of the dashboard |
titleId - HashedId!
|
Reference to the translatable title for this dashboard |
updated - Timestamp
|
Timestamp when the entity was last updated |
Example
{
"created": 1592577642,
"createdByGroup": Group,
"createdByGroupId": HashedId,
"createdByUser": User,
"createdByUserId": HashedId,
"default": false,
"filters": [DashboardFilter],
"grafanaDashboardUID": "xyz789",
"grafanaDashboardURL": "abc123",
"id": HashedId,
"order": 123,
"revision": 123,
"source": "LEGACY_GRAFANA",
"title": Translation,
"titleId": HashedId,
"updated": 1592577642
}
DashboardAggregation
Description
Aggregation operator applied on a numeric field
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"AVG"
DashboardBoard
Description
Dashboard record built with the dashboard builder
Fields
| Field Name | Description |
|---|---|
boardFilters - [DashboardBoardFilter!]!
|
Filters this board offers, in bar order |
canEdit - Boolean!
|
Whether the caller may edit, delete and schedule reports for this dashboard |
created - DateTime!
|
When the dashboard was created |
createdByGroup - Group
|
Group that owns the dashboard, absent once that group is removed |
createdByGroupId - HashedId!
|
Organization group that owns this dashboard |
createdByUser - User
|
The user who created the dashboard, absent once that user is removed |
createdByUserId - HashedId!
|
User who created this dashboard |
displayId - Int!
|
Numeric dashboard number displayed to users |
grafanaDashboardUID - String!
|
Grafana dashboard ID of a legacy dashboard, empty for a builder dashboard |
hiddenColumnCount - Int!
|
Values and groupings removed from visible table widgets because a feature is off or the caller has no access to costs or vehicles |
hiddenFeatures - [DashboardHiddenFeature!]!
|
Features whose switch hides widgets or columns of this dashboard |
hiddenWidgetCount - Int!
|
Widgets on this dashboard the caller cannot see because a feature is off or the caller has no access to costs or vehicles |
icon - DashboardBoardIcon
|
Icon shown next to the dashboard in the list and the navigation |
id - HashedId!
|
Unique identifier of the dashboard |
isHiddenByCostAccess - Boolean!
|
Whether the caller's own access to costs hides widgets or columns of this dashboard that the group's feature switches would show |
missingAccess - [DashboardMissingAccess!]!
|
Access to costs or vehicles the caller lacks that hides widgets or columns of this dashboard, whether or not a feature switch also hides them |
revision - Int!
|
Optimistic-concurrency revision token bumped on every dashboard update |
title - Translation!
|
The title of the dashboard |
titleId - HashedId!
|
Hashed identifier of the translation row that holds the dashboard title |
updated - DateTime
|
When the dashboard was last updated |
widgets - [DashboardWidget!]!
|
Widgets currently placed on this dashboard |
Example
{
"boardFilters": [DashboardBoardFilter],
"canEdit": true,
"created": "2007-12-03T10:15:30Z",
"createdByGroup": Group,
"createdByGroupId": HashedId,
"createdByUser": User,
"createdByUserId": HashedId,
"displayId": 123,
"grafanaDashboardUID": "xyz789",
"hiddenColumnCount": 123,
"hiddenFeatures": ["ASSET_LOCATIONS"],
"hiddenWidgetCount": 987,
"icon": "ALARM",
"id": HashedId,
"isHiddenByCostAccess": true,
"missingAccess": ["COSTS"],
"revision": 987,
"title": Translation,
"titleId": HashedId,
"updated": "2007-12-03T10:15:30Z",
"widgets": [DashboardWidget]
}
DashboardBoardCreateInput
Description
Data required to create a new dashboard and its contents
Fields
| Input Field | Description |
|---|---|
boardFilters - [DashboardBoardFilterInput!]
|
Filters the board offers, in bar order |
clientTimezone - String
|
IANA timezone of the caller browser when the user profile has no timezone |
icon - DashboardBoardIcon
|
Icon of the dashboard, cleared when null and kept when absent |
title - TranslationInput!
|
Translatable display title of the dashboard |
widgets - [DashboardWidgetUpsertInput!]
|
Widgets to place on the board, in grid order |
Example
{
"boardFilters": [DashboardBoardFilterInput],
"clientTimezone": "abc123",
"icon": "ALARM",
"title": TranslationInput,
"widgets": [DashboardWidgetUpsertInput]
}
DashboardBoardDataExportRequestInput
Description
Whole-dashboard CSV or XLSX export request
Fields
| Input Field | Description |
|---|---|
boardId - HashedId!
|
|
confirmedIncomplete - Boolean
|
Confirms exporting without the widgets listed in confirmedWarnings |
confirmedWarnings - [DashboardPdfExportWarningInput!]
|
Widgets the user agreed to leave out, as returned by the export preview |
crossFilterSource - DashboardCrossFilterSourceInput
|
Widget the board is cross-filtered from and the filters it keeps, since a widget is never filtered by its own selection |
filters - [DashboardBoardFilterValueInput!]!
|
|
format - DashboardExportFormat!
|
|
timezone - String
|
IANA timezone of the viewer, used only when the user has no timezone configured |
Example
{
"boardId": HashedId,
"confirmedIncomplete": true,
"confirmedWarnings": [DashboardPdfExportWarningInput],
"crossFilterSource": DashboardCrossFilterSourceInput,
"filters": [DashboardBoardFilterValueInput],
"format": "CSV",
"timezone": "xyz789"
}
DashboardBoardDuplicateInput
Description
Data required to duplicate an existing dashboard
Fields
| Input Field | Description |
|---|---|
id - HashedId!
|
Identifier of the dashboard to duplicate |
Example
{"id": HashedId}
DashboardBoardFilter
Description
A filter the board offers, applied to every widget that binds its concept
Fields
| Field Name | Description |
|---|---|
concept - DashboardFilterType!
|
|
customLabel - Translation
|
The label a user gave the board filter chip; null when the chip names its concept |
defaultExcludedValues - [String!]
|
For a GROUP tree selection: subgroups left out when the dashboard first loads, each with its own subgroups |
defaultFrom - Date
|
First calendar day (yyyy-MM-dd) of the custom range a TIME_RANGE filter starts on |
defaultIncludeSubgroups - Boolean!
|
Whether a GROUP filter includes subgroups of the selected groups by default |
defaultRange - DashboardBoardRangePreset
|
Relative window a TIME_RANGE filter starts on |
defaultTo - Date
|
Last calendar day (yyyy-MM-dd) of the custom range a TIME_RANGE filter starts on; equals defaultFrom for a single day |
defaultValues - [String!]
|
Values selected when the dashboard first loads |
label - Translation!
|
The label stored for the board filter chip Use customLabel, which is null when the chip names its concept. |
order - Int!
|
Position in the filter bar |
savedViewCount - Int!
|
How many saved views of the board, of every user, store a selection for this filter |
Example
{
"concept": "ASSET",
"customLabel": Translation,
"defaultExcludedValues": ["xyz789"],
"defaultFrom": "2007-12-03",
"defaultIncludeSubgroups": false,
"defaultRange": "LAST_3_MONTHS",
"defaultTo": "2007-12-03",
"defaultValues": ["xyz789"],
"label": Translation,
"order": 123,
"savedViewCount": 123
}
DashboardBoardFilterInput
Description
One filter the board offers
Fields
| Input Field | Description |
|---|---|
concept - DashboardFilterType!
|
|
defaultExcludedValues - [String!]
|
For a GROUP tree selection: subgroups left out when the dashboard first loads, each with its own subgroups |
defaultFrom - Date
|
First calendar day (yyyy-MM-dd) of the fixed range a TIME_RANGE filter opens on; set together with defaultTo, instead of defaultRange |
defaultIncludeSubgroups - Boolean
|
Whether a GROUP filter includes subgroups of the selected groups by default |
defaultRange - DashboardBoardRangePreset
|
Relative window a TIME_RANGE filter starts on |
defaultTo - Date
|
Last calendar day (yyyy-MM-dd) of the fixed range a TIME_RANGE filter opens on, not before defaultFrom; set together with defaultFrom, instead of defaultRange |
defaultValues - [String!]
|
Values selected when the dashboard first loads |
label - TranslationInput
|
Label shown on the chip when renamed; without it the chip names its concept |
Example
{
"concept": "ASSET",
"defaultExcludedValues": ["xyz789"],
"defaultFrom": "2007-12-03",
"defaultIncludeSubgroups": false,
"defaultRange": "LAST_3_MONTHS",
"defaultTo": "2007-12-03",
"defaultValues": ["abc123"],
"label": TranslationInput
}
DashboardBoardFilterValue
Fields
| Field Name | Description |
|---|---|
concept - DashboardFilterType!
|
|
excludedValues - [String!]
|
For a GROUP tree selection: subgroups left out, each with its own subgroups |
from - DateTime
|
|
fromDate - Date
|
First calendar day (yyyy-MM-dd) of a picked TIME_RANGE, starting at midnight in the viewer or report time zone |
includeSubgroups - Boolean
|
For GROUP, also match every subgroup of the selected groups |
preset - DashboardBoardRangePreset
|
|
to - DateTime
|
|
toDate - Date
|
Last calendar day (yyyy-MM-dd) of a picked TIME_RANGE, not before fromDate; equals fromDate for a single day, and the range runs until now when omitted |
values - [String!]
|
Example
{
"concept": "ASSET",
"excludedValues": ["xyz789"],
"from": "2007-12-03T10:15:30Z",
"fromDate": "2007-12-03",
"includeSubgroups": false,
"preset": "LAST_3_MONTHS",
"to": "2007-12-03T10:15:30Z",
"toDate": "2007-12-03",
"values": ["xyz789"]
}
DashboardBoardFilterValueInput
Description
A board-level filter selection applied to every widget that can bind it
Fields
| Input Field | Description |
|---|---|
concept - DashboardFilterType!
|
|
excludedValues - [String!]
|
For a GROUP tree selection: subgroups left out, each with its own subgroups |
from - DateTime
|
Window start for TIME_RANGE |
fromDate - Date
|
First calendar day (yyyy-MM-dd) of a picked TIME_RANGE, starting at midnight in the viewer or report time zone |
includeSubgroups - Boolean
|
For GROUP, also match every subgroup of the selected groups |
labels - [String!]
|
Selected names an entity concept matches as labels, from a cross filter |
preset - DashboardBoardRangePreset
|
Relative window for TIME_RANGE, resolved in the board timezone |
to - DateTime
|
Window end for TIME_RANGE |
toDate - Date
|
Last calendar day (yyyy-MM-dd) of a picked TIME_RANGE, not before fromDate; equals fromDate for a single day, and the range runs until now when omitted |
values - [String!]
|
Selected ids for an entity concept |
Example
{
"concept": "ASSET",
"excludedValues": ["xyz789"],
"from": "2007-12-03T10:15:30Z",
"fromDate": "2007-12-03",
"includeSubgroups": true,
"labels": ["abc123"],
"preset": "LAST_3_MONTHS",
"to": "2007-12-03T10:15:30Z",
"toDate": "2007-12-03",
"values": ["abc123"]
}
DashboardBoardGenerateInput
Description
A question to turn into a dashboards board
Fields
| Input Field | Description |
|---|---|
prompt - String!
|
What the user asked the board to answer |
Example
{"prompt": "xyz789"}
DashboardBoardIcon
Description
Icon a dashboard shows in the list and the navigation
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"ALARM"
DashboardBoardPaginatedResult
Description
Paginated list of dashboards visible to the caller
Fields
| Field Name | Description |
|---|---|
meta - PaginationMeta!
|
Pagination metadata including total count and page info |
rows - [DashboardBoard!]!
|
Dashboards for the current page |
total - Int!
|
Total number of dashboards matching the query before pagination |
Example
{
"meta": PaginationMeta,
"rows": [DashboardBoard],
"total": 123
}
DashboardBoardRangePreset
Description
Relative window a board time-range filter resolves to when the board is opened
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"LAST_3_MONTHS"
DashboardBoardUpdateInput
Description
Data required to save an existing dashboard and its contents
Fields
| Input Field | Description |
|---|---|
boardFilters - [DashboardBoardFilterInput!]
|
Filters the board should offer after the save, left untouched when absent |
clientTimezone - String
|
IANA timezone of the caller browser when the user profile has no timezone |
icon - DashboardBoardIcon
|
Icon of the dashboard, cleared when null and kept when absent |
id - HashedId!
|
Identifier of the dashboard to update |
revision - Int!
|
Revision the client last read, rejected when the dashboard moved on |
title - TranslationInput!
|
Translatable display title of the dashboard |
widgets - [DashboardWidgetUpsertInput!]
|
Widgets the board should hold after the save, left untouched when absent |
Example
{
"boardFilters": [DashboardBoardFilterInput],
"clientTimezone": "abc123",
"icon": "ALARM",
"id": HashedId,
"revision": 123,
"title": TranslationInput,
"widgets": [DashboardWidgetUpsertInput]
}
DashboardBoardWidgetExportRequestInput
Description
Export request for a widget saved on a dashboard board
Fields
| Input Field | Description |
|---|---|
boardId - HashedId!
|
Dashboard board the widget is saved on |
filters - [DashboardBoardFilterValueInput!]!
|
|
format - DashboardExportFormat!
|
|
orderBy - DashboardOrderByInput
|
Reader sort replacing the ordering stored with the widget |
resolvedUnits - [DashboardMeasureDisplayUnitInput!]
|
|
timezone - String
|
IANA timezone of the viewer, used only when the user has no timezone configured |
title - String!
|
|
widgetId - HashedId!
|
Saved widget to export |
Example
{
"boardId": HashedId,
"filters": [DashboardBoardFilterValueInput],
"format": "CSV",
"orderBy": DashboardOrderByInput,
"resolvedUnits": [DashboardMeasureDisplayUnitInput],
"timezone": "abc123",
"title": "xyz789",
"widgetId": HashedId
}
DashboardBucketDimensionInput
Description
Groups rows into continuous time buckets of the requested grain
Fields
| Input Field | Description |
|---|---|
field - String!
|
|
grain - DashboardTimeGrain!
|
Example
{"field": "abc123", "grain": "DAY"}
DashboardCatalogEntry
Description
What a builder entity can be grouped by, filtered by and measured on
Fields
| Field Name | Description |
|---|---|
appliesBoardTimeRange - Boolean!
|
Whether a board time range always narrows this entity |
concepts - [DashboardFilterType!]!
|
Board-level filter concepts this entity can honour |
dateOnlyTimeAnchors - [String!]!
|
Time anchor fields that hold a calendar date without a time of day |
dimensions - [String!]!
|
Dimension paths available for categorical breakdowns |
dueTimeAnchors - [String!]!
|
Time anchor fields that hold planned dates, which can lie in the future |
entity - DashboardEntityKind!
|
Entity kind |
fields - [DashboardCatalogField!]!
|
Per-path roles, value kinds, allowed values, and filter capabilities |
filterConcepts - [DashboardCatalogFilterConcept!]!
|
Relation filter paths that take the values of a board-level filter concept |
filters - [String!]!
|
Relation filter paths available beyond the dimensions |
isOneRowPerRecord - Boolean!
|
Whether each record appears in exactly one row, so a per-record classification can break it down |
isSelectableInBuilder - Boolean!
|
Whether this entity can be selected in the widget builder |
measures - [DashboardCatalogMeasure!]!
|
Expression measures beyond a plain row count |
rangeBoundFields - [String!]!
|
Fields whose presence causes a board time range to narrow this entity |
rowsAreOccurrences - Boolean!
|
Whether each row is an occurrence in time, such as a ticket or an event, rather than a record that exists, such as an asset |
timeAnchors - [String!]!
|
Time anchor fields available for bucketing and time-range filters |
Example
{
"appliesBoardTimeRange": false,
"concepts": ["ASSET"],
"dateOnlyTimeAnchors": ["xyz789"],
"dimensions": ["xyz789"],
"dueTimeAnchors": ["xyz789"],
"entity": "ASSET",
"fields": [DashboardCatalogField],
"filterConcepts": [DashboardCatalogFilterConcept],
"filters": ["xyz789"],
"isOneRowPerRecord": true,
"isSelectableInBuilder": false,
"measures": [DashboardCatalogMeasure],
"rangeBoundFields": ["xyz789"],
"rowsAreOccurrences": false,
"timeAnchors": ["abc123"]
}
DashboardCatalogField
Description
Capabilities and value shape of a single field on a dashboard entity
Fields
| Field Name | Description |
|---|---|
allowedGrains - [DashboardTimeGrain!]!
|
Time bucket grains accepted when this path is a time anchor |
allowedValues - [String!]!
|
Enumerated values inSet filters accept on this path, empty when the values are not fixed |
canCompare - Boolean!
|
Whether measure.filtered.where[].comparison accepts this path |
canSetFilter - Boolean!
|
Whether spec.filters[].inSet accepts this path |
canSpecComparison - Boolean!
|
Whether spec.filters[].comparison accepts this path |
canWhere - Boolean!
|
Whether measure.filtered.where[].inSet accepts this path |
concept - DashboardFilterType
|
Board-level filter concept bound to this path, when any |
path - String!
|
Field path on this entity |
roles - [DashboardCatalogFieldRole!]!
|
Roles this path plays on the entity |
valueKind - DashboardCatalogValueKind!
|
Kind of value this path carries |
Example
{
"allowedGrains": ["DAY"],
"allowedValues": ["abc123"],
"canCompare": true,
"canSetFilter": true,
"canSpecComparison": false,
"canWhere": false,
"concept": "ASSET",
"path": "abc123",
"roles": ["DIMENSION"],
"valueKind": "DATE"
}
DashboardCatalogFieldRole
Description
Role a field path plays on a dashboard entity
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
Example
"DIMENSION"
DashboardCatalogFilterConcept
Description
A relation filter path paired with the filter concept whose values it takes
Fields
| Field Name | Description |
|---|---|
concept - DashboardFilterType!
|
Board-level filter concept whose values the path takes |
path - String!
|
Relation filter path |
Example
{"concept": "ASSET", "path": "abc123"}
DashboardCatalogMeasure
Description
A measure a builder entity exposes, with the aggregations it accepts
Fields
| Field Name | Description |
|---|---|
allowedAggregations - [DashboardAggregation!]!
|
Aggregations this measure accepts |
name - String!
|
Measure field name |
requiredDimensions - [String!]!
|
Dimensions this measure requires for non-count aggregations unless filtered to one value |
unit - DashboardMeasureUnit
|
Physical unit of the measured value, when known |
Example
{
"allowedAggregations": ["AVG"],
"name": "abc123",
"requiredDimensions": ["abc123"],
"unit": "CENTIMETRE"
}
DashboardCatalogValueKind
Description
Kind of value a dashboard catalog field carries
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"DATE"
DashboardCategoricalDimensionInput
DashboardCategoricalPayload
Description
Categorical widget payload built from one grouping dimension
Fields
| Field Name | Description |
|---|---|
dimension - String!
|
Dimension the slices group by |
measure - String!
|
Measure each slice value holds |
slices - [DashboardSlice!]!
|
|
totalCategories - Int
|
Number of categories before a bar chart kept only its leading ones, null when nothing was left out |
Example
{
"dimension": "abc123",
"measure": "abc123",
"slices": [DashboardSlice],
"totalCategories": 987
}
DashboardClassificationDimensionInput
Description
Labels each record by the first matching rule, or the fallback label
Fields
| Input Field | Description |
|---|---|
fallbackLabel - JSONObject!
|
Fallback label text keyed by locale |
name - String!
|
|
rules - [DashboardClassificationRuleInput!]!
|
Ordered rules, the first one a record passes wins |
Example
{
"fallbackLabel": {},
"name": "xyz789",
"rules": [DashboardClassificationRuleInput]
}
DashboardClassificationRuleInput
Description
Label a record takes when it passes every condition of the rule
Fields
| Input Field | Description |
|---|---|
conditions - [DashboardComparisonFilterInput!]!
|
Comparisons a record must all pass to match the rule |
label - JSONObject!
|
Label text keyed by locale |
Example
{
"conditions": [DashboardComparisonFilterInput],
"label": {}
}
DashboardColumnDateFormat
Description
Layout of a date or date time table column
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"DATE_TIME"
DashboardColumnFormatInput
Description
Number or date format a table applies to the values of one column
Fields
| Input Field | Description |
|---|---|
column - String!
|
Name of the spec measure or dimension the table column shows |
dateFormat - DashboardColumnDateFormat
|
Layout of a date or date time column, null keeps the platform default |
decimals - Int
|
Fraction digits of a number or percent, null keeps the automatic precision |
kind - DashboardColumnFormatKind!
|
Example
{
"column": "xyz789",
"dateFormat": "DATE_TIME",
"decimals": 123,
"kind": "DATE"
}
DashboardColumnFormatKind
Description
How a table column shows its values
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"DATE"
DashboardCompareInput
Description
Adds previous-period and percentage-change columns for the named measures
Fields
| Input Field | Description |
|---|---|
measures - [String!]!
|
Example
{"measures": ["xyz789"]}
DashboardComparisonFilterInput
Description
Restricts rows by comparing a declared measure expression against a threshold
Fields
| Input Field | Description |
|---|---|
operator - DashboardComparisonOperator!
|
|
path - String!
|
|
value - Float!
|
Example
{
"operator": "GT",
"path": "abc123",
"value": 987.65
}
DashboardComparisonOperator
Description
Comparison applied to a measure expression threshold
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
Example
"GT"
DashboardCreateInput
Description
Data required to create a new dashboard
Fields
| Input Field | Description |
|---|---|
default - Boolean!
|
Whether this dashboard loads by default when opening the dashboard page |
filters - [DashboardFilterCreateInput!]!
|
Filter controls to configure on the new dashboard |
grafanaDashboardUID - String!
|
Grafana-assigned unique identifier for the underlying dashboard |
order - Int
|
Sort position for ordering dashboards in the navigation list |
title - TranslationInput!
|
Title text |
Example
{
"default": true,
"filters": [DashboardFilterCreateInput],
"grafanaDashboardUID": "xyz789",
"order": 123,
"title": TranslationInput
}
DashboardCrossFilterSourceInput
Description
Widget the board is cross-filtered from and the filters it keeps, since a widget is never filtered by its own selection
Fields
| Input Field | Description |
|---|---|
filters - [DashboardBoardFilterValueInput!]!
|
|
widgetId - HashedId!
|
Saved widget to export |
Example
{
"filters": [DashboardBoardFilterValueInput],
"widgetId": HashedId
}
DashboardDifferenceMeasureInput
DashboardDimensionInput
Description
Dimension variant wrapper; exactly one variant field must be provided
Fields
| Input Field | Description |
|---|---|
bucket - DashboardBucketDimensionInput
|
|
categorical - DashboardCategoricalDimensionInput
|
|
classification - DashboardClassificationDimensionInput
|
Labels each record by the first matching rule, or the fallback label |
Example
{
"bucket": DashboardBucketDimensionInput,
"categorical": DashboardCategoricalDimensionInput,
"classification": DashboardClassificationDimensionInput
}
DashboardEntityKind
Description
Entity the dashboard builder can query
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"ASSET"
DashboardExportFormat
Description
File format for dashboard widget data exports
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
Example
"CSV"
DashboardFilter
Description
Dashboard filter record
Fields
| Field Name | Description |
|---|---|
created - Timestamp!
|
Timestamp when the entity was created |
dashboardId - HashedId!
|
Parent dashboard this filter belongs to |
defaultValue - String
|
Pre-selected value applied when the dashboard first loads |
grafanaFilterId - String!
|
Grafana variable identifier that this filter maps to Legacy Grafana filter field. |
id - HashedId!
|
Unique identifier of the entity |
order - Int!
|
Sort position for ordering filters within the dashboard |
title - Translation
|
The title of the dashboard filter |
titleId - HashedId!
|
Reference to the translatable label for this filter |
type - DashboardFilterType!
|
Control type determining how this filter is rendered |
updated - Timestamp
|
Timestamp when the entity was last updated |
Example
{
"created": 1592577642,
"dashboardId": HashedId,
"defaultValue": "xyz789",
"grafanaFilterId": "xyz789",
"id": HashedId,
"order": 123,
"title": Translation,
"titleId": HashedId,
"type": "ASSET",
"updated": 1592577642
}
DashboardFilterCreateInput
Description
Data required to create a new dashboard filter
Fields
| Input Field | Description |
|---|---|
defaultValue - String
|
Pre-selected value applied when the dashboard first loads |
grafanaFilterId - String!
|
Grafana variable identifier that this filter maps to |
order - Int!
|
Sort position for ordering filters within the dashboard |
title - TranslationInput!
|
Title text |
type - DashboardFilterType!
|
Control type determining how this filter is rendered |
value - String
|
Stored value |
Example
{
"defaultValue": "abc123",
"grafanaFilterId": "abc123",
"order": 987,
"title": TranslationInput,
"type": "ASSET",
"value": "abc123"
}
DashboardFilterInput
Description
Filter variant wrapper; exactly one variant field must be provided
Fields
| Input Field | Description |
|---|---|
comparison - DashboardComparisonFilterInput
|
|
inSet - DashboardInSetFilterInput
|
|
timeRange - DashboardTimeRangeFilterInput
|
Example
{
"comparison": DashboardComparisonFilterInput,
"inSet": DashboardInSetFilterInput,
"timeRange": DashboardTimeRangeFilterInput
}
DashboardFilterType
Description
Dimension by which dashboard widgets can be filtered, such as by specific asset, asset category, asset make, asset type, assignee, service, date range, group, or site
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Use ASSIGNEE_USER or ASSIGNEE_TEAM instead. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Use TIME_RANGE instead. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"ASSET"
DashboardFilterValueInput
Description
Filter criteria for narrowing down dashboard value results
Fields
| Input Field | Description |
|---|---|
grafanaFilterId - String!
|
Grafana variable identifier that this filter maps to |
type - DashboardFilterType!
|
Control type determining how this filter is rendered |
value - String
|
Stored value |
Example
{
"grafanaFilterId": "abc123",
"type": "ASSET",
"value": "xyz789"
}
DashboardFilterValueLabel
DashboardFilterValueLabelsInput
Description
Saved values of one board filter whose display labels are requested
Fields
| Input Field | Description |
|---|---|
concept - DashboardFilterType!
|
|
values - [String!]
|
Selected ids for an entity concept |
Example
{"concept": "ASSET", "values": ["abc123"]}
DashboardFilteredMeasureInput
Description
Aggregation restricted to rows matching its own conditions
Fields
| Input Field | Description |
|---|---|
aggregation - DashboardAggregation!
|
|
field - String
|
|
where - [DashboardFilterInput!]!
|
Example
{
"aggregation": "AVG",
"field": "abc123",
"where": [DashboardFilterInput]
}
DashboardGenerateSnapshotUrlInput
Description
Input data for dashboard generate snapshot url
Fields
| Input Field | Description |
|---|---|
dashboardId - HashedId!
|
Dashboard to generate a snapshot for |
filters - [DashboardFilterValueInput!]!
|
Filter criteria |
forceRefresh - Boolean!
|
Whether to regenerate the snapshot even if a cached version exists |
Example
{
"dashboardId": HashedId,
"filters": [DashboardFilterValueInput],
"forceRefresh": true
}
DashboardGeneratedBoard
Description
A dashboard configuration generated from a question
Fields
| Field Name | Description |
|---|---|
rejections - [DashboardGeneratedWidgetRejection!]!
|
|
timeRangePreset - DashboardBoardRangePreset!
|
|
title - String!
|
Suggested board title |
widgets - [DashboardGeneratedWidget!]!
|
Example
{
"rejections": [DashboardGeneratedWidgetRejection],
"timeRangePreset": "LAST_3_MONTHS",
"title": "xyz789",
"widgets": [DashboardGeneratedWidget]
}
DashboardGeneratedWidget
Description
A widget configuration generated from a question
Fields
| Field Name | Description |
|---|---|
chartType - DashboardWidgetType!
|
|
ignoredFilterConcepts - [DashboardFilterType!]!
|
|
spec - String!
|
Query spec as JSON |
title - String!
|
Suggested widget title |
Example
{
"chartType": "BAR",
"ignoredFilterConcepts": ["ASSET"],
"spec": "abc123",
"title": "abc123"
}
DashboardGeneratedWidgetRejection
Description
A generated chart the dashboard builder could not add
Fields
| Field Name | Description |
|---|---|
availableBreakdowns - String
|
Translated names of the breakdowns the data source offers, when the requested one does not exist |
reason - DashboardRejectionReason!
|
|
title - String!
|
Generated chart title |
value - String
|
The filter value or breakdown the builder refused, when one was named |
Example
{
"availableBreakdowns": "xyz789",
"reason": "CLASSIFICATION_UNSUPPORTED_ENTITY",
"title": "abc123",
"value": "xyz789"
}
DashboardHavingInput
Description
Drops grouped rows whose measure fails the threshold
Fields
| Input Field | Description |
|---|---|
measure - String!
|
Name of a declared measure |
operator - DashboardComparisonOperator!
|
|
value - Float!
|
Example
{
"measure": "abc123",
"operator": "GT",
"value": 987.65
}
DashboardHiddenFeature
Description
Feature whose switch hides widgets or columns of a dashboard from the caller
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"ASSET_LOCATIONS"
DashboardInSetFilterInput
Description
Restricts rows to those whose dimension value is in the provided set
Fields
| Input Field | Description |
|---|---|
excludedValues - [String!]
|
For a GROUP tree selection: subgroups left out, each with its own subgroups |
includeSubgroups - Boolean
|
For GROUP, also match every subgroup of the selected groups |
path - String!
|
|
values - [String!]!
|
Example
{
"excludedValues": ["abc123"],
"includeSubgroups": true,
"path": "xyz789",
"values": ["xyz789"]
}
DashboardMapOptionsInput
Description
Settings a map widget applies to its markers and their popup
Example
{
"colorBy": "xyz789",
"popupFields": ["abc123"]
}
DashboardMeasureCoverage
Description
How many records of the widget report a measure the source does not always send
Fields
| Field Name | Description |
|---|---|
havingRows - Int
|
Rows of the widget a filter on calculated results compares, set only for the filter note |
measure - String!
|
|
repeatedSerials - Int
|
Records whose serial is already carried by another record in the widget, set only for the serial note |
reporting - Int!
|
Records reporting the measure |
total - Int!
|
Records in the widget |
undatedRecords - Int
|
Records without a date that a time axis leaves out, set only for the undated note |
unresolvedProviderRecords - Int
|
Records that come from robot providers which never report an alert as resolved, set only for the provider note |
Example
{
"havingRows": 123,
"measure": "abc123",
"repeatedSerials": 987,
"reporting": 987,
"total": 123,
"undatedRecords": 987,
"unresolvedProviderRecords": 987
}
DashboardMeasureDisplayUnitDto
Fields
| Field Name | Description |
|---|---|
measure - String!
|
|
unit - DashboardMeasureUnit
|
Example
{"measure": "abc123", "unit": "CENTIMETRE"}
DashboardMeasureDisplayUnitInput
Fields
| Input Field | Description |
|---|---|
measure - String!
|
|
unit - DashboardMeasureUnit
|
Example
{"measure": "xyz789", "unit": "CENTIMETRE"}
DashboardMeasureInput
Description
Named measure; exactly one variant field must be provided
Fields
| Input Field | Description |
|---|---|
difference - DashboardDifferenceMeasureInput
|
|
filtered - DashboardFilteredMeasureInput
|
|
isHidden - Boolean
|
Calculated only as an input of another measure and never shown as a column, slice or value |
name - String!
|
|
ratio - DashboardRatioMeasureInput
|
|
simple - DashboardSimpleMeasureInput
|
Example
{
"difference": DashboardDifferenceMeasureInput,
"filtered": DashboardFilteredMeasureInput,
"isHidden": true,
"name": "abc123",
"ratio": DashboardRatioMeasureInput,
"simple": DashboardSimpleMeasureInput
}
DashboardMeasureUnit
Description
Physical unit of a dashboard measure
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"CENTIMETRE"
DashboardMissingAccess
Description
Access the caller lacks that hides widgets or columns of a dashboard
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
Example
"COSTS"
DashboardNamedValue
DashboardOrderByInput
Description
Ranks rows by one spec measure, or sorts them by one spec dimension
Fields
| Input Field | Description |
|---|---|
dimension - String
|
Name of a spec dimension, set instead of measure |
direction - DashboardSortDirection!
|
|
measure - String
|
Name of a declared measure, required unless dimension is set |
Example
{
"dimension": "xyz789",
"direction": "ASC",
"measure": "abc123"
}
DashboardPaginationInput
DashboardPdfExportPreview
Description
Dashboard PDF export preflight result
Fields
| Field Name | Description |
|---|---|
hasExportableWidgets - Boolean!
|
|
requiresConfirmation - Boolean!
|
|
warnings - [DashboardPdfExportWarning!]!
|
Example
{
"hasExportableWidgets": false,
"requiresConfirmation": true,
"warnings": [DashboardPdfExportWarning]
}
DashboardPdfExportPreviewInput
Description
Dashboard PDF export preflight request
Fields
| Input Field | Description |
|---|---|
boardId - HashedId!
|
|
crossFilterSource - DashboardCrossFilterSourceInput
|
Widget the board is cross-filtered from and the filters it keeps, since a widget is never filtered by its own selection |
filters - [DashboardBoardFilterValueInput!]!
|
|
timezone - String
|
IANA timezone of the viewer, used only when the user has no timezone configured |
Example
{
"boardId": HashedId,
"crossFilterSource": DashboardCrossFilterSourceInput,
"filters": [DashboardBoardFilterValueInput],
"timezone": "abc123"
}
DashboardPdfExportRequestInput
Description
Dashboard PDF export request
Fields
| Input Field | Description |
|---|---|
boardId - HashedId!
|
|
confirmedIncomplete - Boolean!
|
|
confirmedWarnings - [DashboardPdfExportWarningInput!]!
|
|
crossFilterSource - DashboardCrossFilterSourceInput
|
Widget the board is cross-filtered from and the filters it keeps, since a widget is never filtered by its own selection |
filters - [DashboardBoardFilterValueInput!]!
|
|
timezone - String
|
IANA timezone of the viewer, used only when the user has no timezone configured |
Example
{
"boardId": HashedId,
"confirmedIncomplete": false,
"confirmedWarnings": [DashboardPdfExportWarningInput],
"crossFilterSource": DashboardCrossFilterSourceInput,
"filters": [DashboardBoardFilterValueInput],
"timezone": "abc123"
}
DashboardPdfExportWarning
Description
A dashboard widget that will be included as incomplete in the PDF
Fields
| Field Name | Description |
|---|---|
reason - DashboardPdfExportWarningReason!
|
|
widgetId - HashedId
|
Saved widget the warning is about; the confirmation matches on it, so a rename or a move does not invalidate it |
widgetIndex - Int!
|
|
widgetTitle - String!
|
Example
{
"reason": "EXCEL_ROW_LIMIT",
"widgetId": HashedId,
"widgetIndex": 987,
"widgetTitle": "abc123"
}
DashboardPdfExportWarningInput
Description
A widget warning confirmed by the user before requesting a PDF export
Fields
| Input Field | Description |
|---|---|
reason - DashboardPdfExportWarningReason!
|
|
widgetId - HashedId
|
Saved widget the warning is about; the confirmation matches on it, so a rename or a move does not invalidate it |
widgetIndex - Int!
|
|
widgetTitle - String!
|
Example
{
"reason": "EXCEL_ROW_LIMIT",
"widgetId": HashedId,
"widgetIndex": 987,
"widgetTitle": "abc123"
}
DashboardPdfExportWarningReason
Description
Reason a widget needs confirmation before it can be omitted from a dashboard PDF
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"EXCEL_ROW_LIMIT"
DashboardQuerySpecInput
Description
Declarative dashboards query specification
Fields
| Input Field | Description |
|---|---|
bucketAsColumns - Boolean
|
Spreads the time bucket dimension across columns, one per bucket |
cellFormats - [DashboardTableCellFormatInput!]
|
Conditional formatting a table widget applies per measure |
changeDirection - DashboardStatThresholdDirection
|
Whether a rise or a fall against the previous period is the healthy change of a stat |
columnFormats - [DashboardColumnFormatInput!]
|
Number and date formats a table widget applies per column |
compare - DashboardCompareInput
|
|
cumulative - Boolean
|
Shows each time bucket as the running total up to its end, counting records from before the time range too |
dimensions - [DashboardDimensionInput!]
|
|
entity - DashboardEntityKind!
|
|
filters - [DashboardFilterInput!]
|
|
having - DashboardHavingInput
|
|
limit - Int
|
Keeps only the first rows once ranked |
mapOptions - DashboardMapOptionsInput
|
Marker colour and popup fields a map widget applies |
measures - [DashboardMeasureInput!]!
|
|
orderBy - DashboardOrderByInput
|
|
reducer - DashboardSeriesReducer
|
Collapses the series into the single number a stat renders |
showRowTotals - Boolean
|
Adds a column holding each row's value over the whole time range |
showSparkline - Boolean
|
Draws the trend of the stat measure behind its value |
showTotals - Boolean
|
Adds a total row computed over every grouped row |
thresholds - DashboardStatThresholdsInput
|
Status thresholds a stat tile colours its value by |
version - Int!
|
Example
{
"bucketAsColumns": true,
"cellFormats": [DashboardTableCellFormatInput],
"changeDirection": "HIGHER_IS_BETTER",
"columnFormats": [DashboardColumnFormatInput],
"compare": DashboardCompareInput,
"cumulative": false,
"dimensions": [DashboardDimensionInput],
"entity": "ASSET",
"filters": [DashboardFilterInput],
"having": DashboardHavingInput,
"limit": 987,
"mapOptions": DashboardMapOptionsInput,
"measures": [DashboardMeasureInput],
"orderBy": DashboardOrderByInput,
"reducer": "LAST",
"showRowTotals": true,
"showSparkline": false,
"showTotals": true,
"thresholds": DashboardStatThresholdsInput,
"version": 987
}
DashboardRatioMeasureInput
DashboardRecordLinkKind
Description
Record page a table dimension label links to
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
Example
"ASSET"
DashboardRejectionReason
Description
Reason a generated dashboard chart could not be added
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"CLASSIFICATION_UNSUPPORTED_ENTITY"
DashboardReportDelivery
Fields
| Field Name | Description |
|---|---|
completedAt - DateTime
|
|
errorCode - String
|
|
failedWidgetReason - DashboardPdfExportWarningReason
|
|
failedWidgetTitle - String
|
|
recipientLabel - String
|
Email address of the recipient, absent once removed or hidden from the viewer |
recipientUserId - HashedId!
|
|
status - DashboardReportDeliveryStatus!
|
Example
{
"completedAt": "2007-12-03T10:15:30Z",
"errorCode": "xyz789",
"failedWidgetReason": "EXCEL_ROW_LIMIT",
"failedWidgetTitle": "abc123",
"recipientLabel": "abc123",
"recipientUserId": HashedId,
"status": "ACCEPTED"
}
DashboardReportDeliveryStatus
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"ACCEPTED"
DashboardReportDroppedRecipient
Fields
| Field Name | Description |
|---|---|
id - HashedId
|
Null when the viewer may not see the recipient |
label - String
|
Null when the viewer may not see the recipient or it was removed |
reason - DashboardReportDroppedRecipientReason!
|
|
type - DashboardReportRecipientType!
|
Example
{
"id": HashedId,
"label": "xyz789",
"reason": "NOT_ACTIVATED",
"type": "GROUP"
}
DashboardReportDroppedRecipientReason
Description
Why a selected recipient will not receive a scheduled dashboard report
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"NOT_ACTIVATED"
DashboardReportFrequency
Description
Calendar frequency of a scheduled dashboard report
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
Example
"DAILY"
DashboardReportRecipientLabel
Fields
| Field Name | Description |
|---|---|
id - HashedId!
|
|
label - String
|
Null when the viewer may not see the recipient or it was removed |
removed - Boolean!
|
|
type - DashboardReportRecipientType!
|
Example
{
"id": HashedId,
"label": "xyz789",
"removed": false,
"type": "GROUP"
}
DashboardReportRecipientType
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
Example
"GROUP"
DashboardReportRun
Fields
| Field Name | Description |
|---|---|
completedAt - DateTime
|
|
deliveries - [DashboardReportDelivery!]!
|
Per-recipient delivery outcomes of the run |
errorCode - String
|
|
id - HashedId!
|
|
isLate - Boolean!
|
|
isTest - Boolean!
|
|
rootScheduleId - HashedId!
|
|
scheduleName - String!
|
|
scheduledAt - DateTime!
|
|
startedAt - DateTime
|
|
status - DashboardReportRunStatus!
|
|
targetGroupId - HashedId!
|
|
targetGroupName - String
|
Example
{
"completedAt": "2007-12-03T10:15:30Z",
"deliveries": [DashboardReportDelivery],
"errorCode": "abc123",
"id": HashedId,
"isLate": false,
"isTest": true,
"rootScheduleId": HashedId,
"scheduleName": "xyz789",
"scheduledAt": "2007-12-03T10:15:30Z",
"startedAt": "2007-12-03T10:15:30Z",
"status": "COMPLETED",
"targetGroupId": HashedId,
"targetGroupName": "abc123"
}
DashboardReportRunStatus
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"COMPLETED"
DashboardReportRunView
Example
{
"dashboardId": HashedId,
"filters": [DashboardBoardFilterValue],
"id": HashedId,
"scheduleName": "abc123",
"scheduledAt": "2007-12-03T10:15:30Z",
"timezone": "abc123"
}
DashboardReportSchedule
Fields
| Field Name | Description |
|---|---|
applyToChildGroups - Boolean!
|
|
created - DateTime!
|
|
createdByUserId - HashedId!
|
|
dashboardId - HashedId!
|
|
effectiveTargetGroupId - HashedId!
|
|
filterOverrides - [DashboardBoardFilterValue!]!
|
|
format - DashboardExportFormat!
|
|
frequency - DashboardReportFrequency!
|
|
id - HashedId!
|
|
inherited - Boolean!
|
|
localSendTime - String!
|
|
monthDay - Int
|
|
name - String!
|
|
nextSendAt - DateTime
|
|
originScheduleId - HashedId
|
|
paused - Boolean!
|
|
recipientGroupIds - [HashedId!]!
|
|
recipientTeamIds - [HashedId!]!
|
|
recipientUserIds - [HashedId!]!
|
|
resolvedRecipients - [DashboardReportScheduleResolvedRecipient!]!
|
|
targetGroupId - HashedId!
|
|
timezone - String!
|
|
updated - DateTime
|
|
weekday - Int
|
Example
{
"applyToChildGroups": false,
"created": "2007-12-03T10:15:30Z",
"createdByUserId": HashedId,
"dashboardId": HashedId,
"effectiveTargetGroupId": HashedId,
"filterOverrides": [DashboardBoardFilterValue],
"format": "CSV",
"frequency": "DAILY",
"id": HashedId,
"inherited": false,
"localSendTime": "abc123",
"monthDay": 123,
"name": "abc123",
"nextSendAt": "2007-12-03T10:15:30Z",
"originScheduleId": HashedId,
"paused": true,
"recipientGroupIds": [HashedId],
"recipientTeamIds": [HashedId],
"recipientUserIds": [HashedId],
"resolvedRecipients": [
DashboardReportScheduleResolvedRecipient
],
"targetGroupId": HashedId,
"timezone": "xyz789",
"updated": "2007-12-03T10:15:30Z",
"weekday": 987
}
DashboardReportScheduleInput
Fields
| Input Field | Description |
|---|---|
applyToChildGroups - Boolean!
|
|
clientTimezone - String
|
|
dashboardId - HashedId!
|
|
expectedUpdatedAt - DateTime
|
Optimistic concurrency token: the updated timestamp the client last observed; when stale the update is rejected |
filterOverrides - [DashboardBoardFilterValueInput!]!
|
|
format - DashboardExportFormat!
|
|
frequency - DashboardReportFrequency!
|
|
localSendTime - String!
|
|
monthDay - Int
|
|
name - String!
|
|
originScheduleId - HashedId
|
|
paused - Boolean!
|
|
recipientGroupIds - [HashedId!]!
|
|
recipientTeamIds - [HashedId!]!
|
|
recipientUserIds - [HashedId!]!
|
|
targetGroupId - HashedId!
|
|
weekday - Int
|
Example
{
"applyToChildGroups": false,
"clientTimezone": "abc123",
"dashboardId": HashedId,
"expectedUpdatedAt": "2007-12-03T10:15:30Z",
"filterOverrides": [DashboardBoardFilterValueInput],
"format": "CSV",
"frequency": "DAILY",
"localSendTime": "xyz789",
"monthDay": 987,
"name": "xyz789",
"originScheduleId": HashedId,
"paused": false,
"recipientGroupIds": [HashedId],
"recipientTeamIds": [HashedId],
"recipientUserIds": [HashedId],
"targetGroupId": HashedId,
"weekday": 123
}
DashboardReportSchedulePreview
Fields
| Field Name | Description |
|---|---|
droppedRecipients - [DashboardReportDroppedRecipient!]!
|
Selected recipients who will not receive the report, with the reason |
groups - [DashboardReportSchedulePreviewGroup!]!
|
|
nextSendAt - DateTime!
|
|
recipientCount - Int!
|
People who receive at least one report of the schedule |
Example
{
"droppedRecipients": [DashboardReportDroppedRecipient],
"groups": [DashboardReportSchedulePreviewGroup],
"nextSendAt": "2007-12-03T10:15:30Z",
"recipientCount": 123
}
DashboardReportSchedulePreviewGroup
DashboardReportScheduleResolvedRecipient
DashboardResolvedMeasureCurrency
Description
Currency a money measure is reported in: the single filtered currency, or the dimension whose values carry it per row
Example
{
"currency": "abc123",
"dimension": "abc123",
"measure": "xyz789"
}
DashboardResolvedMeasureUnitDto
Fields
| Field Name | Description |
|---|---|
measure - String!
|
|
sourceUnit - DashboardMeasureUnit!
|
|
unit - DashboardMeasureUnit!
|
Example
{
"measure": "xyz789",
"sourceUnit": "CENTIMETRE",
"unit": "CENTIMETRE"
}
DashboardScalarPayload
Description
Undimensioned widget payload carrying one value per measure
Fields
| Field Name | Description |
|---|---|
changes - [DashboardNamedValue!]!
|
Percentage change of each compared measure against the preceding window of equal length |
values - [DashboardNamedValue!]!
|
Example
{
"changes": [DashboardNamedValue],
"values": [DashboardNamedValue]
}
DashboardSeries
Description
One named series aligned to the payload categories
Example
{
"asOfBucket": "abc123",
"label": "abc123",
"points": [123.45]
}
DashboardSeriesPayload
Description
Time-bucketed widget payload with gap-filled categories
Fields
| Field Name | Description |
|---|---|
categories - [String!]!
|
|
series - [DashboardSeries!]!
|
|
totalCategories - Int
|
Number of categories before a bar chart kept only its leading ones, null when nothing was left out |
Example
{
"categories": ["xyz789"],
"series": [DashboardSeries],
"totalCategories": 123
}
DashboardSeriesReducer
Description
How a stat collapses the series behind it into one number
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
Example
"LAST"
DashboardSimpleMeasureInput
Description
Aggregation applied directly to the entity or one of its measure fields
Fields
| Input Field | Description |
|---|---|
aggregation - DashboardAggregation!
|
|
field - String
|
Example
{"aggregation": "AVG", "field": "xyz789"}
DashboardSlice
DashboardSortDirection
Description
Direction a ranked widget orders its measure by
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
Example
"ASC"
DashboardSource
Description
Identifies whether a dashboard uses the legacy Grafana system or the builder
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
Example
"LEGACY_GRAFANA"
DashboardSparklinePoint
DashboardStatThresholdDirection
Description
Which side of its thresholds a stat value is healthy on
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
Example
"HIGHER_IS_BETTER"
DashboardStatThresholdsInput
Description
Warning and critical values that colour a stat tile as a status
Fields
| Input Field | Description |
|---|---|
critical - Float!
|
Value at which the tile turns red |
direction - DashboardStatThresholdDirection!
|
Whether a higher or a lower value is the healthy side |
warning - Float!
|
Value at which the tile turns amber |
Example
{"critical": 987.65, "direction": "HIGHER_IS_BETTER", "warning": 987.65}
DashboardTableBucketColumns
Description
Marks a table payload whose measure columns are time buckets
Fields
| Field Name | Description |
|---|---|
grain - DashboardTimeGrain!
|
Grain of each bucket column |
measure - String!
|
Measure every bucket column holds |
Example
{"grain": "DAY", "measure": "xyz789"}
DashboardTableCellFormatInput
Description
Conditional formatting a table applies to the cells of one measure
Fields
| Input Field | Description |
|---|---|
barMax - Float
|
Value at which a data bar fills its cell |
measure - String!
|
Name of a spec measure |
rules - [DashboardTableCellRuleInput!]!
|
First matching rule picks the tone of a colour or status cell |
style - DashboardTableCellStyle!
|
Example
{
"barMax": 123.45,
"measure": "abc123",
"rules": [DashboardTableCellRuleInput],
"style": "COLOR"
}
DashboardTableCellRuleInput
Description
Tone a table cell takes when its value passes the comparison
Fields
| Input Field | Description |
|---|---|
operator - DashboardComparisonOperator!
|
|
tone - DashboardTableCellTone!
|
|
value - Float!
|
Example
{"operator": "GT", "tone": "CRITICAL", "value": 123.45}
DashboardTableCellStyle
Description
How a table cell shows the result of its formatting rules
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
Example
"COLOR"
DashboardTableCellTone
Description
Status tone a table cell formatting rule assigns
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
Example
"CRITICAL"
DashboardTablePayload
Description
Tabular widget payload for multi-dimension or multi-measure queries
Fields
| Field Name | Description |
|---|---|
bucketColumns - DashboardTableBucketColumns
|
Set when the measure columns are time buckets, null for a plain table |
dateDimensions - [String!]!
|
|
dateOnlyDimensions - [String!]!
|
Date dimensions holding calendar days, shown as their UTC day |
dimensions - [String!]!
|
|
measures - [String!]!
|
|
recordLinks - [DashboardRecordLinkKind]!
|
Record page each dimension links to, null where it links nowhere |
rows - [DashboardTableRow!]!
|
|
total - Int!
|
Rows the query matches before pagination |
Example
{
"bucketColumns": DashboardTableBucketColumns,
"dateDimensions": ["xyz789"],
"dateOnlyDimensions": ["xyz789"],
"dimensions": ["xyz789"],
"measures": ["abc123"],
"recordLinks": ["ASSET"],
"rows": [DashboardTableRow],
"total": 123
}
DashboardTableRow
Description
One result row: dimension labels followed by measure values
Fields
| Field Name | Description |
|---|---|
labels - [String!]!
|
|
recordIds - [String]!
|
Record id behind each label, null where the dimension is not a record link |
values - [Float]!
|
Example
{
"labels": ["abc123"],
"recordIds": ["abc123"],
"values": [123.45]
}
DashboardTimeGrain
Description
Time-bucket granularity used when grouping a query by a date column
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"DAY"
DashboardTimeRangeFilterInput
Description
Window applied to a declared time anchor, given as one relative window form, an absolute from/to pair, or a fromDate/toDate pair of calendar days
Fields
| Input Field | Description |
|---|---|
anchor - String!
|
|
calendarMonths - Int
|
Whole calendar months ending with the current one. Mutually exclusive with the other window forms. |
calendarWeeks - Int
|
Whole local calendar weeks starting Monday and ending with the current one; stops now, or at the end of the current week on a due-date anchor. Mutually exclusive with the other window forms. |
from - DateTime
|
Absolute window start, an ISO 8601 date-time with Z or a UTC offset. Excludes fromDate and the relative window forms. |
fromDate - Date
|
First calendar day (yyyy-MM-dd) of the window, starting at midnight in the viewer or report time zone. Excludes from and the relative window forms. |
lastDays - Int
|
Local calendar days ending with today; stops now, or at the end of today on a due-date anchor. Mutually exclusive with the other window forms. |
lastHours - Int
|
Rolling hour window ending now. Mutually exclusive with the other window forms. |
lastMonths - Int
|
Rolling month window from the start of the same day N months ago until now. Mutually exclusive with the other window forms. |
nextDays - Int
|
Local calendar days starting with today and running N days ahead, ending at the end of the day N days from today. Mutually exclusive with the other window forms. |
nextMonths - Int
|
Whole calendar months starting with the next one. Mutually exclusive with the other window forms. |
previousDays - Int
|
Whole local calendar days before today. Mutually exclusive with the other window forms. |
previousMonths - Int
|
Whole calendar months before the current month. Mutually exclusive with the other window forms. |
previousWeeks - Int
|
Whole local calendar weeks before the current week. Mutually exclusive with the other window forms. |
to - DateTime
|
Absolute window end, an ISO 8601 date-time with Z or a UTC offset. Requires from, and defaults to now when omitted. |
toDate - Date
|
Last calendar day (yyyy-MM-dd) of the window, not before fromDate; equals fromDate for a single day. Requires fromDate, and the window runs until now when omitted. |
Example
{
"anchor": "abc123",
"calendarMonths": 987,
"calendarWeeks": 123,
"from": "2007-12-03T10:15:30Z",
"fromDate": "2007-12-03",
"lastDays": 123,
"lastHours": 987,
"lastMonths": 987,
"nextDays": 123,
"nextMonths": 123,
"previousDays": 123,
"previousMonths": 987,
"previousWeeks": 987,
"to": "2007-12-03T10:15:30Z",
"toDate": "2007-12-03"
}
DashboardTotalsStatus
Description
What a table total row shows, or why it is missing
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
Example
"ALL_RECORDS"
DashboardUpdateInput
Description
Fields to update on an existing dashboard
Fields
| Input Field | Description |
|---|---|
default - Boolean!
|
Whether this dashboard loads by default when opening the dashboard page |
filters - [DashboardFilterCreateInput!]
|
Replacement set of filter controls for the dashboard |
grafanaDashboardUID - String!
|
Grafana-assigned unique identifier for the underlying dashboard |
order - Int
|
Sort position for ordering dashboards in the navigation list |
title - TranslationInput
|
Title text |
Example
{
"default": false,
"filters": [DashboardFilterCreateInput],
"grafanaDashboardUID": "xyz789",
"order": 987,
"title": TranslationInput
}
DashboardView
Description
A saved set of board filter selections for one dashboard
Fields
| Field Name | Description |
|---|---|
created - Timestamp!
|
Timestamp when the entity was created |
forEntity - ViewEntityEnum!
|
type of entity that this view is for (e.g. ASSET) |
id - HashedId!
|
id (hashed) of the view. can be used to re-order the view, or adjust sharing etc. |
isActive - Boolean!
|
whether this view is enabled for this account |
isDefault - Boolean!
|
whether the current user opens this view by default when entering its dashboard |
isDeletable - Boolean!
|
whether this account can delete this view |
isEditable - Boolean!
|
whether this account can change this view's display mode, name or options |
isShareable - Boolean!
|
whether this account can share or unshare this view to this group and sub-groups |
isShared - Boolean!
|
whether this view can be seen by other members of this group, and sub-groups |
isSystemView - Boolean!
|
whether this is a system view (inherited from toolsense system). System views can only be shared/unshared; they cannot be edited. |
isUnsharedByParentGroup - Boolean!
|
whether this view has been unshared by a parent of this group |
options - DashboardViewOptions!
|
board filter selections applied when the view is opened |
title - Translation!
|
User-defined name for this saved view |
titleId - HashedId!
|
human-readable, user-input name that is given upon view creation. EXCEPT when isSystemView is true, then this is a string identifier for the view (e.g. "asset-gantt") |
updated - Timestamp
|
Timestamp when the entity was last updated |
Example
{
"created": 1592577642,
"forEntity": "ASSET",
"id": HashedId,
"isActive": true,
"isDefault": false,
"isDeletable": false,
"isEditable": true,
"isShareable": true,
"isShared": true,
"isSystemView": true,
"isUnsharedByParentGroup": false,
"options": DashboardViewOptions,
"title": Translation,
"titleId": HashedId,
"updated": 1592577642
}
DashboardViewCreateInput
Description
input used to create a new dashboard view
Fields
| Input Field | Description |
|---|---|
dashboardId - HashedId!
|
Dashboard whose filter views are being managed |
options - DashboardViewOptionsInput!
|
board filter selections to store with this view |
title - TranslationInput!
|
Name to assign to the new saved view |
Example
{
"dashboardId": HashedId,
"options": DashboardViewOptionsInput,
"title": TranslationInput
}
DashboardViewOptions
Description
Board filter selections stored with a dashboard view
Fields
| Field Name | Description |
|---|---|
filters - [DashboardBoardFilterValue!]!
|
One filter selection per board concept; empty values mean explicitly all, and a time range entry without preset, from or fromDate means explicitly all time |
Example
{"filters": [DashboardBoardFilterValue]}
DashboardViewOptionsInput
Description
Board filter selections to store with a dashboard view
Fields
| Input Field | Description |
|---|---|
filters - [DashboardBoardFilterValueInput!]!
|
One filter selection per board concept; empty values mean explicitly all, and a time range entry without preset, from or fromDate means explicitly all time |
Example
{"filters": [DashboardBoardFilterValueInput]}
DashboardViewSetDefaultInput
Description
input for pinning or clearing the default view of a dashboard
Example
{
"dashboardId": HashedId,
"viewId": HashedId
}
DashboardViewUpdateInput
Description
input for updating a dashboard view
Fields
| Input Field | Description |
|---|---|
id - HashedId!
|
Unique identifier of the entity |
options - DashboardViewOptionsInput
|
Updated board filter selections, kept when absent |
title - TranslationInput
|
Updated name for the dashboard view, kept when absent |
Example
{
"id": HashedId,
"options": DashboardViewOptionsInput,
"title": TranslationInput
}
DashboardWidget
Description
Widget placed on a dashboard
Fields
| Field Name | Description |
|---|---|
body - Translation
|
The translatable text body of a text widget |
bodyId - HashedId
|
Hashed identifier of the translation row that holds the text body |
chartType - DashboardWidgetType!
|
How the widget renders the payload shape its spec produces |
created - DateTime!
|
When the widget was created |
dashboardId - HashedId!
|
Dashboard this widget is placed on |
description - Translation
|
The optional description of the widget |
descriptionId - HashedId
|
Hashed identifier of the translation row that holds the widget description |
displayUnits - [DashboardMeasureDisplayUnitDto!]!
|
|
height - Int!
|
Grid height of the widget |
id - HashedId!
|
Unique identifier of the widget |
ignoredFilterConcepts - [DashboardFilterType!]!
|
Board filter concepts this widget deliberately does not honour |
image - String
|
Public URL of the uploaded image |
imageFit - DashboardWidgetImageFit
|
Whether the image is contained in the widget or fills it |
linkDashboardId - HashedId
|
Dashboard the open-dashboard button leads to, null when unset or not accessible to the viewer |
order - Int!
|
Placement order on the dashboard |
spec - String!
|
Serialized query spec the widget executes |
title - Translation!
|
The title of the widget |
titleId - HashedId!
|
Hashed identifier of the translation row that holds the widget title |
updated - DateTime
|
When the widget was last updated |
width - Int!
|
Grid width of the widget |
x - Int!
|
Grid column of the widget |
y - Int!
|
Grid row of the widget |
Example
{
"body": Translation,
"bodyId": HashedId,
"chartType": "BAR",
"created": "2007-12-03T10:15:30Z",
"dashboardId": HashedId,
"description": Translation,
"descriptionId": HashedId,
"displayUnits": [DashboardMeasureDisplayUnitDto],
"height": 987,
"id": HashedId,
"ignoredFilterConcepts": ["ASSET"],
"image": "abc123",
"imageFit": "FILL",
"linkDashboardId": HashedId,
"order": 123,
"spec": "xyz789",
"title": Translation,
"titleId": HashedId,
"updated": "2007-12-03T10:15:30Z",
"width": 987,
"x": 987,
"y": 123
}
DashboardWidgetCopyInput
Description
Data required to copy a widget to another dashboard
Fields
| Input Field | Description |
|---|---|
dashboardId - HashedId!
|
Identifier of the dashboard to copy the widget to |
widget - DashboardWidgetUpsertInput!
|
Widget to add below the lowest widget of the dashboard |
Example
{
"dashboardId": HashedId,
"widget": DashboardWidgetUpsertInput
}
DashboardWidgetCrossFilter
Description
How a click on one slice of this widget narrows the rest of the board
Fields
| Field Name | Description |
|---|---|
concept - DashboardFilterType!
|
Board filter concept a click on this widget narrows the board by |
matchesLabels - Boolean!
|
True when values are names a board filter must match as labels, not ids or raw values |
ranges - [DashboardWidgetCrossFilterRange]
|
Absolute time range of each time bucket, in payload order, when the concept is TIME_RANGE; null otherwise |
values - [String]!
|
Board filter value of each payload slice, category or table row, in payload order; null where it cannot be filtered on |
Example
{
"concept": "ASSET",
"matchesLabels": false,
"ranges": [DashboardWidgetCrossFilterRange],
"values": ["xyz789"]
}
DashboardWidgetCrossFilterRange
DashboardWidgetFixedFilter
Description
Board filter a widget keeps fixed to its own values
Fields
| Field Name | Description |
|---|---|
concept - DashboardFilterType!
|
|
values - [String!]!
|
Values the widget keeps regardless of the board selection |
Example
{"concept": "ASSET", "values": ["xyz789"]}
DashboardWidgetGenerateInput
Description
A question to turn into one dashboards widget
Fields
| Input Field | Description |
|---|---|
prompt - String!
|
What the user asked for |
Example
{"prompt": "abc123"}
DashboardWidgetImageFit
Description
Whether a widget image is contained in the widget or fills it
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
Example
"FILL"
DashboardWidgetPayload
Example
DashboardCategoricalPayload
DashboardWidgetResult
Description
A widget payload plus which board filters reached it
Fields
| Field Name | Description |
|---|---|
appliedFilters - [DashboardFilterType!]!
|
Board concepts this widget honoured |
compatibleChartTypes - [DashboardWidgetType!]!
|
Chart types that can render the planned widget payload |
coverage - [DashboardMeasureCoverage!]!
|
Measures only part of the widget records report, with how many do |
crossFilter - DashboardWidgetCrossFilter
|
How a click on this widget narrows the board, when its slices map to a board filter |
fixedFilters - [DashboardWidgetFixedFilter!]!
|
Board concepts this widget narrows further with its own fixed values |
ignoredFilters - [DashboardFilterType!]!
|
Board concepts this widget cannot bind, so its rows are unfiltered by them |
observedAt - DateTime
|
Oldest source timestamp represented by this payload when the entity exposes one |
payload - DashboardWidgetPayload!
|
|
resolvedCurrencies - [DashboardResolvedMeasureCurrency!]!
|
|
resolvedUnits - [DashboardResolvedMeasureUnitDto!]!
|
|
sparkline - [DashboardSparklinePoint!]
|
Trend of the stat measure over its time range when the stat asks for it |
totals - [DashboardNamedValue!]
|
Grand total per measure when the table asks for a total row |
totalsStatus - DashboardTotalsStatus
|
What the total row shows, or why it is missing, when the table asks for one |
truncated - Boolean!
|
Example
{
"appliedFilters": ["ASSET"],
"compatibleChartTypes": ["BAR"],
"coverage": [DashboardMeasureCoverage],
"crossFilter": DashboardWidgetCrossFilter,
"fixedFilters": [DashboardWidgetFixedFilter],
"ignoredFilters": ["ASSET"],
"observedAt": "2007-12-03T10:15:30Z",
"payload": DashboardCategoricalPayload,
"resolvedCurrencies": [
DashboardResolvedMeasureCurrency
],
"resolvedUnits": [DashboardResolvedMeasureUnitDto],
"sparkline": [DashboardSparklinePoint],
"totals": [DashboardNamedValue],
"totalsStatus": "ALL_RECORDS",
"truncated": true
}
DashboardWidgetType
Description
Chart type for a dashboard widget, determining the visual representation of metric data
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"BAR"
DashboardWidgetUpsertInput
Description
One widget saved as part of a whole dashboard
Fields
| Input Field | Description |
|---|---|
body - TranslationInput
|
Translatable text body of a text widget, formatted as markdown |
chartType - DashboardWidgetType!
|
How the widget renders the payload shape its spec produces |
description - TranslationInput
|
Optional translatable description explaining how the widget numbers are computed |
displayUnits - [DashboardMeasureDisplayUnitInput!]
|
|
height - Int!
|
Grid height of the widget |
id - HashedId
|
Widget to update in place, absent for a widget added in this save |
ignoredFilterConcepts - [DashboardFilterType!]
|
Board filter concepts this widget deliberately does not honour. Default = [] |
image - String
|
Public URL of the image of an image widget, from the image upload |
imageFit - DashboardWidgetImageFit
|
Whether the image is contained in the widget or fills it |
linkDashboardId - HashedId
|
Dashboard the open-dashboard button of a text widget leads to |
spec - DashboardQuerySpecInput
|
Query spec the widget executes, absent for text and image widgets |
title - TranslationInput!
|
Translatable display title of the widget |
width - Int!
|
Grid width of the widget |
x - Int!
|
Grid column of the widget |
y - Int!
|
Grid row of the widget |
Example
{
"body": TranslationInput,
"chartType": "BAR",
"description": TranslationInput,
"displayUnits": [DashboardMeasureDisplayUnitInput],
"height": 123,
"id": HashedId,
"ignoredFilterConcepts": ["ASSET"],
"image": "xyz789",
"imageFit": "FILL",
"linkDashboardId": HashedId,
"spec": DashboardQuerySpecInput,
"title": TranslationInput,
"width": 123,
"x": 987,
"y": 987
}
Datapoint
Description
Waypoints are location snapshots taken at certain intervals that also provide event and other information
Fields
| Field Name | Description |
|---|---|
direction - Float!
|
Vehicle heading in degrees (0-360) at this point |
distance - Float!
|
Event or point distance in distance units |
eventType - DrivingEventTypesEnum
|
Driving event classification at this point (e.g. harsh braking, sharp cornering) |
id - Int!
|
Flespi location id |
lat - Float
|
Resolved location latitude |
lng - Float
|
Resolved location longitude |
speed - Float
|
Vehicle speed at this waypoint, in distance units per hour |
time - Float!
|
Unix timestamp when this datapoint was recorded |
Example
{
"direction": 123.45,
"distance": 987.65,
"eventType": "CRASH",
"id": 987,
"lat": 123.45,
"lng": 987.65,
"speed": 123.45,
"time": 123.45
}
Date
Description
ISO 8601 date string (YYYY-MM-DD), time is allowed (HH:mm:ss.sssZ) and will be stripped off if present
Example
"2007-12-03"
DateTime
Description
A date-time string at UTC, such as 2019-12-03T09:54:33Z, compliant with the date-time format.
Example
"2007-12-03T10:15:30Z"
DefinitionCompareSource
Description
Definition compare source record
Fields
| Field Name | Description |
|---|---|
iotParameterId - Int
|
IotParameter identifier |
offsets - [Int!]
|
Time offsets in seconds for historical data comparison |
parameterId - Int
|
Parameter identifier ParameterContext reference - use iotParameterId instead |
parameterSavedName - String
|
Cached display name of the parameter Redundant - only parameterId is needed |
target - String
|
Time window expression for data aggregation |
Example
{
"iotParameterId": 123,
"offsets": [987],
"parameterId": 987,
"parameterSavedName": "xyz789",
"target": "xyz789"
}
DisplayParameter
Description
A collection of basic asset properties collected in an uniform way to easily display them on ui like dashboard screens or overviews. Assets can have different measurements or endpoints for a lot of information like battery level or errors - this endpoint provides a simple and uniform way to query vital stats on every asset the same way.
Fields
| Field Name | Description |
|---|---|
displayName - Translation
|
Display name |
displayText - String
|
Display text |
displayType - DisplayType!
|
Display type |
displayValue - Float
|
Display value |
id - HashedId!
|
Unique identifier of the entity |
iotParameter - IotParameter!
|
IoT parameter |
origin - IotDataOriginEnum!
|
Origin of the parameter value |
originalValue - Float
|
Original value |
parameter - Parameter!
|
Parameter Use iotParameter field |
stackedIotParameters - [IotParameter!]!
|
Stacked IoT parameters |
stackedParameters - [Parameter!]!
|
Stacked parameters Use stackedIotParameters field |
syntheticParameter - AssetSyntheticParameterEnum
|
Synthetic parameter |
visibility - DisplayParameterVisibility!
|
Visibility |
Example
{
"displayName": Translation,
"displayText": "xyz789",
"displayType": "DEFAULT",
"displayValue": 987.65,
"id": HashedId,
"iotParameter": IotParameter,
"origin": "DERIVED",
"originalValue": 987.65,
"parameter": Parameter,
"stackedIotParameters": [IotParameter],
"stackedParameters": [Parameter],
"syntheticParameter": "BATTERY",
"visibility": DisplayParameterVisibility
}
DisplayParameterInfo
Description
The DisplayParameterInfo includes information about how an assetIntegrations parameter should be displayed in a client application. This endpoint should only be used for maintenance usecases. Although it can be used to get a list of displayParameters from a specific asset.
Fields
| Field Name | Description |
|---|---|
assetIntegration - AssetIntegration!
|
Asset integration |
assetIntegrationId - HashedId!
|
Asset integration identifier |
assetType - [AssetType!]
|
Asset type |
assetTypeId - [HashedId!]
|
Asset type identifier |
displayType - String
|
Display type |
displayUnit - String
|
Display unit |
domainValue - Int
|
Domain value |
id - HashedId!
|
Unique identifier |
iotParameter - IotParameter!
|
IoT parameter |
iotParameterId - HashedId!
|
IoT parameter identifier |
key - String
|
Unique lookup key |
parameter - Parameter!
|
Parameter Use iotParameter field |
parameterId - HashedId!
|
Parameter identifier |
parameterSetId - HashedId
|
Parameter set identifier |
sortPosition - Int
|
Sort position |
title - Translation!
|
Title text |
titleId - HashedId
|
Title identifier |
Example
{
"assetIntegration": AssetIntegration,
"assetIntegrationId": HashedId,
"assetType": [AssetType],
"assetTypeId": [HashedId],
"displayType": "xyz789",
"displayUnit": "xyz789",
"domainValue": 987,
"id": HashedId,
"iotParameter": IotParameter,
"iotParameterId": HashedId,
"key": "xyz789",
"parameter": Parameter,
"parameterId": HashedId,
"parameterSetId": HashedId,
"sortPosition": 987,
"title": Translation,
"titleId": HashedId
}
DisplayParameterVisibility
Description
Display parameter visibility record
Fields
| Field Name | Description |
|---|---|
activityLog - Boolean!
|
Activity log |
graphDay - Boolean!
|
Graph day |
graphMonth - Boolean!
|
Graph month |
graphWeek - Boolean!
|
Graph week |
graphYear - Boolean!
|
Graph year |
id - String!
|
Unique identifier This API is deprecated and will be removed by the end of 2025. Please use the new API instead. |
list - Boolean!
|
Whether this parameter visibility entry is active |
Example
{
"activityLog": true,
"graphDay": false,
"graphMonth": true,
"graphWeek": true,
"graphYear": false,
"id": "abc123",
"list": false
}
DisplayType
Description
Controls how IoT parameter data is visually rendered in charts: as a percentage (0-1 scale), default line chart, stacked area chart, or hidden from display
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
Example
"DEFAULT"
DispositionWorkOrderFilterInput
Fields
| Input Field | Description |
|---|---|
from - DateTime!
|
Start of the disposition schedule window |
statuses - [WorkOrderStatus!]!
|
Work order statuses to match |
to - DateTime!
|
End of the disposition schedule window |
Example
{
"from": "2007-12-03T10:15:30Z",
"statuses": ["CANCELLED"],
"to": "2007-12-03T10:15:30Z"
}
Document
Description
ToolSense system allows handling documents/files attached to a specific Asset. Documents can also be inherited to the asset through assetTypes. These could be certificates, manuals, images, etc. Currently the API accepts common image and office document file types.
Fields
| Field Name | Description |
|---|---|
assetId - HashedId
|
Id of the associated asset. Mutually exclusive with other associations. |
assetTypeId - HashedId
|
Id of the associated assetType. Mutually exclusive with other associations. |
commentId - HashedId
|
Id of the associated TicketComment. Mutually exclusive with other associations. |
costId - HashedId
|
Cost identifier |
created - Timestamp!
|
Timestamp when the entity was created |
documentTicketContentFieldId - HashedId
|
Document ticket content field identifier |
editable - Boolean!
|
Indicates whether the document may be edited. |
eventId - HashedId
|
Event identifier |
externalId - String
|
External system identifier |
fileSize - Int
|
Document size, in bytes, using header from the file uri. If the file is external or not found, this will be null. |
id - HashedId!
|
Unique identifier of the entity |
inlineFile - DocumentInlineFile
|
|
Arguments
|
|
isExternal - Boolean
|
Defines if the document has an external web address not served by the ToolSense system |
isInherited - Boolean
|
Is true if the document is associated with a parent category of the item, not the item itself. Documents can be associated with an item through category inheritance - eg. assets can inherit documents through its assetType. |
isVisibleToCustomer - Boolean
|
Indicates whether the document is served/visible to users of customer groups. |
name - String!
|
Name of the attachment |
partId - HashedId
|
Id of the associated part. Mutually exclusive with other associations. |
procedureTemplateComponentId - HashedId
|
Procedure template component identifier |
purpose - String
|
A string 'label' to define the purpose of the document. Can only be one of the items of a predefined constant array. |
typeKey - String!
|
Type key for the file. One of: document, image, audio, video, weblink |
updated - Timestamp
|
Timestamp when the entity was last updated |
uploadedByCustomer - Boolean!
|
Indicates whether the document was uploaded by a customer |
uploadedByUser - User
|
Uploaded by user |
uploadedByUserId - HashedId
|
Uploaded by user identifier |
uploadedDocumentTicketContentFieldId - HashedId
|
Uploaded document ticket content field identifier |
url - String!
|
Direct file url |
useForChatbot - Boolean!
|
Whether this document is injected into the robot chatbot context |
workOrderCommentId - HashedId
|
Id of the associated WorkOrderComment. Mutually exclusive with other associations. |
Example
{
"assetId": HashedId,
"assetTypeId": HashedId,
"commentId": HashedId,
"costId": HashedId,
"created": 1592577642,
"documentTicketContentFieldId": HashedId,
"editable": true,
"eventId": HashedId,
"externalId": "abc123",
"fileSize": 123,
"id": HashedId,
"inlineFile": DocumentInlineFile,
"isExternal": false,
"isInherited": false,
"isVisibleToCustomer": false,
"name": "abc123",
"partId": HashedId,
"procedureTemplateComponentId": HashedId,
"purpose": "abc123",
"typeKey": "xyz789",
"updated": 1592577642,
"uploadedByCustomer": true,
"uploadedByUser": User,
"uploadedByUserId": HashedId,
"uploadedDocumentTicketContentFieldId": HashedId,
"url": "xyz789",
"useForChatbot": true,
"workOrderCommentId": HashedId
}
DocumentInlineFile
DocumentUrlInput
DrivingEventTypesEnum
Description
Types of driving events detected during trips (e.g. harsh braking, sharp cornering, speeding)
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"CRASH"
EntityEnum
Description
Enum to specify what handler should be used. e.g. if handler is set to SUBSCRIPTION_USER path to handler will be Subscription/SubscriptionUser
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"ASSET"
EsIndex
Description
Elasticsearch index stats for one tree-root group
Fields
| Field Name | Description |
|---|---|
createdAt - DateTime
|
Creation time of the active index |
currentReindexRunId - String
|
Run ID of an in-flight reindex, or null if none is active |
docCount - Float!
|
Number of documents in the active ES index |
drift - Float!
|
Difference between entityCount and docCount (positive = ES is behind) |
entityCount - Float!
|
Number of entities in the database for this tree root |
indexHealth - EsIndexHealthStatusEnum!
|
Per-index shard allocation health: green / yellow / red / unknown |
indexName - String
|
Active ES index name behind the read alias, or null if no alias exists |
indexType - IndexTypeEnum!
|
Entity type managed by this index |
queueBackfillDepth - Float!
|
Total waiting + active + delayed jobs across the backfill queue |
queueIndexDepth - Float!
|
Total waiting + active + delayed jobs across the index queue |
reindexProgress - Float
|
Fractional reindex progress in [0, 1] when a reindex is in flight; null otherwise |
schemaVersion - Int
|
Schema version embedded in the active index name |
treeRootGroupId - HashedId!
|
Hashed tree-root group ID |
treeRootGroupName - String!
|
Name of the tree-root group |
Example
{
"createdAt": "2007-12-03T10:15:30Z",
"currentReindexRunId": "xyz789",
"docCount": 987.65,
"drift": 987.65,
"entityCount": 987.65,
"indexHealth": "GREEN",
"indexName": "abc123",
"indexType": "ASSET",
"queueBackfillDepth": 987.65,
"queueIndexDepth": 987.65,
"reindexProgress": 987.65,
"schemaVersion": 987,
"treeRootGroupId": HashedId,
"treeRootGroupName": "xyz789"
}
EsIndexHealthStatusEnum
Description
Elasticsearch index health status
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
Example
"GREEN"
EsReindexInput
Description
Elasticsearch reindex request fields
Fields
| Input Field | Description |
|---|---|
force - Boolean
|
Force-restart even when an in-flight run is registered: releases the Redis lock for the tree root before starting |
indexType - IndexTypeEnum!
|
Entity type managed by this index |
treeRootGroupId - HashedId!
|
Hashed tree-root group ID |
Example
{
"force": true,
"indexType": "ASSET",
"treeRootGroupId": HashedId
}
EsReindexResult
Description
Result of a triggered reindex operation
Example
{
"runId": "abc123",
"started": true,
"targetIndexName": "xyz789"
}
Event
Description
An event is a historical entry, allowing the listing of all noteworthy changes or alerts for an asset. It can be created when one of the cases below happens:
- automatically when conditions defined in an internal or user-created Rule have been met
- automatically when a new service request ("flow response") was sent
- manually by users ("custom events")
Fields
| Field Name | Description |
|---|---|
authorEmail - String
|
Author email |
connectedComment - TicketComment
|
Connected comment |
costs - [CostLine!]!
|
Associated cost entries |
created - Timestamp!
|
Timestamp when the entity was created |
createdByIntegrationName - String
|
Name of the integration whose run created the event |
createdByPart - Part
|
Created by part |
createdByPartId - HashedId
|
Created by part identifier |
createdByRule - Rule
|
Created by rule |
createdByRuleId - HashedId
|
Created by rule identifier |
createdBySite - Site
|
Created by site |
createdBySiteId - HashedId
|
Created by site identifier |
createdByTicket - Ticket
|
Created by ticket |
createdByTicketId - HashedId
|
Created by ticket identifier |
createdByUser - User
|
The value is present if the event was created explicitly by a user |
createdByUserId - HashedId
|
Created by user identifier |
createdByWorkOrder - WorkOrderSummary
|
Created By Work Order for this event |
createdByWorkOrderId - HashedId
|
Created by work order identifier |
data - EventEntityDataDto!
|
Related data records |
description - Translation
|
A description of the event |
descriptionId - HashedId
|
Description identifier |
documents - [Document!]!
|
Documents attached to this event |
endTime - Timestamp
|
When the event stopped - when the rule first didn't trigger after the start, thus breaking the continous streak |
eventMeta - JSON
|
Expose any meta information which can be utilized by requesting client |
eventStyle - EventStyle!
|
Defines visual style for UIs for this event like color or icon |
eventStyleId - String!
|
Event style identifier Use type instead |
id - HashedId!
|
Unique identifier of the entity |
isCritical - Boolean
|
Denotes severity. Critical events should have a different, emphasized styling on the ui. |
isImmediateNotification - Boolean
|
Whether immediate notification |
isOngoing - Boolean
|
Some events behind the scenes are not "one-time" occurances - they are states that are triggered, then removed. Eg. a machine may send an error code continuously for weeks - obviously triggering only one event. An "ongoing" event means that with its last sent data pack, the asset still triggered this rule (which may be one or many times since the event's creation) - therefore it's an "active" event. |
lastEvent - Timestamp
|
Last event |
manualDeactivation - Boolean
|
Manual deactivation |
originatingFromAsset - Asset
|
Originating from asset |
originatingFromAssetId - HashedId
|
Originating from asset identifier |
originatingFromModule - Module
|
Originating from module |
originatingFromModuleId - HashedId
|
Originating from module identifier |
publicId - Int!
|
Public numeric identifier |
responseState - TicketState
|
Response state use "ticketStatus" enum instead |
serviceName - Translation
|
Service name |
shouldNotify - Boolean!
|
Whether to notify |
site - Site
|
Associated site |
siteId - HashedId
|
Site identifier |
startTime - Timestamp!
|
When this event started - when the rule first triggered in a continous streak |
stoppedByUser - User
|
The value is present if the event was stopped explicitly by a user |
stoppedByUserId - HashedId
|
Stopped by user identifier |
tag - [EventEntityTagEnum!]!
|
Classification tag or label |
ticketId - Int
|
Ticket identifier Use createdByTicketId |
ticketStatus - TicketStateEnum!
|
Ticket status |
title - Translation
|
Title of the event - in case of an IoT rule, same title as the rule - in case of a Ticket event, dynamically generated |
titleId - HashedId
|
Note that this could be a dummy in case of a dynamically generated title. Please use the "title" attribute instead Use the always available "title" attribute |
type - EventTypeEnum!
|
Type category |
updated - Timestamp
|
Timestamp when the entity was last updated |
workOrderNotifications - WorkOrderNotifications
|
Work order notifications |
Example
{
"authorEmail": "abc123",
"connectedComment": TicketComment,
"costs": [CostLine],
"created": 1592577642,
"createdByIntegrationName": "xyz789",
"createdByPart": Part,
"createdByPartId": HashedId,
"createdByRule": Rule,
"createdByRuleId": HashedId,
"createdBySite": Site,
"createdBySiteId": HashedId,
"createdByTicket": Ticket,
"createdByTicketId": HashedId,
"createdByUser": User,
"createdByUserId": HashedId,
"createdByWorkOrder": WorkOrderSummary,
"createdByWorkOrderId": HashedId,
"data": EventEntityDataDto,
"description": Translation,
"descriptionId": HashedId,
"documents": [Document],
"endTime": 1592577642,
"eventMeta": {},
"eventStyle": EventStyle,
"eventStyleId": "xyz789",
"id": HashedId,
"isCritical": true,
"isImmediateNotification": false,
"isOngoing": true,
"lastEvent": 1592577642,
"manualDeactivation": true,
"originatingFromAsset": Asset,
"originatingFromAssetId": HashedId,
"originatingFromModule": Module,
"originatingFromModuleId": HashedId,
"publicId": 123,
"responseState": TicketState,
"serviceName": Translation,
"shouldNotify": false,
"site": Site,
"siteId": HashedId,
"startTime": 1592577642,
"stoppedByUser": User,
"stoppedByUserId": HashedId,
"tag": ["RESPONSIBLE_UPDATE"],
"ticketId": 987,
"ticketStatus": "approvalNeeded",
"title": Translation,
"titleId": HashedId,
"type": "COST",
"updated": 1592577642,
"workOrderNotifications": WorkOrderNotifications
}
EventConfig
Description
Event config record
Example
{
"assetId": HashedId,
"lastEvent": "2007-12-03",
"nextEvent": "2007-12-03"
}
EventConfigInput
Description
Event config Input data for rule events config
Example
{
"assetId": HashedId,
"lastEvent": "2007-12-03",
"nextEvent": "2007-12-03"
}
EventDateFilter
Description
Event date filter input data
Fields
| Input Field | Description |
|---|---|
from - Timestamp!
|
Start timestamp of the filter range |
to - Timestamp!
|
End timestamp of the filter range |
Example
{"from": 1592577642, "to": 1592577642}
EventEntityDataDto
Description
Structured payload attached to an event recording contextual details such as status transitions, rescheduling info, and related entities
Fields
| Field Name | Description |
|---|---|
action - HandlerUpdateActionEnum
|
Handler update action performed, such as assignment or removal |
checkFrequency - String
|
Recurrence interval for the associated check schedule, such as daily or weekly |
customFieldId - HashedId
|
Custom field whose value was changed in this event |
handler - EventEntityDataHandlerDto
|
Assigned handler for processing |
initialState - Boolean
|
Whether this represents the first state of the related entity |
isAutomated - Boolean
|
Whether this event was triggered automatically by a rule or schedule |
machineCheck - MachineCheckEventDataDto
|
Machine check schedule data captured at the time of this event |
machineMaintenance - JSON
|
Machine maintenance schedule data captured at the time of this event |
newDate - Timestamp
|
Updated date value after the change that triggered this event |
oldDate - Timestamp
|
Previous date value before the change that triggered this event |
part - Part
|
Spare part involved in this event, such as a replacement or consumption |
rescheduled - RescheduledEventDataDto
|
Details about when and by whom the event was rescheduled |
rescheduledEventId - Int
|
Reference to the original event that was rescheduled |
roomStatus - RoomStatusEnum
|
Room occupancy status after the event, used for hospitality assets |
site - Site
|
Associated site |
stateId - Int
|
Numeric ticket status ID, deprecated in favor of the ticketStatus enum Use "ticketStatus" enum instead |
stockInfo - Part
|
Part stock information affected by this event |
ticketStatus - TicketStateEnum
|
Ticket status at the time this event was recorded |
type - EventEntityDataTypeEnum
|
Classification of the event data payload, such as maintenance, check, or status change |
Example
{
"action": "ADD",
"checkFrequency": "xyz789",
"customFieldId": HashedId,
"handler": EventEntityDataHandlerDto,
"initialState": true,
"isAutomated": false,
"machineCheck": MachineCheckEventDataDto,
"machineMaintenance": {},
"newDate": 1592577642,
"oldDate": 1592577642,
"part": Part,
"rescheduled": RescheduledEventDataDto,
"rescheduledEventId": 987,
"roomStatus": "Clean",
"site": Site,
"stateId": 123,
"stockInfo": Part,
"ticketStatus": "approvalNeeded",
"type": "APPROVAL_UPDATE"
}
EventEntityDataHandlerDto
Description
Handler reference captured in an event, identifying the ticket handler and its relation to the ticket
Fields
| Field Name | Description |
|---|---|
handlerType - HandlerTypeEnum!
|
Whether the handler is a user, team, or external service |
id - String!
|
Ticket handler identifier at the time of the event |
relationType - HandlerRelationTypeEnum!
|
How the handler relates to the ticket, such as assignee or watcher |
Example
{
"handlerType": "EXTERNALEMAIL",
"id": "xyz789",
"relationType": "ASSIGNEE"
}
EventEntityDataTypeEnum
Description
Identifies the specific data payload type within an event, such as handler updates, urgency changes, ticket item modifications, CRUD operations, geofence alerts, and automation-triggered changes
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"APPROVAL_UPDATE"
EventEntityTagEnum
Description
Tags that categorize activity log events by their origin, such as asset changes, rule triggers, maintenance checks, site reassignments, work orders, and module connections
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"RESPONSIBLE_UPDATE"
EventPoint
Description
Denotes a driving event like hard braking, cornering, etc.
Fields
| Field Name | Description |
|---|---|
distance - Float!
|
Distance from previous point in distance units |
eventStart - Float!
|
Event start time |
eventType - String!
|
Driving event classification (e.g. harsh braking, sharp cornering) |
id - Int!
|
Flespi location id |
lat - Float
|
Resolved location latitude |
lng - Float
|
Resolved location longitude |
speed - Float!
|
Point speed in distance units per hour |
Example
{
"distance": 123.45,
"eventStart": 987.65,
"eventType": "xyz789",
"id": 123,
"lat": 123.45,
"lng": 123.45,
"speed": 987.65
}
EventRescheduleInput
Description
Event reschedule Input data for event reschedule
Fields
| Input Field | Description |
|---|---|
date - Date!
|
Date |
id - HashedId!
|
Unique identifier |
note - TranslationInput!
|
Note |
Example
{
"date": "2007-12-03",
"id": HashedId,
"note": TranslationInput
}
EventRescheduleV2Input
Description
Event reschedule v2 Input data for event reschedule v2
Fields
| Input Field | Description |
|---|---|
date - Date!
|
Date |
note - TranslationInput!
|
Note |
Example
{
"date": "2007-12-03",
"note": TranslationInput
}
EventStyle
Description
Event styles are arbitrary categories for events. They define styling information for representing the events and their notifications. Examples are Error, Service or Location.
Fields
| Field Name | Description |
|---|---|
color - String
|
A hexadecimal color value |
createdByGroupId - HashedId
|
Created by group identifier |
icon - String
|
An url to a square icon image. Can be selected from a predefined list from the eventStyleIcons query. |
id - HashedId!
|
Unique identifier |
key - EventTypeEnum!
|
A handle for this style. These fixed styles are listed in EventStyleKey type and are available to all groups. |
name - Translation
|
Translated name of the event style Use key and translate it instead |
nameId - HashedId!
|
Name identifier |
Example
{
"color": "xyz789",
"createdByGroupId": HashedId,
"icon": "abc123",
"id": HashedId,
"key": "COST",
"name": Translation,
"nameId": HashedId
}
EventTypeEnum
Description
Classification of asset events by their origin or purpose, including errors, warnings, informational updates, maintenance services, location changes, tickets, costs, and work orders
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"COST"
FallbackSyncGroupsInput
Description
Input data for fallback sync groups
Fields
| Input Field | Description |
|---|---|
fallbackAssignmentMissingId - String
|
Fallback assignment missing identifier |
fallbackGroupDuplicatedId - String
|
Fallback group duplicated identifier |
fallbackGroupNotFoundId - String
|
Fallback group not found identifier |
syncServiceCanCreateGroups - Boolean
|
Sync service can create groups |
Example
{
"fallbackAssignmentMissingId": "abc123",
"fallbackGroupDuplicatedId": "abc123",
"fallbackGroupNotFoundId": "abc123",
"syncServiceCanCreateGroups": false
}
FeatureFlags
Description
Feature flags record
Fields
| Field Name | Description |
|---|---|
adminsSeeAllTickets - Boolean
|
Whether admin users can view tickets across all groups in the hierarchy |
advancedAssetStates - Boolean
|
Not supported - use "advancedAssetStatesSettings" |
allowCustomerAddGroup - Boolean
|
Whether customer-level users can create new child groups in the hierarchy |
allowEndCustomerEditAsset - Boolean
|
Whether end-customer users are allowed to edit asset properties they have access to |
allowStandardUserCreateAssets - Boolean
|
When enabled, standard users can create assets and link blank QR codes during onboarding |
allowedBrands - [String!]
|
List of brand identifiers that restrict which asset brands are available for selection |
alwaysHideCustomerTypes - Boolean
|
When enabled, customer type classification is hidden regardless of user role |
assetAvailabilityOnQRLanding - Boolean
|
Whether asset availability status is shown on QR code landing pages |
assetElasticsearch - Boolean
|
When enabled, asset list, search and filtering are served by Elasticsearch instead of MySQL |
assetMassEdit - Boolean
|
When enabled, bulk edit operations are available on list views |
assetNearSiteOverridesLocation - Boolean
|
Whether proximity to a site automatically overrides the GPS-reported asset location |
assetOverviewErrorCodeDescription - Boolean
|
Whether error code descriptions are displayed in the asset overview dashboard |
assetPackages - Boolean
|
When enabled, assets can be grouped into packages for this account |
assetRequestsEnabled - Boolean
|
Whether the asset request workflow is enabled for users to request new assets |
assetUtilizationDemoData - Boolean
|
Seeds and maintains the asset utilization demo fleet for this account |
assetsBatchUpdate - Boolean
|
Whether bulk update operations are enabled for modifying multiple assets simultaneously |
assetsBatchUpload - Boolean
|
Whether the legacy bulk asset import via spreadsheet is enabled |
assignCurrentUserToTicket - Boolean
|
Whether the current user is automatically assigned to newly created tickets |
assortmentList - Boolean
|
Whether the product assortment catalog is available for browsing and ordering |
autoInventoryNumber - Int
|
Seed for the per-organization auto-incremented inventory number (last used number; the first auto-allocated asset is seed + 1) |
autoPersonnelNumber - Int
|
Seed for the per-organization auto-incremented personnel number (last used number; the first auto-allocated personnel record is seed + 1) |
bypassPrivateCheck - Boolean
|
Whether private inspection check restrictions can be bypassed by admin users |
canAccessInternalSettings - Boolean
|
Whether the internal settings panel is accessible to the current user role |
canObfuscateLocation - Boolean
|
Whether the user can obfuscate location Removed https://github.com/ToolSense/frontend/issues/12667#issuecomment-2804130237 |
cmdkEnabled - Boolean
|
Always true: the command palette (Cmd+K) is enabled for every user The command palette is always enabled |
costsEnabled - Boolean
|
Whether the cost tracking and reporting module is enabled for financial analysis |
customFieldsDisabled - Boolean
|
When enabled, custom field definitions and values are disabled across the platform |
customFieldsImportEnabled - Boolean
|
When enabled, asset imports can include custom field values for supported custom field types |
customerIotRules - Boolean
|
Whether customer-level IoT automation rules can be configured for device triggers |
defaultCurrency - String
|
Whether the group-level default currency setting is exposed in the configuration UI |
deleteEventsEnabled - [String!]
|
Whether users can delete existing asset events |
disableCustomerGroup - Boolean
|
When enabled, customer group creation and management features are disabled |
disableQRCodeGeneration - Boolean
|
When enabled, automatic QR code generation for new assets is disabled |
disableTicketEditForStandardUser - Boolean
|
When enabled, restricts standard users to read-only ticket access |
disableTicketUuidInEmail - Boolean
|
When enabled, ticket reference UUIDs are omitted from email notification subject lines |
disableTripsMapView - Boolean
|
When enabled, trip routes are excluded from the map visualization |
editEventsEnabled - [String!]
|
Whether users can modify existing asset events after creation |
enableIMEIDuplicationFromOtherGroups - Boolean
|
Whether IMEI numbers can be imported from assets in other groups |
enableIMEIDuplicationToOtherGroups - Boolean
|
Whether IMEI numbers from this group can be copied to assets in other groups |
excludeOwnershipTodos - Boolean
|
When enabled, asset ownership transfer tasks are excluded from the to-do list |
excludeServiceContractTodos - Boolean
|
When enabled, service contract renewal tasks are excluded from the to-do list |
excludeWarrantyTodos - Boolean
|
When enabled, warranty-related tasks are excluded from the to-do list |
extraFields - Boolean
|
Whether custom extra fields are enabled for extending asset and ticket data models |
grafanaDashboard - Boolean
|
URL to the external Grafana monitoring dashboard for IoT device analytics |
groupLevelBrandingEnabled - Boolean
|
Lets sub-groups carry their own branding, inherited down the group tree |
hasAccessToIntegrationService - Boolean
|
Whether third-party integration services are enabled for this group |
hasAccessToTrips - Boolean
|
Whether GPS trip tracking and route history features are enabled |
hasApprovedAssetTypeSettings - Boolean
|
Whether the asset type approval workflow is enabled requiring admin sign-off on type changes |
hasAssetsChartView - Boolean
|
Whether the assets chart visualization is available on the dashboard |
hasLanguage - [LanguageLocaleEnum!]
|
Whether multi-language support is enabled for UI localization |
hasLockableTypes - Boolean
|
Whether asset type locking is enabled to prevent unauthorized modifications |
hasQRCode - Boolean
|
Whether QR code functionality is enabled for asset identification and tracking |
hasRobotFleet - Boolean
|
Whether the Robot Fleet dashboard is enabled for monitoring robotic assets |
hasVNC - Boolean
|
Whether VNC remote desktop access is enabled for connected IoT devices |
hideAssetCategories - Boolean
|
When enabled, asset category selection is hidden from the UI |
hideAssetDocuments - Boolean
|
When enabled, the documents tab is hidden from asset detail views |
hideAssetTypes - Boolean
|
When enabled, asset type selection is hidden from the UI for simplified asset management |
hideChecksOnQRLanding - Boolean
|
When enabled, inspection checklists are hidden from QR code landing pages |
hideCompleteButtonForChecks - Boolean
|
When enabled, the Complete button for check events is hidden from history views for non-admin roles |
hideDataTab - Boolean
|
When enabled, the data tab is hidden from asset detail views |
hideExternalId - Boolean
|
When enabled, external identifier fields are hidden across the platform |
hideExtraFieldsInAssetForm - Boolean
|
When enabled, supplementary input fields are hidden from the asset creation and edit forms |
hideGroupSelector - Boolean
|
When enabled, the group selector dropdown is hidden from the navigation bar |
hideInternalComments - Boolean
|
When enabled, internal comments are hidden from non-admin users on tickets |
hidePlateNoForNonVehicles - Boolean
|
When enabled, hides the license plate field for asset types that are not vehicles |
hideReleaseNotes - Boolean
|
When enabled, the release notes notification and link are hidden |
hideTicketEmailActions - Boolean
|
When enabled, email action buttons are hidden from ticket detail views |
hideTickets - Boolean
|
When enabled, the tickets module is hidden from navigation and disabled |
hideUserSubscriptionPage - Boolean
|
When enabled, the subscription management page is hidden from user settings |
hideWorkOrders - Boolean
|
When enabled, the work orders module is hidden from navigation and disabled |
hubspotHidden - Boolean
|
When enabled, HubSpot CRM integration UI elements are hidden |
isAssetPollingAvailable - Boolean
|
Whether periodic IoT device polling is enabled for real-time asset status updates |
isGroupTypeEditor - Boolean
|
Whether the group type editor interface is enabled for managing group classifications |
limitLocationInformationToLastDays - Int
|
Number of days to retain location history before older entries are hidden |
linkAbout - String
|
Custom URL for the about page link displayed in the navigation menu |
linkHelp - String
|
Custom URL for the help documentation link displayed in the navigation menu |
linkShopLabelProtection - String
|
URL to the label protection products in the accessories shop |
linkShopPaper - String
|
URL to the paper supplies in the accessories shop |
linkShopPrinter - String
|
URL to the printer hardware in the accessories shop |
linkTermsOfService - String
|
Custom URL for the terms of service link displayed in the footer |
machineChecks - Boolean
|
Whether the machine inspection checklist module is enabled for periodic asset verification |
mcpEnterpriseManagedAuthorization - Boolean
|
Whether an MCP client can exchange an identity-provider ID-JAG assertion from the brand SSO issuer for MCP tokens without the consent page |
partsBatchImport - Boolean
|
Whether bulk part import via spreadsheet upload is enabled |
partsInTickets - Boolean
|
Whether parts can be issued to and returned from tickets |
partsInWorkOrders - Boolean
|
Whether parts can be issued to and returned from work orders |
partsInventory - Boolean
|
Whether the parts inventory management module is enabled for tracking spare parts |
personnelEnabled - Boolean
|
When enabled, the Personnel module is available for the account |
procedureTemplateDocumentImport - Boolean
|
Whether a procedure draft can be imported from a document in the procedure builder |
qrAttachmentOptional - Boolean
|
Whether QR code attachment is optional during asset onboarding instead of mandatory |
qrIMEI - Boolean
|
Whether QR codes can encode and display the IMEI number of connected devices |
qrSiteReqq - Boolean
|
Whether QR code scanning is required when assigning assets to sites |
qrToSerialPairing - Boolean
|
When enabled, the mobile app pairs a scanned QR code with the asset whose scanned serial number matches |
releaseNotesLinks - Translation
|
URL to the platform release notes page displayed in the help menu |
releaseUserSubscriptions - Boolean
|
Whether user subscription self-management features are enabled |
restrictReservation - Boolean
|
Whether reservation creation is restricted to specific user roles or conditions |
robotChatbot - Boolean
|
When enabled, the proactive robot QR-landing chatbot is available for this group |
robotFleetDemoData - Boolean
|
When enabled, the robot fleet dashboard automatically ensures its sample data is present and current for this account |
serialNumberOptional - Boolean
|
Whether the serial number field is optional when creating or editing assets |
showAssetApiData - Boolean
|
Whether the API data section with mapped and unmapped provider fields is visible on the asset Integration tab |
showAssetIntegrationRuns - Boolean
|
Whether the per-asset Integration tab with sync status and manual runs is visible |
showAssetIntegrations - Boolean
|
Whether the asset integrations tab is visible showing connected third-party services |
showAssetLeasingCostColumnTicketList - Boolean
|
When enabled, shows the asset monthly leasing cost column in the ticket list |
showExternalAssetId - Boolean
|
Whether to display the external system identifier field on asset detail views |
showMaintenanceRequiredColumn - Boolean
|
Whether the maintenance-required status column is visible in asset list views |
showNonNullableFilterOption - Boolean
|
Whether non-null filter options are displayed in list view filter dropdowns |
showReservations - Boolean
|
Whether the reservation system is visible and available for asset booking |
showTicketAssetDetailColumns - Boolean
|
Whether to show separate asset serial, inventory number, plate number, type, brand, and category columns in the ticket list |
signupRequestsEnabled - Boolean
|
Whether new user registration requests can be submitted through the platform |
siteManagerTodoDisabled - Boolean
|
When enabled, the site manager task list is hidden from the dashboard |
sitesBatchUpdate - Boolean
|
Whether bulk update operations are enabled for modifying multiple sites simultaneously |
sitesBatchUpload - Boolean
|
Whether bulk site import via spreadsheet upload is enabled |
ticketEmailNotificationsDisabled - Boolean
|
When enabled, all email notifications for ticket events are suppressed |
ticketPushNotificationsDisabled - Boolean
|
When enabled, all push notifications for ticket events are suppressed |
unauthorisedUserCanCompleteCheckOnQr - Boolean
|
Whether unauthenticated users can complete inspection checklists via QR code landing pages |
uncertaintyLimit - Int
|
GPS accuracy threshold in meters below which location data is considered reliable |
useAlternateAssetName - Boolean
|
Whether to display an alternative label for the assets feature in the UI |
useAlternateReservationName - Boolean
|
Whether to display an alternative label for the reservations feature in the UI |
useOldSiteAccessRule - Boolean
|
Whether to use the legacy site-based access control rules instead of the new hierarchy-based model |
usersSeeAllTickets - Boolean
|
Whether standard users can view all tickets or only those assigned to them |
webhooksEnabled - Boolean
|
Whether outbound webhook notifications are enabled for event-driven integrations |
whatsappAssistant - Boolean
|
Whether users of the group can ask the read-only assistant questions over WhatsApp |
workOrderEmailNotificationsDisabled - Boolean
|
When enabled, all email notifications for work order events are suppressed |
workOrderPushNotificationsDisabled - Boolean
|
When enabled, all push notifications for work order events are suppressed |
Example
{
"adminsSeeAllTickets": true,
"advancedAssetStates": true,
"allowCustomerAddGroup": false,
"allowEndCustomerEditAsset": true,
"allowStandardUserCreateAssets": true,
"allowedBrands": ["abc123"],
"alwaysHideCustomerTypes": false,
"assetAvailabilityOnQRLanding": false,
"assetElasticsearch": true,
"assetMassEdit": true,
"assetNearSiteOverridesLocation": true,
"assetOverviewErrorCodeDescription": false,
"assetPackages": false,
"assetRequestsEnabled": false,
"assetUtilizationDemoData": true,
"assetsBatchUpdate": false,
"assetsBatchUpload": true,
"assignCurrentUserToTicket": false,
"assortmentList": false,
"autoInventoryNumber": 987,
"autoPersonnelNumber": 123,
"bypassPrivateCheck": false,
"canAccessInternalSettings": false,
"canObfuscateLocation": false,
"cmdkEnabled": false,
"costsEnabled": true,
"customFieldsDisabled": false,
"customFieldsImportEnabled": false,
"customerIotRules": true,
"defaultCurrency": "xyz789",
"deleteEventsEnabled": ["abc123"],
"disableCustomerGroup": false,
"disableQRCodeGeneration": false,
"disableTicketEditForStandardUser": true,
"disableTicketUuidInEmail": false,
"disableTripsMapView": true,
"editEventsEnabled": ["abc123"],
"enableIMEIDuplicationFromOtherGroups": true,
"enableIMEIDuplicationToOtherGroups": false,
"excludeOwnershipTodos": false,
"excludeServiceContractTodos": false,
"excludeWarrantyTodos": true,
"extraFields": true,
"grafanaDashboard": true,
"groupLevelBrandingEnabled": true,
"hasAccessToIntegrationService": true,
"hasAccessToTrips": false,
"hasApprovedAssetTypeSettings": false,
"hasAssetsChartView": false,
"hasLanguage": ["ar_ar"],
"hasLockableTypes": true,
"hasQRCode": false,
"hasRobotFleet": false,
"hasVNC": false,
"hideAssetCategories": false,
"hideAssetDocuments": true,
"hideAssetTypes": true,
"hideChecksOnQRLanding": true,
"hideCompleteButtonForChecks": true,
"hideDataTab": false,
"hideExternalId": false,
"hideExtraFieldsInAssetForm": false,
"hideGroupSelector": true,
"hideInternalComments": true,
"hidePlateNoForNonVehicles": true,
"hideReleaseNotes": true,
"hideTicketEmailActions": true,
"hideTickets": false,
"hideUserSubscriptionPage": false,
"hideWorkOrders": false,
"hubspotHidden": true,
"isAssetPollingAvailable": true,
"isGroupTypeEditor": true,
"limitLocationInformationToLastDays": 123,
"linkAbout": "xyz789",
"linkHelp": "xyz789",
"linkShopLabelProtection": "xyz789",
"linkShopPaper": "xyz789",
"linkShopPrinter": "abc123",
"linkTermsOfService": "xyz789",
"machineChecks": false,
"mcpEnterpriseManagedAuthorization": true,
"partsBatchImport": false,
"partsInTickets": false,
"partsInWorkOrders": false,
"partsInventory": true,
"personnelEnabled": true,
"procedureTemplateDocumentImport": true,
"qrAttachmentOptional": true,
"qrIMEI": false,
"qrSiteReqq": true,
"qrToSerialPairing": true,
"releaseNotesLinks": Translation,
"releaseUserSubscriptions": false,
"restrictReservation": true,
"robotChatbot": false,
"robotFleetDemoData": true,
"serialNumberOptional": false,
"showAssetApiData": true,
"showAssetIntegrationRuns": true,
"showAssetIntegrations": true,
"showAssetLeasingCostColumnTicketList": true,
"showExternalAssetId": true,
"showMaintenanceRequiredColumn": true,
"showNonNullableFilterOption": true,
"showReservations": false,
"showTicketAssetDetailColumns": false,
"signupRequestsEnabled": true,
"siteManagerTodoDisabled": true,
"sitesBatchUpdate": false,
"sitesBatchUpload": false,
"ticketEmailNotificationsDisabled": false,
"ticketPushNotificationsDisabled": false,
"unauthorisedUserCanCompleteCheckOnQr": true,
"uncertaintyLimit": 123,
"useAlternateAssetName": true,
"useAlternateReservationName": true,
"useOldSiteAccessRule": true,
"usersSeeAllTickets": true,
"webhooksEnabled": true,
"whatsappAssistant": true,
"workOrderEmailNotificationsDisabled": true,
"workOrderPushNotificationsDisabled": true
}
FilterCondition
Description
Filter condition record
Fields
| Field Name | Description |
|---|---|
id - String
|
Unique identifier |
operation - FilterOperationEnum
|
Comparison operator for this condition (e.g. equals, contains, between) |
source - String
|
Data source column for this filter condition |
value - String
|
Stored value |
values - [String!]
|
Range boundary values for between operations |
Example
{
"id": "xyz789",
"operation": "BETWEEN",
"source": "abc123",
"value": "xyz789",
"values": ["xyz789"]
}
FilterConditionInput
Description
Filter condition Input data for filter condition
Fields
| Input Field | Description |
|---|---|
id - String
|
Unique identifier |
operation - FilterOperationEnum
|
Comparison operator for this condition (e.g. equals, contains, between) |
source - String
|
Data source column for this filter condition |
value - String
|
Stored value |
values - [String!]
|
Range boundary values for between operations |
Example
{
"id": "xyz789",
"operation": "BETWEEN",
"source": "xyz789",
"value": "xyz789",
"values": ["abc123"]
}
FilterOperationEnum
Description
Comparison operators used in query filters, including equality checks, range comparisons, set membership, and between operations
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"BETWEEN"
FilterOption
Description
Filter option record
Example
{
"count": 987,
"deleted": 1592577642,
"id": "abc123",
"label": "abc123",
"source": "xyz789",
"value": "xyz789"
}
FilterParamsInput
Description
Filter params Input data for filter params
Fields
| Input Field | Description |
|---|---|
conditions - [FilterConditionInput!]
|
Conditions |
hidden - Boolean
|
Hidden |
name - String
|
Display name |
presence - FilterPresenceEnum
|
Presence |
selection - FilterTypeEnum
|
Selection |
sorting - SortDirection
|
Sorting |
Example
{
"conditions": [FilterConditionInput],
"hidden": true,
"name": "xyz789",
"presence": "HAS_NO_VALUE",
"selection": "DATETIME_QUICK_HAS_NO_DATE",
"sorting": "ASC"
}
FilterPresenceEnum
Description
Operators that check whether a field has any value or is empty, used for null/non-null filtering
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
Example
"HAS_NO_VALUE"
FilterTypeEnum
Description
Predefined filter presets for date, datetime, and number fields, including quick-select ranges, relative time periods, exact value comparisons, and presence checks
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"DATETIME_QUICK_HAS_NO_DATE"
FilteringDataTypeEnum
Description
Data types supported by the filtering system (e.g. string, number, date, enum)
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"BOOLEAN"
Filters
Description
a well defined filter configuration
Fields
| Field Name | Description |
|---|---|
columnName - String
|
Entity field name this filter applies to (e.g. status, assetTypeId) |
conditions - [FilterCondition!]
|
Conditions |
hidden - Boolean
|
Hidden |
presence - FilterPresenceEnum
|
Presence |
selection - FilterTypeEnum
|
Selection |
sorting - SortDirection
|
Sorting |
value - [String!]
|
values to filter this column by; only records with these values are selected |
values - [String!]
|
values to filter this column by; only records with these values are selected |
Example
{
"columnName": "xyz789",
"conditions": [FilterCondition],
"hidden": false,
"presence": "HAS_NO_VALUE",
"selection": "DATETIME_QUICK_HAS_NO_DATE",
"sorting": "ASC",
"value": ["xyz789"],
"values": ["abc123"]
}
FindHandlersAdditionalHandlerInput
Description
A handler to include in the search result by its type and public id
Fields
| Input Field | Description |
|---|---|
handlerType - HandlerTypeEnum!
|
Entity type of the handler: user, team or group |
publicId - Int!
|
Numeric public id of the handler, as AvailableHandler.publicId serves it |
Example
{"handlerType": "EXTERNALEMAIL", "publicId": 987}
Float
Description
The Float scalar type represents signed double-precision fractional values as specified by IEEE 754.
Example
987.65
Group
Description
Groups are the basic organizational structures of the Toolsense system. They are the entities that bind together users, assets and their properties, and are the unit of visibility and authorization. Groups form independent tree hierarchies - they may have parent groups and subgroups.
Visibility of both assets and users is downwards-only.
Group hierarchies can have a relation to each other connecting any two groups between the two tree structures. The connections describe transfer and visibility to resources, currently assets. A real world example would be the hierarchy Acme Corp -> Acme West -> Acme Germany. Acme Germany sells an asset to Excel Corp, which may or may not exist in the TS System. When it does, Acme Corp would still like to supervise the asset for error events - the relation which the transfer created provides this access.
Fields
| Field Name | Description |
|---|---|
activeCustomFields - [CustomField!]!
|
Active custom fields |
Arguments
|
|
archivedCustomFields - [CustomField!]!
|
Archived custom fields |
Arguments
|
|
assetIds - [HashedId!]!
|
List of hashed asset IDs belonging to this group |
assetLocationsHidden - Boolean!
|
Customers can obfuscate the location of their assets to the manufacturers Removed https://github.com/ToolSense/frontend/issues/12667#issuecomment-2804130237 |
assets - [Asset!]!
|
Assets currently assigned to this group |
belongsToCurrentGroup - Boolean!
|
Expose the level of access to the group. This is used to determine if the group is directly accessible to the currentUser. Currently only currentGroups and child groups are marked as belonging to the current group. any other group if accessible will be marked as group from other group. |
brand - Brand!
|
Brand for the group, resolved through tree hierarchy with default fallback |
canGrantJotformConversion - Boolean!
|
Whether the viewer may change the Jotform conversion permission of users whose home group is this group |
childGroupIds - [HashedId!]!
|
IDs of child groups |
childGroups - [Group!]!
|
The groups below the selected group in the hierarchy |
costSettings - GroupCostSettings!
|
Billing and cost-calculation parameters governing how asset usage costs are computed |
costSettingsId - HashedId!
|
Reference to the cost settings record applied to this group |
created - Timestamp!
|
Timestamp when the entity was created |
customerName - String
|
Display name of the top-level customer group in the organization hierarchy |
customerRootGroup - Group
|
Topmost customer group in the hierarchy. Returns the topmost customer group under the hierarchy of impersonated group. Returns null if current group or above is non-customer group |
deleted - Timestamp
|
Soft deletion timestamp, null if active |
deletedAssetCategoriesCount - Int
|
Number of deleted asset categories of this deleted group; set by the deleted group list only |
deletedAssetTypesCount - Int
|
Number of deleted asset types of this deleted group; set by the deleted group list only |
deletedAssetsCount - Int
|
Number of deleted assets of this deleted group; set by the deleted group list only |
deletedBy - String
|
Full name or email of the user who deleted the group; set by the deleted group list only |
deletedGroupsCount - Int
|
Number of deleted child groups of this deleted group; set by the deleted group list only |
deletedSitesCount - Int
|
Number of deleted sites of this deleted group; set by the deleted group list only |
effectiveTimezone - String!
|
IANA timezone of the group: its inherited regional default timezone, else its working-hours timezone, else UTC |
flow - ServicePackage
|
Automated workflow pipeline defining ticket routing and escalation steps only for the BC with older mobile app versions |
flowId - HashedId!
|
only for the BC with older mobile app versions |
flowMaintainers - [NotificationRelation!]!
|
Users or email addresses who will receive flow notifications Use "ticketHandler" resolver instead |
groupType - ServicePackage
|
Group Type for this group use service package instead |
groupTypeId - HashedId!
|
Reference to the service package defining the SLA tier for this group use service package id instead |
handlerAlias - String
|
Groups can be set as a target for tickets and ticket assignments. In this case, it appears among possible ticket handlers. This is an optional alternative name for the group when appearing in the list of ticket handlers. |
hasTicketHandling - Boolean!
|
Toggles if this group is a target of tickets coming from users in its own group and below Use "ticketHandler" resolver instead |
id - HashedId!
|
Unique identifier of the entity |
identificationNumber - String
|
A unique group identifier, eg. a customer number |
image - String
|
Image (url) for this group - eg. company logo or picture |
internalSettings - JSON
|
Platform-specific settings for the group. Can only be accessed by designated admins. |
isCustomer - Boolean!
|
Whether this represents a customer |
isRoot - Boolean!
|
Whether this is the root element |
maintainedManufacturer - [Manufacturer!]!
|
Groups may maintain one or more manufacturers |
maintainedManufacturerId - [HashedId!]!
|
IDs of maintained manufacturers |
name - String!
|
Human-readable label used to identify the group in the UI |
nonCustomerParentGroup - Group
|
1st rooted non-customer parent group in the hierarchy, returns top most customer, non-customer group if impersonated with a group lower in hierarchy |
ownSettings - JSON
|
Settings set on this group itself, without the values it inherits from its parent groups; a property missing here follows the parent group. Can only be accessed by designated admins. |
parentGroup - Group
|
The group above the selected group in the hierarchy |
parentGroupId - HashedId
|
Parent group identifier in the hierarchy |
parentName - String!
|
Parent or OEM root group name |
resolvedCurrency - Currency!
|
Currency of this group's money: its own currency, else its parent groups' inherited currency, else EUR |
restoreBlockers - [RestoreBlockerEnum!]
|
Reasons the deleted group cannot be restored right now; set by the deleted group list only |
roleIds - [HashedId!]!
|
only for the BC with older mobile app versions |
rootBrand - Brand!
|
The tree-root white-label brand whose host and key the group's links and sign-in use |
rootGroupId - HashedId
|
Reference to the top-level ancestor group in the organization hierarchy Use treeRootId instead |
rootGroupName - String
|
The root group's name in the group's hierarchy. Returns null if the group is a root group |
servicePackage - ServicePackage
|
Bundled service configuration defining the SLA and maintenance scope for this group |
servicePackageId - HashedId!
|
Service package contain specific pre-set configurations for groups |
servicePackageV2 - ServicePackageUnion!
|
|
services - [Service!]!
|
Services associated to current group's servicePackage Use "servicesV2" instead |
Arguments
|
|
servicesV2 - [Service!]!
|
Services associated to current group's servicePackage |
Arguments
|
|
settings - JSON!
|
Settings are configuration values for the platform. They can be used to store ad-hoc client settings. Some properties are already pre-set internally and can not be changed. They are saved and retrieved automatically. Settings for groups are inherited - if a group doesn't have settings set, it will inherit from its parent. The inheritance is also true per each property. A null value for a property is considered valid and is inherited. |
ticketAfterApprovalAssigneeTeam - Team
|
Effective after-approval assignee team of this group, set on it or inherited from the nearest ancestor |
ticketAfterApprovalAssigneeUser - User
|
Effective after-approval assignee user of this group, set on it or inherited from the nearest ancestor |
ticketDefaultAssignee - User
|
Effective default assignee of this group, set on it or inherited from the nearest ancestor |
ticketHandler - GroupTicketHandler
|
Responsible party configuration for processing tickets raised within this group |
treeRootId - HashedId!
|
Root group identifier of the hierarchy tree |
updated - Timestamp
|
Timestamp when the entity was last updated |
userIds - [HashedId!]!
|
IDs of users in this group |
userRequestNotifiers - [NotificationRelation!]!
|
Email addresses to receive notifications on customer signup |
users - [User!]!
|
Users currently assigned to this group |
vatNumber - String
|
The legal VAT number for the organization represented by this group |
workingHours - GroupWorkingHours!
|
Weekly working hour schedule applied to this group |
Example
{
"activeCustomFields": [CustomField],
"archivedCustomFields": [CustomField],
"assetIds": [HashedId],
"assetLocationsHidden": true,
"assets": [Asset],
"belongsToCurrentGroup": true,
"brand": Brand,
"canGrantJotformConversion": false,
"childGroupIds": [HashedId],
"childGroups": [Group],
"costSettings": GroupCostSettings,
"costSettingsId": HashedId,
"created": 1592577642,
"customerName": "abc123",
"customerRootGroup": Group,
"deleted": 1592577642,
"deletedAssetCategoriesCount": 123,
"deletedAssetTypesCount": 123,
"deletedAssetsCount": 987,
"deletedBy": "abc123",
"deletedGroupsCount": 987,
"deletedSitesCount": 987,
"effectiveTimezone": "xyz789",
"flow": ServicePackage,
"flowId": HashedId,
"flowMaintainers": [NotificationRelation],
"groupType": ServicePackage,
"groupTypeId": HashedId,
"handlerAlias": "xyz789",
"hasTicketHandling": false,
"id": HashedId,
"identificationNumber": "abc123",
"image": "abc123",
"internalSettings": {},
"isCustomer": false,
"isRoot": true,
"maintainedManufacturer": [Manufacturer],
"maintainedManufacturerId": [HashedId],
"name": "xyz789",
"nonCustomerParentGroup": Group,
"ownSettings": {},
"parentGroup": Group,
"parentGroupId": HashedId,
"parentName": "abc123",
"resolvedCurrency": "AED",
"restoreBlockers": ["PARENT_ASSET_CATEGORY_DELETED"],
"roleIds": [HashedId],
"rootBrand": Brand,
"rootGroupId": HashedId,
"rootGroupName": "xyz789",
"servicePackage": ServicePackage,
"servicePackageId": HashedId,
"servicePackageV2": RestrictedServicePackage,
"services": [Service],
"servicesV2": [Service],
"settings": {},
"ticketAfterApprovalAssigneeTeam": Team,
"ticketAfterApprovalAssigneeUser": User,
"ticketDefaultAssignee": User,
"ticketHandler": GroupTicketHandler,
"treeRootId": HashedId,
"updated": 1592577642,
"userIds": [HashedId],
"userRequestNotifiers": [NotificationRelation],
"users": [User],
"vatNumber": "xyz789",
"workingHours": GroupWorkingHours
}
GroupBulkChangeParentInput
Fields
| Input Field | Description |
|---|---|
excludeGroupIds - [HashedId!]
|
Group IDs to exclude from the selection |
filterInput - AssetFilterInput
|
Filter criteria to dynamically select groups |
groupIds - [HashedId!]
|
Explicit list of group IDs to include in the operation |
parentGroupId - HashedId!
|
Example
{
"excludeGroupIds": [HashedId],
"filterInput": AssetFilterInput,
"groupIds": [HashedId],
"parentGroupId": HashedId
}
GroupBulkChangeServicePackageInput
Fields
| Input Field | Description |
|---|---|
excludeGroupIds - [HashedId!]
|
Group IDs to exclude from the selection |
filterInput - AssetFilterInput
|
Filter criteria to dynamically select groups |
groupIds - [HashedId!]
|
Explicit list of group IDs to include in the operation |
servicePackageId - HashedId!
|
Example
{
"excludeGroupIds": [HashedId],
"filterInput": AssetFilterInput,
"groupIds": [HashedId],
"servicePackageId": HashedId
}
GroupBulkSetCustomerInput
Fields
| Input Field | Description |
|---|---|
excludeGroupIds - [HashedId!]
|
Group IDs to exclude from the selection |
filterInput - AssetFilterInput
|
Filter criteria to dynamically select groups |
groupIds - [HashedId!]
|
Explicit list of group IDs to include in the operation |
isCustomer - Boolean!
|
Example
{
"excludeGroupIds": [HashedId],
"filterInput": AssetFilterInput,
"groupIds": [HashedId],
"isCustomer": true
}
GroupBulkUpdateFieldsInput
Example
{
"identificationNumber": "abc123",
"name": "abc123",
"vatNumber": "xyz789"
}
GroupBulkUpdateInput
Fields
| Input Field | Description |
|---|---|
excludeGroupIds - [HashedId!]
|
Group IDs to exclude from the selection |
fields - GroupBulkUpdateFieldsInput!
|
|
filterInput - AssetFilterInput
|
Filter criteria to dynamically select groups |
groupIds - [HashedId!]
|
Explicit list of group IDs to include in the operation |
Example
{
"excludeGroupIds": [HashedId],
"fields": GroupBulkUpdateFieldsInput,
"filterInput": AssetFilterInput,
"groupIds": [HashedId]
}
GroupComposedSettings
Description
Merged view of general and internal settings resolved through the group hierarchy
Fields
| Field Name | Description |
|---|---|
accountCancelled - Boolean
|
Whether staff have manually flagged this organization as having a cancelled account, blocking app usage |
customWelcomeContent - Translation
|
Localized HTML or text content displayed to users when they first join this group |
defaultCurrency - String!
|
ISO 4217 currency code used as the default for cost calculations within this group |
features - FeatureFlags!
|
Feature flag overrides controlling which platform capabilities are enabled for this group |
flowNotifications - [NotificationRelation!]!
|
Notification rules triggered by workflow transitions such as ticket status changes |
googleMapsSettings - MapsSettings
|
Google Maps credentials this group tree geocodes with instead of the deployment defaults |
hasTicketHandling - Boolean!
|
Whether the record has ticket handling |
hereMapsSettings - MapsSettings
|
HERE Maps credentials this group tree reverse geocodes with instead of the deployment defaults |
hotelSettings - HotelSettings
|
Hotel-specific configuration for room status tracking and property management integration |
hubspotCompanyId - String!
|
HubSpot CRM company ID linking this group to its external CRM record for sync |
openaiSettings - OpenaiSettings
|
OpenAI credentials this group tree uses instead of the deployment defaults |
oracleSettings - OracleSettings
|
Oracle OHIP integration credentials and endpoints for hospitality property management sync |
paymentPlan - String!
|
Subscription tier determining feature availability and billing (e.g. free, standard, premium) |
selfSignup - Boolean
|
Whether this organization was created through self-service trial signup rather than provisioned by the sales team |
selfSignupTime - String
|
ISO timestamp of when this organization self-signed up for its trial |
showViewersOnTicket - Boolean
|
Whether to display a list of users who have viewed a ticket in the ticket detail view |
stripe_settings - StripeSettings!
|
Stripe billing integration parameters for subscription management and invoicing |
ticketTagsByPermission - Boolean
|
Whether only admins and users granted the ticket tags right can add or remove tags on tickets |
whatsappSettings - WhatsappSettings
|
WhatsApp Business credentials this group tree answers with instead of the deployment defaults |
Example
{
"accountCancelled": true,
"customWelcomeContent": Translation,
"defaultCurrency": "xyz789",
"features": FeatureFlags,
"flowNotifications": [NotificationRelation],
"googleMapsSettings": MapsSettings,
"hasTicketHandling": true,
"hereMapsSettings": MapsSettings,
"hotelSettings": HotelSettings,
"hubspotCompanyId": "xyz789",
"openaiSettings": OpenaiSettings,
"oracleSettings": OracleSettings,
"paymentPlan": "abc123",
"selfSignup": true,
"selfSignupTime": "xyz789",
"showViewersOnTicket": true,
"stripe_settings": StripeSettings,
"ticketTagsByPermission": false,
"whatsappSettings": WhatsappSettings
}
GroupCostSettings
Description
Billing parameters that define how asset usage costs are calculated for a group
Fields
| Field Name | Description |
|---|---|
billableDays - [WeekdayEnum!]!
|
Days of the week included in cost calculations for usage-based billing |
calculationModel - GroupCostSettingsCalculationModelEnum!
|
Mathematical model used for cost distribution (e.g. flat rate, usage-based, or blended) |
created - Timestamp!
|
Timestamp when the entity was created |
daysBilledPerMonth - Int!
|
Days billed per month |
id - HashedId!
|
Unique identifier of the entity |
isInherited - Boolean!
|
Whether these cost settings are inherited from a parent group rather than configured directly |
mode - GroupCostSettingsModeEnum!
|
Cost calculation mode determining whether costs are computed per asset, per site, or globally |
nonWorkingDays - [GroupCostSettingsNonWorkingDays!]!
|
Date ranges excluded from cost calculations such as holidays or maintenance windows |
updated - Timestamp
|
Timestamp when the entity was last updated |
Example
{
"billableDays": ["Friday"],
"calculationModel": "BILL_BOTH_SITES_ON_DAY_OF_REASSIGNMENT",
"created": 1592577642,
"daysBilledPerMonth": 987,
"id": HashedId,
"isInherited": false,
"mode": "FIRST_DAY_OF_MONTH",
"nonWorkingDays": [GroupCostSettingsNonWorkingDays],
"updated": 1592577642
}
GroupCostSettingsCalculationModelEnum
Description
Defines how costs are billed when an asset is reassigned between sites, such as billing the former site, the new site, or both
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
Example
"BILL_BOTH_SITES_ON_DAY_OF_REASSIGNMENT"
GroupCostSettingsCreateInput
Description
Data required to create a new group cost settings
Fields
| Input Field | Description |
|---|---|
billableDays - [WeekdayEnum!]!
|
Days of the week included in cost calculations for usage-based billing |
calculationModel - GroupCostSettingsCalculationModelEnum!
|
Mathematical model used for cost distribution (e.g. flat rate, usage-based, or blended) |
daysBilledPerMonth - Int!
|
Days billed per month |
isInherited - Boolean!
|
Whether these cost settings are inherited from a parent group rather than configured directly |
mode - GroupCostSettingsModeEnum!
|
Cost calculation mode determining whether costs are computed per asset, per site, or globally |
nonWorkingDays - [GroupCostSettingsNonWorkingDaysInput!]!
|
Date ranges to exclude from cost calculations such as holidays |
Example
{
"billableDays": ["Friday"],
"calculationModel": "BILL_BOTH_SITES_ON_DAY_OF_REASSIGNMENT",
"daysBilledPerMonth": 123,
"isInherited": false,
"mode": "FIRST_DAY_OF_MONTH",
"nonWorkingDays": [GroupCostSettingsNonWorkingDaysInput]
}
GroupCostSettingsModeEnum
Description
Determines whether asset costs are calculated per day or from the first day of the month
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
Example
"FIRST_DAY_OF_MONTH"
GroupCostSettingsNonWorkingDays
GroupCostSettingsNonWorkingDaysInput
GroupCostSettingsUpdateInput
Description
Fields to update on an existing group cost settings
Fields
| Input Field | Description |
|---|---|
billableDays - [WeekdayEnum!]!
|
Days of the week included in cost calculations for usage-based billing |
calculationModel - GroupCostSettingsCalculationModelEnum!
|
Mathematical model used for cost distribution (e.g. flat rate, usage-based, or blended) |
daysBilledPerMonth - Int!
|
Days billed per month |
isInherited - Boolean!
|
Whether these cost settings are inherited from a parent group rather than configured directly |
mode - GroupCostSettingsModeEnum!
|
Cost calculation mode determining whether costs are computed per asset, per site, or globally |
nonWorkingDays - [GroupCostSettingsNonWorkingDaysInput!]!
|
Updated date ranges to exclude from cost calculations |
Example
{
"billableDays": ["Friday"],
"calculationModel": "BILL_BOTH_SITES_ON_DAY_OF_REASSIGNMENT",
"daysBilledPerMonth": 123,
"isInherited": false,
"mode": "FIRST_DAY_OF_MONTH",
"nonWorkingDays": [GroupCostSettingsNonWorkingDaysInput]
}
GroupCreateInput
Description
Data required to create a new group
Fields
| Input Field | Description |
|---|---|
costSettings - GroupCostSettingsCreateInput
|
Initial cost calculation settings for the new group |
defaultCurrency - String
|
ISO 4217 currency code for cost calculations within this group |
generalSettings - GroupGeneralSettingsCreateInput
|
Customer-facing configuration including currency, payment plan, and notification preferences |
getRawFlow - Boolean
|
Whether to return the unprocessed workflow configuration in the response |
handlerAlias - String
|
Groups can be set as a target for tickets and ticket assignments. In this case, it appears among possible ticket handlers. This is an optional alternative name for the group when appearing in the list of ticket handlers. |
identificationNumber - String
|
A unique group identifier, eg. a customer number |
internalSettings - GroupInternalSettingsCreateInput
|
Admin-only configuration including feature flags, billing integration, and access controls |
isCustomer - Boolean
|
Whether this represents a customer |
name - String!
|
Human-readable label used to identify the group in the UI |
parentGroupId - HashedId!
|
Parent group identifier in the hierarchy |
servicePackageId - HashedId
|
Service package contain specific pre-set configurations for groups |
vatNumber - String
|
The legal VAT number for the organization represented by this group |
Example
{
"costSettings": GroupCostSettingsCreateInput,
"defaultCurrency": "xyz789",
"generalSettings": GroupGeneralSettingsCreateInput,
"getRawFlow": false,
"handlerAlias": "xyz789",
"identificationNumber": "xyz789",
"internalSettings": GroupInternalSettingsCreateInput,
"isCustomer": true,
"name": "xyz789",
"parentGroupId": HashedId,
"servicePackageId": HashedId,
"vatNumber": "abc123"
}
GroupDetachToRootInput
Description
Fields required to detach a group to a new root tree
Fields
| Input Field | Description |
|---|---|
username - String!
|
Example
{"username": "xyz789"}
GroupGeneralSettingsCreateInput
Description
Data required to create a new group general settings
Fields
| Input Field | Description |
|---|---|
customWelcomeContent - TranslationInput
|
Localized HTML or text content displayed to users when they first join this group |
defaultCurrency - String!
|
ISO 4217 currency code used as the default for cost calculations within this group |
features - GroupSettingsFeatureFlagsCreateInput
|
Feature flag overrides controlling which platform capabilities are enabled |
flowNotifications - [NotificationRelationCreateInput!]!
|
Notification rules triggered by workflow transitions such as ticket status changes |
hasTicketHandling - Boolean!
|
Whether the record has ticket handling |
paymentPlan - String!
|
Subscription tier determining feature availability and billing |
Example
{
"customWelcomeContent": TranslationInput,
"defaultCurrency": "xyz789",
"features": GroupSettingsFeatureFlagsCreateInput,
"flowNotifications": [NotificationRelationCreateInput],
"hasTicketHandling": true,
"paymentPlan": "abc123"
}
GroupGeneralSettingsUpdateInput
Description
Fields to update on an existing group general settings
Fields
| Input Field | Description |
|---|---|
customWelcomeContent - TranslationInput
|
Updated localized content displayed to users when they first join this group |
defaultCurrency - Boolean
|
Updated ISO 4217 currency code for cost calculations; null clears the value set on this group so it follows its parent group again |
defaultDistanceUnit - String
|
Distance unit copied into the personal preference of every user created in this group or in a sub-group inheriting it; null clears the value set on this group so it follows its parent group again |
defaultFuelUnit - String
|
Fuel unit copied into the personal preference of every user created in this group or in a sub-group inheriting it; null clears the value set on this group so it follows its parent group again |
defaultLanguageId - Int
|
Language the group Add-User form pre-selects for a new member; unlike the other regional defaults it is applied by the client at creation, never copied server-side; null clears the value set on this group so it follows its parent group again |
defaultLocale - String
|
Time-format locale copied into the personal preference of every user created in this group or in a sub-group inheriting it; null clears the value set on this group so it follows its parent group again |
defaultTimezone - String
|
Timezone copied into the personal preference of every user created in this group or in a sub-group inheriting it; null clears the value set on this group so it follows its parent group again |
features - GroupSettingsFeatureFlagsCreateInput
|
Updated feature flag overrides for this group |
flowNotifications - [NotificationRelationCreateInput!]
|
Updated notification rules triggered by workflow transitions |
hasTicketHandling - Boolean
|
Whether the record has ticket handling |
paymentPlan - Boolean
|
Updated subscription tier for this group |
robotIdleThresholdHours - Int
|
Hours without a mission after which a robot counts as idle on dashboards, the robot attention list and robot alerts, for this group and every sub-group inheriting it |
robotLowBatteryThresholdPercent - Int
|
Battery percentage below which a robot counts as low battery on dashboards, the robot attention list and robot alerts, for this group and every sub-group inheriting it |
sendUserInviteEmails - Boolean
|
Whether a user created in this group or in a sub-group inheriting it automatically receives the invitation email; the manual activation email resend is not affected; null clears the value set on this group so it follows its parent group again |
ticketAfterApprovalAssignee - GroupTicketAfterApprovalAssigneeInput
|
User or team a group hands an approved ticket to |
ticketDefaultAssigneeUserId - HashedId
|
User a ticket from a service set to the group default assignee is assigned to, for this group and every sub-group inheriting it |
Example
{
"customWelcomeContent": TranslationInput,
"defaultCurrency": true,
"defaultDistanceUnit": "abc123",
"defaultFuelUnit": "abc123",
"defaultLanguageId": 123,
"defaultLocale": "xyz789",
"defaultTimezone": "abc123",
"features": GroupSettingsFeatureFlagsCreateInput,
"flowNotifications": [NotificationRelationCreateInput],
"hasTicketHandling": true,
"paymentPlan": true,
"robotIdleThresholdHours": 987,
"robotLowBatteryThresholdPercent": 987,
"sendUserInviteEmails": true,
"ticketAfterApprovalAssignee": GroupTicketAfterApprovalAssigneeInput,
"ticketDefaultAssigneeUserId": HashedId
}
GroupInternalSettingsCreateInput
Description
Data required to create a new group internal settings
Fields
| Input Field | Description |
|---|---|
fallbackSyncGroups - FallbackSyncGroupsInput
|
Groups to sync data from when the primary group source is unavailable |
features - GroupSettingsFeatureFlagsCreateInput
|
Feature flag overrides controlling which platform capabilities are enabled |
googleMapsSettings - MapsSettingsInput
|
Google Maps credentials the group tree uses instead of the deployment defaults |
hereMapsSettings - MapsSettingsInput
|
HERE Maps credentials the group tree uses instead of the deployment defaults |
hotelSettings - HotelSettingsInput
|
Hotel-specific configuration for room status tracking and PMS integration |
openaiSettings - OpenaiSettingsInput
|
OpenAI credentials the group tree uses instead of the deployment defaults |
oracleSettings - OracleSettingsInput
|
Oracle OHIP integration credentials and endpoints for hospitality sync |
showViewersOnTicket - Boolean
|
Whether to display a list of users who have viewed a ticket |
stripe_settings - StripeSettingsCreateInput
|
Stripe billing integration parameters for subscription management |
ticketTagsByPermission - Boolean
|
Whether only admins and users granted the ticket tags right can add or remove tags on tickets |
whatsappSettings - WhatsappSettingsInput
|
WhatsApp Business credentials the group tree answers with instead of the deployment defaults |
Example
{
"fallbackSyncGroups": FallbackSyncGroupsInput,
"features": GroupSettingsFeatureFlagsCreateInput,
"googleMapsSettings": MapsSettingsInput,
"hereMapsSettings": MapsSettingsInput,
"hotelSettings": HotelSettingsInput,
"openaiSettings": OpenaiSettingsInput,
"oracleSettings": OracleSettingsInput,
"showViewersOnTicket": false,
"stripe_settings": StripeSettingsCreateInput,
"ticketTagsByPermission": true,
"whatsappSettings": WhatsappSettingsInput
}
GroupInternalSettingsUpdateInput
Description
Fields to update on an existing group internal settings
Fields
| Input Field | Description |
|---|---|
fallbackSyncGroups - FallbackSyncGroupsInput
|
Updated groups to sync data from when the primary source is unavailable |
features - GroupSettingsFeatureFlagsCreateInput
|
Updated feature flag overrides for this group |
googleMapsSettings - MapsSettingsInput
|
Updated Google Maps credentials the group tree uses instead of the deployment defaults |
hereMapsSettings - MapsSettingsInput
|
Updated HERE Maps credentials the group tree uses instead of the deployment defaults |
hotelSettings - HotelSettingsInput
|
Updated hotel-specific configuration for PMS integration |
openaiSettings - OpenaiSettingsInput
|
Updated OpenAI credentials the group tree uses instead of the deployment defaults |
oracleSettings - OracleSettingsInput
|
Updated Oracle OHIP integration credentials and endpoints |
showViewersOnTicket - Boolean
|
Whether to display a list of users who have viewed a ticket |
sso - JSON
|
Single sign-on configuration for federated authentication providers |
stripe_settings - StripeSettingsCreateInput
|
Updated Stripe billing integration parameters |
ticketTagsByPermission - Boolean
|
Whether only admins and users granted the ticket tags right can add or remove tags on tickets; null clears the value set on this group so it follows its parent group again |
whatsappSettings - WhatsappSettingsInput
|
Updated WhatsApp Business credentials the group tree answers with instead of the deployment defaults |
Example
{
"fallbackSyncGroups": FallbackSyncGroupsInput,
"features": GroupSettingsFeatureFlagsCreateInput,
"googleMapsSettings": MapsSettingsInput,
"hereMapsSettings": MapsSettingsInput,
"hotelSettings": HotelSettingsInput,
"openaiSettings": OpenaiSettingsInput,
"oracleSettings": OracleSettingsInput,
"showViewersOnTicket": false,
"sso": {},
"stripe_settings": StripeSettingsCreateInput,
"ticketTagsByPermission": false,
"whatsappSettings": WhatsappSettingsInput
}
GroupMassEditFailure
Description
Single group failure entry from a bulk operation
Fields
| Field Name | Description |
|---|---|
groupId - HashedId!
|
Group ID that failed |
reason - GroupMassEditFailureReason!
|
Reason the group could not be processed |
Example
{"groupId": HashedId, "reason": "CUSTOMER_PARENT"}
GroupMassEditFailureReason
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"CUSTOMER_PARENT"
GroupMassEditResult
Description
Summary result of a mass edit operation on groups
Fields
| Field Name | Description |
|---|---|
failed - [GroupMassEditFailure!]!
|
|
retainedIds - [HashedId!]!
|
Selected ids the user can still edit after the operation; empty after a delete or archive |
skipped - Int!
|
|
succeeded - Int!
|
Example
{
"failed": [GroupMassEditFailure],
"retainedIds": [HashedId],
"skipped": 987,
"succeeded": 123
}
GroupMassEditSelectionInput
Fields
| Input Field | Description |
|---|---|
excludeGroupIds - [HashedId!]
|
Group IDs to exclude from the selection |
filterInput - AssetFilterInput
|
Filter criteria to dynamically select groups |
groupIds - [HashedId!]
|
Explicit list of group IDs to include in the operation |
Example
{
"excludeGroupIds": [HashedId],
"filterInput": AssetFilterInput,
"groupIds": [HashedId]
}
GroupNonWorkingDays
Description
Period when a group is not working
Fields
| Field Name | Description |
|---|---|
created - Timestamp!
|
Timestamp when the entity was created |
endDate - DateTime!
|
End date of the period |
id - HashedId!
|
Unique identifier of the entity |
startDate - DateTime!
|
Start date of the period |
timezone - String!
|
IANA timezone the period is expressed in |
updated - Timestamp
|
Timestamp when the entity was last updated |
Example
{
"created": 1592577642,
"endDate": "2007-12-03T10:15:30Z",
"id": HashedId,
"startDate": "2007-12-03T10:15:30Z",
"timezone": "abc123",
"updated": 1592577642
}
GroupNonWorkingDaysUpsertInput
Description
Input to define a period when a group is not working
Example
{
"endDate": "2007-12-03T10:15:30Z",
"startDate": "2007-12-03T10:15:30Z",
"timezone": "xyz789"
}
GroupPaginatedDto
Description
Single group entry within a paginated result set
Fields
| Field Name | Description |
|---|---|
meta - PaginationMeta!
|
Pagination metadata including total count and page info |
rows - [Group!]!
|
List of records for the current page |
total - Int!
|
Total amount |
Example
{
"meta": PaginationMeta,
"rows": [Group],
"total": 123
}
GroupServicesFilterInput
Description
Filter criteria for narrowing down group services.args results
Fields
| Input Field | Description |
|---|---|
excludeQRLandingPage - Boolean
|
Exclude QR code landing page services from results. Default = null |
includeBle - Boolean
|
Include Bluetooth Low Energy (BLE) services in results. Default = null |
includeGeneralService - Boolean
|
Include general-purpose services that are not tied to a specific service type. Default = null |
includeQrCodeLanding - Boolean
|
Include QR code landing page services in results. Default = null |
includeRegularService - Boolean
|
Include standard maintenance and repair services in results. Default = null |
isServiceCheck - Boolean
|
if true, only services that are service checks are returned |
itemType - ServiceItemType
|
Filter by the entity type this service applies to (e.g. asset, site) |
publicIds - [Int!]
|
Return only the accessible services with these numeric public ids; matches the publicId a service exposes |
search - String
|
Text search query for filtering results |
type - ServiceType
|
Filter by service classification type. Default = JOT_FORM |
Example
{
"excludeQRLandingPage": false,
"includeBle": true,
"includeGeneralService": false,
"includeQrCodeLanding": false,
"includeRegularService": false,
"isServiceCheck": false,
"itemType": "asset",
"publicIds": [123],
"search": "abc123",
"type": "JOT_FORM"
}
GroupSettingsFeatureFlagsCreateInput
Description
Data required to create a new group settings feature flags
Fields
| Input Field | Description |
|---|---|
adminsSeeAllTickets - Boolean
|
Whether admin users can view tickets across all groups in the hierarchy |
advancedAssetStatesSettings - AdvancedAssetStatesSettingsInput
|
Configuration for advanced asset state machine with custom statuses and transitions |
allowCustomerAddGroup - Boolean
|
Whether customer-level users can create new child groups in the hierarchy |
allowEndCustomerEditAsset - Boolean
|
Whether end-customer users are allowed to edit asset properties they have access to |
allowStandardUserCreateAssets - Boolean
|
When enabled, standard users can create assets and link blank QR codes during onboarding |
allowedBrands - [String!]
|
List of brand identifiers that restrict which asset brands are available for selection |
alwaysHideCustomerTypes - Boolean
|
When enabled, customer type classification is hidden regardless of user role |
assetNearSiteOverridesLocation - Boolean
|
Whether proximity to a site automatically overrides the GPS-reported asset location |
assetOverviewErrorCodeDescription - Boolean
|
Whether error code descriptions are displayed in the asset overview dashboard |
assetRequestsEnabled - Boolean
|
Whether the asset request workflow is enabled for users to request new assets |
assetUtilizationDemoData - Boolean
|
Seeds and maintains the asset utilization demo fleet for this account |
assetsBatchUpdate - Boolean
|
Whether bulk update operations are enabled for modifying multiple assets simultaneously |
assetsBatchUpload - Boolean
|
Whether the legacy bulk asset import via spreadsheet is enabled |
assignCurrentUserToTicket - Boolean
|
Whether the current user is automatically assigned to newly created tickets |
assortmentList - Boolean
|
Whether the product assortment catalog is available for browsing and ordering |
autoInventoryNumber - Int
|
Seed value for automatic inventory number generation; the next allocated number starts above this value |
autoPersonnelNumber - Int
|
Seed value for automatic personnel number generation; the next allocated number starts above this value |
bypassPrivateCheck - Boolean
|
Whether private inspection check restrictions can be bypassed by admin users |
canAccessInternalSettings - Boolean
|
Whether the internal settings panel is accessible to the current user role |
costsEnabled - Boolean
|
Whether the cost tracking and reporting module is enabled for financial analysis |
customerIotRules - Boolean
|
Whether customer-level IoT automation rules can be configured for device triggers |
customersDisabledEditorUsers - Boolean
|
When enabled, editor users in customer groups are disabled from platform access |
defaultCurrency - String
|
Whether the group-level default currency setting is exposed in the configuration UI |
deleteEventsEnabled - [String!]
|
Whether users can delete existing asset events |
disableCustomerGroup - Boolean
|
When enabled, customer group creation and management features are disabled |
disableQRCodeGeneration - Boolean
|
When enabled, automatic QR code generation for new assets is disabled |
disableTicketEditForStandardUser - Boolean
|
When enabled, restricts standard users to read-only ticket access |
disableTicketUuidInEmail - Boolean
|
When enabled, ticket reference UUIDs are omitted from email notification subject lines |
editEventsEnabled - [String!]
|
Whether users can modify existing asset events after creation |
enableIMEIDuplicationFromOtherGroups - Boolean
|
Whether IMEI numbers can be imported from assets in other groups |
enableIMEIDuplicationToOtherGroups - Boolean
|
Whether IMEI numbers from this group can be copied to assets in other groups |
enableNewRules - Boolean
|
Whether the new rule engine is enabled replacing the legacy automation system |
enableOfflineMode - Boolean
|
Whether offline mode is enabled for mobile users working without network connectivity |
excludeOwnershipTodos - Boolean
|
When enabled, asset ownership transfer tasks are excluded from the to-do list |
excludeServiceContractTodos - Boolean
|
When enabled, service contract renewal tasks are excluded from the to-do list |
excludeWarrantyTodos - Boolean
|
When enabled, warranty-related tasks are excluded from the to-do list |
extraFields - Boolean
|
Whether custom extra fields are enabled for extending asset and ticket data models |
grafanaDashboard - Boolean
|
URL to the external Grafana monitoring dashboard for IoT device analytics |
groupLevelBrandingEnabled - Boolean
|
Lets sub-groups carry their own branding, inherited down the group tree |
hasAccessToIntegrationService - Boolean
|
Whether third-party integration services are enabled for this group |
hasAccessToTrips - Boolean
|
Whether GPS trip tracking and route history features are enabled |
hasApprovedAssetTypeSettings - Boolean
|
Whether the asset type approval workflow is enabled requiring admin sign-off on type changes |
hasAssetsChartView - Boolean
|
Whether the assets chart visualization is available on the dashboard |
hasLanguage - [LanguageLocaleEnum!]
|
Whether multi-language support is enabled for UI localization |
hasLockableTypes - Boolean
|
Whether asset type locking is enabled to prevent unauthorized modifications |
hasQRCode - Boolean
|
Whether QR code functionality is enabled for asset identification and tracking |
hasVNC - Boolean
|
Whether VNC remote desktop access is enabled for connected IoT devices |
hideAssetCategories - Boolean
|
When enabled, asset category selection is hidden from the UI |
hideAssetDocuments - Boolean
|
When enabled, the documents tab is hidden from asset detail views |
hideAssetTypes - Boolean
|
When enabled, asset type selection is hidden from the UI for simplified asset management |
hideCompleteButtonForChecks - Boolean
|
When enabled, the Complete button for check events is hidden from history views for non-admin roles |
hideDataTab - Boolean
|
When enabled, the data tab is hidden from asset detail views |
hideExternalId - Boolean
|
When enabled, external identifier fields are hidden across the platform |
hideExtraFieldsInAssetForm - Boolean
|
When enabled, supplementary input fields are hidden from the asset creation and edit forms |
hideGroupSelector - Boolean
|
When enabled, the group selector dropdown is hidden from the navigation bar |
hideInternalComments - Boolean
|
When enabled, internal comments are hidden from non-admin users on tickets |
hideModuleSubscriptionPage - Boolean
|
Hide module subscription page |
hideReleaseNotes - Boolean
|
When enabled, the release notes notification and link are hidden |
hideScheduledRules - Boolean
|
When enabled, scheduled automation rules are hidden from the rules interface |
hideServicePackageForCustomers - Boolean
|
Hide service package for customers |
hideTicketEmailActions - Boolean
|
When enabled, email action buttons are hidden from ticket detail views |
hideTickets - Boolean
|
When enabled, the tickets module is hidden from navigation and disabled |
hideUserSubscriptionPage - Boolean
|
When enabled, the subscription management page is hidden from user settings |
hideWorkOrders - Boolean
|
When enabled, the work orders module is hidden from navigation and disabled |
hubspotHidden - Boolean
|
When enabled, HubSpot CRM integration UI elements are hidden |
isAssetPollingAvailable - Boolean
|
Whether periodic IoT device polling is enabled for real-time asset status updates |
isGroupTypeEditor - Boolean
|
Whether the group type editor interface is enabled for managing group classifications |
linkAbout - String
|
Custom URL for the about page link displayed in the navigation menu |
linkHelp - String
|
Custom URL for the help documentation link displayed in the navigation menu |
linkShopLabelProtection - String
|
URL to the label protection products in the accessories shop |
linkShopPaper - String
|
URL to the paper supplies in the accessories shop |
linkShopPrinter - String
|
URL to the printer hardware in the accessories shop |
linkTermsOfService - String
|
Custom URL for the terms of service link displayed in the footer |
machineChecks - Boolean
|
Whether the machine inspection checklist module is enabled for periodic asset verification |
mcpEnterpriseManagedAuthorization - Boolean
|
Whether an MCP client can exchange an identity-provider ID-JAG assertion from the brand SSO issuer for MCP tokens without the consent page |
onlyIoTOrBLERequired - Boolean
|
Whether only one of IoT or BLE connectivity is required instead of both |
partsBatchImport - Boolean
|
Whether bulk part import via spreadsheet upload is enabled |
partsInTickets - Boolean
|
Whether parts can be issued to and returned from tickets |
partsInWorkOrders - Boolean
|
Whether parts can be issued to and returned from work orders |
partsInventory - Boolean
|
Whether the parts inventory management module is enabled for tracking spare parts |
personnelEnabled - Boolean
|
When enabled, the Personnel module is available for the account |
procedureTemplateDocumentImport - Boolean
|
Whether a procedure draft can be imported from a document in the procedure builder |
proceduresEnabled - Boolean
|
Procedures enabled |
qrAttachmentOptional - Boolean
|
Whether QR code attachment is optional during asset onboarding instead of mandatory |
qrIMEI - Boolean
|
Whether QR codes can encode and display the IMEI number of connected devices |
qrSiteReqq - Boolean
|
Whether QR code scanning is required when assigning assets to sites |
qrToSerialPairing - Boolean
|
When enabled, the mobile app pairs a scanned QR code with the asset whose scanned serial number matches |
releaseUserSubscriptions - Boolean
|
Whether user subscription self-management features are enabled |
restrictReservation - Boolean
|
Whether reservation creation is restricted to specific user roles or conditions |
robotChatbot - Boolean
|
When enabled, the proactive robot QR-landing chatbot is available for this group |
robotFleetDemoData - Boolean
|
When enabled, the robot fleet dashboard automatically ensures its sample data is present and current for this account |
serialNumberOptional - Boolean
|
Whether the serial number field is optional when creating or editing assets |
showAssetApiData - Boolean
|
Whether the API data section with mapped and unmapped provider fields is visible on the asset Integration tab |
showAssetIntegrationRuns - Boolean
|
Whether the per-asset Integration tab with sync status and manual runs is visible |
showAssetIntegrations - Boolean
|
Whether the asset integrations tab is visible showing connected third-party services |
showAssetLeasingCostColumnTicketList - Boolean
|
When enabled, shows the asset monthly leasing cost column in the ticket list |
showBothSiteNumbers - Boolean
|
Show both site numbers |
showMaintenanceRequiredColumn - Boolean
|
Whether the maintenance-required status column is visible in asset list views |
showNonNullableFilterOption - Boolean
|
Whether non-null filter options are displayed in list view filter dropdowns |
showReservations - Boolean
|
Whether the reservation system is visible and available for asset booking |
showTicketAssetDetailColumns - Boolean
|
Whether to show separate asset serial, inventory number, plate number, type, brand, and category columns in the ticket list |
signupRequestsEnabled - Boolean
|
Whether new user registration requests can be submitted through the platform |
siteManagerTodoDisabled - Boolean
|
When enabled, the site manager task list is hidden from the dashboard |
sitesBatchUpdate - Boolean
|
Whether bulk update operations are enabled for modifying multiple sites simultaneously |
sitesBatchUpload - Boolean
|
Whether bulk site import via spreadsheet upload is enabled |
subsitesDisabled - Boolean
|
Subsites disabled |
ticketEmailNotificationsDisabled - Boolean
|
When enabled, all email notifications for ticket events are suppressed |
ticketPushNotificationsDisabled - Boolean
|
When enabled, all push notifications for ticket events are suppressed |
uncertaintyLimit - Int
|
GPS accuracy threshold in meters below which location data is considered reliable |
useAlternateAssetName - Boolean
|
Whether to display an alternative label for the assets feature in the UI |
useAlternateReservationName - Boolean
|
Whether to display an alternative label for the reservations feature in the UI |
useOldSiteAccessRule - Boolean
|
Whether to use the legacy site-based access control rules instead of the new hierarchy-based model |
usersSeeAllTickets - Boolean
|
Whether standard users can view all tickets or only those assigned to them |
webhooksEnabled - Boolean
|
Whether outbound webhook notifications are enabled for event-driven integrations |
whatsappAssistant - Boolean
|
Whether users of the group can ask the read-only assistant questions over WhatsApp |
workOrderDailyRate - Boolean
|
Work order daily rate |
workOrderEmailNotificationsDisabled - Boolean
|
When enabled, all email notifications for work order events are suppressed |
workOrderPushNotificationsDisabled - Boolean
|
When enabled, all push notifications for work order events are suppressed |
Example
{
"adminsSeeAllTickets": false,
"advancedAssetStatesSettings": AdvancedAssetStatesSettingsInput,
"allowCustomerAddGroup": true,
"allowEndCustomerEditAsset": true,
"allowStandardUserCreateAssets": false,
"allowedBrands": ["xyz789"],
"alwaysHideCustomerTypes": false,
"assetNearSiteOverridesLocation": false,
"assetOverviewErrorCodeDescription": false,
"assetRequestsEnabled": true,
"assetUtilizationDemoData": false,
"assetsBatchUpdate": true,
"assetsBatchUpload": true,
"assignCurrentUserToTicket": true,
"assortmentList": false,
"autoInventoryNumber": 123,
"autoPersonnelNumber": 123,
"bypassPrivateCheck": false,
"canAccessInternalSettings": true,
"costsEnabled": false,
"customerIotRules": true,
"customersDisabledEditorUsers": false,
"defaultCurrency": "xyz789",
"deleteEventsEnabled": ["abc123"],
"disableCustomerGroup": true,
"disableQRCodeGeneration": true,
"disableTicketEditForStandardUser": true,
"disableTicketUuidInEmail": true,
"editEventsEnabled": ["xyz789"],
"enableIMEIDuplicationFromOtherGroups": false,
"enableIMEIDuplicationToOtherGroups": false,
"enableNewRules": false,
"enableOfflineMode": true,
"excludeOwnershipTodos": false,
"excludeServiceContractTodos": true,
"excludeWarrantyTodos": false,
"extraFields": false,
"grafanaDashboard": true,
"groupLevelBrandingEnabled": true,
"hasAccessToIntegrationService": true,
"hasAccessToTrips": true,
"hasApprovedAssetTypeSettings": true,
"hasAssetsChartView": true,
"hasLanguage": ["ar_ar"],
"hasLockableTypes": true,
"hasQRCode": true,
"hasVNC": true,
"hideAssetCategories": false,
"hideAssetDocuments": false,
"hideAssetTypes": true,
"hideCompleteButtonForChecks": false,
"hideDataTab": false,
"hideExternalId": false,
"hideExtraFieldsInAssetForm": true,
"hideGroupSelector": false,
"hideInternalComments": false,
"hideModuleSubscriptionPage": false,
"hideReleaseNotes": false,
"hideScheduledRules": true,
"hideServicePackageForCustomers": false,
"hideTicketEmailActions": false,
"hideTickets": true,
"hideUserSubscriptionPage": true,
"hideWorkOrders": false,
"hubspotHidden": true,
"isAssetPollingAvailable": false,
"isGroupTypeEditor": true,
"linkAbout": "abc123",
"linkHelp": "xyz789",
"linkShopLabelProtection": "xyz789",
"linkShopPaper": "abc123",
"linkShopPrinter": "abc123",
"linkTermsOfService": "xyz789",
"machineChecks": true,
"mcpEnterpriseManagedAuthorization": true,
"onlyIoTOrBLERequired": true,
"partsBatchImport": false,
"partsInTickets": false,
"partsInWorkOrders": true,
"partsInventory": true,
"personnelEnabled": true,
"procedureTemplateDocumentImport": false,
"proceduresEnabled": true,
"qrAttachmentOptional": true,
"qrIMEI": false,
"qrSiteReqq": false,
"qrToSerialPairing": true,
"releaseUserSubscriptions": false,
"restrictReservation": false,
"robotChatbot": true,
"robotFleetDemoData": true,
"serialNumberOptional": true,
"showAssetApiData": false,
"showAssetIntegrationRuns": true,
"showAssetIntegrations": false,
"showAssetLeasingCostColumnTicketList": false,
"showBothSiteNumbers": true,
"showMaintenanceRequiredColumn": true,
"showNonNullableFilterOption": true,
"showReservations": true,
"showTicketAssetDetailColumns": false,
"signupRequestsEnabled": true,
"siteManagerTodoDisabled": false,
"sitesBatchUpdate": false,
"sitesBatchUpload": false,
"subsitesDisabled": false,
"ticketEmailNotificationsDisabled": true,
"ticketPushNotificationsDisabled": true,
"uncertaintyLimit": 987,
"useAlternateAssetName": false,
"useAlternateReservationName": true,
"useOldSiteAccessRule": true,
"usersSeeAllTickets": true,
"webhooksEnabled": false,
"whatsappAssistant": true,
"workOrderDailyRate": true,
"workOrderEmailNotificationsDisabled": true,
"workOrderPushNotificationsDisabled": true
}
GroupTicketAfterApprovalAssigneeInput
GroupTicketHandler
Description
Group ticket handler record
Fields
| Field Name | Description |
|---|---|
created - Timestamp!
|
Timestamp when the entity was created |
deleted - Timestamp
|
Soft deletion timestamp, null if active |
externalEmailTicketHandlers - [GroupTicketHandlerExternalEmail!]!
|
External email recipients in this handler configuration |
group - Group!
|
Associated organization group |
groupId - HashedId!
|
Group identifier |
groupTicketHandlers - [GroupTicketHandlerGroup!]!
|
Sub-groups included in this handler configuration |
hasSiteManagerTicketHandler - Boolean!
|
Whether the site manager is included in this handler configuration |
id - HashedId!
|
Unique identifier of the entity |
isActive - Boolean!
|
Whether this record is currently active |
publicId - Int!
|
Public numeric identifier |
teamTicketHandlers - [GroupTicketHandlerTeam!]!
|
Teams included in this handler configuration |
updated - Timestamp
|
Timestamp when the entity was last updated |
userTicketHandlers - [GroupTicketHandlerUser!]!
|
Individual users included in this handler configuration |
Example
{
"created": 1592577642,
"deleted": 1592577642,
"externalEmailTicketHandlers": [
GroupTicketHandlerExternalEmail
],
"group": Group,
"groupId": HashedId,
"groupTicketHandlers": [GroupTicketHandlerGroup],
"hasSiteManagerTicketHandler": true,
"id": HashedId,
"isActive": true,
"publicId": 987,
"teamTicketHandlers": [GroupTicketHandlerTeam],
"updated": 1592577642,
"userTicketHandlers": [GroupTicketHandlerUser]
}
GroupTicketHandlerExternalEmail
Description
An external email recipient in a group-level ticket handler configuration
Fields
| Field Name | Description |
|---|---|
created - Timestamp!
|
Timestamp when the entity was created |
email - String!
|
Email address |
groupTicketHandlerId - HashedId!
|
Group ticket handler identifier |
id - HashedId!
|
Unique identifier of the entity |
isNotifiable - Boolean!
|
Whether this email receives notifications when assigned via this configuration |
updated - Timestamp
|
Timestamp when the entity was last updated |
Example
{
"created": 1592577642,
"email": "abc123",
"groupTicketHandlerId": HashedId,
"id": HashedId,
"isNotifiable": false,
"updated": 1592577642
}
GroupTicketHandlerExternalEmailCreateInput
GroupTicketHandlerGroup
Description
Group ticket handler group record
Fields
| Field Name | Description |
|---|---|
created - Timestamp!
|
Timestamp when the entity was created |
group - Group!
|
Associated organization group |
groupId - HashedId!
|
Group identifier |
groupTicketHandlerId - HashedId!
|
Group ticket handler identifier |
id - HashedId!
|
Unique identifier of the entity |
isNotifiable - Boolean!
|
Whether this sub-group receives notifications when assigned via this configuration |
isRemovable - Boolean!
|
Whether this sub-group can be removed from the handler configuration |
updated - Timestamp
|
Timestamp when the entity was last updated |
Example
{
"created": 1592577642,
"group": Group,
"groupId": HashedId,
"groupTicketHandlerId": HashedId,
"id": HashedId,
"isNotifiable": true,
"isRemovable": false,
"updated": 1592577642
}
GroupTicketHandlerGroupCreateInput
GroupTicketHandlerPaginatedResult
Description
Paginated list of group ticket handlers
Fields
| Field Name | Description |
|---|---|
meta - PaginationMeta!
|
Pagination metadata including total count and page info |
rows - [GroupTicketHandler!]!
|
List of records for the current page |
Example
{
"meta": PaginationMeta,
"rows": [GroupTicketHandler]
}
GroupTicketHandlerTeam
Description
Group ticket handler team record
Fields
| Field Name | Description |
|---|---|
created - Timestamp!
|
Timestamp when the entity was created |
groupTicketHandlerId - HashedId!
|
Group ticket handler identifier |
id - HashedId!
|
Unique identifier of the entity |
isNotifiable - Boolean!
|
Whether this team receives notifications when assigned via this configuration |
team - Team!
|
Associated team assigned to handle tickets |
teamId - HashedId!
|
Team identifier |
updated - Timestamp
|
Timestamp when the entity was last updated |
Example
{
"created": 1592577642,
"groupTicketHandlerId": HashedId,
"id": HashedId,
"isNotifiable": true,
"team": Team,
"teamId": HashedId,
"updated": 1592577642
}
GroupTicketHandlerTeamCreateInput
Description
Data required to create a new group ticket handler team
Example
{
"groupTicketHandlerId": HashedId,
"isNotifiable": false,
"teamId": HashedId
}
GroupTicketHandlerTeamUpdateInput
Description
Fields to update on an existing group ticket handler team
Fields
| Input Field | Description |
|---|---|
isNotifiable - Boolean!
|
Whether this team receives notifications when assigned via this configuration |
Example
{"isNotifiable": false}
GroupTicketHandlerUser
Description
Group ticket handler user record
Fields
| Field Name | Description |
|---|---|
created - Timestamp!
|
Timestamp when the entity was created |
groupTicketHandlerId - HashedId!
|
Group ticket handler identifier |
id - HashedId!
|
Unique identifier of the entity |
isNotifiable - Boolean!
|
Whether this user receives notifications when assigned via this configuration |
updated - Timestamp
|
Timestamp when the entity was last updated |
user - User!
|
Associated user assigned to handle tickets |
userId - HashedId!
|
User identifier |
Example
{
"created": 1592577642,
"groupTicketHandlerId": HashedId,
"id": HashedId,
"isNotifiable": true,
"updated": 1592577642,
"user": User,
"userId": HashedId
}
GroupTicketHandlerUserCreateInput
Description
Data required to create a new group ticket handler user
Example
{
"groupTicketHandlerId": HashedId,
"isNotifiable": true,
"userId": HashedId
}
GroupTicketHandlerUserUpdateInput
Description
Fields to update on an existing group ticket handler user
Fields
| Input Field | Description |
|---|---|
isNotifiable - Boolean!
|
Whether this user receives notifications when assigned via this configuration |
Example
{"isNotifiable": true}
GroupUpdateInput
Description
Fields to update on an existing group
Fields
| Input Field | Description |
|---|---|
costSettings - GroupCostSettingsUpdateInput
|
Updated cost calculation settings for the group |
generalSettings - GroupGeneralSettingsUpdateInput
|
Customer-facing configuration including currency, payment plan, and notification preferences |
getRawFlow - Boolean
|
Whether to return the unprocessed workflow configuration in the response |
handlerAlias - String
|
Short alias displayed instead of the full ticket handler name |
identificationNumber - String
|
External business registration or tax identification number |
internalSettings - GroupInternalSettingsUpdateInput
|
Admin-only configuration including feature flags, billing integration, and access controls |
isCustomer - Boolean
|
Whether this represents a customer |
name - String
|
Updated human-readable label for the group |
parentGroupId - HashedId
|
Parent group identifier in the hierarchy |
servicePackageId - HashedId
|
Can only be changed by internal TS users currently |
userRequestNotifiers - [NotificationRelationCreateInput!]
|
Passing empty array will remove all the relations |
vatNumber - String
|
VAT registration number for tax invoicing purposes |
workingHours - GroupWorkingHoursUpsertInput
|
Updated working hours applied to the group |
Example
{
"costSettings": GroupCostSettingsUpdateInput,
"generalSettings": GroupGeneralSettingsUpdateInput,
"getRawFlow": true,
"handlerAlias": "abc123",
"identificationNumber": "abc123",
"internalSettings": GroupInternalSettingsUpdateInput,
"isCustomer": true,
"name": "abc123",
"parentGroupId": HashedId,
"servicePackageId": HashedId,
"userRequestNotifiers": [
NotificationRelationCreateInput
],
"vatNumber": "abc123",
"workingHours": GroupWorkingHoursUpsertInput
}
GroupWorkingHours
Description
Weekly working hour schedule applied to a group
Fields
| Field Name | Description |
|---|---|
created - Timestamp!
|
Timestamp when the entity was created |
id - HashedId!
|
Unique identifier of the entity |
isInherited - Boolean!
|
Whether the schedule is inherited from the parent group rather than configured directly |
nonWorkingDays - [GroupNonWorkingDays!]!
|
Periods when the group is not working |
timezone - String!
|
IANA timezone for the working hours schedule |
updated - Timestamp
|
Timestamp when the entity was last updated |
workingHoursFriday - [String!]!
|
Working time ranges for Friday |
workingHoursMonday - [String!]!
|
Working time ranges for Monday |
workingHoursSaturday - [String!]!
|
Working time ranges for Saturday |
workingHoursSunday - [String!]!
|
Working time ranges for Sunday |
workingHoursThursday - [String!]!
|
Working time ranges for Thursday |
workingHoursTuesday - [String!]!
|
Working time ranges for Tuesday |
workingHoursWednesday - [String!]!
|
Working time ranges for Wednesday |
Example
{
"created": 1592577642,
"id": HashedId,
"isInherited": false,
"nonWorkingDays": [GroupNonWorkingDays],
"timezone": "abc123",
"updated": 1592577642,
"workingHoursFriday": ["abc123"],
"workingHoursMonday": ["xyz789"],
"workingHoursSaturday": ["abc123"],
"workingHoursSunday": ["xyz789"],
"workingHoursThursday": ["xyz789"],
"workingHoursTuesday": ["xyz789"],
"workingHoursWednesday": ["abc123"]
}
GroupWorkingHoursUpsertInput
Description
Input to set the weekly working hours applied to a group
Fields
| Input Field | Description |
|---|---|
isInherited - Boolean!
|
Whether the schedule is inherited from the parent group rather than configured directly |
nonWorkingDays - [GroupNonWorkingDaysUpsertInput!]!
|
Periods when the group is not working |
timezone - String!
|
IANA timezone for the working hours schedule |
workingHoursFriday - [String!]!
|
Working time ranges for Friday |
workingHoursMonday - [String!]!
|
Working time ranges for Monday |
workingHoursSaturday - [String!]!
|
Working time ranges for Saturday |
workingHoursSunday - [String!]!
|
Working time ranges for Sunday |
workingHoursThursday - [String!]!
|
Working time ranges for Thursday |
workingHoursTuesday - [String!]!
|
Working time ranges for Tuesday |
workingHoursWednesday - [String!]!
|
Working time ranges for Wednesday |
Example
{
"isInherited": true,
"nonWorkingDays": [GroupNonWorkingDaysUpsertInput],
"timezone": "xyz789",
"workingHoursFriday": ["xyz789"],
"workingHoursMonday": ["xyz789"],
"workingHoursSaturday": ["xyz789"],
"workingHoursSunday": ["abc123"],
"workingHoursThursday": ["xyz789"],
"workingHoursTuesday": ["abc123"],
"workingHoursWednesday": ["xyz789"]
}
GroupsPaginatedResult
Description
Groups paginated result record
Fields
| Field Name | Description |
|---|---|
meta - PaginationMeta!
|
Pagination metadata including total count and page info |
rows - [Group!]
|
List of records for the current page |
total - Int!
|
Total number of groups matching the query filters before pagination |
Example
{
"meta": PaginationMeta,
"rows": [Group],
"total": 123
}
HandlerRelationTypeEnum
Description
Defines the relationship a handler has with a ticket, such as assignee, follower, suggested partner, or work order conversion
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"ASSIGNEE"
HandlerTypeEnum
Description
Identifies the entity type responsible for handling tickets or work orders, such as individual users, teams, groups, site managers, or external email contacts
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"EXTERNALEMAIL"
HandlerUpdateActionEnum
Description
Actions available when updating handler assignments, including adding, removing, or toggling notification preferences
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
Example
"ADD"
HashedId
Description
Obfuscated id for client use
Example
HashedId
HotelSettings
Description
Configuration for Oracle Hospitality integration linking rooms to tracked assets
Fields
| Field Name | Description |
|---|---|
activeStatuses - [RoomStatusEnum!]!
|
Room statuses considered active for occupancy tracking and housekeeping workflows |
hotelId - NonEmptyString!
|
Oracle Hospitality property ID used to map this group to a specific hotel in the PMS |
Example
{
"activeStatuses": ["Clean"],
"hotelId": "string"
}
HotelSettingsInput
Description
Input data for hotel settings
Fields
| Input Field | Description |
|---|---|
activeStatuses - [RoomStatusEnum!]!
|
Room statuses considered active for occupancy tracking and housekeeping workflows |
hotelId - NonEmptyString!
|
Oracle Hospitality property ID used to map this group to a specific hotel in the PMS |
Example
{
"activeStatuses": ["Clean"],
"hotelId": "string"
}
ID
Description
The ID scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as "4") or integer (such as 4) input value will be accepted as an ID.
Example
"4"
IdInput
Description
Input containing a single entity identifier
Fields
| Input Field | Description |
|---|---|
id - HashedId!
|
Unique identifier of the entity |
Example
{"id": HashedId}
ImporterAssetCustomFieldInput
ImporterColumnType
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"BOOLEAN"
ImporterColumnValidationType
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"REGEX"
ImporterDate
Description
An importer date represented by a formatted string or Excel serial number
Example
ImporterDate
ImporterEntryResult
Fields
| Field Name | Description |
|---|---|
createdCount - Int
|
Number of records created by the import, when reported |
error - String
|
Error message if the import entry failed |
id - String
|
Identifier of the created or updated record |
message - String
|
Success or informational message for the import entry |
status - Boolean!
|
Whether the import entry was processed successfully |
unchangedCount - Int
|
Number of records left unchanged by the import, when reported |
updatedCount - Int
|
Number of records updated by the import, when reported |
validationErrorCount - Int!
|
Total number of rows containing validation errors |
validationErrors - [ImporterEntryValidationError!]!
|
Bounded row-level validation details |
Example
{
"createdCount": 987,
"error": "xyz789",
"id": "xyz789",
"message": "xyz789",
"status": true,
"unchangedCount": 123,
"updatedCount": 987,
"validationErrorCount": 987,
"validationErrors": [ImporterEntryValidationError]
}
ImporterEntryValidationError
Fields
| Field Name | Description |
|---|---|
fields - [ImporterValidateColumnResult!]!
|
Fields containing validation errors for this row |
index - Int!
|
Original zero-based row index from the import file |
Example
{"fields": [ImporterValidateColumnResult], "index": 123}
ImporterImportResult
Fields
| Field Name | Description |
|---|---|
createdCount - Int
|
Number of records the import created, null until the job finishes |
entryCount - Int!
|
Total number of entries in the file |
job - BackgroundJob!
|
Background job that imported the file |
rows - [ImporterValidationRow!]!
|
Requested page of invalid rows |
updatedCount - Int
|
Number of records the import updated, null until the job finishes |
validationErrorCount - Int!
|
Number of rows with validation errors, 0 when there are none, the stored rows have expired, or the job is queued, processing or failed for another reason, so read job.status first |
Example
{
"createdCount": 987,
"entryCount": 123,
"job": BackgroundJob,
"rows": [ImporterValidationRow],
"updatedCount": 987,
"validationErrorCount": 987
}
ImporterMode
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
Example
"CREATE"
ImporterSchemaColumn
Fields
| Field Name | Description |
|---|---|
allowCustomOptions - Boolean!
|
Whether users can enter custom values not in the dropdown list |
alternativeMatches - [String!]!
|
Alternative column names that auto-match during column mapping |
columnType - ImporterColumnType
|
Data type used for input validation and formatting |
dropdownOptions - [ImporterSchemaColumnDropdownOption!]!
|
Predefined selectable options for dropdown-type columns |
example - String
|
Example value shown as a hint in the column mapping UI |
isReadOnly - Boolean!
|
Whether the column is shown for context only and cannot be edited |
key - String!
|
Unique identifier for this schema column |
label - String!
|
Display label shown in the column mapping UI |
labelSuffix - String
|
Suffix appended to the label for additional context like language code |
originalKey - String
|
Original column key before transformation or aliasing |
type - String
|
Legacy data type used by the personnel import UI |
validations - [ImporterSchemaColumnValidation!]!
|
List of validation rules applied to column values |
Example
{
"allowCustomOptions": true,
"alternativeMatches": ["xyz789"],
"columnType": "BOOLEAN",
"dropdownOptions": [ImporterSchemaColumnDropdownOption],
"example": "xyz789",
"isReadOnly": false,
"key": "xyz789",
"label": "abc123",
"labelSuffix": "abc123",
"originalKey": "xyz789",
"type": "abc123",
"validations": [ImporterSchemaColumnValidation]
}
ImporterSchemaColumnDropdownOption
Fields
| Field Name | Description |
|---|---|
alternativeMatches - [String!]!
|
Alternative input values that auto-match to this option |
label - String!
|
Display label for the dropdown option |
originalValue - String!
|
Original value before hashing or transformation |
value - String!
|
Internal value stored when this option is selected |
Example
{
"alternativeMatches": ["xyz789"],
"label": "xyz789",
"originalValue": "xyz789",
"value": "xyz789"
}
ImporterSchemaColumnValidation
Fields
| Field Name | Description |
|---|---|
columns - [String!]
|
Other column keys referenced by this validation rule |
regex - String
|
Regular expression pattern for regex-type validation |
validate - ImporterColumnValidationType
|
Type of validation to apply to the column value |
Example
{
"columns": ["xyz789"],
"regex": "abc123",
"validate": "REGEX"
}
ImporterValidateAssetInput
Fields
| Input Field | Description |
|---|---|
assetInternal - String
|
Existing asset reference (numeric id, hashed id, serial, external id, or type name). Available in upsert mode. |
assignment - String
|
User or team the asset is assigned to |
availability - AssetAvailability
|
Current availability status of the asset |
categoryInternal - String
|
Existing asset category (id, hashed id, or name). Use category_ |
category_ar - String
|
Translated value for the category field in ar |
category_bg - String
|
Translated value for the category field in bg |
category_bn - String
|
Translated value for the category field in bn |
category_cs - String
|
Translated value for the category field in cs |
category_da - String
|
Translated value for the category field in da |
category_de - String
|
Translated value for the category field in de |
category_el - String
|
Translated value for the category field in el |
category_en - String
|
Translated value for the category field in en |
category_es - String
|
Translated value for the category field in es |
category_et - String
|
Translated value for the category field in et |
category_fa - String
|
Translated value for the category field in fa |
category_fi - String
|
Translated value for the category field in fi |
category_fr - String
|
Translated value for the category field in fr |
category_he - String
|
Translated value for the category field in he |
category_hi - String
|
Translated value for the category field in hi |
category_hr - String
|
Translated value for the category field in hr |
category_hu - String
|
Translated value for the category field in hu |
category_id - String
|
Translated value for the category field in id |
category_it - String
|
Translated value for the category field in it |
category_ja - String
|
Translated value for the category field in ja |
category_ko - String
|
Translated value for the category field in ko |
category_lo - String
|
Translated value for the category field in lo |
category_lt - String
|
Translated value for the category field in lt |
category_lv - String
|
Translated value for the category field in lv |
category_ms - String
|
Translated value for the category field in ms |
category_my - String
|
Translated value for the category field in my |
category_nb - String
|
Translated value for the category field in nb |
category_nl - String
|
Translated value for the category field in nl |
category_pl - String
|
Translated value for the category field in pl |
category_pt - String
|
Translated value for the category field in pt |
category_ro - String
|
Translated value for the category field in ro |
category_ru - String
|
Translated value for the category field in ru |
category_sk - String
|
Translated value for the category field in sk |
category_sl - String
|
Translated value for the category field in sl |
category_sr - String
|
Translated value for the category field in sr |
category_sv - String
|
Translated value for the category field in sv |
category_sw - String
|
Translated value for the category field in sw |
category_ta - String
|
Translated value for the category field in ta |
category_th - String
|
Translated value for the category field in th |
category_tl - String
|
Translated value for the category field in tl |
category_tr - String
|
Translated value for the category field in tr |
category_uk - String
|
Translated value for the category field in uk |
category_ur - String
|
Translated value for the category field in ur |
category_vi - String
|
Translated value for the category field in vi |
category_zh - String
|
Translated value for the category field in zh |
checkSchedule - ImporterDate
|
Date of the next scheduled machine safety check |
classification - AssetClassification
|
Asset classification. When empty, a new asset takes the asset type default and an existing asset keeps its classification unless its type changes. |
client - String
|
Client associated with the asset |
commissionDate - ImporterDate
|
Date when the asset was commissioned |
costCenter - String
|
Cost center associated with the asset |
currency - Currency
|
Currency for financial values of the asset |
customFields - [ImporterAssetCustomFieldInput!]
|
|
dailyRate - Float
|
Daily rental rate for the asset |
description - String
|
Asset description. Routed to the user locale-specific translation cell (description_ |
description_ar - String
|
Translated value for the description field in ar |
description_bg - String
|
Translated value for the description field in bg |
description_bn - String
|
Translated value for the description field in bn |
description_cs - String
|
Translated value for the description field in cs |
description_da - String
|
Translated value for the description field in da |
description_de - String
|
Translated value for the description field in de |
description_el - String
|
Translated value for the description field in el |
description_en - String
|
Translated value for the description field in en |
description_es - String
|
Translated value for the description field in es |
description_et - String
|
Translated value for the description field in et |
description_fa - String
|
Translated value for the description field in fa |
description_fi - String
|
Translated value for the description field in fi |
description_fr - String
|
Translated value for the description field in fr |
description_he - String
|
Translated value for the description field in he |
description_hi - String
|
Translated value for the description field in hi |
description_hr - String
|
Translated value for the description field in hr |
description_hu - String
|
Translated value for the description field in hu |
description_id - String
|
Translated value for the description field in id |
description_it - String
|
Translated value for the description field in it |
description_ja - String
|
Translated value for the description field in ja |
description_ko - String
|
Translated value for the description field in ko |
description_lo - String
|
Translated value for the description field in lo |
description_lt - String
|
Translated value for the description field in lt |
description_lv - String
|
Translated value for the description field in lv |
description_ms - String
|
Translated value for the description field in ms |
description_my - String
|
Translated value for the description field in my |
description_nb - String
|
Translated value for the description field in nb |
description_nl - String
|
Translated value for the description field in nl |
description_pl - String
|
Translated value for the description field in pl |
description_pt - String
|
Translated value for the description field in pt |
description_ro - String
|
Translated value for the description field in ro |
description_ru - String
|
Translated value for the description field in ru |
description_sk - String
|
Translated value for the description field in sk |
description_sl - String
|
Translated value for the description field in sl |
description_sr - String
|
Translated value for the description field in sr |
description_sv - String
|
Translated value for the description field in sv |
description_sw - String
|
Translated value for the description field in sw |
description_ta - String
|
Translated value for the description field in ta |
description_th - String
|
Translated value for the description field in th |
description_tl - String
|
Translated value for the description field in tl |
description_tr - String
|
Translated value for the description field in tr |
description_uk - String
|
Translated value for the description field in uk |
description_ur - String
|
Translated value for the description field in ur |
description_vi - String
|
Translated value for the description field in vi |
description_zh - String
|
Translated value for the description field in zh |
externalId - String
|
External system identifier for the asset |
fixedAssetNumber - String
|
Fixed asset number for accounting purposes |
floorRoom - String
|
Floor and room location of the asset |
id - String
|
Internal asset identifier |
imei - String
|
IMEI number for IoT-connected assets |
index - Int!
|
Row index of this entry in the import spreadsheet |
initialValue - String
|
Initial monetary value of the asset |
inventoryNumber - String
|
Inventory tracking number |
inventoryPrefix - String
|
Inventory number prefix |
lastMachineCheck - ImporterDate
|
Date of the last machine safety check |
leasingCostTermination - Float
|
Cost for early termination of the lease |
leasingEnd - ImporterDate
|
End date of the leasing agreement |
leasingLevel - String
|
Leasing service level or tier |
leasingMonthlyCost - Float
|
Monthly leasing cost |
leasingPartner - String
|
Leasing partner or company name |
leasingPartnerContractNumber - String
|
Contract number with the leasing partner |
leasingPartnerContractPositionNumber - String
|
Position number within the leasing partner contract |
leasingRenewalDate - ImporterDate
|
Date of the next leasing renewal |
leasingRenewalRate - Float
|
Rate for leasing renewal |
leasingStart - ImporterDate
|
Start date of the leasing agreement |
machineCheckInterval - Int
|
Interval in days between machine safety checks |
machineCheckName - String
|
Name of the machine safety check |
machineCheckTimeframe - String
|
Timeframe for the machine safety check |
maintenanceInterval - Int
|
Maintenance interval in days |
maintenanceLastDate - ImporterDate
|
Date of the last maintenance performed |
maintenanceSchedule - ImporterDate
|
Date of the next scheduled maintenance |
make - String
|
Manufacturer or brand name of the asset |
minDaysBilled - Int
|
Minimum number of days billed for rental (integer only; decimal values are not accepted) |
optionalAssetID - String
|
Optional secondary asset identifier |
ownership - AssetOwnership
|
Ownership type of the asset |
plateNumber - String
|
License plate number for vehicle assets |
projectNumber - String
|
Project number the asset belongs to |
purchaseCost - Float
|
Purchase cost of the asset |
purchaseDepreciationMonths - Int
|
Depreciation period in months for the purchase (integer only) |
purchaseInvoiceNumber - String
|
Invoice number for the purchase |
purchaseLowValueAsset - ImporterYesNo
|
Whether the asset is classified as a low-value purchase |
purchaseStart - ImporterDate
|
Start date of the purchase agreement |
purchaseWarrantyEnd - ImporterDate
|
End date of the purchase warranty |
purchaseWarrantyPeriod - Int
|
Warranty period in months for the purchase (integer only; decimal values are not accepted) |
purchaseWarrantyStart - ImporterDate
|
Start date of the purchase warranty |
quantity - Int
|
Number of units for this asset |
rentalCostTermination - Float
|
Cost for early termination of the rental |
rentalEnd - ImporterDate
|
End date of the rental agreement |
rentalMonthlyCost - Float
|
Monthly rental cost |
rentalRenewalDate - ImporterDate
|
Date of the next rental renewal |
rentalRenewalRate - Float
|
Rate for rental renewal |
rentalStart - ImporterDate
|
Start date of the rental agreement |
reservations - ImporterYesNo
|
Whether the asset is available for reservations |
responsiblePerson - String
|
Person responsible for the asset |
serial - String
|
Serial number of the asset |
serviceContract - ImporterYesNo
|
Whether the asset has an active service contract |
serviceContractCostPerYear - String
|
Annual cost of the service contract |
serviceContractEmail - String
|
Contact email for the service contract partner |
serviceContractEnd - ImporterDate
|
End date of the service contract |
serviceContractLevel - String
|
Service contract level or tier |
serviceContractPartner - String
|
Service contract partner or provider name |
serviceContractStart - ImporterDate
|
Start date of the service contract |
shouldUpdateActiveAssetSiteAssignment - ImporterYesNo
|
Whether to update the active site assignment for the asset |
site - String
|
Site name where the asset is located |
siteAddress - String
|
Address of the site where the asset is located |
siteExternalId - String
|
External identifier of the site |
siteInternal - String
|
Existing site reference (numeric id, hashed id, name, address, or external id). When matched, prefills site/siteAddress/siteExternalId from the existing site and disables those cells. |
supplier - String
|
Supplier or vendor of the asset |
typeInternal - String
|
Existing asset type (id, hashed id, or name). Use type_ |
type_ar - String
|
Translated value for the type field in ar |
type_bg - String
|
Translated value for the type field in bg |
type_bn - String
|
Translated value for the type field in bn |
type_cs - String
|
Translated value for the type field in cs |
type_da - String
|
Translated value for the type field in da |
type_de - String
|
Translated value for the type field in de |
type_el - String
|
Translated value for the type field in el |
type_en - String
|
Translated value for the type field in en |
type_es - String
|
Translated value for the type field in es |
type_et - String
|
Translated value for the type field in et |
type_fa - String
|
Translated value for the type field in fa |
type_fi - String
|
Translated value for the type field in fi |
type_fr - String
|
Translated value for the type field in fr |
type_he - String
|
Translated value for the type field in he |
type_hi - String
|
Translated value for the type field in hi |
type_hr - String
|
Translated value for the type field in hr |
type_hu - String
|
Translated value for the type field in hu |
type_id - String
|
Translated value for the type field in id |
type_it - String
|
Translated value for the type field in it |
type_ja - String
|
Translated value for the type field in ja |
type_ko - String
|
Translated value for the type field in ko |
type_lo - String
|
Translated value for the type field in lo |
type_lt - String
|
Translated value for the type field in lt |
type_lv - String
|
Translated value for the type field in lv |
type_ms - String
|
Translated value for the type field in ms |
type_my - String
|
Translated value for the type field in my |
type_nb - String
|
Translated value for the type field in nb |
type_nl - String
|
Translated value for the type field in nl |
type_pl - String
|
Translated value for the type field in pl |
type_pt - String
|
Translated value for the type field in pt |
type_ro - String
|
Translated value for the type field in ro |
type_ru - String
|
Translated value for the type field in ru |
type_sk - String
|
Translated value for the type field in sk |
type_sl - String
|
Translated value for the type field in sl |
type_sr - String
|
Translated value for the type field in sr |
type_sv - String
|
Translated value for the type field in sv |
type_sw - String
|
Translated value for the type field in sw |
type_ta - String
|
Translated value for the type field in ta |
type_th - String
|
Translated value for the type field in th |
type_tl - String
|
Translated value for the type field in tl |
type_tr - String
|
Translated value for the type field in tr |
type_uk - String
|
Translated value for the type field in uk |
type_ur - String
|
Translated value for the type field in ur |
type_vi - String
|
Translated value for the type field in vi |
type_zh - String
|
Translated value for the type field in zh |
vehicle - ImporterYesNo
|
Whether the asset is a vehicle |
Example
{
"assetInternal": "abc123",
"assignment": "xyz789",
"availability": "BORROWED",
"categoryInternal": "xyz789",
"category_ar": "abc123",
"category_bg": "xyz789",
"category_bn": "xyz789",
"category_cs": "xyz789",
"category_da": "xyz789",
"category_de": "xyz789",
"category_el": "xyz789",
"category_en": "abc123",
"category_es": "abc123",
"category_et": "xyz789",
"category_fa": "xyz789",
"category_fi": "xyz789",
"category_fr": "abc123",
"category_he": "xyz789",
"category_hi": "xyz789",
"category_hr": "xyz789",
"category_hu": "abc123",
"category_id": "abc123",
"category_it": "xyz789",
"category_ja": "xyz789",
"category_ko": "xyz789",
"category_lo": "abc123",
"category_lt": "xyz789",
"category_lv": "xyz789",
"category_ms": "xyz789",
"category_my": "abc123",
"category_nb": "xyz789",
"category_nl": "abc123",
"category_pl": "xyz789",
"category_pt": "abc123",
"category_ro": "xyz789",
"category_ru": "abc123",
"category_sk": "abc123",
"category_sl": "abc123",
"category_sr": "xyz789",
"category_sv": "abc123",
"category_sw": "xyz789",
"category_ta": "abc123",
"category_th": "abc123",
"category_tl": "abc123",
"category_tr": "abc123",
"category_uk": "xyz789",
"category_ur": "xyz789",
"category_vi": "xyz789",
"category_zh": "xyz789",
"checkSchedule": ImporterDate,
"classification": "GENERIC",
"client": "xyz789",
"commissionDate": ImporterDate,
"costCenter": "abc123",
"currency": "AED",
"customFields": [ImporterAssetCustomFieldInput],
"dailyRate": 987.65,
"description": "xyz789",
"description_ar": "xyz789",
"description_bg": "abc123",
"description_bn": "xyz789",
"description_cs": "abc123",
"description_da": "abc123",
"description_de": "abc123",
"description_el": "xyz789",
"description_en": "xyz789",
"description_es": "abc123",
"description_et": "abc123",
"description_fa": "xyz789",
"description_fi": "xyz789",
"description_fr": "abc123",
"description_he": "abc123",
"description_hi": "xyz789",
"description_hr": "xyz789",
"description_hu": "xyz789",
"description_id": "abc123",
"description_it": "xyz789",
"description_ja": "abc123",
"description_ko": "abc123",
"description_lo": "abc123",
"description_lt": "xyz789",
"description_lv": "xyz789",
"description_ms": "xyz789",
"description_my": "abc123",
"description_nb": "xyz789",
"description_nl": "abc123",
"description_pl": "abc123",
"description_pt": "xyz789",
"description_ro": "abc123",
"description_ru": "xyz789",
"description_sk": "xyz789",
"description_sl": "abc123",
"description_sr": "abc123",
"description_sv": "xyz789",
"description_sw": "abc123",
"description_ta": "abc123",
"description_th": "xyz789",
"description_tl": "abc123",
"description_tr": "xyz789",
"description_uk": "xyz789",
"description_ur": "xyz789",
"description_vi": "abc123",
"description_zh": "abc123",
"externalId": "abc123",
"fixedAssetNumber": "abc123",
"floorRoom": "abc123",
"id": "xyz789",
"imei": "abc123",
"index": 123,
"initialValue": "xyz789",
"inventoryNumber": "abc123",
"inventoryPrefix": "abc123",
"lastMachineCheck": ImporterDate,
"leasingCostTermination": 123.45,
"leasingEnd": ImporterDate,
"leasingLevel": "abc123",
"leasingMonthlyCost": 123.45,
"leasingPartner": "xyz789",
"leasingPartnerContractNumber": "abc123",
"leasingPartnerContractPositionNumber": "xyz789",
"leasingRenewalDate": ImporterDate,
"leasingRenewalRate": 123.45,
"leasingStart": ImporterDate,
"machineCheckInterval": 123,
"machineCheckName": "abc123",
"machineCheckTimeframe": "abc123",
"maintenanceInterval": 123,
"maintenanceLastDate": ImporterDate,
"maintenanceSchedule": ImporterDate,
"make": "abc123",
"minDaysBilled": 987,
"optionalAssetID": "abc123",
"ownership": "CUSTOMER_MACHINE",
"plateNumber": "abc123",
"projectNumber": "abc123",
"purchaseCost": 123.45,
"purchaseDepreciationMonths": 987,
"purchaseInvoiceNumber": "xyz789",
"purchaseLowValueAsset": "No",
"purchaseStart": ImporterDate,
"purchaseWarrantyEnd": ImporterDate,
"purchaseWarrantyPeriod": 987,
"purchaseWarrantyStart": ImporterDate,
"quantity": 987,
"rentalCostTermination": 123.45,
"rentalEnd": ImporterDate,
"rentalMonthlyCost": 123.45,
"rentalRenewalDate": ImporterDate,
"rentalRenewalRate": 987.65,
"rentalStart": ImporterDate,
"reservations": "No",
"responsiblePerson": "abc123",
"serial": "abc123",
"serviceContract": "No",
"serviceContractCostPerYear": "abc123",
"serviceContractEmail": "xyz789",
"serviceContractEnd": ImporterDate,
"serviceContractLevel": "abc123",
"serviceContractPartner": "abc123",
"serviceContractStart": ImporterDate,
"shouldUpdateActiveAssetSiteAssignment": "No",
"site": "xyz789",
"siteAddress": "xyz789",
"siteExternalId": "xyz789",
"siteInternal": "abc123",
"supplier": "xyz789",
"typeInternal": "xyz789",
"type_ar": "xyz789",
"type_bg": "abc123",
"type_bn": "abc123",
"type_cs": "abc123",
"type_da": "abc123",
"type_de": "xyz789",
"type_el": "abc123",
"type_en": "xyz789",
"type_es": "xyz789",
"type_et": "abc123",
"type_fa": "abc123",
"type_fi": "xyz789",
"type_fr": "abc123",
"type_he": "xyz789",
"type_hi": "abc123",
"type_hr": "abc123",
"type_hu": "xyz789",
"type_id": "abc123",
"type_it": "xyz789",
"type_ja": "abc123",
"type_ko": "xyz789",
"type_lo": "xyz789",
"type_lt": "abc123",
"type_lv": "xyz789",
"type_ms": "xyz789",
"type_my": "xyz789",
"type_nb": "abc123",
"type_nl": "xyz789",
"type_pl": "xyz789",
"type_pt": "xyz789",
"type_ro": "xyz789",
"type_ru": "xyz789",
"type_sk": "abc123",
"type_sl": "abc123",
"type_sr": "abc123",
"type_sv": "abc123",
"type_sw": "xyz789",
"type_ta": "abc123",
"type_th": "xyz789",
"type_tl": "xyz789",
"type_tr": "abc123",
"type_uk": "abc123",
"type_ur": "xyz789",
"type_vi": "abc123",
"type_zh": "abc123",
"vehicle": "No"
}
ImporterValidateColumnResult
Fields
| Field Name | Description |
|---|---|
info - [ImporterValidateColumnResultInfo!]!
|
List of validation messages for this column |
isProvided - Boolean!
|
Whether the submitted row supplied this column, as opposed to the importer prefilling it |
key - String!
|
Column key this validation result belongs to |
value - String
|
Resolved value after validation and transformation |
Example
{
"info": [ImporterValidateColumnResultInfo],
"isProvided": false,
"key": "xyz789",
"value": "xyz789"
}
ImporterValidateColumnResultInfo
Fields
| Field Name | Description |
|---|---|
level - ImporterValidationLevel!
|
Severity level of the validation message |
message - String!
|
Human-readable validation message |
messageKey - String!
|
Stable i18n key for the validation message |
Example
{
"level": "DISABLED",
"message": "abc123",
"messageKey": "abc123"
}
ImporterValidatePersonnelInput
Fields
| Input Field | Description |
|---|---|
city - String
|
Imported value for the City column |
contractType - String
|
Imported value for the Contract Type column |
contractWorkCategory - String
|
Imported value for the Employment Category column |
country - String
|
Imported value for the Country column |
countryOfBirth - String
|
Imported value for the Country of Birth column |
dateOfBirth - String
|
Imported value for the Date of Birth column |
dependentChildren - String
|
Imported value for the Dependent Children column |
dependentHandicappedChildren - String
|
Imported value for the Dependent Handicapped Children column |
dependentPersonsOver65 - String
|
Imported value for the Dependent Persons Over 65 column |
dependentPersonsUnder65 - String
|
Imported value for the Dependent Persons Under 65 column |
dependentPersonsUnder65Income - String
|
Imported value for the Dependent Persons Under 65 Income column |
driversLicenceNumber - String
|
Imported value for the Driver's Licence Number column |
email - String
|
Imported value for the Email column |
email2 - String
|
Imported value for the Email 2 column |
employmentEndDate - String
|
Imported value for the Employment End Date column |
employmentSchedule - String
|
Imported value for the Timetable Type column |
employmentStartDate - String
|
Imported value for the Employment Start Date column |
externalErpId - String
|
Imported value for the ERP Personnel ID column |
firstName - String
|
Imported value for the First Name column |
fullName - String
|
Imported value for the Full Name column |
gender - String
|
Imported value for the Gender column |
group - String
|
Imported value for the Group (Employer) column |
id - String
|
Imported value for the Personnel ID column |
index - Int!
|
Row index of this entry in the import spreadsheet |
jobFunction - String
|
Imported value for the Job Function column |
jointCommitteeNumber - String
|
Imported value for the Joint Committee Number column |
language - String
|
Imported value for the Language column |
lastName - String
|
Imported value for the Last Name column |
licenceCategory - String
|
Imported value for the Licence Category column |
licenceExpiryDate - String
|
Imported value for the Licence Expiry Date column |
maritalStatus - String
|
Imported value for the Marital Status column |
marriageDate - String
|
Imported value for the Marriage Date column |
nationalInsuranceNumber - String
|
Imported value for the National Insurance Number column |
nationality - String
|
Imported value for the Nationality column |
notes - String
|
Imported value for the Notes column |
personnelNumber - String
|
Imported value for the Personnel Number column |
personnelNumberPrefix - String
|
Imported value for the Personnel Number Prefix column |
phone - String
|
Imported value for the Phone column |
placeOfBirth - String
|
Imported value for the Place of Birth column |
postalCode - String
|
Imported value for the Postal Code column |
salaryIBAN - String
|
Imported value for the Salary IBAN column |
salaryPaymentType - String
|
Imported value for the Salary Payment Type column |
salaryScaleStartDate - String
|
Imported value for the Salary Scale Start Date column |
seniorityStartDate - String
|
Imported value for the Seniority Start Date column |
shownOnDispositionPage - String
|
Imported value for the Shown on Disposition page column |
specializationLevel - String
|
Imported value for the Specialization level column |
spouseBirthDate - String
|
Imported value for the Spouse Birth Date column |
spousePartnerName - String
|
Imported value for the Spouse Name column |
street - String
|
Imported value for the Street column |
studyLevel - String
|
Imported value for the Study Level column |
Example
{
"city": "xyz789",
"contractType": "abc123",
"contractWorkCategory": "xyz789",
"country": "abc123",
"countryOfBirth": "xyz789",
"dateOfBirth": "abc123",
"dependentChildren": "abc123",
"dependentHandicappedChildren": "xyz789",
"dependentPersonsOver65": "xyz789",
"dependentPersonsUnder65": "abc123",
"dependentPersonsUnder65Income": "xyz789",
"driversLicenceNumber": "abc123",
"email": "xyz789",
"email2": "xyz789",
"employmentEndDate": "xyz789",
"employmentSchedule": "abc123",
"employmentStartDate": "xyz789",
"externalErpId": "abc123",
"firstName": "xyz789",
"fullName": "xyz789",
"gender": "xyz789",
"group": "abc123",
"id": "xyz789",
"index": 123,
"jobFunction": "xyz789",
"jointCommitteeNumber": "abc123",
"language": "abc123",
"lastName": "abc123",
"licenceCategory": "xyz789",
"licenceExpiryDate": "abc123",
"maritalStatus": "xyz789",
"marriageDate": "xyz789",
"nationalInsuranceNumber": "xyz789",
"nationality": "abc123",
"notes": "abc123",
"personnelNumber": "xyz789",
"personnelNumberPrefix": "abc123",
"phone": "xyz789",
"placeOfBirth": "xyz789",
"postalCode": "abc123",
"salaryIBAN": "xyz789",
"salaryPaymentType": "xyz789",
"salaryScaleStartDate": "xyz789",
"seniorityStartDate": "xyz789",
"shownOnDispositionPage": "xyz789",
"specializationLevel": "abc123",
"spouseBirthDate": "abc123",
"spousePartnerName": "abc123",
"street": "abc123",
"studyLevel": "xyz789"
}
ImporterValidateRuleEntryAssetDateOverrideInput
Fields
| Input Field | Description |
|---|---|
assignment - String
|
Asset assignment shown for import context |
index - Int!
|
Row index of this entry in the import spreadsheet |
inventoryNumber - String
|
Asset inventory number shown for import context |
lastInspectionDate - String
|
Last inspection date override in yyyy-MM-dd format |
nextInspectionDate - String
|
Next inspection date override in yyyy-MM-dd format |
publicId - String
|
Public identifier of the asset the override applies to |
serial - String
|
Asset serial shown for import context |
site - String
|
Asset site shown for import context |
startDate - String
|
Rule entry start date shown for import context |
Example
{
"assignment": "xyz789",
"index": 987,
"inventoryNumber": "xyz789",
"lastInspectionDate": "xyz789",
"nextInspectionDate": "xyz789",
"publicId": "xyz789",
"serial": "xyz789",
"site": "abc123",
"startDate": "abc123"
}
ImporterValidateSiteInput
Fields
| Input Field | Description |
|---|---|
accountNumber - String
|
Account number for the site |
address - String
|
Street address of the site |
assignment - String
|
User or team the site is assigned to |
costCenter - String
|
Cost center associated with the site |
country - String
|
Country where the site is located |
customerNumber - String
|
Customer number associated with the site |
email - String
|
Contact email address for the site |
externalId - String
|
External system identifier for the site |
geofenceAlert - String
|
Geofence alert trigger direction: ENTER, EXIT, or ENTER_EXIT |
geofenceNotificationEmails - String
|
Semicolon-separated external email addresses notified on geofence events |
geofenceRadius - Float
|
Radius in meters of the circular geofence centered on the site location |
id - String
|
Internal site identifier |
index - Int!
|
Row index of this entry in the import spreadsheet |
isFixed - ImporterYesNo
|
Whether the site has a fixed physical location |
lat - Float
|
Latitude coordinate of the site location |
lng - Float
|
Longitude coordinate of the site location |
name - String
|
Display name of the site |
note - String
|
Additional notes or comments about the site |
parentSiteId - String
|
Identifier of the parent site in the hierarchy |
parentSiteName - String
|
Name of the parent site in the hierarchy |
postalCode - String
|
Postal or ZIP code of the site |
servicePackageId - String
|
Identifier of the service package assigned to the site |
servicePackageName - String
|
Name of the service package assigned to the site |
shouldInheritGeofenceSettings - ImporterYesNo
|
Whether the site inherits geofence settings from its parent |
shouldInheritManagerDetails - ImporterYesNo
|
Whether the site inherits the primary site manager from its parent |
shouldInheritServicePackage - ImporterYesNo
|
Whether the site inherits the service package from its parent |
siteManagerName - String
|
Name of the site manager |
siteTypeInternal - String
|
Identifier of the site type |
siteTypeName - String
|
Name of the site type |
telephone - String
|
Contact telephone number for the site |
Example
{
"accountNumber": "abc123",
"address": "abc123",
"assignment": "abc123",
"costCenter": "xyz789",
"country": "xyz789",
"customerNumber": "xyz789",
"email": "abc123",
"externalId": "abc123",
"geofenceAlert": "xyz789",
"geofenceNotificationEmails": "xyz789",
"geofenceRadius": 987.65,
"id": "xyz789",
"index": 123,
"isFixed": "No",
"lat": 987.65,
"lng": 987.65,
"name": "abc123",
"note": "xyz789",
"parentSiteId": "xyz789",
"parentSiteName": "xyz789",
"postalCode": "xyz789",
"servicePackageId": "abc123",
"servicePackageName": "xyz789",
"shouldInheritGeofenceSettings": "No",
"shouldInheritManagerDetails": "No",
"shouldInheritServicePackage": "No",
"siteManagerName": "xyz789",
"siteTypeInternal": "abc123",
"siteTypeName": "xyz789",
"telephone": "abc123"
}
ImporterValidationLevel
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
Example
"DISABLED"
ImporterValidationResult
Fields
| Field Name | Description |
|---|---|
entryCount - Int!
|
Total number of entries in the file |
job - BackgroundJob!
|
Background job that validated the rows |
rows - [ImporterValidationRow!]!
|
Requested page of validated rows |
Example
{
"entryCount": 123,
"job": BackgroundJob,
"rows": [ImporterValidationRow]
}
ImporterValidationRow
Fields
| Field Name | Description |
|---|---|
columns - [ImporterValidateColumnResult!]!
|
Validation result of every column the row produced |
hasErrors - Boolean!
|
Whether this row contains any validation errors |
hasWarnings - Boolean!
|
Whether this row contains any validation warnings |
index - Int!
|
Row index of this entry in the import spreadsheet |
Example
{
"columns": [ImporterValidateColumnResult],
"hasErrors": true,
"hasWarnings": false,
"index": 123
}
ImporterYesNo
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
Example
"No"
IndexTypeEnum
Description
Elasticsearch entity index type
Values
| Enum Value | Description |
|---|---|
|
|
Example
"ASSET"
Int
Description
The Int scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
Example
987
IntegrationConfigKey
Description
A single key-value configuration parameter for an integration
Fields
| Field Name | Description |
|---|---|
created - Timestamp!
|
Timestamp when the entity was created |
id - HashedId!
|
Unique identifier of the entity |
key - String!
|
Machine-readable configuration key used to look up the corresponding value |
updated - Timestamp
|
Timestamp when the entity was last updated |
value - String!
|
Configuration value associated with this key for the integration |
Example
{
"created": 1592577642,
"id": HashedId,
"key": "abc123",
"updated": 1592577642,
"value": "abc123"
}
IntegrationConfigKeyHistory
Description
An immutable integration config change entry
Fields
| Field Name | Description |
|---|---|
created - Timestamp!
|
Timestamp when the entity was created |
createdByUser - User
|
User who saved the config change, null for system changes |
createdByUserId - HashedId
|
User who saved the change, null for system changes |
id - HashedId!
|
Unique identifier of the entity |
integrationId - HashedId!
|
Integration whose config changed |
key - String!
|
Changed config key |
newValue - String
|
New config value, ****** for a secret key |
oldValue - String
|
Previous config value, null when the key was added, ****** for a secret key |
type - IntegrationConfigKeyHistoryTypeEnum!
|
Whether the config key was added or its value changed |
updated - Timestamp
|
Timestamp when the entity was last updated |
Example
{
"created": 1592577642,
"createdByUser": User,
"createdByUserId": HashedId,
"id": HashedId,
"integrationId": HashedId,
"key": "abc123",
"newValue": "xyz789",
"oldValue": "xyz789",
"type": "CREATED",
"updated": 1592577642
}
IntegrationConfigKeyHistoryPaginatedResult
Description
Paginated list of integration config change entries
Fields
| Field Name | Description |
|---|---|
meta - PaginationMeta!
|
Pagination metadata including total count and page info |
rows - [IntegrationConfigKeyHistory!]!
|
List of records for the current page |
total - Int!
|
Total amount |
Example
{
"meta": PaginationMeta,
"rows": [IntegrationConfigKeyHistory],
"total": 123
}
IntegrationConfigKeyHistoryTypeEnum
Description
Whether an integration config key was added or its value changed
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
Example
"CREATED"
IntegrationConfigUpdateInput
Description
Configuration key-value entry written to an integration
Example
{
"key": "abc123",
"value": "abc123"
}
IntegrationConnectionTest
Description
Result of checking an integration connection with its stored credentials
Fields
| Field Name | Description |
|---|---|
failure - IntegrationConnectionTestFailureEnum
|
Why the connection test failed, null when the connection works |
summary - String!
|
Summary of the first explorer request run with the tested config |
Example
{"failure": "FAILED", "summary": "xyz789"}
IntegrationConnectionTestFailureEnum
Description
Why an integration connection test failed: credentials rejected by the provider, the provider unreachable or too slow, or any other failure
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
Example
"FAILED"
IntegrationExplorerFieldDto
Fields
| Field Name | Description |
|---|---|
isOptional - Boolean
|
|
key - String!
|
|
label - String!
|
|
multiple - Boolean!
|
|
options - [IntegrationExplorerFieldOptionDto!]!
|
|
targetFieldKey - String
|
|
type - IntegrationExplorerFieldTypeEnum!
|
Example
{
"isOptional": false,
"key": "abc123",
"label": "xyz789",
"multiple": true,
"options": [IntegrationExplorerFieldOptionDto],
"targetFieldKey": "xyz789",
"type": "ASSET"
}
IntegrationExplorerFieldOptionDto
IntegrationExplorerFieldTypeEnum
Description
Input type for a dynamic integration explorer request field: free text, ISO date, or a fixed set of select options
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
Example
"ASSET"
IntegrationExplorerRequestDataDto
Fields
| Field Name | Description |
|---|---|
durationMs - Int!
|
|
key - String!
|
|
requestUrls - [String!]!
|
|
responseData - String!
|
|
summary - String!
|
|
templateOptions - [IntegrationExplorerTemplateOptionDto!]!
|
Example
{
"durationMs": 987,
"key": "abc123",
"requestUrls": ["xyz789"],
"responseData": "abc123",
"summary": "xyz789",
"templateOptions": [
IntegrationExplorerTemplateOptionDto
]
}
IntegrationExplorerRequestDto
Fields
| Field Name | Description |
|---|---|
fields - [IntegrationExplorerFieldDto!]!
|
|
key - String!
|
|
label - String!
|
Example
{
"fields": [IntegrationExplorerFieldDto],
"key": "abc123",
"label": "xyz789"
}
IntegrationExplorerResultFieldDto
IntegrationExplorerRunDto
Fields
| Field Name | Description |
|---|---|
error - String
|
|
request - String!
|
|
requestData - IntegrationExplorerRequestDataDto
|
|
summary - String!
|
Example
{
"error": "xyz789",
"request": "xyz789",
"requestData": IntegrationExplorerRequestDataDto,
"summary": "abc123"
}
IntegrationExplorerRunInput
Fields
| Input Field | Description |
|---|---|
request - String!
|
|
timezone - String
|
IANA timezone of the viewer, in which a picked date is read as a calendar day |
values - [IntegrationExplorerValueInput!]!
|
Example
{
"request": "abc123",
"timezone": "xyz789",
"values": [IntegrationExplorerValueInput]
}
IntegrationExplorerTemplateOptionDto
Fields
| Field Name | Description |
|---|---|
compatibleRequests - [String!]!
|
|
primaryFields - [IntegrationExplorerResultFieldDto!]!
|
|
syncId - String
|
|
syncIdLabel - String
|
|
title - String!
|
|
values - JSONObject!
|
Example
{
"compatibleRequests": ["xyz789"],
"primaryFields": [IntegrationExplorerResultFieldDto],
"syncId": "abc123",
"syncIdLabel": "abc123",
"title": "abc123",
"values": {}
}
IntegrationExplorerValueInput
IntegrationListRow
Description
Integration row of the integrations list with its latest sync run
Fields
| Field Name | Description |
|---|---|
config - [IntegrationConfigKey!]!
|
Key-value configuration parameters |
created - Timestamp!
|
Timestamp when the entity was created |
cronTime - String
|
Cron expression the scheduled runs follow |
group - Group
|
Group this integration is scoped to |
groupId - HashedId
|
Group this integration is scoped to |
id - HashedId!
|
Unique identifier of the entity |
isBase - Boolean!
|
Whether this is a base integration holding the shared provider credentials other integrations reuse |
isScheduled - Boolean!
|
Whether the integration runs automatically on its cron schedule |
name - String!
|
Free-text integration service name |
observation - IntegrationObservation
|
Latest sync run of this integration |
provider - IntegrationProviderEnum
|
External provider or vendor name |
supportsExplorer - Boolean!
|
|
treeRootGroup - Group
|
Root group of the organization tree for multi-tenant isolation |
treeRootGroupId - HashedId
|
Root group of the organization tree for multi-tenant isolation |
updated - Timestamp
|
Timestamp when the entity was last updated |
userId - HashedId
|
User account that owns or administers this integration |
Example
{
"config": [IntegrationConfigKey],
"created": 1592577642,
"cronTime": "xyz789",
"group": Group,
"groupId": HashedId,
"id": HashedId,
"isBase": false,
"isScheduled": true,
"name": "xyz789",
"observation": IntegrationObservation,
"provider": "ACHELIS_PROVIDER",
"supportsExplorer": true,
"treeRootGroup": Group,
"treeRootGroupId": HashedId,
"updated": 1592577642,
"userId": HashedId
}
IntegrationNew
Description
Integration configuration using string-based provider names
Fields
| Field Name | Description |
|---|---|
config - [IntegrationConfigKey!]!
|
Key-value configuration parameters |
created - Timestamp!
|
Timestamp when the entity was created |
cronTime - String
|
Cron expression the scheduled runs follow |
group - Group
|
Group this integration is scoped to |
groupId - HashedId
|
Group this integration is scoped to |
id - HashedId!
|
Unique identifier of the entity |
isBase - Boolean!
|
Whether this is a base integration holding the shared provider credentials other integrations reuse |
isScheduled - Boolean!
|
Whether the integration runs automatically on its cron schedule |
name - String!
|
Free-text integration service name |
provider - IntegrationProviderEnum
|
External provider or vendor name |
treeRootGroup - Group
|
Root group of the organization tree for multi-tenant isolation |
treeRootGroupId - HashedId
|
Root group of the organization tree for multi-tenant isolation |
updated - Timestamp
|
Timestamp when the entity was last updated |
userId - HashedId
|
User account that owns or administers this integration |
Example
{
"config": [IntegrationConfigKey],
"created": 1592577642,
"cronTime": "xyz789",
"group": Group,
"groupId": HashedId,
"id": HashedId,
"isBase": false,
"isScheduled": false,
"name": "abc123",
"provider": "ACHELIS_PROVIDER",
"treeRootGroup": Group,
"treeRootGroupId": HashedId,
"updated": 1592577642,
"userId": HashedId
}
IntegrationObservation
Description
Monitoring record for an integration sync run with execution details
Fields
| Field Name | Description |
|---|---|
created - Timestamp!
|
Timestamp when the entity was created |
deferredUntil - DateTime
|
Timestamp when the provider rate limit window resets and scheduled runs resume |
duration - Int
|
Duration in milliseconds |
error - String
|
Error message if the operation failed, null otherwise; response bodies and stack traces are shown to ToolSense admins only |
id - HashedId!
|
Unique identifier of this integration sync observation record |
integrationId - HashedId!
|
Integration this observation monitors |
lastEndAt - DateTime
|
Timestamp when the most recent run completed |
lastIotEventAt - DateTime
|
Timestamp of the most recent IoT event ingested for this integration |
lastStartAt - DateTime
|
Timestamp when the most recent run started |
lastSuccessAt - DateTime
|
Timestamp of the last successful completion |
records - [IntegrationObservationRecord!]!
|
Per-entity sync results with created, updated, and failed counts |
status - IntegrationObservationStatusEnum
|
Execution status of the sync run such as running, completed, or failed |
updated - Timestamp
|
Timestamp when the entity was last updated |
Example
{
"created": 1592577642,
"deferredUntil": "2007-12-03T10:15:30Z",
"duration": 123,
"error": "abc123",
"id": HashedId,
"integrationId": HashedId,
"lastEndAt": "2007-12-03T10:15:30Z",
"lastIotEventAt": "2007-12-03T10:15:30Z",
"lastStartAt": "2007-12-03T10:15:30Z",
"lastSuccessAt": "2007-12-03T10:15:30Z",
"records": [IntegrationObservationRecord],
"status": "CANCELLED",
"updated": 1592577642
}
IntegrationObservationRecord
Description
Per-entity sync result tracking created, updated, and failed counts
Fields
| Field Name | Description |
|---|---|
created - Timestamp!
|
Timestamp when the entity was created |
createdCount - Int
|
Records created during sync |
deletedCount - Int
|
Records deleted during sync |
failedCount - Int
|
Records that failed to sync |
id - HashedId!
|
Unique identifier of the entity |
name - IntegrationObservationRecordNamesEnum!
|
Entity type this record tracks such as asset, ticket, or site |
receivedCount - Int
|
Records received from provider this run |
skippedCount - Int
|
Records skipped during sync, e.g. assets with a real module assignment or ambiguous serial matches |
unchangedCount - Int
|
Records unchanged since last sync |
updated - Timestamp
|
Timestamp when the entity was last updated |
updatedCount - Int
|
Records updated during sync |
Example
{
"created": 1592577642,
"createdCount": 987,
"deletedCount": 987,
"failedCount": 123,
"id": HashedId,
"name": "ASSET",
"receivedCount": 123,
"skippedCount": 123,
"unchangedCount": 123,
"updated": 1592577642,
"updatedCount": 123
}
IntegrationObservationRecordEvent
Description
Details of a single record event (create, update, or delete) during an integration sync
Fields
| Field Name | Description |
|---|---|
changedFields - [String!]
|
List of field names that changed during an UPDATE operation |
created - Timestamp!
|
Timestamp when the entity was created |
errorMessage - String
|
Detailed error message explaining the failure |
externalKey - String!
|
Identifier of the record in the external system |
id - HashedId!
|
Unique identifier of the entity |
internalEntityId - HashedId
|
Internal ToolSense entity id after a successful operation |
operation - IntegrationObservationRecordEventOperationEnum!
|
Operation type that was performed (create, update, or delete) |
recordName - IntegrationObservationRecordNamesEnum!
|
Entity type this record applies to |
status - IntegrationObservationRecordEventStatusEnum!
|
Outcome of the operation (SUCCESS or FAILED) |
updated - Timestamp
|
Timestamp when the entity was last updated |
Example
{
"changedFields": ["abc123"],
"created": 1592577642,
"errorMessage": "xyz789",
"externalKey": "xyz789",
"id": HashedId,
"internalEntityId": HashedId,
"operation": "CREATE",
"recordName": "ASSET",
"status": "FAILED",
"updated": 1592577642
}
IntegrationObservationRecordEventOperationEnum
Description
Database operation performed during integration record synchronization: create (new record insertion), update (existing record modification), or delete (record removal)
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
Example
"CREATE"
IntegrationObservationRecordEventStatusEnum
Description
Outcome status of an integration record event, either SUCCESS (operation completed) or FAILED (operation encountered an error)
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
Example
"FAILED"
IntegrationObservationRecordNamesEnum
Description
Entity type being synchronized in an integration observation record, such as site, category, asset type, asset, group, IoT module, inspection check, IoT data, or document
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"ASSET"
IntegrationObservationStatusEnum
Description
Processing status of an integration sync observation: pending (awaiting processing), rejected (failed validation or processing), or completed (successfully synchronized)
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"CANCELLED"
IntegrationPaginated
Description
Paginated list of integrations with their latest sync run
Fields
| Field Name | Description |
|---|---|
meta - PaginationMeta!
|
Pagination metadata including total count and page info |
rows - [IntegrationListRow!]!
|
List of records for the current page |
total - Int!
|
Total amount |
Example
{
"meta": PaginationMeta,
"rows": [IntegrationListRow],
"total": 123
}
IntegrationProviderEnum
Description
Supported third-party integration providers for data synchronization, such as Pudu, Gausium, IntelliTrail, Hako, Kaercher, SafetyTest, LionsBot, and ASE
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"ACHELIS_PROVIDER"
IntegrationProviderNewDto
Description
String-based integration provider with cron scheduling status
Fields
| Field Name | Description |
|---|---|
config - [IntegrationConfigKey!]!
|
Key-value configuration parameters |
created - Timestamp!
|
Timestamp when the entity was created |
cronTime - String
|
Cron expression the scheduled runs follow |
groupId - HashedId
|
Group this integration is scoped to |
id - HashedId!
|
Unique identifier of the entity |
isBase - Boolean!
|
Whether this is a base integration holding the shared provider credentials other integrations reuse |
isCronActive - Boolean!
|
Functionality removed |
isScheduled - Boolean!
|
Whether the integration runs automatically on its cron schedule |
name - String!
|
Free-text integration service name |
provider - IntegrationProviderEnum
|
External provider or vendor name |
supportsExplorer - Boolean!
|
|
treeRootGroupId - HashedId
|
Root group of the organization tree for multi-tenant isolation |
updated - Timestamp
|
Timestamp when the entity was last updated |
userId - HashedId
|
User account that owns or administers this integration |
Example
{
"config": [IntegrationConfigKey],
"created": 1592577642,
"cronTime": "abc123",
"groupId": HashedId,
"id": HashedId,
"isBase": false,
"isCronActive": true,
"isScheduled": false,
"name": "xyz789",
"provider": "ACHELIS_PROVIDER",
"supportsExplorer": false,
"treeRootGroupId": HashedId,
"updated": 1592577642,
"userId": HashedId
}
IntegrationUpdateInput
Description
Fields to update on an existing integration
Fields
| Input Field | Description |
|---|---|
userId - HashedId!
|
User account the integration syncs as |
Example
{"userId": HashedId}
IotAssetData
Description
IoT data represents sensor readings from assets
Fields
| Field Name | Description |
|---|---|
battery - IotData
|
Battery |
batteryLevel - IotData
|
Battery level |
cleaningArea - IotData
|
Cleaning area |
configId - IotData
|
Config identifier |
data - [IotData!]!
|
Related data records |
firmwareVersion - IotData
|
Firmware version |
idleTime - IotData
|
Idle time |
input2 - IotData
|
Input2 |
input3 - IotData
|
Input3 |
operatingTime - IotData
|
Operating time |
runtime - IotData
|
Runtime |
signal - IotData
|
Signal |
softwareVersion - IotData
|
Software version |
utilization - IotData
|
Utilization Use Asset.utilization once windowed asset utilization is enabled for the asset group; it measures runtime as a percentage of the target runtime. |
vehicleMileage - IotData
|
Vehicle mileage |
voltage - IotData
|
Voltage |
workDone - IotData
|
Work done |
Example
{
"battery": IotData,
"batteryLevel": IotData,
"cleaningArea": IotData,
"configId": IotData,
"data": [IotData],
"firmwareVersion": IotData,
"idleTime": IotData,
"input2": IotData,
"input3": IotData,
"operatingTime": IotData,
"runtime": IotData,
"signal": IotData,
"softwareVersion": IotData,
"utilization": IotData,
"vehicleMileage": IotData,
"voltage": IotData,
"workDone": IotData
}
IotConfig
Description
Configuration for IoT parameters
Fields
| Field Name | Description |
|---|---|
activity - Boolean!
|
Whether this parameter is shown in the activity log section |
chartAggregation - IotConfigChartAggregation
|
How chart data points are aggregated over a time bucket |
chartDay - Boolean!
|
Whether this parameter is included in the daily chart view |
chartMonth - Boolean!
|
Whether this parameter is included in the monthly chart view |
chartWeek - Boolean!
|
Whether this parameter is included in the weekly chart view |
chartYear - Boolean!
|
Whether this parameter is included in the yearly chart view |
created - Timestamp!
|
Timestamp when the entity was created |
description - Translation
|
|
descriptionId - HashedId
|
ID of the description translation Use description instead |
displayType - String!
|
How the parameter should be displayed |
groupTreeId - HashedId
|
ID of the group tree this config belongs to |
id - HashedId!
|
Unique identifier of the entity |
isDefault - Boolean!
|
Whether this is the default configuration |
list - Boolean!
|
Whether this parameter is visible in the asset list view |
parameter - IotParameter
|
Parameter definition for this data point |
parameterId - HashedId!
|
ID of the parameter this config belongs to |
title - Translation
|
|
titleId - HashedId
|
ID of the title translation Use title instead |
updated - Timestamp
|
Timestamp when the entity was last updated |
visualisationRangeMax - Int
|
|
visualisationRangeMin - Int
|
|
visualisationRangeStepSize - Int
|
Example
{
"activity": true,
"chartAggregation": "AVG",
"chartDay": true,
"chartMonth": false,
"chartWeek": false,
"chartYear": true,
"created": 1592577642,
"description": Translation,
"descriptionId": HashedId,
"displayType": "xyz789",
"groupTreeId": HashedId,
"id": HashedId,
"isDefault": true,
"list": false,
"parameter": IotParameter,
"parameterId": HashedId,
"title": Translation,
"titleId": HashedId,
"updated": 1592577642,
"visualisationRangeMax": 123,
"visualisationRangeMin": 123,
"visualisationRangeStepSize": 123
}
IotConfigChartAggregation
Description
Aggregation function used when combining IoT data points in a chart bucket
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
Example
"AVG"
IotData
Description
IoT data represents sensor readings from assets
Fields
| Field Name | Description |
|---|---|
assetId - HashedId!
|
ID of the asset this data belongs to |
code - String!
|
Code for this iot data |
created - Timestamp!
|
Timestamp when the entity was created |
formattedValue - String
|
Formatted Value for this iot data |
id - HashedId!
|
Unique identifier of the entity |
parameter - IotParameter
|
Parameter definition for this data point |
parameterId - HashedId!
|
ID of the parameter this data is measuring |
units - String
|
Units for this iot data |
updated - Timestamp
|
Timestamp when the entity was last updated |
value - String!
|
The actual value of the measurement |
Example
{
"assetId": HashedId,
"code": "xyz789",
"created": 1592577642,
"formattedValue": "xyz789",
"id": HashedId,
"parameter": IotParameter,
"parameterId": HashedId,
"units": "xyz789",
"updated": 1592577642,
"value": "xyz789"
}
IotDataAggregationPeriod
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
Example
"DAY"
IotDataHistory
Fields
| Field Name | Description |
|---|---|
asset - Asset!
|
|
assetId - HashedId!
|
|
parameters - [IotParameter!]!
|
|
timestamps - [Timestamp!]!
|
|
values - [Float]
|
Example
{
"asset": Asset,
"assetId": HashedId,
"parameters": [IotParameter],
"timestamps": [1592577642],
"values": [987.65]
}
IotDataHistoryActivity
Fields
| Field Name | Description |
|---|---|
logs - [IotDataHistoryActivityLog!]!
|
|
parameterId - HashedId!
|
Example
{
"logs": [IotDataHistoryActivityLog],
"parameterId": HashedId
}
IotDataHistoryActivityLog
IotDataOriginEnum
Description
Source of an IoT data value: REPORTED values come from the device or OEM cloud, DERIVED values are calculated by ToolSense
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
Example
"DERIVED"
IotModuleHistory
Description
IoT module asset lifecycle history record
Example
{
"assetId": HashedId,
"endTime": "2007-12-03T10:15:30Z",
"id": HashedId,
"moduleId": HashedId,
"startTime": "2007-12-03T10:15:30Z"
}
IotParameter
Description
IoT parameter defines the type of measurement and its units
Fields
| Field Name | Description |
|---|---|
code - String!
|
Code identifying the parameter |
config - IotConfig
|
Configuration for this parameter |
created - Timestamp!
|
Timestamp when the entity was created |
displayUnit - String
|
Unit symbol the parameter values are expressed in, resolved against the current user's unit preferences |
id - HashedId!
|
Unique identifier of the entity |
integrationId - HashedId!
|
ID of the integration this parameter belongs to |
integrationName - String
|
Name of the integration this parameter belongs to |
isAverageValue - Boolean!
|
Use config.chartAggregation === AVG instead
|
isCalculatedValue - Boolean!
|
Whether the parameter value is calculated from other parameters |
isNegativeAllowed - Boolean!
|
Whether negative measurement values are considered valid for this parameter |
legacyParameterId - HashedId
|
Temporary link to deprecated type Parameter until it is in use |
parameterSetId - HashedId
|
|
units - String
|
Units of measurement for this parameter |
updated - Timestamp
|
Timestamp when the entity was last updated |
Example
{
"code": "abc123",
"config": IotConfig,
"created": 1592577642,
"displayUnit": "abc123",
"id": HashedId,
"integrationId": HashedId,
"integrationName": "abc123",
"isAverageValue": true,
"isCalculatedValue": false,
"isNegativeAllowed": true,
"legacyParameterId": HashedId,
"parameterSetId": HashedId,
"units": "abc123",
"updated": 1592577642
}
JSON
Description
The JSON scalar type represents JSON values as specified by ECMA-404.
Example
{}
JSONObject
Description
The JSONObject scalar type represents JSON objects as specified by ECMA-404.
Example
{}
LanguageLocaleEnum
Description
Supported language and region locale codes used for internationalization of the platform interface and content
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"ar_ar"
LanguageNameEnum
Description
Display name of a supported platform language used for user interface localization and content translation
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"Arabic"
LanguageTag
Description
String identified representing a language in format <2l-langcode>_<2l-locale>
Example
LanguageTag
LanguageV2
Description
A supported language with locale code and display name
Fields
| Field Name | Description |
|---|---|
code - LanguageLocaleEnum!
|
Code |
created - Timestamp!
|
Timestamp when the entity was created |
id - HashedId!
|
Unique identifier of the entity |
name - LanguageNameEnum!
|
Display name |
nameNative - String!
|
Name native |
updated - Timestamp
|
Timestamp when the entity was last updated |
Example
{
"code": "ar_ar",
"created": 1592577642,
"id": HashedId,
"name": "Arabic",
"nameNative": "abc123",
"updated": 1592577642
}
LegacyAssetReservation
Description
Legacy reservation shape (v1) retained for mobile builds <= rc0-115; remove once 0.115 is sunset
Fields
| Field Name | Description |
|---|---|
from - Timestamp!
|
Starting time of reservation |
id - HashedId!
|
Unique identifier of the reservation |
until - Timestamp!
|
Ending time of reservation |
Example
{"from": 1592577642, "id": HashedId, "until": 1592577642}
LocaleInput
Description
Locale settings for asset activity report download
Fields
| Input Field | Description |
|---|---|
language - LanguageLocaleEnum!
|
Language locale for the downloaded report |
timezone - String!
|
IANA timezone for formatting dates in the report |
Example
{"language": "ar_ar", "timezone": "xyz789"}
Location
Description
Representing a reported location on the map
Fields
| Field Name | Description |
|---|---|
gatewayAsset - Asset
|
Gateway asset that reported this location |
gatewayAssetId - HashedId
|
Identifier of the gateway asset that reported this location |
id - HashedId!
|
Unique identifier of the entity |
latitude - String!
|
Geographic latitude coordinate |
locationSource - LocationSourceEnum
|
Source technology used to determine this location |
longitude - String!
|
Geographic longitude coordinate |
status - LocationStatusEnum
|
Depending on the status you can give an interpretation to the location data |
timestamp - Timestamp!
|
Timestamp when the location was recorded |
uncertainty - Float!
|
Accuracy radius of the location measurement in meters |
Example
{
"gatewayAsset": Asset,
"gatewayAssetId": HashedId,
"id": HashedId,
"latitude": "xyz789",
"locationSource": "GPS",
"longitude": "xyz789",
"status": "HIDDEN",
"timestamp": 1592577642,
"uncertainty": 123.45
}
LocationSourceEnum
Description
Identifies the technology or method used to determine an asset location, such as GPS, WiFi, cell triangulation, site-based, or phone-reported
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"GPS"
LocationStatusEnum
Description
Describes the state of the supplied location data
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
Example
"HIDDEN"
LocationTypeEnum
Description
Indicates the source context of a vehicle location (live trip, last business trip, or site)
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
Example
"LAST_BUSINESS_TRIP"
LoginInterrupt
Description
A configurable message shown to users upon login, used for announcements or acknowledgements
Fields
| Field Name | Description |
|---|---|
content - Translation
|
The message body in HTML |
contentId - HashedId!
|
Content translation identifier |
created - Timestamp!
|
Timestamp when the entity was created |
id - HashedId!
|
Unique identifier of the entity |
isActive - Boolean!
|
Whether this login interrupt is currently being shown to users |
title - Translation
|
Translatable headline displayed at the top of the login interrupt dialog |
titleId - HashedId
|
Title translation identifier |
updated - Timestamp
|
Timestamp when the entity was last updated |
visibleToGroupIds - [HashedId!]
|
IDs of groups that should see this login interrupt |
visibleToGroups - [Group!]
|
Example
{
"content": Translation,
"contentId": HashedId,
"created": 1592577642,
"id": HashedId,
"isActive": false,
"title": Translation,
"titleId": HashedId,
"updated": 1592577642,
"visibleToGroupIds": [HashedId],
"visibleToGroups": [Group]
}
MachineCheckEventDataDto
Description
Snapshot of a machine check schedule captured when an event is recorded
Fields
| Field Name | Description |
|---|---|
autoScheduled - Boolean
|
Whether this check was automatically scheduled by the system |
completedByUserId - Int
|
User who completed the check |
completedOn - Timestamp!
|
When the check was marked as completed |
dueOn - Timestamp!
|
When the check is due to be performed |
id - Int!
|
Machine check schedule identifier |
lastCheckLastEditedByUserId - Int
|
User who last edited the previous check record |
lastCheckLastEditedOn - Timestamp
|
When the previous check record was last modified |
name - String!
|
Machine check schedule name |
nextCheckLastEditedByUserId - Int
|
User who last edited the upcoming check record |
nextCheckLastEditedOn - Timestamp
|
When the upcoming check record was last modified |
reason - String!
|
Reason provided for the check completion or rescheduling |
rescheduled - RescheduledEventDataDto!
|
Rescheduling details if the check was postponed or moved |
Example
{
"autoScheduled": true,
"completedByUserId": 987,
"completedOn": 1592577642,
"dueOn": 1592577642,
"id": 123,
"lastCheckLastEditedByUserId": 987,
"lastCheckLastEditedOn": 1592577642,
"name": "abc123",
"nextCheckLastEditedByUserId": 123,
"nextCheckLastEditedOn": 1592577642,
"reason": "xyz789",
"rescheduled": RescheduledEventDataDto
}
MachineCheckStat
Manufacturer
Description
An equipment manufacturer for asset type classification
Fields
| Field Name | Description |
|---|---|
assetIntegrationIds - [HashedId!]!
|
List of asset integration IDs for this manufacturer |
assetIntegrations - [AssetIntegration!]!
|
Loads assetIntegrations connected to this manufacturer. Note that assets could use other integrations as well, eg. default ones provided by ToolSense. |
created - Timestamp!
|
Timestamp when the entity was created |
id - HashedId!
|
Unique identifier of the entity |
maintainedByGroup - Group!
|
The group that can create assetTypes and assetCategories as this manufacturer, and can manage this manufacturer's properties. |
maintainedByGroupId - Int!
|
Group responsible for managing this manufacturer |
name - String!
|
Display name |
nameKey - String!
|
Normalized uppercase lookup key derived from the name |
notificationsEnabled - Boolean!
|
Whether this manufacturer receives asset notifications |
updated - Timestamp
|
Timestamp when the entity was last updated |
Example
{
"assetIntegrationIds": [HashedId],
"assetIntegrations": [AssetIntegration],
"created": 1592577642,
"id": HashedId,
"maintainedByGroup": Group,
"maintainedByGroupId": 123,
"name": "abc123",
"nameKey": "abc123",
"notificationsEnabled": true,
"updated": 1592577642
}
ManufacturerCreateInput
Description
Data required to create a new manufacturer
Example
{
"name": "xyz789",
"nameKey": "abc123",
"notificationsEnabled": true
}
ManufacturerUpdateInput
Description
Fields to update on an existing manufacturer
Example
{
"name": "abc123",
"nameKey": "abc123",
"notificationsEnabled": true
}
MapsSettings
Description
Geocoding credentials a group tree uses instead of the deployment defaults
Fields
| Field Name | Description |
|---|---|
apiKey - NonEmptyString
|
API key the group tree geocodes with instead of the deployment key |
apiUrl - String
|
Geocoding base URL used with the group API key |
Example
{
"apiKey": "string",
"apiUrl": "xyz789"
}
MapsSettingsInput
Description
Input data for geocoding settings
Fields
| Input Field | Description |
|---|---|
apiKey - NonEmptyString
|
API key the group tree geocodes with instead of the deployment key |
apiUrl - String
|
Geocoding base URL used with the group API key |
Example
{
"apiKey": "string",
"apiUrl": "abc123"
}
MassEditAssetCount
MassEditAssetCountPreCheck
Fields
| Field Name | Description |
|---|---|
affected - Int!
|
|
assetCounts - [MassEditAssetCount!]!
|
|
failureBreakdown - [MassEditReasonCount!]!
|
|
totalSelected - Int!
|
Example
{
"affected": 987,
"assetCounts": [MassEditAssetCount],
"failureBreakdown": [MassEditReasonCount],
"totalSelected": 987
}
MassEditLinkedCountPreCheck
Fields
| Field Name | Description |
|---|---|
affected - Int!
|
|
failureBreakdown - [MassEditReasonCount!]!
|
|
linkedAssetCount - Int!
|
|
linkedAssetTypeCount - Int
|
|
reclassifiedAssetCount - Int
|
|
reclassifiedRobotCount - Int
|
Number of affected robots whose classification changes |
reclassifiedVehicleCount - Int
|
Number of affected vehicles whose classification changes |
totalSelected - Int!
|
Example
{
"affected": 987,
"failureBreakdown": [MassEditReasonCount],
"linkedAssetCount": 123,
"linkedAssetTypeCount": 987,
"reclassifiedAssetCount": 123,
"reclassifiedRobotCount": 987,
"reclassifiedVehicleCount": 987,
"totalSelected": 123
}
MassEditPreCheck
Fields
| Field Name | Description |
|---|---|
affected - Int!
|
|
failed - [TicketMassEditFailure!]
|
|
failureBreakdown - [MassEditReasonCount!]!
|
|
totalSelected - Int!
|
Example
{
"affected": 987,
"failed": [TicketMassEditFailure],
"failureBreakdown": [MassEditReasonCount],
"totalSelected": 987
}
MassEditReasonCount
MassEditReclassifiedCounts
McpAssetStateSourceEnum
Description
Data source that supplied the current asset last-contacted timestamp
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
Example
"BLE"
McpScopeEnum
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
Example
"ALL"
Module
Description
Representation of the TS Module that is integrated in an asset. Modules are the entities sending data packets
to the system, triggering events. To provide data, modules have to be attached to an asset. How module data is
interpreted is determined by the AssetIntegration in effect and thus values of Parameter/ParameterValue
Fields
| Field Name | Description |
|---|---|
assetVersionNr - String
|
Some value that is specifying what kind of module this is |
assignedToAsset - Asset
|
The assets this module is currently built into/registered to Use assignedToAssets instead |
assignedToAssetId - HashedId
|
The assets this module is currently built into/registered to use assignedToAssetsIds instead |
assignedToAssetIds - [HashedId!]!
|
The assets this module is currently built into/registered to Not needed and not implemented, returns empty array |
assignedToAssets - [Asset!]!
|
The assets this module is currently built into/registered to Not needed and not implemented, returns empty array |
controlId - String
|
Used to connect the Module to a Control |
created - Timestamp!
|
Timestamp when the entity was created |
currentPrice - Float
|
Current price |
externalId - String
|
External system identifier |
id - HashedId!
|
Unique identifier of the entity |
imei - String!
|
IMEI of the module |
isFake - Boolean!
|
specifying if this is a real ToolSense module or not (also usually true if the imei is fake but the module is real, e.g. Hako Module) |
moduleRevision - String
|
Some value that is specifying what kind of module this is |
moduleType - ModuleType
|
Module type |
moduleTypeId - HashedId
|
References the module type that defines hardware characteristics of this module |
moduleVersionNr - String
|
Some value that is specifying what kind of module this is |
price - StripePrice
|
Price for this iot module |
stripeCustomerId - String
|
Used to connect the Module to a Stripe Customer |
stripePriceId - String
|
Used to connect the Module to a Stripe Product |
updated - Timestamp
|
Timestamp when the entity was last updated |
Example
{
"assetVersionNr": "abc123",
"assignedToAsset": Asset,
"assignedToAssetId": HashedId,
"assignedToAssetIds": [HashedId],
"assignedToAssets": [Asset],
"controlId": "abc123",
"created": 1592577642,
"currentPrice": 987.65,
"externalId": "xyz789",
"id": HashedId,
"imei": "xyz789",
"isFake": false,
"moduleRevision": "xyz789",
"moduleType": ModuleType,
"moduleTypeId": HashedId,
"moduleVersionNr": "abc123",
"price": StripePrice,
"stripeCustomerId": "abc123",
"stripePriceId": "xyz789",
"updated": 1592577642
}
ModuleSubscription
Description
Module subscription record
Fields
| Field Name | Description |
|---|---|
asset - Asset
|
Associated asset |
assetId - HashedId!
|
Asset identifier |
customer - String
|
Customer |
endTime - DateTime
|
End time |
group - Group
|
Associated organization group |
groupId - HashedId
|
Group identifier |
id - HashedId!
|
Unique identifier of the entity |
module - Module!
|
Module |
moduleId - HashedId!
|
Module identifier |
renewalMonth - Int!
|
Renewal month |
startTime - DateTime!
|
Start time |
subscription - StripeSubscriptionPlan
|
Subscription |
Example
{
"asset": Asset,
"assetId": HashedId,
"customer": "abc123",
"endTime": "2007-12-03T10:15:30Z",
"group": Group,
"groupId": HashedId,
"id": HashedId,
"module": Module,
"moduleId": HashedId,
"renewalMonth": 123,
"startTime": "2007-12-03T10:15:30Z",
"subscription": StripeSubscriptionPlan
}
ModuleSubscriptionExportRequestInput
Description
Data required to request a module subscription list export
Fields
| Input Field | Description |
|---|---|
columnKeys - [ModuleSubscriptionViewColumnEnum!]
|
Subset of exportable columns to include, in the requested order. Defaults to every exportable column when omitted |
filters - [FilterParamsInput]
|
Filter criteria |
search - String
|
Text search query for filtering results |
Example
{
"columnKeys": ["assetCategory"],
"filters": [FilterParamsInput],
"search": "xyz789"
}
ModuleSubscriptionViewColumnEnum
Description
Identifiers of the module subscription list columns available for filtering, sorting and export
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"assetCategory"
ModuleSubscriptionsPaginatedResult
Description
Module subscriptions paginated result data
Fields
| Field Name | Description |
|---|---|
meta - PaginationMeta!
|
Pagination metadata including total count and page info |
rows - [ModuleSubscription!]!
|
List of records for the current page |
Example
{
"meta": PaginationMeta,
"rows": [ModuleSubscription]
}
ModuleType
Description
Model/Type of a TS Module
Fields
| Field Name | Description |
|---|---|
created - Timestamp!
|
Timestamp when the entity was created |
id - HashedId!
|
Unique identifier of the entity |
name - String
|
Display name |
sensors - String
|
Sensors |
specification - String
|
Specification for this model |
updated - Timestamp
|
Timestamp when the entity was last updated |
Example
{
"created": 1592577642,
"id": HashedId,
"name": "abc123",
"sensors": "abc123",
"specification": "abc123",
"updated": 1592577642
}
ModuleUsageInfo
Description
Module usage info record
Fields
| Field Name | Description |
|---|---|
canBeReused - Boolean!
|
Whether the user can be reused |
canBeTransferred - Boolean!
|
Whether the user can be transferred |
hasConnectedAssets - Boolean!
|
Whether the record has connected assets |
id - HashedId!
|
Unique identifier of the entity |
primarySerial - String
|
Primary serial |
Example
{
"canBeReused": false,
"canBeTransferred": true,
"hasConnectedAssets": true,
"id": HashedId,
"primarySerial": "abc123"
}
MoneyAtStake
Description
Money at stake, only from recorded data and never summed across currencies
Fields
| Field Name | Description |
|---|---|
amount - Float!
|
Recorded amount, never estimated |
basis - MoneyAtStakeBasis!
|
Recorded field the amount comes from |
currency - String!
|
Currency the amount was recorded in |
period - MoneyAtStakePeriod!
|
Period the amount covers |
Example
{
"amount": 123.45,
"basis": "LEASING_MONTHLY_COST",
"currency": "xyz789",
"period": "MONTH"
}
MoneyAtStakeBasis
Description
Recorded field a money-at-stake amount comes from
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
Example
"LEASING_MONTHLY_COST"
MoneyAtStakePeriod
Description
Period a money-at-stake amount covers
Values
| Enum Value | Description |
|---|---|
|
|
Example
"MONTH"
MqttMessageType
Description
Command type sent via MQTT protocol to IoT devices: lock (engage device lock), unlock (release device lock), or poll (request current device status)
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
Example
"LOCK"
NewCostInput
Description
New cost Data required to create a new cost legacy
Fields
| Input Field | Description |
|---|---|
assetId - HashedId!
|
Asset identifier |
currency - String!
|
Currency code |
originatingFromCommentId - HashedId
|
Originating from comment identifier |
originatingFromEventId - HashedId
|
Originating from event identifier |
type - CostTypeEnum
|
Type category |
value - Float!
|
Stored value |
Example
{
"assetId": HashedId,
"currency": "abc123",
"originatingFromCommentId": HashedId,
"originatingFromEventId": HashedId,
"type": "BATTERY",
"value": 123.45
}
NewCostLineInput
Description
New cost line Input data for cost line
Fields
| Input Field | Description |
|---|---|
assetId - HashedId!
|
Asset identifier |
currency - String!
|
Currency code |
name - String!
|
Display name |
originatingFromCommentId - HashedId
|
Originating from comment identifier |
originatingFromEventId - HashedId
|
Originating from event identifier |
quantity - Int!
|
Quantity value |
type - String!
|
Type category |
value - Float!
|
Stored value |
Example
{
"assetId": HashedId,
"currency": "abc123",
"name": "abc123",
"originatingFromCommentId": HashedId,
"originatingFromEventId": HashedId,
"quantity": 987,
"type": "abc123",
"value": 123.45
}
NonEmptyString
Description
A string that cannot be passed as an empty value
Example
"string"
NotificationConfigDto
Description
Per-user notification preferences controlling push and email delivery channels
Fields
| Field Name | Description |
|---|---|
maintenanceEmail - Boolean!
|
Whether email notifications are enabled for maintenance events |
maintenancePush - Boolean!
|
Whether push notifications are enabled for maintenance events |
ticketEmail - Boolean!
|
Whether email notifications are enabled for ticket events |
ticketPush - Boolean!
|
Whether push notifications are enabled for ticket events |
workOrderEmail - Boolean!
|
Whether email notifications are enabled for work order events |
workOrderPush - Boolean!
|
Whether push notifications are enabled for work order events |
Example
{
"maintenanceEmail": true,
"maintenancePush": false,
"ticketEmail": true,
"ticketPush": true,
"workOrderEmail": true,
"workOrderPush": true
}
NotificationConfigInput
Description
Toggle switches for enabling or disabling notification channels
Fields
| Input Field | Description |
|---|---|
maintenanceEmail - Boolean
|
Whether email notifications are enabled for maintenance events |
maintenancePush - Boolean
|
Whether push notifications are enabled for maintenance events |
ticketEmail - Boolean
|
Whether email notifications are enabled for ticket events |
ticketPush - Boolean
|
Whether push notifications are enabled for ticket events |
workOrderEmail - Boolean
|
Whether email notifications are enabled for work order events |
workOrderPush - Boolean
|
Whether push notifications are enabled for work order events |
Example
{
"maintenanceEmail": false,
"maintenancePush": true,
"ticketEmail": true,
"ticketPush": true,
"workOrderEmail": true,
"workOrderPush": true
}
NotificationFilter
Description
User-specific settings controlling which notifications are received
Example
{"id": HashedId, "preferences": {}, "state": false}
NotificationFilterUpdateInput
Description
Fields to update on an existing notification filter
Fields
| Input Field | Description |
|---|---|
state - Boolean!
|
Whether this filter is enabled |
Example
{"state": false}
NotificationRelation
Description
Notification relation record
Fields
| Field Name | Description |
|---|---|
relation - NotificationRelationType!
|
Relation |
relationId - HashedId
|
Relation identifier |
relationValue - String
|
Relation value |
Example
{
"relation": "EXTERNALEMAIL",
"relationId": HashedId,
"relationValue": "abc123"
}
NotificationRelationCreateInput
Description
Input data for notification relation mutation
Fields
| Input Field | Description |
|---|---|
relation - NotificationRelationType!
|
Relation |
relationId - HashedId
|
Relation identifier |
relationValue - String
|
Relation value |
Example
{
"relation": "EXTERNALEMAIL",
"relationId": HashedId,
"relationValue": "abc123"
}
NotificationRelationType
Description
Type of recipient for flow and rule notifications, such as an external email address, site manager of the related asset location, specific platform user, organization group, or team
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"EXTERNALEMAIL"
OTAUpdate
Description
An over-the-air firmware update package for IoT asset integrations
Fields
| Field Name | Description |
|---|---|
assetIntegration - AssetIntegration
|
IoT integration this firmware update targets |
assetIntegrationId - HashedId!
|
Target asset integration identifier |
created - Timestamp!
|
Timestamp when the entity was created |
description - Translation
|
Translatable release notes describing the firmware update contents |
descriptionId - HashedId!
|
Description translation identifier |
fileName - String
|
Name of the firmware binary file |
id - HashedId!
|
Unique identifier of the entity |
updated - Timestamp
|
Timestamp when the entity was last updated |
versionName - String
|
Semantic version label of this firmware release |
Example
{
"assetIntegration": AssetIntegration,
"assetIntegrationId": HashedId,
"created": 1592577642,
"description": Translation,
"descriptionId": HashedId,
"fileName": "abc123",
"id": HashedId,
"updated": 1592577642,
"versionName": "abc123"
}
OpenaiSettings
Description
OpenAI credentials a group tree uses instead of the deployment defaults
Fields
| Field Name | Description |
|---|---|
apiKey - NonEmptyString
|
API key the group tree calls OpenAI with instead of the deployment key |
baseUrl - String
|
OpenAI-compatible base URL used with the group API key |
Example
{
"apiKey": "string",
"baseUrl": "abc123"
}
OpenaiSettingsInput
Description
Input data for OpenAI settings
Fields
| Input Field | Description |
|---|---|
apiKey - NonEmptyString
|
API key the group tree calls OpenAI with instead of the deployment key |
baseUrl - String
|
OpenAI-compatible base URL used with the group API key |
Example
{
"apiKey": "string",
"baseUrl": "abc123"
}
OperationalCostsView
Description
configuration for an operational costs view
Fields
| Field Name | Description |
|---|---|
created - Timestamp!
|
Timestamp when the entity was created |
displayMode - ViewDisplayMode!
|
display mode that this view uses (e.g. MAP) |
forEntity - ViewEntityEnum!
|
type of entity that this view is for (e.g. ASSET) |
id - HashedId!
|
id (hashed) of the view. can be used to re-order the view, or adjust sharing etc. |
isActive - Boolean!
|
whether this view is enabled for this account |
isDeletable - Boolean!
|
whether this account can delete this view |
isEditable - Boolean!
|
whether this account can change this view's display mode, name or options |
isShareable - Boolean!
|
whether this account can share or unshare this view to this group and sub-groups |
isShared - Boolean!
|
whether this view can be seen by other members of this group, and sub-groups |
isSystemView - Boolean!
|
whether this is a system view (inherited from toolsense system). System views can only be shared/unshared; they cannot be edited. |
isUnsharedByParentGroup - Boolean!
|
whether this view has been unshared by a parent of this group |
options - OperationalCostsViewOptions!
|
options describing pagination, filters and columns available in the view |
title - Translation!
|
User-defined name for this saved view |
titleId - HashedId!
|
human-readable, user-input name that is given upon view creation. EXCEPT when isSystemView is true, then this is a string identifier for the view (e.g. "asset-gantt") |
updated - Timestamp
|
Timestamp when the entity was last updated |
Example
{
"created": 1592577642,
"displayMode": "GANTT",
"forEntity": "ASSET",
"id": HashedId,
"isActive": true,
"isDeletable": true,
"isEditable": true,
"isShareable": true,
"isShared": false,
"isSystemView": false,
"isUnsharedByParentGroup": true,
"options": OperationalCostsViewOptions,
"title": Translation,
"titleId": HashedId,
"updated": 1592577642
}
OperationalCostsViewCreateInput
Description
input used to create a new operational costs view
Fields
| Input Field | Description |
|---|---|
displayMode - ViewDisplayMode!
|
display mode that this view uses (e.g. MAP) |
options - OperationalCostsViewOptionsInput!
|
display options to be stored with this view |
title - TranslationInput!
|
Name to assign to the new saved view |
Example
{
"displayMode": "GANTT",
"options": OperationalCostsViewOptionsInput,
"title": TranslationInput
}
OperationalCostsViewOptions
Description
Display settings for pagination, filters, and columns in an operational costs view
Fields
| Field Name | Description |
|---|---|
columns - [String!]!
|
operational costs columns enabled for this view |
filters - [Filters]
|
well defined filters for this view |
itemsPerPage - Int!
|
number of items per page in this view |
search - String
|
general search string to filter the items in this view |
Example
{
"columns": ["xyz789"],
"filters": [Filters],
"itemsPerPage": 987,
"search": "xyz789"
}
OperationalCostsViewOptionsInput
Description
Pagination, filter, and column settings for an operational costs view
Fields
| Input Field | Description |
|---|---|
columns - [String!]!
|
ordered operational costs columns that are to be displayed in this view |
filters - [FilterParamsInput]
|
Filter criteria |
itemsPerPage - Int!
|
number of operational costs per page in the view |
search - String
|
Text search query for filtering results |
Example
{
"columns": ["abc123"],
"filters": [FilterParamsInput],
"itemsPerPage": 987,
"search": "abc123"
}
OperationalCostsViewUpdateInput
Description
input for updating an operational costs view
Fields
| Input Field | Description |
|---|---|
displayMode - ViewDisplayMode!
|
display mode that this view uses (e.g. MAP) |
id - HashedId!
|
Unique identifier of the entity |
options - OperationalCostsViewOptionsInput!
|
options for displaying operational costs in this view |
title - TranslationInput!
|
Updated name for the saved view |
Example
{
"displayMode": "GANTT",
"id": HashedId,
"options": OperationalCostsViewOptionsInput,
"title": TranslationInput
}
OracleSettings
Description
Oracle OHIP API credentials and endpoints for hospitality property management integration
Fields
| Field Name | Description |
|---|---|
ohipApiUrl - NonEmptyString!
|
Base URL for the Oracle OHIP REST API used for property management requests |
ohipAppKey - NonEmptyString!
|
Application key required by Oracle OHIP for API request authorization |
ohipClientId - NonEmptyString!
|
OAuth2 client ID for authenticating with the Oracle OHIP API |
ohipClientSecret - NonEmptyString!
|
OAuth2 client secret for authenticating with the Oracle OHIP API |
ohipEnterpriseId - NonEmptyString
|
Enterprise identifier for Oracle OHIP production environments linking to the hotel chain |
ohipPassword - NonEmptyString
|
Password for Oracle OHIP sandbox environments used during development and testing |
ohipUsername - NonEmptyString
|
Username for Oracle OHIP sandbox environments used during development and testing |
Example
{
"ohipApiUrl": "string",
"ohipAppKey": "string",
"ohipClientId": "string",
"ohipClientSecret": "string",
"ohipEnterpriseId": "string",
"ohipPassword": "string",
"ohipUsername": "string"
}
OracleSettingsInput
Description
Input data for oracle settings
Fields
| Input Field | Description |
|---|---|
ohipApiUrl - NonEmptyString!
|
Base URL for the Oracle OHIP REST API used for property management requests |
ohipAppKey - NonEmptyString!
|
Application key required by Oracle OHIP for API request authorization |
ohipClientId - NonEmptyString!
|
OAuth2 client ID for authenticating with the Oracle OHIP API |
ohipClientSecret - NonEmptyString!
|
OAuth2 client secret for authenticating with the Oracle OHIP API |
ohipEnterpriseId - NonEmptyString
|
Enterprise identifier for Oracle OHIP production environments linking to the hotel chain |
ohipPassword - NonEmptyString
|
Password for Oracle OHIP sandbox environments used during development and testing |
ohipUsername - NonEmptyString
|
Username for Oracle OHIP sandbox environments used during development and testing |
Example
{
"ohipApiUrl": "string",
"ohipAppKey": "string",
"ohipClientId": "string",
"ohipClientSecret": "string",
"ohipEnterpriseId": "string",
"ohipPassword": "string",
"ohipUsername": "string"
}
OwnershipValArray
Description
List of available asset ownership type values
Fields
| Field Name | Description |
|---|---|
data - [AssetOwnership!]!
|
Possible ownership type values |
Example
{"data": ["CUSTOMER_MACHINE"]}
PaginatedAssetMapLocations
Description
Paginated list of asset map locations with metadata
Fields
| Field Name | Description |
|---|---|
meta - PaginationMeta!
|
Pagination metadata including total count |
rows - [AssetMapLocation!]!
|
List of asset locations for the current page |
Example
{
"meta": PaginationMeta,
"rows": [AssetMapLocation]
}
PaginatedAssets
Description
Paginated list of assets with metadata
Fields
| Field Name | Description |
|---|---|
assets - [Asset!]!
|
List of asset records for the current page Use "rows" instead |
meta - PaginationMeta!
|
Pagination metadata including total count and page info |
rows - [Asset!]!
|
List of records for the current page |
total - Int!
|
Total number of matching assets Use "meta.count" instead |
Example
{
"assets": [Asset],
"meta": PaginationMeta,
"rows": [Asset],
"total": 987
}
PaginatedBackgroundJobs
Description
Paginated list of background jobs
Fields
| Field Name | Description |
|---|---|
meta - PaginationMeta!
|
Pagination metadata including total count and page info |
rows - [BackgroundJob!]!
|
List of records for the current page |
Example
{
"meta": PaginationMeta,
"rows": [BackgroundJob]
}
PaginatedRuleCheckAssets
Description
Paginated list of rule check assets with metadata
Fields
| Field Name | Description |
|---|---|
meta - PaginationMeta!
|
Pagination metadata including total count and page info |
rows - [RuleCheckAsset!]!
|
List of records for the current page |
Example
{
"meta": PaginationMeta,
"rows": [RuleCheckAsset]
}
PaginatedRuleEntryConfirmActivateAssets
Description
Paginated list of rule entry confirm-activate assets with metadata
Fields
| Field Name | Description |
|---|---|
meta - PaginationMeta!
|
Pagination metadata including total count and page info |
rows - [RuleEntryConfirmActivateAsset!]!
|
List of records for the current page |
total - Int!
|
Total amount |
Example
{
"meta": PaginationMeta,
"rows": [RuleEntryConfirmActivateAsset],
"total": 987
}
PaginatedRules
Description
Paginated list of rules with metadata
Fields
| Field Name | Description |
|---|---|
meta - PaginationMeta!
|
Pagination metadata including total count and page info |
rows - [Rule!]!
|
List of records for the current page |
total - Int!
|
Total number of rules matching the query |
Example
{
"meta": PaginationMeta,
"rows": [Rule],
"total": 987
}
PaginationInput
PaginationMeta
Description
Pagination meta record
Example
{
"count": 987,
"limit": 987,
"offset": 987,
"order": "xyz789",
"orderBy": "abc123"
}
PaginationParams
Description
Pagination params input data
Fields
| Input Field | Description |
|---|---|
additionalItemId - HashedId
|
if provided the result will also include this item (offset+1) |
first - Int
|
Only return the first [n] results, from 1 to 1000 |
limit - Int!
|
The number of items to return, from 1 to 1000 |
offset - Int!
|
The number of items to skip before starting to collect the result set |
Example
{
"additionalItemId": HashedId,
"first": 987,
"limit": 123,
"offset": 987
}
Parameter
Description
Parameter record
Fields
| Field Name | Description |
|---|---|
created - Timestamp!
|
Timestamp when the entity was created |
customUnit - String
|
Custom unit |
description - Translation
|
Human-readable description |
descriptionId - HashedId
|
Description identifier |
displayUnit - String
|
Unit symbol the parameter values are expressed in, resolved against the current user's unit preferences |
displayUnitFactor - Float
|
Multiplier converting a value in the stored unit into the display unit |
id - HashedId!
|
Unique identifier of the entity |
interpolationFrequency - String
|
Interpolation frequency always resolves to null
|
interpolationMaxGap - String
|
Interpolation max gap always resolves to null
|
interpolationMethod - String
|
Interpolation method always resolves to null
|
iotParameterId - HashedId!
|
IoT parameter identifier |
isAverageValue - Boolean!
|
Whether average value |
isCalculatedValue - Boolean
|
Synthetic parameter - value is calculated based on other parameter |
isLastValue - Boolean!
|
Whether last value always resolves to false
|
isNoGraphValue - Boolean!
|
False for parameters which can be displayed on a graph (eg. values like imei, id, or latitude) no usage |
isSummedValue - Boolean!
|
Parameter is a summarized value |
maxValue - String
|
Maximum possible value for this parameter always resolves to null
|
minValue - String
|
Minimum possible value for this parameter always resolves to null
|
parameterSetId - HashedId
|
Parameter set identifier |
receivedDescription - Translation
|
Received description always resolves to null
|
receivedDescriptionId - HashedId
|
Received description identifier always resolves to null
|
receivedName - String
|
Received name always resolves to null
|
savedName - String
|
Saved name |
shortDescription - String
|
Short description always resolves to null
|
title - Translation
|
Title text |
unit - UnitEnum
|
Unit |
updated - Timestamp
|
Timestamp when the entity was last updated |
visualisationGroup - String
|
Visualisation group always resolves to null
|
visualisationMaxRange - String
|
Visualisation max range |
visualisationMinRange - String
|
Visualisation min range |
visualisationRangeStepSize - String
|
Visualisation range step size |
visualisationScale - String
|
Visualisation scale no usage |
Example
{
"created": 1592577642,
"customUnit": "abc123",
"description": Translation,
"descriptionId": HashedId,
"displayUnit": "xyz789",
"displayUnitFactor": 987.65,
"id": HashedId,
"interpolationFrequency": "abc123",
"interpolationMaxGap": "xyz789",
"interpolationMethod": "xyz789",
"iotParameterId": HashedId,
"isAverageValue": true,
"isCalculatedValue": true,
"isLastValue": false,
"isNoGraphValue": false,
"isSummedValue": true,
"maxValue": "abc123",
"minValue": "abc123",
"parameterSetId": HashedId,
"receivedDescription": Translation,
"receivedDescriptionId": HashedId,
"receivedName": "xyz789",
"savedName": "abc123",
"shortDescription": "xyz789",
"title": Translation,
"unit": "AH",
"updated": 1592577642,
"visualisationGroup": "abc123",
"visualisationMaxRange": "abc123",
"visualisationMinRange": "xyz789",
"visualisationRangeStepSize": "abc123",
"visualisationScale": "xyz789"
}
ParameterResult
Description
Parameter result record
Fields
| Field Name | Description |
|---|---|
assetId - HashedId
|
Asset identifier |
parameter - [Parameter!]!
|
Parameter This API is deprecated and will be removed by the end of 2025. Please use the new API instead. |
Example
{
"assetId": HashedId,
"parameter": [Parameter]
}
ParameterSet
Description
Parameters that "belong together", are thematically similar or dependent can be grouped as Sets. For example params which represent stacked/separated values of the same value - like a high/low usage runtime, or battery load (with separate parameters for 0-5A, 5-10A, etc). Sets may have no parameters returned.
Fields
| Field Name | Description |
|---|---|
description - Translation
|
Human-readable description |
descriptionId - HashedId
|
Description identifier |
id - HashedId!
|
Unique identifier of the entity |
iotParameters - [IotParameter!]!
|
|
parameters - [Parameter!]!
|
Parameters Use iotParameters field |
title - Translation
|
Title text |
titleId - HashedId
|
Title identifier |
Example
{
"description": Translation,
"descriptionId": HashedId,
"id": HashedId,
"iotParameters": [IotParameter],
"parameters": [Parameter],
"title": Translation,
"titleId": HashedId
}
Part
Description
The Part entity represents spare parts that you can buy separately to replace old or broken parts in a piece of equipment. They are usually parts that are designed to be easily removed or fitted.
Fields
| Field Name | Description |
|---|---|
area - String
|
Storage area within the site |
availableQuantity - Float!
|
Current stock quantity on hand |
brand - String
|
Associated brand |
created - Timestamp!
|
Timestamp when the entity was created |
createdByGroup - Group!
|
Group that created this part |
createdByGroupId - HashedId!
|
Created by group identifier |
createdByUser - User
|
Associated user |
createdByUserId - HashedId!
|
Created by user identifier |
currency - String!
|
ISO currency code for cost values |
customer - Group
|
Customer |
customerId - HashedId
|
Customer identifier |
description - Translation
|
|
descriptionId - HashedId
|
Description identifier |
documents - [Document!]!
|
Documents attached to this part |
events - [Event!]!
|
Events recorded for this part |
externalId - String
|
External system identifier |
group - Group!
|
Group this part belongs to |
groupId - HashedId!
|
Group identifier |
id - HashedId!
|
Unique identifier of the entity |
image - String
|
URL of the part image |
isCurrencyLocked - Boolean!
|
Whether the currency can no longer be changed because the part has been used on a ticket or work order. |
maxQuantity - Float!
|
Maximum stock capacity |
minQuantity - Float!
|
Minimum stock threshold before reorder |
name - Translation!
|
Translated name of the part |
nameId - HashedId!
|
Name identifier |
previousQuantity - Float!
|
Stock quantity before the last movement |
publicId - Int!
|
Public numeric identifier |
qrAttached - Boolean!
|
Whether a QR code is attached to this part |
responsiblePerson - String
|
Responsible Person for this part |
sendNotificationsTo - [RuleNotificationRelation!]!
|
Add entities who will be notified when stock level is changed. |
shouldNotifyCriticalStockLevel - Boolean!
|
Whether to alert when stock reaches a critical level |
site - Site!
|
Site associated with this part |
siteId - HashedId!
|
Site identifier |
totalStockValue - Float!
|
Calculated value of all stock on hand |
type - String!
|
Type category |
unitCost - Float!
|
Cost per single unit |
unitOfMeasure - String!
|
Unit of measure for stock tracking |
updated - Timestamp
|
Timestamp when the entity was last updated |
uuid - String!
|
Universally unique identifier |
vendor - String
|
Supplier or vendor name |
Example
{
"area": "abc123",
"availableQuantity": 123.45,
"brand": "xyz789",
"created": 1592577642,
"createdByGroup": Group,
"createdByGroupId": HashedId,
"createdByUser": User,
"createdByUserId": HashedId,
"currency": "xyz789",
"customer": Group,
"customerId": HashedId,
"description": Translation,
"descriptionId": HashedId,
"documents": [Document],
"events": [Event],
"externalId": "xyz789",
"group": Group,
"groupId": HashedId,
"id": HashedId,
"image": "xyz789",
"isCurrencyLocked": false,
"maxQuantity": 987.65,
"minQuantity": 123.45,
"name": Translation,
"nameId": HashedId,
"previousQuantity": 987.65,
"publicId": 987,
"qrAttached": true,
"responsiblePerson": "abc123",
"sendNotificationsTo": [RuleNotificationRelation],
"shouldNotifyCriticalStockLevel": true,
"site": Site,
"siteId": HashedId,
"totalStockValue": 123.45,
"type": "abc123",
"unitCost": 123.45,
"unitOfMeasure": "abc123",
"updated": 1592577642,
"uuid": "abc123",
"vendor": "xyz789"
}
PartBulkUpdateInput
Fields
| Input Field | Description |
|---|---|
excludePartIds - [HashedId!]
|
Part IDs to exclude from the selection |
fields - PartMassEditFieldsInput!
|
Part fields to set on every selected part |
filterInput - AssetFilterInput
|
Filter criteria to dynamically select parts |
partIds - [HashedId!]
|
Explicit list of part IDs to include in the operation |
Example
{
"excludePartIds": [HashedId],
"fields": PartMassEditFieldsInput,
"filterInput": AssetFilterInput,
"partIds": [HashedId]
}
PartColumnEnum
Description
Identifiers of the part list columns available for filtering, sorting and export
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"area"
PartCreateInput
Description
Data required to create a new part
Fields
| Input Field | Description |
|---|---|
area - String
|
Storage area within the site |
availableQuantity - Float
|
Current stock quantity on hand |
brand - String
|
Associated brand |
currency - String
|
ISO currency code for cost values |
customerId - HashedId
|
Customer identifier |
description - TranslationInput
|
Human-readable description |
externalId - String
|
External system identifier |
groupId - HashedId!
|
Group identifier |
idempotencyKey - String
|
|
maxQuantity - Float
|
Maximum stock capacity |
minQuantity - Float
|
Minimum stock threshold before reorder |
name - TranslationInput!
|
Display name |
qrAttached - Boolean!
|
Whether a QR code is attached to this part |
responsiblePerson - String
|
Person responsible for managing this part |
sendNotificationsTo - [RuleNotificationRelationInput!]!
|
Send notifications to |
shouldNotifyCriticalStockLevel - Boolean!
|
Whether to alert when stock reaches a critical level |
siteId - HashedId!
|
Site identifier |
totalStockValue - Float
|
Calculated value of all stock on hand |
type - String!
|
Type category |
unitCost - Float
|
Cost per single unit |
unitOfMeasure - String!
|
Unit of measure for stock tracking |
uuid - String
|
Universally unique identifier |
vendor - String
|
Supplier or vendor name |
Example
{
"area": "abc123",
"availableQuantity": 987.65,
"brand": "abc123",
"currency": "xyz789",
"customerId": HashedId,
"description": TranslationInput,
"externalId": "abc123",
"groupId": HashedId,
"idempotencyKey": "abc123",
"maxQuantity": 123.45,
"minQuantity": 123.45,
"name": TranslationInput,
"qrAttached": true,
"responsiblePerson": "xyz789",
"sendNotificationsTo": [RuleNotificationRelationInput],
"shouldNotifyCriticalStockLevel": true,
"siteId": HashedId,
"totalStockValue": 123.45,
"type": "abc123",
"unitCost": 987.65,
"unitOfMeasure": "xyz789",
"uuid": "xyz789",
"vendor": "xyz789"
}
PartExportRequestInput
Description
Data required to request a part list export
Fields
| Input Field | Description |
|---|---|
columnKeys - [PartColumnEnum!]
|
Subset of exportable columns to include, in the requested order. Defaults to every exportable column when omitted |
filters - [FilterParamsInput]
|
Filter criteria |
search - String
|
Text search query for filtering results |
Example
{
"columnKeys": ["area"],
"filters": [FilterParamsInput],
"search": "abc123"
}
PartImportRequestInput
Description
Data required to request an import of an uploaded file of part rows
Fields
| Input Field | Description |
|---|---|
file - Upload!
|
Newline-delimited JSON file with one importer row per line |
mode - ImporterMode!
|
Importer mode: CREATE creates new records; UPDATE updates matched records |
Example
{"file": Upload, "mode": "CREATE"}
PartImportValidationRequestInput
Description
Data required to request a validation of an uploaded file of part rows
Fields
| Input Field | Description |
|---|---|
file - Upload!
|
Newline-delimited JSON file with one importer row per line |
mode - ImporterMode!
|
Importer mode: CREATE creates new records; UPDATE updates matched records |
Example
{"file": Upload, "mode": "CREATE"}
PartImporterValidateInput
Fields
| Input Field | Description |
|---|---|
area - String
|
Area within the site where the part is stored |
availableQuantity - Float
|
Quantity of the part currently available |
brand - String
|
Brand of the part |
currency - Currency
|
Currency of the unit cost |
description_ar - String
|
Translated value for the description field in ar |
description_bg - String
|
Translated value for the description field in bg |
description_bn - String
|
Translated value for the description field in bn |
description_cs - String
|
Translated value for the description field in cs |
description_da - String
|
Translated value for the description field in da |
description_de - String
|
Translated value for the description field in de |
description_el - String
|
Translated value for the description field in el |
description_en - String
|
Translated value for the description field in en |
description_es - String
|
Translated value for the description field in es |
description_et - String
|
Translated value for the description field in et |
description_fa - String
|
Translated value for the description field in fa |
description_fi - String
|
Translated value for the description field in fi |
description_fr - String
|
Translated value for the description field in fr |
description_he - String
|
Translated value for the description field in he |
description_hi - String
|
Translated value for the description field in hi |
description_hr - String
|
Translated value for the description field in hr |
description_hu - String
|
Translated value for the description field in hu |
description_id - String
|
Translated value for the description field in id |
description_it - String
|
Translated value for the description field in it |
description_ja - String
|
Translated value for the description field in ja |
description_ko - String
|
Translated value for the description field in ko |
description_lo - String
|
Translated value for the description field in lo |
description_lt - String
|
Translated value for the description field in lt |
description_lv - String
|
Translated value for the description field in lv |
description_ms - String
|
Translated value for the description field in ms |
description_my - String
|
Translated value for the description field in my |
description_nb - String
|
Translated value for the description field in nb |
description_nl - String
|
Translated value for the description field in nl |
description_pl - String
|
Translated value for the description field in pl |
description_pt - String
|
Translated value for the description field in pt |
description_ro - String
|
Translated value for the description field in ro |
description_ru - String
|
Translated value for the description field in ru |
description_sk - String
|
Translated value for the description field in sk |
description_sl - String
|
Translated value for the description field in sl |
description_sr - String
|
Translated value for the description field in sr |
description_sv - String
|
Translated value for the description field in sv |
description_sw - String
|
Translated value for the description field in sw |
description_ta - String
|
Translated value for the description field in ta |
description_th - String
|
Translated value for the description field in th |
description_tl - String
|
Translated value for the description field in tl |
description_tr - String
|
Translated value for the description field in tr |
description_uk - String
|
Translated value for the description field in uk |
description_ur - String
|
Translated value for the description field in ur |
description_vi - String
|
Translated value for the description field in vi |
description_zh - String
|
Translated value for the description field in zh |
externalId - String
|
Inventory number of the part |
id - String
|
Internal part identifier |
index - Int!
|
Row index of this entry in the import spreadsheet |
maxQuantity - Float
|
Maximum quantity to keep in stock |
minQuantity - Float
|
Minimum quantity before the part is considered short |
name_ar - String
|
Translated value for the name field in ar |
name_bg - String
|
Translated value for the name field in bg |
name_bn - String
|
Translated value for the name field in bn |
name_cs - String
|
Translated value for the name field in cs |
name_da - String
|
Translated value for the name field in da |
name_de - String
|
Translated value for the name field in de |
name_el - String
|
Translated value for the name field in el |
name_en - String
|
Translated value for the name field in en |
name_es - String
|
Translated value for the name field in es |
name_et - String
|
Translated value for the name field in et |
name_fa - String
|
Translated value for the name field in fa |
name_fi - String
|
Translated value for the name field in fi |
name_fr - String
|
Translated value for the name field in fr |
name_he - String
|
Translated value for the name field in he |
name_hi - String
|
Translated value for the name field in hi |
name_hr - String
|
Translated value for the name field in hr |
name_hu - String
|
Translated value for the name field in hu |
name_id - String
|
Translated value for the name field in id |
name_it - String
|
Translated value for the name field in it |
name_ja - String
|
Translated value for the name field in ja |
name_ko - String
|
Translated value for the name field in ko |
name_lo - String
|
Translated value for the name field in lo |
name_lt - String
|
Translated value for the name field in lt |
name_lv - String
|
Translated value for the name field in lv |
name_ms - String
|
Translated value for the name field in ms |
name_my - String
|
Translated value for the name field in my |
name_nb - String
|
Translated value for the name field in nb |
name_nl - String
|
Translated value for the name field in nl |
name_pl - String
|
Translated value for the name field in pl |
name_pt - String
|
Translated value for the name field in pt |
name_ro - String
|
Translated value for the name field in ro |
name_ru - String
|
Translated value for the name field in ru |
name_sk - String
|
Translated value for the name field in sk |
name_sl - String
|
Translated value for the name field in sl |
name_sr - String
|
Translated value for the name field in sr |
name_sv - String
|
Translated value for the name field in sv |
name_sw - String
|
Translated value for the name field in sw |
name_ta - String
|
Translated value for the name field in ta |
name_th - String
|
Translated value for the name field in th |
name_tl - String
|
Translated value for the name field in tl |
name_tr - String
|
Translated value for the name field in tr |
name_uk - String
|
Translated value for the name field in uk |
name_ur - String
|
Translated value for the name field in ur |
name_vi - String
|
Translated value for the name field in vi |
name_zh - String
|
Translated value for the name field in zh |
responsiblePerson - String
|
Person responsible for the part |
site - String
|
Site name where the part is stored |
siteAddress - String
|
Address of the site where the part is stored |
siteExternalId - String
|
External identifier of the site |
siteInternal - String
|
Existing site relation (numeric id, hashed id, name, address, or external id). When matched, prefills site/siteAddress/siteExternalId from the existing site and disables those cells. |
type - String
|
Part type |
unitCost - Float
|
Cost of one unit of the part |
unitOfMeasure - String
|
Unit of measure of the part |
vendor - String
|
Vendor supplying the part |
Example
{
"area": "abc123",
"availableQuantity": 987.65,
"brand": "xyz789",
"currency": "AED",
"description_ar": "abc123",
"description_bg": "xyz789",
"description_bn": "abc123",
"description_cs": "xyz789",
"description_da": "abc123",
"description_de": "xyz789",
"description_el": "abc123",
"description_en": "xyz789",
"description_es": "xyz789",
"description_et": "xyz789",
"description_fa": "xyz789",
"description_fi": "xyz789",
"description_fr": "abc123",
"description_he": "xyz789",
"description_hi": "xyz789",
"description_hr": "xyz789",
"description_hu": "xyz789",
"description_id": "abc123",
"description_it": "abc123",
"description_ja": "xyz789",
"description_ko": "xyz789",
"description_lo": "xyz789",
"description_lt": "xyz789",
"description_lv": "abc123",
"description_ms": "xyz789",
"description_my": "xyz789",
"description_nb": "xyz789",
"description_nl": "xyz789",
"description_pl": "xyz789",
"description_pt": "abc123",
"description_ro": "abc123",
"description_ru": "abc123",
"description_sk": "abc123",
"description_sl": "abc123",
"description_sr": "abc123",
"description_sv": "abc123",
"description_sw": "abc123",
"description_ta": "xyz789",
"description_th": "xyz789",
"description_tl": "abc123",
"description_tr": "xyz789",
"description_uk": "xyz789",
"description_ur": "xyz789",
"description_vi": "abc123",
"description_zh": "abc123",
"externalId": "abc123",
"id": "xyz789",
"index": 987,
"maxQuantity": 987.65,
"minQuantity": 123.45,
"name_ar": "abc123",
"name_bg": "xyz789",
"name_bn": "xyz789",
"name_cs": "abc123",
"name_da": "abc123",
"name_de": "xyz789",
"name_el": "abc123",
"name_en": "abc123",
"name_es": "xyz789",
"name_et": "xyz789",
"name_fa": "abc123",
"name_fi": "xyz789",
"name_fr": "xyz789",
"name_he": "xyz789",
"name_hi": "abc123",
"name_hr": "xyz789",
"name_hu": "abc123",
"name_id": "xyz789",
"name_it": "xyz789",
"name_ja": "abc123",
"name_ko": "abc123",
"name_lo": "abc123",
"name_lt": "xyz789",
"name_lv": "xyz789",
"name_ms": "xyz789",
"name_my": "abc123",
"name_nb": "xyz789",
"name_nl": "abc123",
"name_pl": "abc123",
"name_pt": "xyz789",
"name_ro": "xyz789",
"name_ru": "xyz789",
"name_sk": "abc123",
"name_sl": "xyz789",
"name_sr": "abc123",
"name_sv": "xyz789",
"name_sw": "abc123",
"name_ta": "abc123",
"name_th": "abc123",
"name_tl": "xyz789",
"name_tr": "abc123",
"name_uk": "abc123",
"name_ur": "abc123",
"name_vi": "abc123",
"name_zh": "xyz789",
"responsiblePerson": "xyz789",
"site": "abc123",
"siteAddress": "abc123",
"siteExternalId": "xyz789",
"siteInternal": "xyz789",
"type": "abc123",
"unitCost": 123.45,
"unitOfMeasure": "xyz789",
"vendor": "xyz789"
}
PartImporterValidateResult
Fields
| Field Name | Description |
|---|---|
area - ImporterValidateColumnResult
|
Validation result for the area |
availableQuantity - ImporterValidateColumnResult
|
Validation result for the available quantity |
brand - ImporterValidateColumnResult
|
Validation result for the brand |
currency - ImporterValidateColumnResult
|
Validation result for the currency |
description_ar - ImporterValidateColumnResult
|
Validation result for the description field in ar |
description_bg - ImporterValidateColumnResult
|
Validation result for the description field in bg |
description_bn - ImporterValidateColumnResult
|
Validation result for the description field in bn |
description_cs - ImporterValidateColumnResult
|
Validation result for the description field in cs |
description_da - ImporterValidateColumnResult
|
Validation result for the description field in da |
description_de - ImporterValidateColumnResult
|
Validation result for the description field in de |
description_el - ImporterValidateColumnResult
|
Validation result for the description field in el |
description_en - ImporterValidateColumnResult
|
Validation result for the description field in en |
description_es - ImporterValidateColumnResult
|
Validation result for the description field in es |
description_et - ImporterValidateColumnResult
|
Validation result for the description field in et |
description_fa - ImporterValidateColumnResult
|
Validation result for the description field in fa |
description_fi - ImporterValidateColumnResult
|
Validation result for the description field in fi |
description_fr - ImporterValidateColumnResult
|
Validation result for the description field in fr |
description_he - ImporterValidateColumnResult
|
Validation result for the description field in he |
description_hi - ImporterValidateColumnResult
|
Validation result for the description field in hi |
description_hr - ImporterValidateColumnResult
|
Validation result for the description field in hr |
description_hu - ImporterValidateColumnResult
|
Validation result for the description field in hu |
description_id - ImporterValidateColumnResult
|
Validation result for the description field in id |
description_it - ImporterValidateColumnResult
|
Validation result for the description field in it |
description_ja - ImporterValidateColumnResult
|
Validation result for the description field in ja |
description_ko - ImporterValidateColumnResult
|
Validation result for the description field in ko |
description_lo - ImporterValidateColumnResult
|
Validation result for the description field in lo |
description_lt - ImporterValidateColumnResult
|
Validation result for the description field in lt |
description_lv - ImporterValidateColumnResult
|
Validation result for the description field in lv |
description_ms - ImporterValidateColumnResult
|
Validation result for the description field in ms |
description_my - ImporterValidateColumnResult
|
Validation result for the description field in my |
description_nb - ImporterValidateColumnResult
|
Validation result for the description field in nb |
description_nl - ImporterValidateColumnResult
|
Validation result for the description field in nl |
description_pl - ImporterValidateColumnResult
|
Validation result for the description field in pl |
description_pt - ImporterValidateColumnResult
|
Validation result for the description field in pt |
description_ro - ImporterValidateColumnResult
|
Validation result for the description field in ro |
description_ru - ImporterValidateColumnResult
|
Validation result for the description field in ru |
description_sk - ImporterValidateColumnResult
|
Validation result for the description field in sk |
description_sl - ImporterValidateColumnResult
|
Validation result for the description field in sl |
description_sr - ImporterValidateColumnResult
|
Validation result for the description field in sr |
description_sv - ImporterValidateColumnResult
|
Validation result for the description field in sv |
description_sw - ImporterValidateColumnResult
|
Validation result for the description field in sw |
description_ta - ImporterValidateColumnResult
|
Validation result for the description field in ta |
description_th - ImporterValidateColumnResult
|
Validation result for the description field in th |
description_tl - ImporterValidateColumnResult
|
Validation result for the description field in tl |
description_tr - ImporterValidateColumnResult
|
Validation result for the description field in tr |
description_uk - ImporterValidateColumnResult
|
Validation result for the description field in uk |
description_ur - ImporterValidateColumnResult
|
Validation result for the description field in ur |
description_vi - ImporterValidateColumnResult
|
Validation result for the description field in vi |
description_zh - ImporterValidateColumnResult
|
Validation result for the description field in zh |
externalId - ImporterValidateColumnResult
|
Validation result for the external system identifier |
hasErrors - Boolean!
|
Whether this row contains any validation errors |
hasWarnings - Boolean!
|
Whether this row contains any validation warnings |
id - ImporterValidateColumnResult
|
Validation result for the internal part identifier |
index - Int!
|
Row index of this entry in the import spreadsheet |
maxQuantity - ImporterValidateColumnResult
|
Validation result for the maximum quantity |
minQuantity - ImporterValidateColumnResult
|
Validation result for the minimum quantity |
name_ar - ImporterValidateColumnResult
|
Validation result for the name field in ar |
name_bg - ImporterValidateColumnResult
|
Validation result for the name field in bg |
name_bn - ImporterValidateColumnResult
|
Validation result for the name field in bn |
name_cs - ImporterValidateColumnResult
|
Validation result for the name field in cs |
name_da - ImporterValidateColumnResult
|
Validation result for the name field in da |
name_de - ImporterValidateColumnResult
|
Validation result for the name field in de |
name_el - ImporterValidateColumnResult
|
Validation result for the name field in el |
name_en - ImporterValidateColumnResult
|
Validation result for the name field in en |
name_es - ImporterValidateColumnResult
|
Validation result for the name field in es |
name_et - ImporterValidateColumnResult
|
Validation result for the name field in et |
name_fa - ImporterValidateColumnResult
|
Validation result for the name field in fa |
name_fi - ImporterValidateColumnResult
|
Validation result for the name field in fi |
name_fr - ImporterValidateColumnResult
|
Validation result for the name field in fr |
name_he - ImporterValidateColumnResult
|
Validation result for the name field in he |
name_hi - ImporterValidateColumnResult
|
Validation result for the name field in hi |
name_hr - ImporterValidateColumnResult
|
Validation result for the name field in hr |
name_hu - ImporterValidateColumnResult
|
Validation result for the name field in hu |
name_id - ImporterValidateColumnResult
|
Validation result for the name field in id |
name_it - ImporterValidateColumnResult
|
Validation result for the name field in it |
name_ja - ImporterValidateColumnResult
|
Validation result for the name field in ja |
name_ko - ImporterValidateColumnResult
|
Validation result for the name field in ko |
name_lo - ImporterValidateColumnResult
|
Validation result for the name field in lo |
name_lt - ImporterValidateColumnResult
|
Validation result for the name field in lt |
name_lv - ImporterValidateColumnResult
|
Validation result for the name field in lv |
name_ms - ImporterValidateColumnResult
|
Validation result for the name field in ms |
name_my - ImporterValidateColumnResult
|
Validation result for the name field in my |
name_nb - ImporterValidateColumnResult
|
Validation result for the name field in nb |
name_nl - ImporterValidateColumnResult
|
Validation result for the name field in nl |
name_pl - ImporterValidateColumnResult
|
Validation result for the name field in pl |
name_pt - ImporterValidateColumnResult
|
Validation result for the name field in pt |
name_ro - ImporterValidateColumnResult
|
Validation result for the name field in ro |
name_ru - ImporterValidateColumnResult
|
Validation result for the name field in ru |
name_sk - ImporterValidateColumnResult
|
Validation result for the name field in sk |
name_sl - ImporterValidateColumnResult
|
Validation result for the name field in sl |
name_sr - ImporterValidateColumnResult
|
Validation result for the name field in sr |
name_sv - ImporterValidateColumnResult
|
Validation result for the name field in sv |
name_sw - ImporterValidateColumnResult
|
Validation result for the name field in sw |
name_ta - ImporterValidateColumnResult
|
Validation result for the name field in ta |
name_th - ImporterValidateColumnResult
|
Validation result for the name field in th |
name_tl - ImporterValidateColumnResult
|
Validation result for the name field in tl |
name_tr - ImporterValidateColumnResult
|
Validation result for the name field in tr |
name_uk - ImporterValidateColumnResult
|
Validation result for the name field in uk |
name_ur - ImporterValidateColumnResult
|
Validation result for the name field in ur |
name_vi - ImporterValidateColumnResult
|
Validation result for the name field in vi |
name_zh - ImporterValidateColumnResult
|
Validation result for the name field in zh |
responsiblePerson - ImporterValidateColumnResult
|
Validation result for the responsible person |
site - ImporterValidateColumnResult
|
Validation result for the site name |
siteAddress - ImporterValidateColumnResult
|
Validation result for the site address |
siteExternalId - ImporterValidateColumnResult
|
Validation result for the site external identifier |
siteInternal - ImporterValidateColumnResult
|
Validation result for the existing site relation column |
type - ImporterValidateColumnResult
|
Validation result for the part type |
unitCost - ImporterValidateColumnResult
|
Validation result for the unit cost |
unitOfMeasure - ImporterValidateColumnResult
|
Validation result for the unit of measure |
vendor - ImporterValidateColumnResult
|
Validation result for the vendor |
Example
{
"area": ImporterValidateColumnResult,
"availableQuantity": ImporterValidateColumnResult,
"brand": ImporterValidateColumnResult,
"currency": ImporterValidateColumnResult,
"description_ar": ImporterValidateColumnResult,
"description_bg": ImporterValidateColumnResult,
"description_bn": ImporterValidateColumnResult,
"description_cs": ImporterValidateColumnResult,
"description_da": ImporterValidateColumnResult,
"description_de": ImporterValidateColumnResult,
"description_el": ImporterValidateColumnResult,
"description_en": ImporterValidateColumnResult,
"description_es": ImporterValidateColumnResult,
"description_et": ImporterValidateColumnResult,
"description_fa": ImporterValidateColumnResult,
"description_fi": ImporterValidateColumnResult,
"description_fr": ImporterValidateColumnResult,
"description_he": ImporterValidateColumnResult,
"description_hi": ImporterValidateColumnResult,
"description_hr": ImporterValidateColumnResult,
"description_hu": ImporterValidateColumnResult,
"description_id": ImporterValidateColumnResult,
"description_it": ImporterValidateColumnResult,
"description_ja": ImporterValidateColumnResult,
"description_ko": ImporterValidateColumnResult,
"description_lo": ImporterValidateColumnResult,
"description_lt": ImporterValidateColumnResult,
"description_lv": ImporterValidateColumnResult,
"description_ms": ImporterValidateColumnResult,
"description_my": ImporterValidateColumnResult,
"description_nb": ImporterValidateColumnResult,
"description_nl": ImporterValidateColumnResult,
"description_pl": ImporterValidateColumnResult,
"description_pt": ImporterValidateColumnResult,
"description_ro": ImporterValidateColumnResult,
"description_ru": ImporterValidateColumnResult,
"description_sk": ImporterValidateColumnResult,
"description_sl": ImporterValidateColumnResult,
"description_sr": ImporterValidateColumnResult,
"description_sv": ImporterValidateColumnResult,
"description_sw": ImporterValidateColumnResult,
"description_ta": ImporterValidateColumnResult,
"description_th": ImporterValidateColumnResult,
"description_tl": ImporterValidateColumnResult,
"description_tr": ImporterValidateColumnResult,
"description_uk": ImporterValidateColumnResult,
"description_ur": ImporterValidateColumnResult,
"description_vi": ImporterValidateColumnResult,
"description_zh": ImporterValidateColumnResult,
"externalId": ImporterValidateColumnResult,
"hasErrors": true,
"hasWarnings": false,
"id": ImporterValidateColumnResult,
"index": 123,
"maxQuantity": ImporterValidateColumnResult,
"minQuantity": ImporterValidateColumnResult,
"name_ar": ImporterValidateColumnResult,
"name_bg": ImporterValidateColumnResult,
"name_bn": ImporterValidateColumnResult,
"name_cs": ImporterValidateColumnResult,
"name_da": ImporterValidateColumnResult,
"name_de": ImporterValidateColumnResult,
"name_el": ImporterValidateColumnResult,
"name_en": ImporterValidateColumnResult,
"name_es": ImporterValidateColumnResult,
"name_et": ImporterValidateColumnResult,
"name_fa": ImporterValidateColumnResult,
"name_fi": ImporterValidateColumnResult,
"name_fr": ImporterValidateColumnResult,
"name_he": ImporterValidateColumnResult,
"name_hi": ImporterValidateColumnResult,
"name_hr": ImporterValidateColumnResult,
"name_hu": ImporterValidateColumnResult,
"name_id": ImporterValidateColumnResult,
"name_it": ImporterValidateColumnResult,
"name_ja": ImporterValidateColumnResult,
"name_ko": ImporterValidateColumnResult,
"name_lo": ImporterValidateColumnResult,
"name_lt": ImporterValidateColumnResult,
"name_lv": ImporterValidateColumnResult,
"name_ms": ImporterValidateColumnResult,
"name_my": ImporterValidateColumnResult,
"name_nb": ImporterValidateColumnResult,
"name_nl": ImporterValidateColumnResult,
"name_pl": ImporterValidateColumnResult,
"name_pt": ImporterValidateColumnResult,
"name_ro": ImporterValidateColumnResult,
"name_ru": ImporterValidateColumnResult,
"name_sk": ImporterValidateColumnResult,
"name_sl": ImporterValidateColumnResult,
"name_sr": ImporterValidateColumnResult,
"name_sv": ImporterValidateColumnResult,
"name_sw": ImporterValidateColumnResult,
"name_ta": ImporterValidateColumnResult,
"name_th": ImporterValidateColumnResult,
"name_tl": ImporterValidateColumnResult,
"name_tr": ImporterValidateColumnResult,
"name_uk": ImporterValidateColumnResult,
"name_ur": ImporterValidateColumnResult,
"name_vi": ImporterValidateColumnResult,
"name_zh": ImporterValidateColumnResult,
"responsiblePerson": ImporterValidateColumnResult,
"site": ImporterValidateColumnResult,
"siteAddress": ImporterValidateColumnResult,
"siteExternalId": ImporterValidateColumnResult,
"siteInternal": ImporterValidateColumnResult,
"type": ImporterValidateColumnResult,
"unitCost": ImporterValidateColumnResult,
"unitOfMeasure": ImporterValidateColumnResult,
"vendor": ImporterValidateColumnResult
}
PartIssueToTicketInput
Description
Issue a part to a ticket as material consumption
Example
{
"note": "abc123",
"partId": HashedId,
"quantity": 123.45,
"ticketId": HashedId
}
PartIssueToWorkOrderInput
PartMassEditFailure
Description
Single part failure entry from a bulk operation
Fields
| Field Name | Description |
|---|---|
partId - HashedId!
|
Part ID that failed |
reason - PartMassEditFailureReason!
|
Reason the part could not be processed |
Example
{
"partId": HashedId,
"reason": "DESTINATION_NOT_ACCESSIBLE"
}
PartMassEditFailureReason
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"DESTINATION_NOT_ACCESSIBLE"
PartMassEditFieldsInput
Description
Part fields to set on every selected part
Fields
| Input Field | Description |
|---|---|
area - String
|
Storage area within the site |
availableQuantity - Float
|
Target stock quantity, booked as a RECEIPT or ISSUE stock movement per part |
brand - String
|
Associated brand |
currency - String
|
ISO currency code for cost values |
externalId - String
|
External system identifier |
groupId - HashedId
|
Group identifier |
maxQuantity - Float
|
Maximum stock capacity |
minQuantity - Float
|
Minimum stock threshold before reorder |
responsiblePerson - String
|
Person responsible for managing this part |
siteId - HashedId
|
Site identifier |
type - String
|
Type category |
unitCost - Float
|
Cost per single unit |
unitOfMeasure - String
|
Unit of measure for stock tracking |
vendor - String
|
Supplier or vendor name |
Example
{
"area": "abc123",
"availableQuantity": 123.45,
"brand": "abc123",
"currency": "xyz789",
"externalId": "abc123",
"groupId": HashedId,
"maxQuantity": 123.45,
"minQuantity": 123.45,
"responsiblePerson": "abc123",
"siteId": HashedId,
"type": "xyz789",
"unitCost": 987.65,
"unitOfMeasure": "abc123",
"vendor": "xyz789"
}
PartMassEditResult
Description
Summary result of a mass edit operation on parts
Fields
| Field Name | Description |
|---|---|
failed - [PartMassEditFailure!]!
|
|
retainedIds - [HashedId!]!
|
Selected ids the user can still edit after the operation; empty after a delete or archive |
skipped - Int!
|
|
succeeded - Int!
|
Example
{
"failed": [PartMassEditFailure],
"retainedIds": [HashedId],
"skipped": 987,
"succeeded": 987
}
PartMassEditSelectionInput
Description
Selection criteria for part mass edit operations
Fields
| Input Field | Description |
|---|---|
excludePartIds - [HashedId!]
|
Part IDs to exclude from the selection |
filterInput - AssetFilterInput
|
Filter criteria to dynamically select parts |
partIds - [HashedId!]
|
Explicit list of part IDs to include in the operation |
Example
{
"excludePartIds": [HashedId],
"filterInput": AssetFilterInput,
"partIds": [HashedId]
}
PartMovementTypeEnum
Description
Verb describing a part movement (e.g. RECEIPT, ISSUE, RETURN)
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"ADJUSTMENT_DOWN"
PartMoving
Description
Part Moving collects the history of changes: quantity, contentQuantity, unitCost, totalValue. All records store those parameters in context of part, site.
Fields
| Field Name | Description |
|---|---|
contentQuantity - Float!
|
Content quantity after this movement |
correctsMovingId - HashedId
|
Identifier of the issuance moving this row reverses (RETURN rows only) |
created - Timestamp!
|
Timestamp when the entity was created |
createdByUser - User!
|
Associated user |
createdByUserId - HashedId!
|
Created by user identifier |
direction - PartMovingDirectionEnum!
|
Direction of the movement (IN for stock additions, OUT for removals) |
id - HashedId!
|
Unique identifier of the entity |
movementType - PartMovementTypeEnum!
|
Verb describing the movement (e.g. RECEIPT, ISSUE, RETURN) |
note - String
|
Optional free-form note |
operationDate - DateTime
|
Operation date use "created" instead |
part - Part!
|
Parts linked to this part moving |
partId - HashedId!
|
Part identifier |
quantity - Float!
|
Quantity changed in this movement |
site - Site!
|
Site associated with this part moving |
siteId - HashedId!
|
Site identifier |
ticketId - HashedId
|
Identifier of the ticket this moving belongs to (null for stock-only movements) |
totalValue - Float!
|
Total stock value after this movement |
unitCost - Float!
|
Unit cost |
updated - Timestamp
|
Timestamp when the entity was last updated |
workOrderId - HashedId
|
Identifier of the work order this moving belongs to (null for stock-only movements) |
Example
{
"contentQuantity": 987.65,
"correctsMovingId": HashedId,
"created": 1592577642,
"createdByUser": User,
"createdByUserId": HashedId,
"direction": "IN",
"id": HashedId,
"movementType": "ADJUSTMENT_DOWN",
"note": "xyz789",
"operationDate": "2007-12-03T10:15:30Z",
"part": Part,
"partId": HashedId,
"quantity": 123.45,
"site": Site,
"siteId": HashedId,
"ticketId": HashedId,
"totalValue": 987.65,
"unitCost": 987.65,
"updated": 1592577642,
"workOrderId": HashedId
}
PartMovingCreateInput
Description
Data required to create a new part moving
Fields
| Input Field | Description |
|---|---|
contentQuantity - Float!
|
Content quantity after this movement |
contentQuantityStock - Float!
|
Total content quantity in stock after this movement |
idempotencyKey - String
|
|
notificationsListChanged - Boolean
|
Whether the stock notification recipients were modified |
partId - HashedId!
|
Part identifier |
quantity - Float!
|
Quantity changed in this movement |
quantityStock - Float!
|
Total quantity in stock after this movement |
shouldSkipPartMoving - Boolean
|
Whether to skip recording and only send notifications |
siteId - HashedId!
|
Site identifier |
unitCost - Float!
|
Unit cost |
Example
{
"contentQuantity": 987.65,
"contentQuantityStock": 123.45,
"idempotencyKey": "abc123",
"notificationsListChanged": false,
"partId": HashedId,
"quantity": 987.65,
"quantityStock": 987.65,
"shouldSkipPartMoving": false,
"siteId": HashedId,
"unitCost": 987.65
}
PartMovingDirectionEnum
Description
Direction of a part stock movement: IN for additions, OUT for removals
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
Example
"IN"
PartPaginatedResult
Description
Paginated list of parts with cursor-based navigation
Fields
| Field Name | Description |
|---|---|
meta - PaginationMeta!
|
Pagination metadata including total count and page info |
rows - [Part!]!
|
List of records for the current page |
Example
{
"meta": PaginationMeta,
"rows": [Part]
}
PartParameter
Description
Part parameter record
Fields
| Field Name | Description |
|---|---|
id - HashedId!
|
Unique identifier |
interpolationFrequency - String
|
Frequency of interpolation between data points |
interpolationMaxGap - String
|
Maximum gap allowed before skipping interpolation |
interpolationMethod - String
|
Method used to interpolate between data points |
isAverageValue - Boolean!
|
Whether to display as an average |
isCalculatedValue - Boolean
|
Whether this value is derived from a calculation |
isLastValue - Boolean!
|
Whether to display only the most recent value |
isNoGraphValue - Boolean!
|
Whether to exclude this parameter from graphs |
isSummedValue - Boolean!
|
Whether to display as a cumulative sum |
maxValue - String
|
Maximum allowed value |
minValue - String
|
Minimum allowed value |
parameterSetId - HashedId
|
Parameter set identifier |
savedName - String
|
Persisted parameter name override |
title - Translation
|
Title text |
unit - String
|
Measurement unit such as kg, psi, or hours |
visualisationGroup - String
|
Chart grouping for visualization |
visualisationMaxRange - String
|
Maximum range for chart display |
visualisationMinRange - String
|
Minimum range for chart display |
visualisationRangeStepSize - String
|
Step size for chart axis ticks |
visualisationScale - String
|
Scale type for chart display Not populated |
Example
{
"id": HashedId,
"interpolationFrequency": "xyz789",
"interpolationMaxGap": "abc123",
"interpolationMethod": "abc123",
"isAverageValue": false,
"isCalculatedValue": false,
"isLastValue": false,
"isNoGraphValue": false,
"isSummedValue": false,
"maxValue": "xyz789",
"minValue": "abc123",
"parameterSetId": HashedId,
"savedName": "xyz789",
"title": Translation,
"unit": "abc123",
"visualisationGroup": "abc123",
"visualisationMaxRange": "xyz789",
"visualisationMinRange": "abc123",
"visualisationRangeStepSize": "xyz789",
"visualisationScale": "abc123"
}
PartReturnFromTicketInput
Description
Return a previously issued part from a ticket back to stock
Example
{
"movingId": HashedId,
"note": "abc123",
"partId": HashedId,
"quantity": 123.45,
"ticketId": HashedId
}
PartReturnFromWorkOrderInput
Description
Return a previously issued part from a work order back to stock
Fields
| Input Field | Description |
|---|---|
movingId - HashedId!
|
Original issuance part-moving identifier being reversed |
note - String
|
Optional free-form note |
partId - HashedId!
|
Part identifier |
quantity - Float!
|
Quantity changed in this movement |
workOrderId - HashedId!
|
Work order the original issuance belongs to |
Example
{
"movingId": HashedId,
"note": "abc123",
"partId": HashedId,
"quantity": 123.45,
"workOrderId": HashedId
}
PartStatisticData
Description
Part statistic data record
Fields
| Field Name | Description |
|---|---|
parameters - [PartParameter!]!
|
Measured parameters included in the statistics |
part - Part!
|
Part |
timestamps - [Timestamp!]!
|
Epoch timestamps for each data point |
values - [Float!]!
|
Measured values for each parameter at each timestamp |
Example
{
"parameters": [PartParameter],
"part": Part,
"timestamps": [1592577642],
"values": [123.45]
}
PartUpdateInput
Description
Fields to update on an existing part
Fields
| Input Field | Description |
|---|---|
area - String
|
Storage area within the site |
availableQuantity - Float
|
Current stock quantity on hand |
brand - String
|
Associated brand |
currency - String
|
ISO currency code for cost values |
customerId - HashedId
|
Customer identifier |
description - TranslationInput
|
Human-readable description |
externalId - String
|
External system identifier |
groupId - HashedId
|
Group identifier |
maxQuantity - Float
|
Maximum stock capacity |
minQuantity - Float
|
Minimum stock threshold before reorder |
name - TranslationInput!
|
Display name |
qrAttached - Boolean
|
Whether a QR code is attached to this part |
responsiblePerson - String
|
Person responsible for managing this part |
sendNotificationsTo - [RuleNotificationRelationInput!]!
|
Send notifications to |
shouldNotifyCriticalStockLevel - Boolean
|
Whether to alert when stock reaches a critical level |
siteId - HashedId
|
Site identifier |
totalStockValue - Float
|
Calculated value of all stock on hand |
type - String
|
Type category |
unitCost - Float
|
Cost per single unit |
unitOfMeasure - String
|
Unit of measure for stock tracking |
uuid - String
|
Universally unique identifier |
vendor - String
|
Supplier or vendor name |
Example
{
"area": "abc123",
"availableQuantity": 123.45,
"brand": "xyz789",
"currency": "abc123",
"customerId": HashedId,
"description": TranslationInput,
"externalId": "abc123",
"groupId": HashedId,
"maxQuantity": 987.65,
"minQuantity": 123.45,
"name": TranslationInput,
"qrAttached": false,
"responsiblePerson": "xyz789",
"sendNotificationsTo": [RuleNotificationRelationInput],
"shouldNotifyCriticalStockLevel": true,
"siteId": HashedId,
"totalStockValue": 987.65,
"type": "xyz789",
"unitCost": 123.45,
"unitOfMeasure": "xyz789",
"uuid": "abc123",
"vendor": "abc123"
}
Personnel
Description
A personnel record with GDPR-aware sensitive fields
Fields
| Field Name | Description |
|---|---|
certificationCount - Int!
|
Number of certifications held by the personnel. |
certifications - [PersonnelCertification!]!
|
Certifications held by the personnel |
city - String
|
City |
contractType - PersonnelContractTypeEnum
|
Contract type |
contractWorkCategory - PersonnelContractWorkCategoryEnum
|
Contract work category |
country - String
|
Country |
countryOfBirth - String
|
Country of birth |
created - Timestamp!
|
Timestamp when the entity was created |
createdByGroupId - HashedId!
|
Group the personnel was created in |
createdByUser - User
|
User who created the personnel record |
createdByUserId - HashedId!
|
User who created the personnel |
customFieldValues - [CustomFieldValue!]!
|
Active asset custom-field values the personnel is assigned to (a typed assignments union is planned). |
dateOfBirth - Date
|
Date of birth |
dependentChildren - Int
|
Dependent children |
dependentHandicappedChildren - Int
|
Dependent handicapped children |
dependentPersonsOver65 - Int
|
Dependent persons over 65 |
dependentPersonsUnder65 - Int
|
Dependent persons under 65 |
dependentPersonsUnder65Income - Float
|
Dependent persons under 65 with income |
driversLicenceNumber - String
|
Drivers licence number |
email - String!
|
Email address |
email2 - String
|
Secondary email address |
employmentEndDate - Date
|
Employment end date |
employmentSchedule - PersonnelEmploymentScheduleEnum
|
Employment schedule |
employmentStartDate - Date
|
Employment start date |
externalErpId - String
|
External ERP id |
firstName - String
|
First name |
fullName - String
|
Full name |
gender - PersonnelGenderEnum
|
Gender |
group - Group
|
Group the personnel belongs to |
groupId - HashedId!
|
Group the personnel belongs to |
homeBase - String
|
Home base |
id - HashedId!
|
Unique identifier of the entity |
jobFunction - String
|
Job function |
jointCommitteeNumber - String
|
Joint committee number |
languageId - HashedId
|
Language id |
lastName - String
|
Last name |
licenceCategory - String
|
Licence category |
licenceExpiryDate - Date
|
Licence expiry date |
maritalStatus - PersonnelMaritalStatusEnum
|
Marital status |
marriageDate - Date
|
Marriage date |
nationalInsuranceNumber - String
|
National insurance number (server-masked; full value via reveal only) |
nationality - String
|
Nationality |
notes - String
|
Notes |
personnelNumber - String
|
Personnel number |
personnelNumberPrefix - String
|
Manual prefix combined with the auto-allocated sequence into personnelNumber |
personnelNumberSequence - Int
|
Server-assigned per-organization sequence number, null for legacy records |
phone - Phone
|
Phone associated with this personnel record |
photoDocument - Document
|
Photo document of the personnel record |
photoDocumentId - HashedId
|
Photo document id |
placeOfBirth - String
|
Place of birth |
postalCode - String
|
Postal code |
publicId - Int!
|
Public-facing numeric personnel id |
salaryIBAN - String
|
Salary IBAN |
salaryPaymentType - PersonnelSalaryPaymentTypeEnum
|
Salary payment type |
salaryScaleStartDate - Date
|
Salary scale start date |
seniorityStartDate - Date
|
Seniority start date |
shownOnDispositionPage - Boolean!
|
Whether the personnel is shown on the disposition page |
specializationLevel - PersonnelSpecializationLevelEnum
|
Specialization level |
spouseBirthDate - Date
|
Spouse birth date |
spousePartnerName - String
|
Spouse or partner name |
street - String
|
Street |
studyLevel - PersonnelStudyLevelEnum
|
Study level |
updated - Timestamp
|
Timestamp when the entity was last updated |
updatedByUser - User
|
User who last updated the personnel record |
updatedByUserId - HashedId!
|
User who last updated the personnel |
usedInCustomFieldCount - Int!
|
Number of active asset custom-field values the personnel is assigned to. |
user - User
|
User account linked to the personnel record |
userId - HashedId
|
Linked user id |
workOrders - [WorkOrderV2!]!
|
Work orders the personnel is assigned to or works on within the schedule window |
Arguments
|
|
workingHours - PersonnelWorkingHours
|
Weekly working hour schedule configured for this personnel |
Example
{
"certificationCount": 123,
"certifications": [PersonnelCertification],
"city": "abc123",
"contractType": "APPRENTICE_WHITE_COLLAR",
"contractWorkCategory": "MANAGING_DIRECTOR",
"country": "abc123",
"countryOfBirth": "abc123",
"created": 1592577642,
"createdByGroupId": HashedId,
"createdByUser": User,
"createdByUserId": HashedId,
"customFieldValues": [CustomFieldValue],
"dateOfBirth": "2007-12-03",
"dependentChildren": 123,
"dependentHandicappedChildren": 123,
"dependentPersonsOver65": 123,
"dependentPersonsUnder65": 987,
"dependentPersonsUnder65Income": 123.45,
"driversLicenceNumber": "xyz789",
"email": "abc123",
"email2": "xyz789",
"employmentEndDate": "2007-12-03",
"employmentSchedule": "FULL_TIME",
"employmentStartDate": "2007-12-03",
"externalErpId": "xyz789",
"firstName": "xyz789",
"fullName": "abc123",
"gender": "FEMALE",
"group": Group,
"groupId": HashedId,
"homeBase": "xyz789",
"id": HashedId,
"jobFunction": "xyz789",
"jointCommitteeNumber": "xyz789",
"languageId": HashedId,
"lastName": "abc123",
"licenceCategory": "abc123",
"licenceExpiryDate": "2007-12-03",
"maritalStatus": "COHABITING_LEGALLY",
"marriageDate": "2007-12-03",
"nationalInsuranceNumber": "xyz789",
"nationality": "xyz789",
"notes": "abc123",
"personnelNumber": "xyz789",
"personnelNumberPrefix": "abc123",
"personnelNumberSequence": 123,
"phone": Phone,
"photoDocument": Document,
"photoDocumentId": HashedId,
"placeOfBirth": "xyz789",
"postalCode": "xyz789",
"publicId": 123,
"salaryIBAN": "abc123",
"salaryPaymentType": "HOUR",
"salaryScaleStartDate": "2007-12-03",
"seniorityStartDate": "2007-12-03",
"shownOnDispositionPage": false,
"specializationLevel": "FIRST_LEVEL",
"spouseBirthDate": "2007-12-03",
"spousePartnerName": "xyz789",
"street": "xyz789",
"studyLevel": "EXECUTIVE_STAFF",
"updated": 1592577642,
"updatedByUser": User,
"updatedByUserId": HashedId,
"usedInCustomFieldCount": 123,
"user": User,
"userId": HashedId,
"workOrders": [WorkOrderV2],
"workingHours": PersonnelWorkingHours
}
PersonnelAssignmentRemoveInput
PersonnelBulkUpdateFieldsInput
Description
Fields to update on selected personnel records
Fields
| Input Field | Description |
|---|---|
certifications - [PersonnelCertificationUpsertInput!]
|
Certifications |
city - String
|
City |
contractType - PersonnelContractTypeEnum
|
Contract type |
contractWorkCategory - PersonnelContractWorkCategoryEnum
|
Contract work category |
country - String
|
Country |
countryOfBirth - String
|
Country of birth |
dateOfBirth - Date
|
Date of birth |
dependentChildren - Int
|
Dependent children |
dependentHandicappedChildren - Int
|
Dependent handicapped children |
dependentPersonsOver65 - Int
|
Dependent persons over 65 |
dependentPersonsUnder65 - Int
|
Dependent persons under 65 |
dependentPersonsUnder65Income - Float
|
Dependent persons under 65 with income |
driversLicenceNumber - String
|
Drivers licence number |
email - String
|
Email address |
email2 - String
|
Secondary email address |
employmentEndDate - Date
|
Employment end date |
employmentSchedule - PersonnelEmploymentScheduleEnum
|
Employment schedule |
employmentStartDate - Date
|
Employment start date |
externalErpId - String
|
External ERP id |
firstName - String
|
First name |
gender - PersonnelGenderEnum
|
Gender |
groupId - HashedId
|
Group the personnel belongs to |
homeBase - String
|
Home base |
jobFunction - String
|
Job function |
jointCommitteeNumber - String
|
Joint committee number |
languageId - HashedId
|
Language id |
lastName - String
|
Last name |
licenceCategory - String
|
Licence category |
licenceExpiryDate - Date
|
Licence expiry date |
maritalStatus - PersonnelMaritalStatusEnum
|
Marital status |
marriageDate - Date
|
Marriage date |
nationalInsuranceNumber - String
|
National insurance number |
nationality - String
|
Nationality |
notes - String
|
Notes |
personnelNumber - String
|
Personnel number |
personnelNumberPrefix - String
|
Manual prefix combined with the auto-allocated sequence into personnelNumber |
phone - PhoneCreateInput
|
Phone number |
placeOfBirth - String
|
Place of birth |
postalCode - String
|
Postal code |
salaryIBAN - String
|
Salary IBAN |
salaryPaymentType - PersonnelSalaryPaymentTypeEnum
|
Salary payment type |
salaryScaleStartDate - Date
|
Salary scale start date |
seniorityStartDate - Date
|
Seniority start date |
shownOnDispositionPage - Boolean
|
Whether the personnel is shown on the disposition page |
specializationLevel - PersonnelSpecializationLevelEnum
|
Specialization level |
spouseBirthDate - Date
|
Spouse birth date |
spousePartnerName - String
|
Spouse or partner name |
street - String
|
Street |
studyLevel - PersonnelStudyLevelEnum
|
Study level |
userId - HashedId
|
Linked user id |
workingHours - PersonnelWorkingHoursUpsertInput
|
Weekly working hour schedule of the personnel |
Example
{
"certifications": [PersonnelCertificationUpsertInput],
"city": "abc123",
"contractType": "APPRENTICE_WHITE_COLLAR",
"contractWorkCategory": "MANAGING_DIRECTOR",
"country": "abc123",
"countryOfBirth": "abc123",
"dateOfBirth": "2007-12-03",
"dependentChildren": 123,
"dependentHandicappedChildren": 987,
"dependentPersonsOver65": 123,
"dependentPersonsUnder65": 987,
"dependentPersonsUnder65Income": 123.45,
"driversLicenceNumber": "xyz789",
"email": "abc123",
"email2": "xyz789",
"employmentEndDate": "2007-12-03",
"employmentSchedule": "FULL_TIME",
"employmentStartDate": "2007-12-03",
"externalErpId": "abc123",
"firstName": "abc123",
"gender": "FEMALE",
"groupId": HashedId,
"homeBase": "abc123",
"jobFunction": "abc123",
"jointCommitteeNumber": "abc123",
"languageId": HashedId,
"lastName": "xyz789",
"licenceCategory": "xyz789",
"licenceExpiryDate": "2007-12-03",
"maritalStatus": "COHABITING_LEGALLY",
"marriageDate": "2007-12-03",
"nationalInsuranceNumber": "abc123",
"nationality": "xyz789",
"notes": "xyz789",
"personnelNumber": "abc123",
"personnelNumberPrefix": "abc123",
"phone": PhoneCreateInput,
"placeOfBirth": "xyz789",
"postalCode": "abc123",
"salaryIBAN": "abc123",
"salaryPaymentType": "HOUR",
"salaryScaleStartDate": "2007-12-03",
"seniorityStartDate": "2007-12-03",
"shownOnDispositionPage": false,
"specializationLevel": "FIRST_LEVEL",
"spouseBirthDate": "2007-12-03",
"spousePartnerName": "abc123",
"street": "xyz789",
"studyLevel": "EXECUTIVE_STAFF",
"userId": HashedId,
"workingHours": PersonnelWorkingHoursUpsertInput
}
PersonnelBulkUpdateInput
Description
Selection criteria and field changes for personnel mass update
Fields
| Input Field | Description |
|---|---|
excludePersonnelIds - [HashedId!]
|
Personnel IDs to exclude from the selection |
filterInput - AssetFilterInput
|
Filter criteria to dynamically select personnel |
personnelIds - [HashedId!]
|
Explicit list of personnel IDs to include in the operation |
update - PersonnelBulkUpdateFieldsInput!
|
Fields to set or clear on every selected personnel record |
Example
{
"excludePersonnelIds": [HashedId],
"filterInput": AssetFilterInput,
"personnelIds": [HashedId],
"update": PersonnelBulkUpdateFieldsInput
}
PersonnelCertification
Description
A certification held by a personnel record
Fields
| Field Name | Description |
|---|---|
created - Timestamp!
|
Timestamp when the entity was created |
expiryDate - Date
|
Expiry date |
id - HashedId!
|
Unique identifier of the entity |
issueDate - Date
|
Issue date |
name - String!
|
Certification name |
personnelId - HashedId!
|
Owning personnel id |
updated - Timestamp
|
Timestamp when the entity was last updated |
Example
{
"created": 1592577642,
"expiryDate": "2007-12-03",
"id": HashedId,
"issueDate": "2007-12-03",
"name": "abc123",
"personnelId": HashedId,
"updated": 1592577642
}
PersonnelCertificationUpsertInput
Description
A certification row on a personnel record
Example
{
"expiryDate": "2007-12-03",
"id": HashedId,
"issueDate": "2007-12-03",
"name": "xyz789"
}
PersonnelContractTypeEnum
Description
Type of employment contract
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"APPRENTICE_WHITE_COLLAR"
PersonnelContractWorkCategoryEnum
Description
Contract work category
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
Example
"MANAGING_DIRECTOR"
PersonnelCreateInput
Description
Data required to create a personnel record
Fields
| Input Field | Description |
|---|---|
certifications - [PersonnelCertificationUpsertInput!]
|
Certifications |
city - String
|
City |
contractType - PersonnelContractTypeEnum
|
Contract type |
contractWorkCategory - PersonnelContractWorkCategoryEnum
|
Contract work category |
country - String
|
Country |
countryOfBirth - String
|
Country of birth |
dateOfBirth - Date
|
Date of birth |
dependentChildren - Int
|
Dependent children |
dependentHandicappedChildren - Int
|
Dependent handicapped children |
dependentPersonsOver65 - Int
|
Dependent persons over 65 |
dependentPersonsUnder65 - Int
|
Dependent persons under 65 |
dependentPersonsUnder65Income - Float
|
Dependent persons under 65 with income |
driversLicenceNumber - String
|
Drivers licence number |
email - String!
|
Email address |
email2 - String
|
Secondary email address |
employmentEndDate - Date
|
Employment end date |
employmentSchedule - PersonnelEmploymentScheduleEnum
|
Employment schedule |
employmentStartDate - Date
|
Employment start date |
externalErpId - String
|
External ERP id |
firstName - String
|
First name |
gender - PersonnelGenderEnum
|
Gender |
groupId - HashedId!
|
Group the personnel belongs to |
homeBase - String
|
Home base |
jobFunction - String
|
Job function |
jointCommitteeNumber - String
|
Joint committee number |
languageId - HashedId
|
Language id |
lastName - String
|
Last name |
licenceCategory - String
|
Licence category |
licenceExpiryDate - Date
|
Licence expiry date |
maritalStatus - PersonnelMaritalStatusEnum
|
Marital status |
marriageDate - Date
|
Marriage date |
nationalInsuranceNumber - String
|
National insurance number |
nationality - String
|
Nationality |
notes - String
|
Notes |
personnelNumber - String
|
Personnel number |
personnelNumberPrefix - String
|
Manual prefix combined with the auto-allocated sequence into personnelNumber |
phone - PhoneCreateInput
|
Phone number |
photoUploadId - String
|
Opaque S3 upload identifier of the personnel photo to promote and attach |
placeOfBirth - String
|
Place of birth |
postalCode - String
|
Postal code |
salaryIBAN - String
|
Salary IBAN |
salaryPaymentType - PersonnelSalaryPaymentTypeEnum
|
Salary payment type |
salaryScaleStartDate - Date
|
Salary scale start date |
seniorityStartDate - Date
|
Seniority start date |
shownOnDispositionPage - Boolean
|
Whether the personnel is shown on the disposition page |
specializationLevel - PersonnelSpecializationLevelEnum
|
Specialization level |
spouseBirthDate - Date
|
Spouse birth date |
spousePartnerName - String
|
Spouse or partner name |
street - String
|
Street |
studyLevel - PersonnelStudyLevelEnum
|
Study level |
userId - HashedId
|
Linked user id |
workingHours - PersonnelWorkingHoursUpsertInput
|
Weekly working hour schedule of the personnel |
Example
{
"certifications": [PersonnelCertificationUpsertInput],
"city": "abc123",
"contractType": "APPRENTICE_WHITE_COLLAR",
"contractWorkCategory": "MANAGING_DIRECTOR",
"country": "xyz789",
"countryOfBirth": "abc123",
"dateOfBirth": "2007-12-03",
"dependentChildren": 123,
"dependentHandicappedChildren": 987,
"dependentPersonsOver65": 123,
"dependentPersonsUnder65": 123,
"dependentPersonsUnder65Income": 123.45,
"driversLicenceNumber": "xyz789",
"email": "abc123",
"email2": "xyz789",
"employmentEndDate": "2007-12-03",
"employmentSchedule": "FULL_TIME",
"employmentStartDate": "2007-12-03",
"externalErpId": "xyz789",
"firstName": "xyz789",
"gender": "FEMALE",
"groupId": HashedId,
"homeBase": "xyz789",
"jobFunction": "xyz789",
"jointCommitteeNumber": "xyz789",
"languageId": HashedId,
"lastName": "abc123",
"licenceCategory": "abc123",
"licenceExpiryDate": "2007-12-03",
"maritalStatus": "COHABITING_LEGALLY",
"marriageDate": "2007-12-03",
"nationalInsuranceNumber": "abc123",
"nationality": "xyz789",
"notes": "xyz789",
"personnelNumber": "xyz789",
"personnelNumberPrefix": "abc123",
"phone": PhoneCreateInput,
"photoUploadId": "abc123",
"placeOfBirth": "xyz789",
"postalCode": "xyz789",
"salaryIBAN": "abc123",
"salaryPaymentType": "HOUR",
"salaryScaleStartDate": "2007-12-03",
"seniorityStartDate": "2007-12-03",
"shownOnDispositionPage": false,
"specializationLevel": "FIRST_LEVEL",
"spouseBirthDate": "2007-12-03",
"spousePartnerName": "xyz789",
"street": "xyz789",
"studyLevel": "EXECUTIVE_STAFF",
"userId": HashedId,
"workingHours": PersonnelWorkingHoursUpsertInput
}
PersonnelEmploymentScheduleEnum
Description
Employment schedule
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"FULL_TIME"
PersonnelExportRequestInput
Description
Data required to request a personnel list export
Fields
| Input Field | Description |
|---|---|
filter - PersonnelFilterInput
|
Personnel list filter criteria |
Example
{"filter": PersonnelFilterInput}
PersonnelFilterInput
Description
Filter criteria combining a text search term and related filter parameters
Fields
| Input Field | Description |
|---|---|
relatedFilters - [FilterParamsInput]
|
Additional filter parameters for related personnel fields |
searchTerm - String
|
Text to match against personnel name and identifiers |
Example
{
"relatedFilters": [FilterParamsInput],
"searchTerm": "xyz789"
}
PersonnelGenderEnum
Description
Gender
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
Example
"FEMALE"
PersonnelHistory
Description
An immutable personnel history log entry
Fields
| Field Name | Description |
|---|---|
asset - Asset
|
Asset for assignment history entries |
assetId - HashedId
|
Assigned asset id |
created - Timestamp!
|
Timestamp when the entity was created |
createdByUser - User!
|
User who created the personnel history entry |
createdByUserId - HashedId!
|
User who created the entry |
customField - CustomField
|
Custom field for assignment history entries |
customFieldId - HashedId
|
Assigned custom field id |
fieldName - PersonnelHistoryFieldEnum
|
Changed field name |
id - HashedId!
|
Unique identifier of the entity |
newValue - String
|
New value (masked if sensitive) |
oldValue - String
|
Previous value (masked if sensitive) |
type - PersonnelHistoryTypeEnum!
|
History entry type |
updated - Timestamp
|
Timestamp when the entity was last updated |
workOrder - WorkOrderV2
|
Work order for assignment history entries |
workOrderHandlerRole - WorkOrderHandlerRoleEnum
|
Work order handler role for assignment history entries |
workOrderId - HashedId
|
Assigned work order id |
Example
{
"asset": Asset,
"assetId": HashedId,
"created": 1592577642,
"createdByUser": User,
"createdByUserId": HashedId,
"customField": CustomField,
"customFieldId": HashedId,
"fieldName": "certifications",
"id": HashedId,
"newValue": "xyz789",
"oldValue": "abc123",
"type": "ASSIGNED",
"updated": 1592577642,
"workOrder": WorkOrderV2,
"workOrderHandlerRole": "ASSIGNEE",
"workOrderId": HashedId
}
PersonnelHistoryFieldEnum
Description
Personnel field changed in a history entry
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"certifications"
PersonnelHistoryPaginatedResult
Description
Paginated list of personnel history entries
Fields
| Field Name | Description |
|---|---|
meta - PaginationMeta!
|
Pagination metadata including total count and page info |
rows - [PersonnelHistory!]!
|
List of records for the current page |
total - Int!
|
Total amount |
Example
{
"meta": PaginationMeta,
"rows": [PersonnelHistory],
"total": 987
}
PersonnelHistoryTypeEnum
Description
Type of personnel history entry
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"ASSIGNED"
PersonnelImportValidateResult
Fields
| Field Name | Description |
|---|---|
city - ImporterValidateColumnResult
|
Validation result for the City column |
contractType - ImporterValidateColumnResult
|
Validation result for the Contract Type column |
contractWorkCategory - ImporterValidateColumnResult
|
Validation result for the Employment Category column |
country - ImporterValidateColumnResult
|
Validation result for the Country column |
countryOfBirth - ImporterValidateColumnResult
|
Validation result for the Country of Birth column |
dateOfBirth - ImporterValidateColumnResult
|
Validation result for the Date of Birth column |
dependentChildren - ImporterValidateColumnResult
|
Validation result for the Dependent Children column |
dependentHandicappedChildren - ImporterValidateColumnResult
|
Validation result for the Dependent Handicapped Children column |
dependentPersonsOver65 - ImporterValidateColumnResult
|
Validation result for the Dependent Persons Over 65 column |
dependentPersonsUnder65 - ImporterValidateColumnResult
|
Validation result for the Dependent Persons Under 65 column |
dependentPersonsUnder65Income - ImporterValidateColumnResult
|
Validation result for the Dependent Persons Under 65 Income column |
driversLicenceNumber - ImporterValidateColumnResult
|
Validation result for the Driver's Licence Number column |
email - ImporterValidateColumnResult
|
Validation result for the Email column |
email2 - ImporterValidateColumnResult
|
Validation result for the Email 2 column |
employmentEndDate - ImporterValidateColumnResult
|
Validation result for the Employment End Date column |
employmentSchedule - ImporterValidateColumnResult
|
Validation result for the Timetable Type column |
employmentStartDate - ImporterValidateColumnResult
|
Validation result for the Employment Start Date column |
externalErpId - ImporterValidateColumnResult
|
Validation result for the ERP Personnel ID column |
firstName - ImporterValidateColumnResult
|
Validation result for the First Name column |
fullName - ImporterValidateColumnResult
|
Validation result for the Full Name column |
gender - ImporterValidateColumnResult
|
Validation result for the Gender column |
group - ImporterValidateColumnResult
|
Validation result for the Group (Employer) column |
hasErrors - Boolean!
|
Whether this row contains any validation errors |
hasWarnings - Boolean!
|
Whether this row contains any validation warnings |
id - ImporterValidateColumnResult
|
Validation result for the Personnel ID column |
index - Int!
|
Row index of this entry in the import spreadsheet |
jobFunction - ImporterValidateColumnResult
|
Validation result for the Job Function column |
jointCommitteeNumber - ImporterValidateColumnResult
|
Validation result for the Joint Committee Number column |
language - ImporterValidateColumnResult
|
Validation result for the Language column |
lastName - ImporterValidateColumnResult
|
Validation result for the Last Name column |
licenceCategory - ImporterValidateColumnResult
|
Validation result for the Licence Category column |
licenceExpiryDate - ImporterValidateColumnResult
|
Validation result for the Licence Expiry Date column |
maritalStatus - ImporterValidateColumnResult
|
Validation result for the Marital Status column |
marriageDate - ImporterValidateColumnResult
|
Validation result for the Marriage Date column |
nationalInsuranceNumber - ImporterValidateColumnResult
|
Validation result for the National Insurance Number column |
nationality - ImporterValidateColumnResult
|
Validation result for the Nationality column |
notes - ImporterValidateColumnResult
|
Validation result for the Notes column |
personnelNumber - ImporterValidateColumnResult
|
Validation result for the Personnel Number column |
personnelNumberPrefix - ImporterValidateColumnResult
|
Validation result for the Personnel Number Prefix column |
phone - ImporterValidateColumnResult
|
Validation result for the Phone column |
placeOfBirth - ImporterValidateColumnResult
|
Validation result for the Place of Birth column |
postalCode - ImporterValidateColumnResult
|
Validation result for the Postal Code column |
salaryIBAN - ImporterValidateColumnResult
|
Validation result for the Salary IBAN column |
salaryPaymentType - ImporterValidateColumnResult
|
Validation result for the Salary Payment Type column |
salaryScaleStartDate - ImporterValidateColumnResult
|
Validation result for the Salary Scale Start Date column |
seniorityStartDate - ImporterValidateColumnResult
|
Validation result for the Seniority Start Date column |
shownOnDispositionPage - ImporterValidateColumnResult
|
Validation result for the Shown on Disposition page column |
specializationLevel - ImporterValidateColumnResult
|
Validation result for the Specialization level column |
spouseBirthDate - ImporterValidateColumnResult
|
Validation result for the Spouse Birth Date column |
spousePartnerName - ImporterValidateColumnResult
|
Validation result for the Spouse Name column |
street - ImporterValidateColumnResult
|
Validation result for the Street column |
studyLevel - ImporterValidateColumnResult
|
Validation result for the Study Level column |
Example
{
"city": ImporterValidateColumnResult,
"contractType": ImporterValidateColumnResult,
"contractWorkCategory": ImporterValidateColumnResult,
"country": ImporterValidateColumnResult,
"countryOfBirth": ImporterValidateColumnResult,
"dateOfBirth": ImporterValidateColumnResult,
"dependentChildren": ImporterValidateColumnResult,
"dependentHandicappedChildren": ImporterValidateColumnResult,
"dependentPersonsOver65": ImporterValidateColumnResult,
"dependentPersonsUnder65": ImporterValidateColumnResult,
"dependentPersonsUnder65Income": ImporterValidateColumnResult,
"driversLicenceNumber": ImporterValidateColumnResult,
"email": ImporterValidateColumnResult,
"email2": ImporterValidateColumnResult,
"employmentEndDate": ImporterValidateColumnResult,
"employmentSchedule": ImporterValidateColumnResult,
"employmentStartDate": ImporterValidateColumnResult,
"externalErpId": ImporterValidateColumnResult,
"firstName": ImporterValidateColumnResult,
"fullName": ImporterValidateColumnResult,
"gender": ImporterValidateColumnResult,
"group": ImporterValidateColumnResult,
"hasErrors": false,
"hasWarnings": true,
"id": ImporterValidateColumnResult,
"index": 987,
"jobFunction": ImporterValidateColumnResult,
"jointCommitteeNumber": ImporterValidateColumnResult,
"language": ImporterValidateColumnResult,
"lastName": ImporterValidateColumnResult,
"licenceCategory": ImporterValidateColumnResult,
"licenceExpiryDate": ImporterValidateColumnResult,
"maritalStatus": ImporterValidateColumnResult,
"marriageDate": ImporterValidateColumnResult,
"nationalInsuranceNumber": ImporterValidateColumnResult,
"nationality": ImporterValidateColumnResult,
"notes": ImporterValidateColumnResult,
"personnelNumber": ImporterValidateColumnResult,
"personnelNumberPrefix": ImporterValidateColumnResult,
"phone": ImporterValidateColumnResult,
"placeOfBirth": ImporterValidateColumnResult,
"postalCode": ImporterValidateColumnResult,
"salaryIBAN": ImporterValidateColumnResult,
"salaryPaymentType": ImporterValidateColumnResult,
"salaryScaleStartDate": ImporterValidateColumnResult,
"seniorityStartDate": ImporterValidateColumnResult,
"shownOnDispositionPage": ImporterValidateColumnResult,
"specializationLevel": ImporterValidateColumnResult,
"spouseBirthDate": ImporterValidateColumnResult,
"spousePartnerName": ImporterValidateColumnResult,
"street": ImporterValidateColumnResult,
"studyLevel": ImporterValidateColumnResult
}
PersonnelMaritalStatusEnum
Description
Marital status
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"COHABITING_LEGALLY"
PersonnelMassEditFailure
Description
Single personnel failure entry from a bulk operation
Fields
| Field Name | Description |
|---|---|
personnelId - HashedId!
|
Personnel ID that failed |
reason - PersonnelMassEditFailureReason!
|
Reason the personnel could not be processed |
Example
{
"personnelId": HashedId,
"reason": "DISPOSITION_FEATURE_DISABLED"
}
PersonnelMassEditFailureReason
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"DISPOSITION_FEATURE_DISABLED"
PersonnelMassEditResult
Description
Summary result of a mass edit operation on personnel
Fields
| Field Name | Description |
|---|---|
failed - [PersonnelMassEditFailure!]!
|
|
retainedIds - [HashedId!]!
|
Selected ids the user can still edit after the operation; empty after a delete or archive |
skipped - Int!
|
|
succeeded - Int!
|
Example
{
"failed": [PersonnelMassEditFailure],
"retainedIds": [HashedId],
"skipped": 987,
"succeeded": 123
}
PersonnelMassEditSelectionInput
Description
Selection criteria for personnel mass edit operations
Fields
| Input Field | Description |
|---|---|
excludePersonnelIds - [HashedId!]
|
Personnel IDs to exclude from the selection |
filterInput - AssetFilterInput
|
Filter criteria to dynamically select personnel |
personnelIds - [HashedId!]
|
Explicit list of personnel IDs to include in the operation |
Example
{
"excludePersonnelIds": [HashedId],
"filterInput": AssetFilterInput,
"personnelIds": [HashedId]
}
PersonnelNonWorkingDays
Description
Period when a personnel record is not working
Fields
| Field Name | Description |
|---|---|
created - Timestamp!
|
Timestamp when the entity was created |
endDate - DateTime!
|
End date of the period |
id - HashedId!
|
Unique identifier of the entity |
startDate - DateTime!
|
Start date of the period |
timezone - String!
|
IANA timezone the period is expressed in |
updated - Timestamp
|
Timestamp when the entity was last updated |
Example
{
"created": 1592577642,
"endDate": "2007-12-03T10:15:30Z",
"id": HashedId,
"startDate": "2007-12-03T10:15:30Z",
"timezone": "abc123",
"updated": 1592577642
}
PersonnelNonWorkingDaysUpsertInput
Description
Input to define a period when a personnel record is not working
Example
{
"endDate": "2007-12-03T10:15:30Z",
"startDate": "2007-12-03T10:15:30Z",
"timezone": "abc123"
}
PersonnelPaginatedResult
Description
Paginated list of personnel records
Fields
| Field Name | Description |
|---|---|
meta - PaginationMeta!
|
Pagination metadata including total count and page info |
rows - [Personnel!]!
|
List of records for the current page |
total - Int!
|
Total amount |
Example
{
"meta": PaginationMeta,
"rows": [Personnel],
"total": 123
}
PersonnelPublicValue
Description
Reduced personnel projection exposed to anonymous viewers (no email or phone)
Fields
| Field Name | Description |
|---|---|
created - Timestamp!
|
Timestamp when the entity was created |
firstName - String
|
First name |
group - Group
|
Group the personnel belongs to |
groupId - HashedId!
|
Group the personnel belongs to |
id - HashedId!
|
Unique identifier of the entity |
isActive - Boolean!
|
Whether the assigned personnel still exists |
lastName - String
|
Last name |
updated - Timestamp
|
Timestamp when the entity was last updated |
Example
{
"created": 1592577642,
"firstName": "abc123",
"group": Group,
"groupId": HashedId,
"id": HashedId,
"isActive": true,
"lastName": "abc123",
"updated": 1592577642
}
PersonnelRevealNationalInsuranceNumberInput
Description
Optional history entry context for revealing the national insurance number
Fields
| Input Field | Description |
|---|---|
historyEntryId - HashedId
|
History entry id when revealing in history |
Example
{"historyEntryId": HashedId}
PersonnelSalaryPaymentTypeEnum
Description
Salary payment type
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
Example
"HOUR"
PersonnelSearchPaginatedResult
Description
Paginated list of personnel search results
Fields
| Field Name | Description |
|---|---|
meta - PaginationMeta!
|
Pagination metadata including total count and page info |
rows - [PersonnelValue!]!
|
List of records for the current page |
total - Int!
|
Total amount Use "meta.count" instead |
Example
{
"meta": PaginationMeta,
"rows": [PersonnelValue],
"total": 987
}
PersonnelSearchScopeEnum
Description
Which personnel a picker search covers
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
Example
"DISCOVERABLE"
PersonnelSpecializationLevelEnum
Description
Support specialization level used by the disposition page
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
Example
"FIRST_LEVEL"
PersonnelStudyLevelEnum
Description
Study level
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"EXECUTIVE_STAFF"
PersonnelUpdateInput
Description
Data for updating a personnel record
Fields
| Input Field | Description |
|---|---|
certifications - [PersonnelCertificationUpsertInput!]
|
Certifications |
city - String
|
City |
contractType - PersonnelContractTypeEnum
|
Contract type |
contractWorkCategory - PersonnelContractWorkCategoryEnum
|
Contract work category |
country - String
|
Country |
countryOfBirth - String
|
Country of birth |
dateOfBirth - Date
|
Date of birth |
dependentChildren - Int
|
Dependent children |
dependentHandicappedChildren - Int
|
Dependent handicapped children |
dependentPersonsOver65 - Int
|
Dependent persons over 65 |
dependentPersonsUnder65 - Int
|
Dependent persons under 65 |
dependentPersonsUnder65Income - Float
|
Dependent persons under 65 with income |
driversLicenceNumber - String
|
Drivers licence number |
email - String
|
Email address |
email2 - String
|
Secondary email address |
employmentEndDate - Date
|
Employment end date |
employmentSchedule - PersonnelEmploymentScheduleEnum
|
Employment schedule |
employmentStartDate - Date
|
Employment start date |
externalErpId - String
|
External ERP id |
firstName - String
|
First name |
gender - PersonnelGenderEnum
|
Gender |
groupId - HashedId
|
Group the personnel belongs to |
homeBase - String
|
Home base |
jobFunction - String
|
Job function |
jointCommitteeNumber - String
|
Joint committee number |
languageId - HashedId
|
Language id |
lastName - String
|
Last name |
licenceCategory - String
|
Licence category |
licenceExpiryDate - Date
|
Licence expiry date |
maritalStatus - PersonnelMaritalStatusEnum
|
Marital status |
marriageDate - Date
|
Marriage date |
nationalInsuranceNumber - String
|
National insurance number |
nationality - String
|
Nationality |
notes - String
|
Notes |
personnelNumber - String
|
Personnel number |
personnelNumberPrefix - String
|
Manual prefix combined with the auto-allocated sequence into personnelNumber |
phone - PhoneCreateInput
|
Phone number |
photoUploadId - String
|
Opaque S3 upload identifier of the personnel photo to promote and attach |
placeOfBirth - String
|
Place of birth |
postalCode - String
|
Postal code |
salaryIBAN - String
|
Salary IBAN |
salaryPaymentType - PersonnelSalaryPaymentTypeEnum
|
Salary payment type |
salaryScaleStartDate - Date
|
Salary scale start date |
seniorityStartDate - Date
|
Seniority start date |
shownOnDispositionPage - Boolean
|
Whether the personnel is shown on the disposition page |
specializationLevel - PersonnelSpecializationLevelEnum
|
Specialization level |
spouseBirthDate - Date
|
Spouse birth date |
spousePartnerName - String
|
Spouse or partner name |
street - String
|
Street |
studyLevel - PersonnelStudyLevelEnum
|
Study level |
userId - HashedId
|
Linked user id |
workingHours - PersonnelWorkingHoursUpsertInput
|
Weekly working hour schedule of the personnel |
Example
{
"certifications": [PersonnelCertificationUpsertInput],
"city": "abc123",
"contractType": "APPRENTICE_WHITE_COLLAR",
"contractWorkCategory": "MANAGING_DIRECTOR",
"country": "xyz789",
"countryOfBirth": "xyz789",
"dateOfBirth": "2007-12-03",
"dependentChildren": 987,
"dependentHandicappedChildren": 987,
"dependentPersonsOver65": 987,
"dependentPersonsUnder65": 987,
"dependentPersonsUnder65Income": 987.65,
"driversLicenceNumber": "xyz789",
"email": "xyz789",
"email2": "xyz789",
"employmentEndDate": "2007-12-03",
"employmentSchedule": "FULL_TIME",
"employmentStartDate": "2007-12-03",
"externalErpId": "abc123",
"firstName": "abc123",
"gender": "FEMALE",
"groupId": HashedId,
"homeBase": "abc123",
"jobFunction": "xyz789",
"jointCommitteeNumber": "xyz789",
"languageId": HashedId,
"lastName": "abc123",
"licenceCategory": "xyz789",
"licenceExpiryDate": "2007-12-03",
"maritalStatus": "COHABITING_LEGALLY",
"marriageDate": "2007-12-03",
"nationalInsuranceNumber": "xyz789",
"nationality": "abc123",
"notes": "xyz789",
"personnelNumber": "xyz789",
"personnelNumberPrefix": "abc123",
"phone": PhoneCreateInput,
"photoUploadId": "xyz789",
"placeOfBirth": "abc123",
"postalCode": "abc123",
"salaryIBAN": "abc123",
"salaryPaymentType": "HOUR",
"salaryScaleStartDate": "2007-12-03",
"seniorityStartDate": "2007-12-03",
"shownOnDispositionPage": false,
"specializationLevel": "FIRST_LEVEL",
"spouseBirthDate": "2007-12-03",
"spousePartnerName": "xyz789",
"street": "abc123",
"studyLevel": "EXECUTIVE_STAFF",
"userId": HashedId,
"workingHours": PersonnelWorkingHoursUpsertInput
}
PersonnelValue
Description
Personnel projection embedded in asset custom-field values
Fields
| Field Name | Description |
|---|---|
created - Timestamp!
|
Timestamp when the entity was created |
email - String!
|
Email address |
firstName - String
|
First name |
group - Group
|
Group the personnel belongs to |
groupId - HashedId!
|
Group the personnel belongs to |
id - HashedId!
|
Unique identifier of the entity |
isActive - Boolean!
|
Whether the assigned personnel still exists |
lastName - String
|
Last name |
personnelNumber - String
|
Personnel number |
phone - String
|
Phone number associated with this personnel record |
updated - Timestamp
|
Timestamp when the entity was last updated |
userId - HashedId
|
User id |
Example
{
"created": 1592577642,
"email": "xyz789",
"firstName": "xyz789",
"group": Group,
"groupId": HashedId,
"id": HashedId,
"isActive": true,
"lastName": "abc123",
"personnelNumber": "xyz789",
"phone": "xyz789",
"updated": 1592577642,
"userId": HashedId
}
PersonnelWorkingHours
Description
Weekly working hour schedule of a personnel record
Fields
| Field Name | Description |
|---|---|
created - Timestamp!
|
Timestamp when the entity was created |
id - HashedId!
|
Unique identifier of the entity |
isInherited - Boolean!
|
Whether the schedule is inherited from the group of the personnel rather than configured directly |
nonWorkingDays - [PersonnelNonWorkingDays!]!
|
Periods when the personnel is not working |
timezone - String!
|
IANA timezone for the working hours schedule |
updated - Timestamp
|
Timestamp when the entity was last updated |
workingHoursFriday - [String!]!
|
Working time ranges for Friday |
workingHoursMonday - [String!]!
|
Working time ranges for Monday |
workingHoursSaturday - [String!]!
|
Working time ranges for Saturday |
workingHoursSunday - [String!]!
|
Working time ranges for Sunday |
workingHoursThursday - [String!]!
|
Working time ranges for Thursday |
workingHoursTuesday - [String!]!
|
Working time ranges for Tuesday |
workingHoursWednesday - [String!]!
|
Working time ranges for Wednesday |
Example
{
"created": 1592577642,
"id": HashedId,
"isInherited": true,
"nonWorkingDays": [PersonnelNonWorkingDays],
"timezone": "abc123",
"updated": 1592577642,
"workingHoursFriday": ["abc123"],
"workingHoursMonday": ["abc123"],
"workingHoursSaturday": ["abc123"],
"workingHoursSunday": ["xyz789"],
"workingHoursThursday": ["abc123"],
"workingHoursTuesday": ["xyz789"],
"workingHoursWednesday": ["xyz789"]
}
PersonnelWorkingHoursUpsertInput
Description
Input to set the weekly working hours of a personnel record
Fields
| Input Field | Description |
|---|---|
isInherited - Boolean!
|
Whether the schedule is inherited from the group of the personnel rather than configured directly |
nonWorkingDays - [PersonnelNonWorkingDaysUpsertInput!]!
|
Periods when the personnel is not working |
timezone - String!
|
IANA timezone for the working hours schedule |
workingHoursFriday - [String!]!
|
Working time ranges for Friday |
workingHoursMonday - [String!]!
|
Working time ranges for Monday |
workingHoursSaturday - [String!]!
|
Working time ranges for Saturday |
workingHoursSunday - [String!]!
|
Working time ranges for Sunday |
workingHoursThursday - [String!]!
|
Working time ranges for Thursday |
workingHoursTuesday - [String!]!
|
Working time ranges for Tuesday |
workingHoursWednesday - [String!]!
|
Working time ranges for Wednesday |
Example
{
"isInherited": true,
"nonWorkingDays": [PersonnelNonWorkingDaysUpsertInput],
"timezone": "xyz789",
"workingHoursFriday": ["xyz789"],
"workingHoursMonday": ["xyz789"],
"workingHoursSaturday": ["abc123"],
"workingHoursSunday": ["abc123"],
"workingHoursThursday": ["xyz789"],
"workingHoursTuesday": ["xyz789"],
"workingHoursWednesday": ["abc123"]
}
Phone
Description
A phone number record linked to a user or contact
Fields
| Field Name | Description |
|---|---|
countryCode - String!
|
Country code |
created - Timestamp!
|
Timestamp when the entity was created |
fullNumber - String!
|
Full number |
id - HashedId!
|
Unique identifier of the entity |
nationalNumber - String!
|
National number |
rawNumber - String!
|
Raw number |
updated - Timestamp
|
Timestamp when the entity was last updated |
Example
{
"countryCode": "xyz789",
"created": 1592577642,
"fullNumber": "xyz789",
"id": HashedId,
"nationalNumber": "abc123",
"rawNumber": "xyz789",
"updated": 1592577642
}
PhoneCreateInput
Description
Data required to create a new phone
Example
{
"countryCode": "xyz789",
"fullNumber": "abc123",
"nationalNumber": "abc123",
"rawNumber": "abc123"
}
PreCheckBulkSiteSoftDelete
Fields
| Field Name | Description |
|---|---|
deletable - Int!
|
|
failureBreakdown - [SiteMassEditReasonCount!]!
|
|
totalSelected - Int!
|
Example
{
"deletable": 123,
"failureBreakdown": [SiteMassEditReasonCount],
"totalSelected": 123
}
PreCheckSiteAssignment
Description
Pre-check result for a bulk site assignment operation
Fields
| Field Name | Description |
|---|---|
accessLossAssets - [AccessLossAssetInfo!]!
|
Assets for which the user would lose access after reassignment |
alreadyOnSite - Int!
|
Number of assets already assigned to the target site |
packageRemovalCount - Int!
|
How many of the moving assets will be removed from their asset packages |
targetSiteGroupName - String
|
Name of the group the target site belongs to |
totalAffected - Int!
|
Total number of assets affected by the operation |
Example
{
"accessLossAssets": [AccessLossAssetInfo],
"alreadyOnSite": 123,
"packageRemovalCount": 123,
"targetSiteGroupName": "xyz789",
"totalAffected": 123
}
ProcedureComponentChoice
Description
deprecated used in old input
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
Example
"good"
ProcedureComponentContentType
Description
Available input field types for procedure form components, including text, number, date, GPS location, signature capture, file attachments, dropdowns, checkboxes, asset/site selectors, and table inputs
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"asset"
ProcedureComponentPhoneType
Description
Defines whether a phone number field in a procedure uses a custom user-entered value or a predefined contact number
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
Example
"CUSTOM"
ProcedureComponentYesNo
Description
deprecated used in old input
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
Example
"na"
ProcedureCondition
Description
Procedure condition record
Fields
| Field Name | Description |
|---|---|
actions - [ProcedureConditionAction!]!
|
Actions for this procedure condition |
assertions - [ProcedureConditionAssertion!]!
|
Assertions for this procedure condition |
assertionsLogic - ProcedureConditionLogicEnum!
|
Assertions logic |
created - Timestamp!
|
Timestamp when the entity was created |
id - HashedId!
|
Unique identifier of the entity |
templateId - HashedId!
|
Template identifier |
updated - Timestamp
|
Timestamp when the entity was last updated |
Example
{
"actions": [ProcedureConditionAction],
"assertions": [ProcedureConditionAssertion],
"assertionsLogic": "AND",
"created": 1592577642,
"id": HashedId,
"templateId": HashedId,
"updated": 1592577642
}
ProcedureConditionAction
Description
Procedure condition action record
Fields
| Field Name | Description |
|---|---|
conditionId - HashedId!
|
Condition identifier |
created - Timestamp!
|
Timestamp when the entity was created |
id - HashedId!
|
Unique identifier of the entity |
order - Int!
|
Sort order position |
scope - ProcedureConditionActionScopeEnum!
|
Defines which components the action applies to |
type - ProcedureConditionActionEnum!
|
Action to perform when the condition is met, such as show, hide, or require |
updated - Timestamp
|
Timestamp when the entity was last updated |
values - [String!]!
|
Target component client IDs or option values that the action operates on |
Example
{
"conditionId": HashedId,
"created": 1592577642,
"id": HashedId,
"order": 123,
"scope": "ELSE",
"type": "ASSIGN_TICKET_TAG",
"updated": 1592577642,
"values": ["abc123"]
}
ProcedureConditionActionEnum
Description
Actions that can be triggered when a procedure condition is evaluated, such as showing or hiding form fields, or automatically setting the ticket assignee
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"ASSIGN_TICKET_TAG"
ProcedureConditionActionInput
Description
Input data for procedure condition action
Fields
| Input Field | Description |
|---|---|
scope - ProcedureConditionActionScopeEnum!
|
Defines which components the action applies to |
type - ProcedureConditionActionEnum!
|
Action to perform when the condition is met, such as show, hide, or require |
values - [String!]!
|
Target component client IDs or option codes that the action targets |
Example
{
"scope": "ELSE",
"type": "ASSIGN_TICKET_TAG",
"values": ["xyz789"]
}
ProcedureConditionActionScopeEnum
Description
Determines whether a procedure condition action applies to the THEN branch (condition met) or the ELSE branch (condition not met)
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
Example
"ELSE"
ProcedureConditionAssertion
Description
Procedure condition assertion record
Fields
| Field Name | Description |
|---|---|
component - ProcedureTemplateComponent!
|
Component for this procedure condition assertion |
componentId - HashedId!
|
Component identifier |
conditionId - HashedId!
|
Condition identifier |
created - Timestamp!
|
Timestamp when the entity was created |
id - HashedId!
|
Unique identifier of the entity |
nestedSectionId - Int
|
Nested section identifier |
order - Int!
|
Sort order position |
type - ProcedureConditionAssertionEnum!
|
Comparison operator used to evaluate the component value, such as equals or contains |
updated - Timestamp
|
Timestamp when the entity was last updated |
values - [String!]!
|
Expected values to compare the component answer against |
valuesPublicIds - [Int!]!
|
Public numeric IDs corresponding to the values in the assertion |
Example
{
"component": ProcedureTemplateComponent,
"componentId": HashedId,
"conditionId": HashedId,
"created": 1592577642,
"id": HashedId,
"nestedSectionId": 123,
"order": 987,
"type": "ALL_OF",
"updated": 1592577642,
"values": ["xyz789"],
"valuesPublicIds": [123]
}
ProcedureConditionAssertionEnum
Description
Comparison operators for evaluating procedure condition rules against field values, including equality, presence, containment, numeric comparisons, and set membership checks
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"ALL_OF"
ProcedureConditionAssertionInput
Description
Input data for procedure condition assertion
Fields
| Input Field | Description |
|---|---|
componentClientId - Int!
|
Component client identifier |
nestedSectionId - Int
|
Nested section identifier |
type - ProcedureConditionAssertionEnum!
|
Comparison operator used to evaluate the component value, such as equals or contains |
values - [String!]!
|
Expected values to compare the component answer against |
Example
{
"componentClientId": 987,
"nestedSectionId": 123,
"type": "ALL_OF",
"values": ["abc123"]
}
ProcedureConditionInput
Description
Input data for procedure condition
Fields
| Input Field | Description |
|---|---|
actions - [ProcedureConditionActionInput!]!
|
Actions to apply to target components when all assertions are satisfied |
assertions - [ProcedureConditionAssertionInput!]!
|
Component value checks that must all pass for the condition to trigger |
assertionsLogic - ProcedureConditionLogicEnum!
|
Assertions logic |
id - HashedId
|
Hashed ID of an existing condition to update; omit to create a new one |
Example
{
"actions": [ProcedureConditionActionInput],
"assertions": [ProcedureConditionAssertionInput],
"assertionsLogic": "AND",
"id": HashedId
}
ProcedureConditionLogicEnum
Description
Logical operators (AND/OR) used to combine multiple procedure conditions into compound expressions
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
Example
"AND"
ProcedureInstance
Description
A filled-out instance of a procedure template attached to a ticket or event
Fields
| Field Name | Description |
|---|---|
checkEventId - HashedId
|
Check event identifier not supported |
components - [ProcedureInstanceComponent!]!
|
Components not supported |
created - Timestamp!
|
Timestamp when the entity was created |
createdByGroup - Group!
|
Created by group not supported |
createdByGroupId - HashedId!
|
Created by group identifier not supported |
createdByUser - User!
|
Created by user not supported |
createdByUserId - HashedId!
|
Created by user identifier not supported |
id - HashedId!
|
Unique identifier of the entity |
scannedAsset - Asset
|
Scanned asset not supported |
scannedAssetId - HashedId
|
Scanned asset identifier not supported |
scannedSite - Site
|
Scanned site not supported |
scannedSiteId - HashedId
|
Scanned site identifier not supported |
service - Service!
|
Service not supported |
serviceId - HashedId!
|
Service identifier not supported |
template - ProcedureTemplate!
|
Template not supported |
templateId - HashedId!
|
Template identifier not supported |
ticket - Ticket!
|
Associated ticket |
updated - Timestamp
|
Timestamp when the entity was last updated |
Example
{
"checkEventId": HashedId,
"components": [ProcedureInstanceComponent],
"created": 1592577642,
"createdByGroup": Group,
"createdByGroupId": HashedId,
"createdByUser": User,
"createdByUserId": HashedId,
"id": HashedId,
"scannedAsset": Asset,
"scannedAssetId": HashedId,
"scannedSite": Site,
"scannedSiteId": HashedId,
"service": Service,
"serviceId": HashedId,
"template": ProcedureTemplate,
"templateId": HashedId,
"ticket": Ticket,
"updated": 1592577642
}
ProcedureInstanceComponent
Description
deprecated - do not use this at all - will be removed soon
Fields
| Field Name | Description |
|---|---|
assetCategories - [AssetCategory!]!
|
Asset categories |
assetTypes - [AssetType!]!
|
Asset types |
assets - [Asset!]!
|
Assets |
assignees - [AvailableHandler!]!
|
Assignees |
checkedValue - Boolean
|
Checked value |
children - [ProcedureInstanceComponent!]!
|
Children |
choiceOption - ProcedureInstanceComponentChoiceOption
|
Choice option |
choiceOptionId - HashedId
|
Choice option identifier |
choiceOptions - [ProcedureInstanceComponentChoiceOption!]!
|
Choice options |
choiceValue - ProcedureComponentChoice
|
Choice value |
comment - String
|
User comment |
created - Timestamp!
|
Timestamp when the entity was created |
dateValue - DateTime
|
Date value |
documents - [Document!]!
|
Attached documents and files |
id - HashedId!
|
Unique identifier of the entity |
instanceId - HashedId!
|
Instance identifier |
location - Address
|
Location |
locationId - HashedId
|
Location identifier |
numberValue - Int
|
Number value Use "numberValueDecimal" instead. It offers Float type |
numberValueDecimal - Float
|
Number value decimal |
parentId - HashedId
|
Parent record identifier |
phone - Phone
|
Phone number |
phoneId - HashedId
|
Phone identifier |
sites - [Site!]!
|
Sites |
templateComponent - ProcedureTemplateComponent!
|
Template component |
templateComponentId - HashedId!
|
Template component identifier |
textValue - String
|
Text value |
updated - Timestamp
|
Timestamp when the entity was last updated |
yesNoValue - ProcedureComponentYesNo
|
Yes no value |
Example
{
"assetCategories": [AssetCategory],
"assetTypes": [AssetType],
"assets": [Asset],
"assignees": [AvailableHandler],
"checkedValue": true,
"children": [ProcedureInstanceComponent],
"choiceOption": ProcedureInstanceComponentChoiceOption,
"choiceOptionId": HashedId,
"choiceOptions": [
ProcedureInstanceComponentChoiceOption
],
"choiceValue": "good",
"comment": "abc123",
"created": 1592577642,
"dateValue": "2007-12-03T10:15:30Z",
"documents": [Document],
"id": HashedId,
"instanceId": HashedId,
"location": Address,
"locationId": HashedId,
"numberValue": 123,
"numberValueDecimal": 987.65,
"parentId": HashedId,
"phone": Phone,
"phoneId": HashedId,
"sites": [Site],
"templateComponent": ProcedureTemplateComponent,
"templateComponentId": HashedId,
"textValue": "abc123",
"updated": 1592577642,
"yesNoValue": "na"
}
ProcedureInstanceComponentChoiceOption
Description
deprecated - do not use this at all - will be removed soon
Fields
| Field Name | Description |
|---|---|
choiceOption - ProcedureTemplateComponentChoiceOption!
|
Choice option |
choiceOptionId - HashedId!
|
Choice option identifier |
componentId - HashedId!
|
Component identifier |
created - Timestamp!
|
Timestamp when the entity was created |
id - HashedId!
|
Unique identifier of the entity |
updated - Timestamp
|
Timestamp when the entity was last updated |
Example
{
"choiceOption": ProcedureTemplateComponentChoiceOption,
"choiceOptionId": HashedId,
"componentId": HashedId,
"created": 1592577642,
"id": HashedId,
"updated": 1592577642
}
ProcedureInstanceComponentCreateInput
Description
Data required to create a new procedure instance component
Fields
| Input Field | Description |
|---|---|
assetCategoryIds - [HashedId!]
|
Asset category identifiers |
assetIds - [HashedId!]
|
Asset identifiers |
assetTypeIds - [HashedId!]
|
Asset type identifiers |
checkedValue - Boolean
|
Checked value |
children - [ProcedureInstanceComponentCreateInput!]
|
Children |
choiceOptionId - HashedId
|
Choice option identifier |
choiceOptionIds - [HashedId!]
|
Choice option identifiers |
choiceValue - ProcedureComponentChoice
|
Choice value |
comment - String
|
User comment |
dateValue - DateTime
|
Date value |
documents - [Upload!]
|
Attached documents and files |
groupIds - [HashedId!]
|
Group identifiers |
location - AddressCreateInput
|
Location |
numberValueDecimal - Float
|
Number value decimal |
phone - PhoneCreateInput
|
Phone number |
siteIds - [HashedId!]
|
Site identifiers |
suggestedGroupIds - [HashedId!]
|
Suggested group identifiers |
suggestedTeamIds - [HashedId!]
|
Suggested team identifiers |
suggestedUserIds - [HashedId!]
|
Suggested user identifiers |
tagIds - [HashedId!]
|
Tag identifiers |
teamIds - [HashedId!]
|
Team identifiers |
templateComponentId - HashedId!
|
Template component identifier |
textValue - String
|
Text value |
userIds - [HashedId!]
|
User identifiers |
yesNoValue - ProcedureComponentYesNo
|
Yes no value |
Example
{
"assetCategoryIds": [HashedId],
"assetIds": [HashedId],
"assetTypeIds": [HashedId],
"checkedValue": false,
"children": [ProcedureInstanceComponentCreateInput],
"choiceOptionId": HashedId,
"choiceOptionIds": [HashedId],
"choiceValue": "good",
"comment": "xyz789",
"dateValue": "2007-12-03T10:15:30Z",
"documents": [Upload],
"groupIds": [HashedId],
"location": AddressCreateInput,
"numberValueDecimal": 987.65,
"phone": PhoneCreateInput,
"siteIds": [HashedId],
"suggestedGroupIds": [HashedId],
"suggestedTeamIds": [HashedId],
"suggestedUserIds": [HashedId],
"tagIds": [HashedId],
"teamIds": [HashedId],
"templateComponentId": HashedId,
"textValue": "abc123",
"userIds": [HashedId],
"yesNoValue": "na"
}
ProcedureInstanceCreateInput
Description
Data required to create a new procedure instance
Fields
| Input Field | Description |
|---|---|
checkEventId - HashedId
|
Check event identifier |
components - [ProcedureInstanceComponentCreateInput!]!
|
Components |
serviceId - HashedId!
|
Service identifier |
templateId - HashedId!
|
Template identifier |
Example
{
"checkEventId": HashedId,
"components": [ProcedureInstanceComponentCreateInput],
"serviceId": HashedId,
"templateId": HashedId
}
ProcedureMassEditFailure
Description
Single procedure template failure entry from a bulk operation
Fields
| Field Name | Description |
|---|---|
procedureId - HashedId!
|
Procedure template ID that failed |
reason - ProcedureMassEditFailureReason!
|
Reason the procedure template could not be processed |
Example
{"procedureId": HashedId, "reason": "PERMISSION_ERROR"}
ProcedureMassEditFailureReason
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
Example
"PERMISSION_ERROR"
ProcedureMassEditResult
Description
Summary result of a mass edit operation on procedure templates
Fields
| Field Name | Description |
|---|---|
failed - [ProcedureMassEditFailure!]!
|
|
retainedIds - [HashedId!]!
|
Selected ids the user can still edit after the operation; empty after a delete or archive |
skipped - Int!
|
|
succeeded - Int!
|
Example
{
"failed": [ProcedureMassEditFailure],
"retainedIds": [HashedId],
"skipped": 987,
"succeeded": 123
}
ProcedureMassEditSelectionInput
Description
Selection criteria for procedure mass edit operations
Fields
| Input Field | Description |
|---|---|
excludeProcedureIds - [HashedId!]
|
Procedure template IDs to exclude from the selection |
filterInput - AssetFilterInput
|
Filter criteria to dynamically select procedure templates |
procedureIds - [HashedId!]
|
Explicit list of procedure template IDs to include in the operation |
Example
{
"excludeProcedureIds": [HashedId],
"filterInput": AssetFilterInput,
"procedureIds": [HashedId]
}
ProcedureTemplate
Description
Procedure template record
Fields
| Field Name | Description |
|---|---|
accessLevel - ProcedureTemplateAccessLevel!
|
Controls which groups can view and use this procedure template |
automations - [ProcedureTemplateAutomation!]!
|
Automations for this procedure template |
componentCount - Int!
|
Total number of form components in this template, including nested elements |
components - [ProcedureTemplateComponent!]!
|
Components for this procedure template |
conditions - [ProcedureCondition!]!
|
Conditions for this procedure template |
created - Timestamp!
|
Timestamp when the entity was created |
createdByGroup - Group!
|
Group this procedure template belongs to |
createdByGroupId - HashedId!
|
Created by group identifier |
createdByUser - User
|
User who authored this procedure template |
createdByUserId - HashedId!
|
Created by user identifier |
deleted - Timestamp
|
Soft deletion timestamp, null if active |
description - Translation
|
|
descriptionId - HashedId
|
Hashed ID of the i18n translation record for the template description |
hasAutomations - Boolean!
|
Whether this template has any automation rules configured |
hasConditions - Boolean!
|
Whether this template has any conditional logic rules configured |
iconUrl - String
|
URL of the icon image displayed alongside the template in the UI |
id - HashedId!
|
Unique identifier of the entity |
itemType - ProcedureTemplateItemType!
|
Domain entity this template is designed for, such as asset or site |
parent - ProcedureTemplate
|
Parent template in a template hierarchy not supported |
parentId - HashedId
|
Parent record identifier not supported |
preset - ProcedureTemplatePreset!
|
Whether this template was created from a predefined sample or from scratch |
publicId - Int!
|
Public numeric identifier |
publicRootId - Int
|
Public numeric ID of the root template in a template hierarchy not supported |
rootId - HashedId
|
Hashed ID of the root template in a template hierarchy not supported |
servicePackageCount - Int!
|
Number of distinct service packages linked to this template |
servicePackages - [ServicePackage!]!
|
Service package for this procedure template |
ticketCount - Int!
|
Number of tickets created from services using this template |
title - Translation
|
Translated name of the procedure template |
titleId - HashedId!
|
Hashed ID of the i18n translation record for the template title |
type - ProcedureTemplateType!
|
Classifies the template as a check, inspection, or other procedure workflow type |
updated - Timestamp
|
Timestamp when the entity was last updated |
updatedByUser - User
|
User who last edited this procedure template |
updatedByUserId - HashedId!
|
Updated by user identifier |
Example
{
"accessLevel": "branch",
"automations": [ProcedureTemplateAutomation],
"componentCount": 123,
"components": [ProcedureTemplateComponent],
"conditions": [ProcedureCondition],
"created": 1592577642,
"createdByGroup": Group,
"createdByGroupId": HashedId,
"createdByUser": User,
"createdByUserId": HashedId,
"deleted": 1592577642,
"description": Translation,
"descriptionId": HashedId,
"hasAutomations": false,
"hasConditions": false,
"iconUrl": "xyz789",
"id": HashedId,
"itemType": "asset",
"parent": ProcedureTemplate,
"parentId": HashedId,
"preset": "check",
"publicId": 987,
"publicRootId": 987,
"rootId": HashedId,
"servicePackageCount": 123,
"servicePackages": [ServicePackage],
"ticketCount": 123,
"title": Translation,
"titleId": HashedId,
"type": "tickets",
"updated": 1592577642,
"updatedByUser": User,
"updatedByUserId": HashedId
}
ProcedureTemplateAccessLevel
Description
Controls the visibility scope of a procedure template within the organization hierarchy: local (own group only), branch (group and its children), or tree (entire organization tree)
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
Example
"branch"
ProcedureTemplateAutomation
Description
Procedure template automation record
Fields
| Field Name | Description |
|---|---|
components - [ProcedureTemplateComponent!]!
|
Procedure template components associated with this automation not supported |
created - Timestamp!
|
Timestamp when the entity was created |
id - HashedId!
|
Unique identifier of the entity |
runOnTicketStatus - TicketStateEnum
|
Run on ticket status |
templateId - HashedId!
|
Template identifier |
type - TicketAutomationEnum!
|
Kind of automation triggered by this configuration, such as auto-close ticket or update status |
updated - Timestamp
|
Timestamp when the entity was last updated |
Example
{
"components": [ProcedureTemplateComponent],
"created": 1592577642,
"id": HashedId,
"runOnTicketStatus": "approvalNeeded",
"templateId": HashedId,
"type": "asset_availability",
"updated": 1592577642
}
ProcedureTemplateAutomationCreateInput
Description
Data required to create a new procedure template automation
Fields
| Input Field | Description |
|---|---|
id - HashedId
|
Unique identifier of the entity |
runOnTicketStatus - TicketStateEnum
|
Run on ticket status |
type - TicketAutomationEnum!
|
Kind of automation triggered by this configuration, such as auto-close ticket or update status |
Example
{
"id": HashedId,
"runOnTicketStatus": "approvalNeeded",
"type": "asset_availability"
}
ProcedureTemplateComponent
Description
Procedure template component record
Fields
| Field Name | Description |
|---|---|
automations - Int!
|
Number of automation rules referencing this component |
children - [ProcedureTemplateComponent!]!
|
Children for this procedure template component |
choiceOptions - [ProcedureTemplateComponentChoiceOption!]!
|
Choice Options for this procedure template component |
clientId - Int!
|
Client identifier |
contentType - ProcedureComponentContentType!
|
Format of the rendered content |
created - Timestamp!
|
Timestamp when the entity was created |
description - Translation
|
|
descriptionId - HashedId
|
Hashed ID of the i18n translation record for the component help text |
documents - [Document!]!
|
Documents attached to this procedure template component |
enabled - Boolean!
|
Whether this component is visible and active in the procedure form |
filters - [Filters!]!
|
Asset, site and scanned components support filters, which restrict the assets or sites a user can select. |
id - HashedId!
|
Unique identifier of the entity |
includeTime - Boolean!
|
Whether the date component includes a time picker alongside the date selector |
isAutoDetectLocationEnabled - Boolean!
|
Whether auto detect location enabled |
isEditableInTicket - Boolean!
|
Whether the date answer stays editable on tickets created from this procedure after submission |
isHiddenInForm - Boolean!
|
Whether hidden in form |
isHiddenInResult - Boolean!
|
Whether this component is hidden in the procedure result view; use isHiddenInTicket instead used only in mobile. use isHiddenInTicket instead |
isHiddenInTicket - Boolean!
|
Whether hidden in ticket |
isMultiple - Boolean!
|
Whether the user can submit multiple responses for this component |
isNfcScanner - Boolean!
|
Whether this component activates the NFC scanner for input |
isOnlyAssortmentTypes - Boolean!
|
Whether this asset component is restricted to showing only assortment asset types |
isQrScanner - Boolean!
|
Whether this component activates the QR code scanner for input |
isRequired - Boolean!
|
Whether this field is required |
isTemplate - Boolean!
|
Whether this component serves as a reusable template that child components inherit from |
order - Int!
|
Sort order position |
parentId - HashedId
|
Parent record identifier |
phone - Phone
|
Phone number associated with this procedure template component |
phoneId - HashedId
|
Phone identifier |
phoneType - ProcedureComponentPhoneType
|
Phone type |
table - ProcedureTemplateComponentTable
|
Table for this procedure template component |
tableId - HashedId
|
Hashed ID of the input table configuration when contentType is input_table |
templateId - HashedId!
|
Template identifier |
title - Translation
|
Translated name of the procedure template component |
titleId - HashedId!
|
Hashed ID of the i18n translation record for the component title |
updated - Timestamp
|
Timestamp when the entity was last updated |
Example
{
"automations": 987,
"children": [ProcedureTemplateComponent],
"choiceOptions": [
ProcedureTemplateComponentChoiceOption
],
"clientId": 123,
"contentType": "asset",
"created": 1592577642,
"description": Translation,
"descriptionId": HashedId,
"documents": [Document],
"enabled": true,
"filters": [Filters],
"id": HashedId,
"includeTime": true,
"isAutoDetectLocationEnabled": true,
"isEditableInTicket": true,
"isHiddenInForm": true,
"isHiddenInResult": false,
"isHiddenInTicket": false,
"isMultiple": true,
"isNfcScanner": true,
"isOnlyAssortmentTypes": true,
"isQrScanner": false,
"isRequired": false,
"isTemplate": false,
"order": 987,
"parentId": HashedId,
"phone": Phone,
"phoneId": HashedId,
"phoneType": "CUSTOM",
"table": ProcedureTemplateComponentTable,
"tableId": HashedId,
"templateId": HashedId,
"title": Translation,
"titleId": HashedId,
"updated": 1592577642
}
ProcedureTemplateComponentChoiceOption
Description
Procedure template component choice option data
Fields
| Field Name | Description |
|---|---|
code - String
|
Machine-readable code for this choice option, used for external system integration |
componentId - HashedId!
|
Component identifier |
created - Timestamp!
|
Timestamp when the entity was created |
id - HashedId!
|
Unique identifier of the entity |
isSelectedByDefault - Boolean!
|
Whether selected by default |
name - Translation
|
Translated name of the procedure template component choice option |
nameId - HashedId!
|
Hashed ID of the i18n translation record for the choice option label |
order - Int!
|
Sort order position |
updated - Timestamp
|
Timestamp when the entity was last updated |
Example
{
"code": "xyz789",
"componentId": HashedId,
"created": 1592577642,
"id": HashedId,
"isSelectedByDefault": false,
"name": Translation,
"nameId": HashedId,
"order": 123,
"updated": 1592577642
}
ProcedureTemplateComponentChoiceOptionCreateInput
Description
Data required to create a new procedure template component choice option
Fields
| Input Field | Description |
|---|---|
code - String
|
Machine-readable code for integration mapping |
id - HashedId
|
Unique identifier of the entity |
isSelectedByDefault - Boolean!
|
Whether selected by default |
name - TranslationInput!
|
Display name |
Example
{
"code": "abc123",
"id": HashedId,
"isSelectedByDefault": false,
"name": TranslationInput
}
ProcedureTemplateComponentColumnDropdownUpsertInput
Description
Data to create or update a dropdown option for a procedure template table column
Fields
| Input Field | Description |
|---|---|
id - HashedId
|
Unique identifier of the entity |
name - TranslationInput!
|
Translated label for this dropdown option |
order - Int!
|
Sort order position |
Example
{
"id": HashedId,
"name": TranslationInput,
"order": 987
}
ProcedureTemplateComponentCreateInput
Description
Data required to create a new procedure template component
Fields
| Input Field | Description |
|---|---|
automations - Int!
|
Number of automation rules referencing this component |
children - [ProcedureTemplateComponentCreateInput!]
|
Children |
choiceOptions - [ProcedureTemplateComponentChoiceOptionCreateInput!]!
|
Choice options |
clientId - Int!
|
Client identifier |
contentType - ProcedureComponentContentType!
|
Format of the rendered content |
description - TranslationInput
|
Human-readable description |
documents - [Upload!]!
|
Attached documents and files |
enabled - Boolean!
|
Whether this component is visible and active in the procedure form |
filters - [FilterParamsInput]
|
Filter criteria |
id - HashedId
|
Unique identifier of the entity |
includeTime - Boolean!
|
Whether the date component includes a time picker alongside the date selector |
isAutoDetectLocationEnabled - Boolean!
|
Whether auto detect location enabled |
isEditableInTicket - Boolean
|
Whether the date answer stays editable on tickets created from this procedure after submission |
isHiddenInForm - Boolean!
|
Whether hidden in form |
isHiddenInTicket - Boolean!
|
Whether hidden in ticket |
isMultiple - Boolean!
|
Whether the user can submit multiple responses for this component |
isNfcScanner - Boolean!
|
Whether this component activates the NFC scanner for input |
isOnlyAssortmentTypes - Boolean!
|
Whether this asset component is restricted to showing only assortment asset types |
isQrScanner - Boolean!
|
Whether this component activates the QR code scanner for input |
isRequired - Boolean!
|
Whether this field is required |
isTemplate - Boolean!
|
Whether this component serves as a reusable template that child components inherit from |
phone - PhoneCreateInput
|
Phone number |
phoneType - ProcedureComponentPhoneType
|
Phone type. Default = CUSTOM |
table - ProcedureTemplateComponentTableUpsertInput
|
Table |
title - TranslationInput!
|
Title text |
Example
{
"automations": 987,
"children": [ProcedureTemplateComponentCreateInput],
"choiceOptions": [
ProcedureTemplateComponentChoiceOptionCreateInput
],
"clientId": 123,
"contentType": "asset",
"description": TranslationInput,
"documents": [Upload],
"enabled": false,
"filters": [FilterParamsInput],
"id": HashedId,
"includeTime": false,
"isAutoDetectLocationEnabled": false,
"isEditableInTicket": true,
"isHiddenInForm": false,
"isHiddenInTicket": false,
"isMultiple": false,
"isNfcScanner": false,
"isOnlyAssortmentTypes": true,
"isQrScanner": false,
"isRequired": true,
"isTemplate": true,
"phone": PhoneCreateInput,
"phoneType": "CUSTOM",
"table": ProcedureTemplateComponentTableUpsertInput,
"title": TranslationInput
}
ProcedureTemplateComponentTable
Description
Procedure template component table data
Fields
| Field Name | Description |
|---|---|
columns - [ProcedureTemplateComponentTableColumn!]!
|
Columns for this procedure template component table |
created - Timestamp!
|
Timestamp when the entity was created |
id - HashedId!
|
Unique identifier of the entity |
requiredType - ProcedureTemplateComponentTableRequiredType!
|
Required type |
rows - [ProcedureTemplateComponentTableRow!]!
|
Rows for this procedure template component table |
updated - Timestamp
|
Timestamp when the entity was last updated |
Example
{
"columns": [ProcedureTemplateComponentTableColumn],
"created": 1592577642,
"id": HashedId,
"requiredType": "ALL_CELLS",
"rows": [ProcedureTemplateComponentTableRow],
"updated": 1592577642
}
ProcedureTemplateComponentTableColumn
Description
Procedure template component table column data
Fields
| Field Name | Description |
|---|---|
contentType - ProcedureTemplateComponentTableColumnType!
|
Format of the rendered content |
created - Timestamp!
|
Timestamp when the entity was created |
dropdownOptions - [ProcedureTemplateComponentTableColumnDropdownOption!]!
|
Dropdown Options for this procedure template component table column |
id - HashedId!
|
Unique identifier of the entity |
name - Translation!
|
Translated name of the procedure template component table column |
order - Int!
|
Sort order position |
tableId - HashedId!
|
Table identifier |
updated - Timestamp
|
Timestamp when the entity was last updated |
Example
{
"contentType": "DATE",
"created": 1592577642,
"dropdownOptions": [
ProcedureTemplateComponentTableColumnDropdownOption
],
"id": HashedId,
"name": Translation,
"order": 987,
"tableId": HashedId,
"updated": 1592577642
}
ProcedureTemplateComponentTableColumnDropdownOption
Description
Procedure template component table column dropdown option data
Fields
| Field Name | Description |
|---|---|
columnId - HashedId!
|
Column identifier |
created - Timestamp!
|
Timestamp when the entity was created |
id - HashedId!
|
Unique identifier of the entity |
name - Translation!
|
Translated name of the procedure template component table column dropdown option |
order - Int!
|
Sort order position |
updated - Timestamp
|
Timestamp when the entity was last updated |
Example
{
"columnId": HashedId,
"created": 1592577642,
"id": HashedId,
"name": Translation,
"order": 987,
"updated": 1592577642
}
ProcedureTemplateComponentTableColumnType
Description
Data types available for columns within a procedure template table component, such as text, number, date, time, single-select, multi-choice, and dropdown
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"DATE"
ProcedureTemplateComponentTableColumnUpsertInput
Description
Data to create or update a procedure template table column
Fields
| Input Field | Description |
|---|---|
contentType - ProcedureTemplateComponentTableColumnType!
|
Format of the rendered content |
dropdownOptions - [ProcedureTemplateComponentColumnDropdownUpsertInput!]!
|
Options to create or update for columns with dropdown content type |
id - HashedId
|
Unique identifier of the entity |
name - TranslationInput!
|
Translated header label for this table column |
order - Int!
|
Sort order position |
Example
{
"contentType": "DATE",
"dropdownOptions": [
ProcedureTemplateComponentColumnDropdownUpsertInput
],
"id": HashedId,
"name": TranslationInput,
"order": 987
}
ProcedureTemplateComponentTableRequiredType
Description
Validation rules for required fields in procedure table columns: none (optional), at least one cell, all cells in a column, or all rows must be filled
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
Example
"ALL_CELLS"
ProcedureTemplateComponentTableRow
Description
Procedure template component table row data
Fields
| Field Name | Description |
|---|---|
created - Timestamp!
|
Timestamp when the entity was created |
id - HashedId!
|
Unique identifier of the entity |
name - Translation!
|
Translated name of the procedure template component table row |
order - Int!
|
Sort order position |
tableId - HashedId!
|
Table identifier |
updated - Timestamp
|
Timestamp when the entity was last updated |
Example
{
"created": 1592577642,
"id": HashedId,
"name": Translation,
"order": 123,
"tableId": HashedId,
"updated": 1592577642
}
ProcedureTemplateComponentTableRowUpsertInput
Description
Data to create or update a procedure template table row
Fields
| Input Field | Description |
|---|---|
id - HashedId
|
Unique identifier of the entity |
name - TranslationInput!
|
Translated label for this table row |
order - Int!
|
Sort order position |
Example
{
"id": HashedId,
"name": TranslationInput,
"order": 123
}
ProcedureTemplateComponentTableUpsertInput
Description
Data to create or update a procedure template input table with rows and columns
Fields
| Input Field | Description |
|---|---|
columns - [ProcedureTemplateComponentTableColumnUpsertInput!]!
|
Column definitions to create or update for this table |
id - HashedId
|
Unique identifier of the entity |
requiredType - ProcedureTemplateComponentTableRequiredType!
|
Required type. Default = NONE |
rows - [ProcedureTemplateComponentTableRowUpsertInput!]!
|
Row definitions to create or update for this table |
Example
{
"columns": [
ProcedureTemplateComponentTableColumnUpsertInput
],
"id": HashedId,
"requiredType": "ALL_CELLS",
"rows": [ProcedureTemplateComponentTableRowUpsertInput]
}
ProcedureTemplateCreateInput
Description
Data required to create a new procedure template
Fields
| Input Field | Description |
|---|---|
accessLevel - ProcedureTemplateAccessLevel!
|
Controls which groups can view and use this procedure template |
automations - [ProcedureTemplateAutomationCreateInput!]!
|
Automations |
components - [ProcedureTemplateComponentCreateInput!]!
|
Components |
conditions - [ProcedureConditionInput!]
|
Conditions |
description - TranslationInput
|
Human-readable description |
iconUrl - String
|
URL of the icon image displayed alongside the template in the UI |
itemType - ProcedureTemplateItemType!
|
Domain entity this template is designed for, such as asset or site |
preset - ProcedureTemplatePreset!
|
Whether this template was created from a predefined sample or from scratch |
title - TranslationInput!
|
Title text |
type - ProcedureTemplateType!
|
Classifies the template as a check, inspection, or other procedure workflow type |
Example
{
"accessLevel": "branch",
"automations": [ProcedureTemplateAutomationCreateInput],
"components": [ProcedureTemplateComponentCreateInput],
"conditions": [ProcedureConditionInput],
"description": TranslationInput,
"iconUrl": "xyz789",
"itemType": "asset",
"preset": "check",
"title": TranslationInput,
"type": "tickets"
}
ProcedureTemplateDocumentImportOmittedContent
Description
Kinds of document content a procedure template document import could not transcribe
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
Example
"DIAGRAM"
ProcedureTemplateDocumentImportPreview
Description
Procedure template import preview result
Fields
| Field Name | Description |
|---|---|
omittedContent - [ProcedureTemplateDocumentImportOmittedContent!]!
|
Kinds of document content the import could not transcribe |
template - ProcedureTemplatePreviewTemplate!
|
Normalized procedure template |
warningCodes - [ProcedureTemplateDocumentImportWarningCode!]!
|
Warnings produced while normalizing the imported document |
Example
{
"omittedContent": ["DIAGRAM"],
"template": ProcedureTemplatePreviewTemplate,
"warningCodes": ["CHOICE_OPTIONS_MISSING"]
}
ProcedureTemplateDocumentImportRequestInput
Description
Data required to request a procedure template document import
Fields
| Input Field | Description |
|---|---|
accessLevel - ProcedureTemplateAccessLevel!
|
Controls which groups can view and use this procedure template |
file - Upload!
|
Source document to import |
iconUrl - String
|
URL of the icon image displayed alongside the template in the UI |
itemType - ProcedureTemplateItemType!
|
Domain entity this template is designed for, such as asset or site |
preset - ProcedureTemplatePreset!
|
Whether this template was created from a predefined sample or from scratch |
translationTargetLanguages - [LanguageLocaleEnum!]
|
Languages to generate translated procedure labels for |
type - ProcedureTemplateType!
|
Classifies the template as a check, inspection, or other procedure workflow type |
Example
{
"accessLevel": "branch",
"file": Upload,
"iconUrl": "xyz789",
"itemType": "asset",
"preset": "check",
"translationTargetLanguages": ["ar_ar"],
"type": "tickets"
}
ProcedureTemplateDocumentImportWarningCode
Description
Warnings produced while previewing procedure template document imports
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
Example
"CHOICE_OPTIONS_MISSING"
ProcedureTemplateItemType
Description
Defines the scope of a procedure template item, indicating whether it applies to general information, a specific asset, or a specific site
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
Example
"asset"
ProcedureTemplateJotformImportPreview
Description
Procedure template preview built from a Jotform form
Fields
| Field Name | Description |
|---|---|
jotformId - String!
|
Jotform form identifier parsed from the link or id |
template - ProcedureTemplatePreviewTemplate!
|
Procedure template built from the Jotform form |
warningCodes - [ProcedureTemplateJotformImportWarningCode!]!
|
Warnings produced while importing the Jotform form |
Example
{
"jotformId": "xyz789",
"template": ProcedureTemplatePreviewTemplate,
"warningCodes": ["CALCULATION_UNSUPPORTED"]
}
ProcedureTemplateJotformImportPreviewInput
Description
Data required to preview a Jotform form as a procedure template
Fields
| Input Field | Description |
|---|---|
itemType - ProcedureTemplateItemType
|
Item type of the template, derived from the form when empty |
jotformId - String!
|
Jotform link or form identifier |
preset - ProcedureTemplatePreset
|
Preset of the template, derived from the form when empty |
Example
{
"itemType": "asset",
"jotformId": "abc123",
"preset": "check"
}
ProcedureTemplateJotformImportWarningCode
Description
Warnings produced while previewing a Jotform form as a procedure template
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"CALCULATION_UNSUPPORTED"
ProcedureTemplatePaginatedDto
Description
Paginated list of procedure templates with total count and pagination metadata
Fields
| Field Name | Description |
|---|---|
meta - PaginationMeta!
|
Pagination metadata including total count and page info |
rows - [ProcedureTemplate!]!
|
List of records for the current page |
total - Int!
|
Total amount |
Example
{
"meta": PaginationMeta,
"rows": [ProcedureTemplate],
"total": 987
}
ProcedureTemplatePreset
Description
Built-in preset configurations that define the initial structure of a procedure template, such as general-purpose forms, asset checks, maintenance services, or QR landing pages
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"check"
ProcedureTemplatePreviewAutomation
Description
Automation of a procedure template preview
Fields
| Field Name | Description |
|---|---|
defaultOptionCode - String
|
Code of the automation option preselected by default, null when the source gives no default |
enabled - Boolean!
|
Whether users can still choose another option, false when the source forces the value |
runOnTicketStatus - TicketStateEnum
|
Run on ticket status |
type - TicketAutomationEnum!
|
Kind of automation triggered by this configuration, such as auto-close ticket or update status |
Example
{
"defaultOptionCode": "abc123",
"enabled": false,
"runOnTicketStatus": "approvalNeeded",
"type": "asset_availability"
}
ProcedureTemplatePreviewChoiceOption
Description
Choice option of a procedure template preview component
Fields
| Field Name | Description |
|---|---|
code - String
|
Machine-readable code for integration mapping |
isSelectedByDefault - Boolean!
|
Whether selected by default |
name - ProcedureTemplatePreviewTranslation!
|
Translated choice option name |
Example
{
"code": "abc123",
"isSelectedByDefault": false,
"name": ProcedureTemplatePreviewTranslation
}
ProcedureTemplatePreviewComponent
Description
Component of a procedure template preview
Fields
| Field Name | Description |
|---|---|
automations - Int!
|
Number of automation rules referencing this component |
children - [ProcedureTemplatePreviewComponent!]!
|
Direct children of a section component |
choiceOptions - [ProcedureTemplatePreviewChoiceOption!]!
|
Available component choices |
clientId - Int!
|
Client identifier |
contentType - ProcedureComponentContentType!
|
Format of the rendered content |
description - ProcedureTemplatePreviewTranslation
|
Translated component description |
enabled - Boolean!
|
Whether this component is visible and active in the procedure form |
filters - [Filters!]!
|
Filters applied to an asset-selector component |
images - [ProcedureTemplatePreviewImage!]!
|
Images attached to the component |
includeTime - Boolean!
|
Whether the date component includes a time picker alongside the date selector |
isAutoDetectLocationEnabled - Boolean!
|
Whether auto detect location enabled |
isHiddenInForm - Boolean!
|
Whether hidden in form |
isHiddenInTicket - Boolean!
|
Whether hidden in ticket |
isMultiple - Boolean!
|
Whether the user can submit multiple responses for this component |
isNfcScanner - Boolean!
|
Whether this component activates the NFC scanner for input |
isOnlyAssortmentTypes - Boolean!
|
Whether this asset component is restricted to showing only assortment asset types |
isQrScanner - Boolean!
|
Whether this component activates the QR code scanner for input |
isRequired - Boolean!
|
Whether this field is required |
isTemplate - Boolean!
|
Whether this component serves as a reusable template that child components inherit from |
phoneType - ProcedureComponentPhoneType
|
Phone type |
table - ProcedureTemplatePreviewTable
|
Input table configuration |
title - ProcedureTemplatePreviewTranslation!
|
Translated component title |
Example
{
"automations": 987,
"children": [ProcedureTemplatePreviewComponent],
"choiceOptions": [ProcedureTemplatePreviewChoiceOption],
"clientId": 123,
"contentType": "asset",
"description": ProcedureTemplatePreviewTranslation,
"enabled": true,
"filters": [Filters],
"images": [ProcedureTemplatePreviewImage],
"includeTime": false,
"isAutoDetectLocationEnabled": false,
"isHiddenInForm": false,
"isHiddenInTicket": false,
"isMultiple": false,
"isNfcScanner": false,
"isOnlyAssortmentTypes": true,
"isQrScanner": false,
"isRequired": false,
"isTemplate": false,
"phoneType": "CUSTOM",
"table": ProcedureTemplatePreviewTable,
"title": ProcedureTemplatePreviewTranslation
}
ProcedureTemplatePreviewCondition
Description
Condition of a procedure template preview
Fields
| Field Name | Description |
|---|---|
actions - [ProcedureTemplatePreviewConditionAction!]!
|
Actions to apply to target components when all assertions are satisfied |
assertions - [ProcedureTemplatePreviewConditionAssertion!]!
|
Component value checks that must all pass for the condition to trigger |
assertionsLogic - ProcedureConditionLogicEnum!
|
Assertions logic |
Example
{
"actions": [ProcedureTemplatePreviewConditionAction],
"assertions": [
ProcedureTemplatePreviewConditionAssertion
],
"assertionsLogic": "AND"
}
ProcedureTemplatePreviewConditionAction
Description
Condition action of a procedure template preview
Fields
| Field Name | Description |
|---|---|
scope - ProcedureConditionActionScopeEnum!
|
Defines which components the action applies to |
type - ProcedureConditionActionEnum!
|
Action to perform when the condition is met, such as show, hide, or require |
values - [String!]!
|
Target component client IDs or option values that the action operates on |
Example
{
"scope": "ELSE",
"type": "ASSIGN_TICKET_TAG",
"values": ["xyz789"]
}
ProcedureTemplatePreviewConditionAssertion
Description
Condition assertion of a procedure template preview
Fields
| Field Name | Description |
|---|---|
componentClientId - Int!
|
Component client identifier |
nestedSectionId - Int
|
Nested section identifier |
type - ProcedureConditionAssertionEnum!
|
Comparison operator used to evaluate the component value, such as equals or contains |
values - [String!]!
|
Expected values to compare the component answer against |
Example
{
"componentClientId": 123,
"nestedSectionId": 987,
"type": "ALL_OF",
"values": ["abc123"]
}
ProcedureTemplatePreviewImage
Description
Image attached to a component of a procedure template preview
Example
{
"base64": "xyz789",
"fileName": "xyz789",
"mimeType": "xyz789"
}
ProcedureTemplatePreviewTable
Description
Input table of a procedure template preview component
Fields
| Field Name | Description |
|---|---|
columns - [ProcedureTemplatePreviewTableColumn!]!
|
Input table columns |
requiredType - ProcedureTemplateComponentTableRequiredType!
|
Required type |
rows - [ProcedureTemplatePreviewTableRow!]!
|
Input table rows |
Example
{
"columns": [ProcedureTemplatePreviewTableColumn],
"requiredType": "ALL_CELLS",
"rows": [ProcedureTemplatePreviewTableRow]
}
ProcedureTemplatePreviewTableColumn
Description
Column of a procedure template preview input table
Fields
| Field Name | Description |
|---|---|
contentType - ProcedureTemplateComponentTableColumnType!
|
Format of the rendered content |
dropdownOptions - [ProcedureTemplatePreviewTableDropdownOption!]!
|
Column dropdown options |
name - ProcedureTemplatePreviewTranslation!
|
Translated column name |
order - Int!
|
Sort order position |
Example
{
"contentType": "DATE",
"dropdownOptions": [
ProcedureTemplatePreviewTableDropdownOption
],
"name": ProcedureTemplatePreviewTranslation,
"order": 123
}
ProcedureTemplatePreviewTableDropdownOption
Description
Dropdown option of a procedure template preview input table column
Fields
| Field Name | Description |
|---|---|
name - ProcedureTemplatePreviewTranslation!
|
Translated dropdown option name |
order - Int!
|
Sort order position |
Example
{
"name": ProcedureTemplatePreviewTranslation,
"order": 987
}
ProcedureTemplatePreviewTableRow
Description
Row of a procedure template preview input table
Fields
| Field Name | Description |
|---|---|
name - ProcedureTemplatePreviewTranslation!
|
Translated row name |
order - Int!
|
Sort order position |
Example
{
"name": ProcedureTemplatePreviewTranslation,
"order": 987
}
ProcedureTemplatePreviewTemplate
Description
Procedure template preview
Fields
| Field Name | Description |
|---|---|
accessLevel - ProcedureTemplateAccessLevel!
|
Controls which groups can view and use this procedure template |
automations - [ProcedureTemplatePreviewAutomation!]!
|
Automations of the procedure template preview |
components - [ProcedureTemplatePreviewComponent!]!
|
Components of the procedure template preview |
conditions - [ProcedureTemplatePreviewCondition!]!
|
Conditions of the procedure template preview |
description - ProcedureTemplatePreviewTranslation
|
Translated procedure description |
iconUrl - String
|
URL of the icon image displayed alongside the template in the UI |
itemType - ProcedureTemplateItemType!
|
Domain entity this template is designed for, such as asset or site |
preset - ProcedureTemplatePreset!
|
Whether this template was created from a predefined sample or from scratch |
title - ProcedureTemplatePreviewTranslation!
|
Translated procedure title |
type - ProcedureTemplateType!
|
Classifies the template as a check, inspection, or other procedure workflow type |
Example
{
"accessLevel": "branch",
"automations": [ProcedureTemplatePreviewAutomation],
"components": [ProcedureTemplatePreviewComponent],
"conditions": [ProcedureTemplatePreviewCondition],
"description": ProcedureTemplatePreviewTranslation,
"iconUrl": "xyz789",
"itemType": "asset",
"preset": "check",
"title": ProcedureTemplatePreviewTranslation,
"type": "tickets"
}
ProcedureTemplatePreviewTranslation
Description
Localized text of a procedure template preview
Fields
| Field Name | Description |
|---|---|
languages - [ProcedureTemplatePreviewTranslationItem!]!
|
Localized text values |
Example
{"languages": [ProcedureTemplatePreviewTranslationItem]}
ProcedureTemplatePreviewTranslationItem
Description
One localized text value of a procedure template preview
Fields
| Field Name | Description |
|---|---|
code - LanguageLocaleEnum!
|
Code |
text - String!
|
Text |
Example
{"code": "ar_ar", "text": "xyz789"}
ProcedureTemplateType
Description
Determines whether a procedure template is used for tickets or work orders
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
Example
"tickets"
ProcessHandler
Description
A user, team, or group assigned to handle a process like a ticket or work order
Fields
| Field Name | Description |
|---|---|
deleted - Boolean
|
Soft deletion timestamp, null if active |
displayName - String!
|
Resolved human-readable name of the handler based on its type |
handlerType - HandlerTypeEnum!
|
Entity type such as user, team, group, or external email |
id - HashedId!
|
Unique identifier of the entity |
isDeletable - Boolean!
|
Whether the handler can be removed by the current user |
relationType - HandlerRelationTypeEnum!
|
Type of relationship between the handler and the ticket |
relationValue - String
|
Identifier linking to the underlying handler entity |
Example
{
"deleted": true,
"displayName": "abc123",
"handlerType": "EXTERNALEMAIL",
"id": HashedId,
"isDeletable": false,
"relationType": "ASSIGNEE",
"relationValue": "xyz789"
}
ProcessedAssetData
Description
The result of the processedAssetData query Contains a list of parameters A list values for each requested parameter in the same order as the parameters A list of timestamps in the same order and amount as the values. example query and result could be: processedAssetData (assetId: [
Fields
| Field Name | Description |
|---|---|
asset - Asset!
|
Associated asset |
parameters - [Parameter!]!
|
Parameters |
timestamps - [Timestamp!]!
|
Timestamps |
values - [Float]
|
Measured data values for each requested parameter |
Example
{
"asset": Asset,
"parameters": [Parameter],
"timestamps": [1592577642],
"values": [987.65]
}
PushPlatformTypeEnum
Description
Target platform for delivering push notifications to user devices: Android (Google FCM), iOS (Apple APNs), or Web (browser push)
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
Example
"ANDROID"
QrCheckAssetData
Description
Qr check asset data record
Fields
| Field Name | Description |
|---|---|
asset - QrLandingAsset!
|
Associated asset |
bleService - Service
|
Ble service |
isBlankQR - Boolean!
|
Whether blank q r |
link - String!
|
Link URL |
settings - GroupComposedSettings
|
Configuration settings |
Example
{
"asset": QrLandingAsset,
"bleService": Service,
"isBlankQR": true,
"link": "abc123",
"settings": GroupComposedSettings
}
QrCheckBlankData
Description
Qr check blank data record
Fields
| Field Name | Description |
|---|---|
isBlankQR - Boolean!
|
Whether blank q r |
link - String
|
Link URL |
settings - GroupComposedSettings
|
Configuration settings |
Example
{
"isBlankQR": false,
"link": "abc123",
"settings": GroupComposedSettings
}
QrCheckPartData
Description
Qr check part data record
Fields
| Field Name | Description |
|---|---|
isBlankQR - Boolean!
|
Whether blank q r |
link - String!
|
Link URL |
part - Part!
|
Part |
settings - GroupComposedSettings
|
Configuration settings |
Example
{
"isBlankQR": false,
"link": "xyz789",
"part": Part,
"settings": GroupComposedSettings
}
QrCheckResponseUnion
Types
| Union Types |
|---|
Example
QrCheckAssetData
QrCheckSiteData
Description
Qr check site data record
Fields
| Field Name | Description |
|---|---|
isBlankQR - Boolean!
|
Whether blank q r |
link - String!
|
Link URL |
settings - GroupComposedSettings
|
Configuration settings |
site - Site!
|
Associated site |
Example
{
"isBlankQR": true,
"link": "xyz789",
"settings": GroupComposedSettings,
"site": Site
}
QrLandingAsset
Description
Qr landing asset record
Fields
| Field Name | Description |
|---|---|
BLE - String
|
Bluetooth Low Energy beacon identifier |
activeCustomFields - [CustomField!]!
|
Currently active custom fields on this asset |
activeSiteAssignment - AssetSiteAssignment
|
Currently active site assignment for the asset |
archivedCustomFields - [CustomField!]!
|
Previously active custom fields now archived |
assetCategory - AssetCategory!
|
Asset category shown on the QR code landing page |
assetCategoryId - HashedId!
|
Category this asset belongs to |
assetPackageAsset - QrLandingAssetPackageAsset
|
Active package assignment of the QR landing asset |
assetSiteAssignments - [AssetSiteAssignment!]!
|
Site assignments for the QR landing asset |
Arguments
|
|
assetType - AssetType!
|
Asset type for QR landing page asset |
assetTypeId - HashedId!
|
Type classification of this asset |
assignedToGroupId - HashedId!
|
Organization group this asset is assigned to |
assignedToPreviousSite - Site
|
Previously assigned site for the asset |
availability - AssetAvailability
|
Availability |
checkSchedule - AssetCheckSchedule
|
Check schedule visible on the QR landing page |
classification - AssetClassification
|
Asset classification such as robot, vehicle, room, or generic |
costLines - [CostLine!]!
|
Individual line items that make up this cost entry |
costs - [CostLine!]!
|
Cost entries for this qr landing asset |
countNonArchivedSiteAssignments - Int!
|
Count of non-archived site assignments for the asset |
created - Timestamp!
|
Timestamp when the entity was created |
createdByGroupId - HashedId!
|
Organization group that originally created this asset |
currency - String
|
An optional currency string that overrides the group currency |
descriptionId - HashedId
|
Translatable description text for this asset |
events - [Event!]!
|
Associated asset |
Arguments
|
|
externalId - String
|
External id should only be filled by a machine. This is used to couple an external asset with an internal asset. An external Asset is an asset that represents the same physical thing but in a different system. |
group - Group!
|
Group this qr landing asset belongs to |
groupId - HashedId!
|
Owning organization group of this asset |
hasChatbotDocuments - Boolean
|
Whether at least one chatbot-enabled document exists for this asset or its asset type; null when the chatbot feature is off |
hasCheckRules - Boolean!
|
Rules associated with this qr landing asset |
id - HashedId!
|
Unique identifier of the entity |
image - String
|
URL of the asset profile image |
inventoryNumber - String
|
Internal inventory tracking number |
lastCheck - Event
|
Last Check for this qr landing asset |
lastChecks - [Event!]!
|
Last Checks for this qr landing asset |
manuals - [Document!]!
|
Documents attached to this qr landing asset |
Arguments
|
|
operationalCosts - [Cost!]!
|
Cost entries for this qr landing asset |
ownership - AssetOwnership
|
Ownership type (purchased, leased, or rented) |
plateNumber - String
|
Vehicle license plate number |
previousSiteId - HashedId
|
ID of the previously assigned site |
primaryServicePackage - ServicePackageWithSourceType!
|
Service package associated with asset-related entity, first defined of sequence assetType, assetCategory, groupAssignment, and this entity name |
publicId - Int!
|
Public numeric identifier |
purchaseWarrantyEnd - Date
|
Expiration date of the purchase warranty |
qrAttached - Boolean!
|
Whether a QR code label is attached to this asset |
quantity - Int
|
Number of identical items for commodity assets |
resolvedCurrency - Currency!
|
Currency of this asset's money: its own currency, else its group's inherited currency, else EUR |
responsiblePerson - String
|
Person responsible for this asset, falls back to site manager |
robotNeedsAttention - Boolean
|
Whether the robot needs attention (open error, non-healthy status, or low telemetry); null when not a robot or the chatbot feature is off |
ruleEntryEvents - [RuleEntryEvent!]
|
Upcoming rule entry events shown in the QR landing checks section |
serial - String
|
Serial number of the asset |
services - [Service!]!
|
Services linked to this qr landing asset |
Arguments
|
|
site - Site
|
Currently assigned site for the asset |
siteId - HashedId
|
ID of the currently assigned site |
updated - Timestamp
|
Timestamp when the entity was last updated |
uuid - String!
|
UUID used for cross-system asset identification |
Example
{
"BLE": "abc123",
"activeCustomFields": [CustomField],
"activeSiteAssignment": AssetSiteAssignment,
"archivedCustomFields": [CustomField],
"assetCategory": AssetCategory,
"assetCategoryId": HashedId,
"assetPackageAsset": QrLandingAssetPackageAsset,
"assetSiteAssignments": [AssetSiteAssignment],
"assetType": AssetType,
"assetTypeId": HashedId,
"assignedToGroupId": HashedId,
"assignedToPreviousSite": Site,
"availability": "BORROWED",
"checkSchedule": AssetCheckSchedule,
"classification": "GENERIC",
"costLines": [CostLine],
"costs": [CostLine],
"countNonArchivedSiteAssignments": 987,
"created": 1592577642,
"createdByGroupId": HashedId,
"currency": "xyz789",
"descriptionId": HashedId,
"events": [Event],
"externalId": "abc123",
"group": Group,
"groupId": HashedId,
"hasChatbotDocuments": true,
"hasCheckRules": true,
"id": HashedId,
"image": "abc123",
"inventoryNumber": "xyz789",
"lastCheck": Event,
"lastChecks": [Event],
"manuals": [Document],
"operationalCosts": [Cost],
"ownership": "CUSTOMER_MACHINE",
"plateNumber": "xyz789",
"previousSiteId": HashedId,
"primaryServicePackage": ServicePackageWithSourceType,
"publicId": 123,
"purchaseWarrantyEnd": "2007-12-03",
"qrAttached": false,
"quantity": 987,
"resolvedCurrency": "AED",
"responsiblePerson": "xyz789",
"robotNeedsAttention": false,
"ruleEntryEvents": [RuleEntryEvent],
"serial": "xyz789",
"services": [Service],
"site": Site,
"siteId": HashedId,
"updated": 1592577642,
"uuid": "abc123"
}
QrLandingAssetPackage
Description
Curated asset package data exposed on the QR landing page
Fields
| Field Name | Description |
|---|---|
assets - [QrLandingAssetPackageAsset!]!
|
Assets of this package ordered by sort order |
created - Timestamp!
|
Timestamp when the entity was created |
id - HashedId!
|
Unique identifier of the entity |
isDeleted - Boolean!
|
Whether this package was soft-deleted |
name - Translation!
|
Localized package name |
primaryAssetId - HashedId
|
ID of the primary packageAsset asset |
publicId - Int!
|
Public numeric identifier |
siteInheritance - AssetPackageSiteInheritanceEnum!
|
Whether packageAsset sites follow the package site or stay independent |
updated - Timestamp
|
Timestamp when the entity was last updated |
Example
{
"assets": [QrLandingAssetPackageAsset],
"created": 1592577642,
"id": HashedId,
"isDeleted": false,
"name": Translation,
"primaryAssetId": HashedId,
"publicId": 123,
"siteInheritance": "CUSTOM",
"updated": 1592577642
}
QrLandingAssetPackageAsset
Description
Curated package assignment data exposed on the QR landing page
Fields
| Field Name | Description |
|---|---|
asset - QrLandingPackageAsset!
|
Assigned asset |
assetId - HashedId!
|
ID of the assigned asset |
assetPackage - QrLandingAssetPackage!
|
Package this assignment belongs to |
assetPackageId - HashedId!
|
ID of the asset package |
created - Timestamp!
|
Timestamp when the entity was created |
id - HashedId!
|
Unique identifier of the entity |
order - Int!
|
Manual ordering position within the package |
updated - Timestamp
|
Timestamp when the entity was last updated |
Example
{
"asset": QrLandingPackageAsset,
"assetId": HashedId,
"assetPackage": QrLandingAssetPackage,
"assetPackageId": HashedId,
"created": 1592577642,
"id": HashedId,
"order": 123,
"updated": 1592577642
}
QrLandingGatewayAsset
Description
Curated gateway asset data exposed on the QR landing page
Fields
| Field Name | Description |
|---|---|
created - Timestamp!
|
Timestamp when the entity was created |
id - HashedId!
|
Unique identifier of the entity |
serial - String
|
Serial number of the asset |
updated - Timestamp
|
Timestamp when the entity was last updated |
Example
{
"created": 1592577642,
"id": HashedId,
"serial": "abc123",
"updated": 1592577642
}
QrLandingPackageAsset
Description
Curated package packageAsset asset data exposed on the QR landing page
Fields
| Field Name | Description |
|---|---|
assetCategory - AssetCategory!
|
Asset category of a package asset shown on the QR code landing page |
assetType - AssetType!
|
Asset type of a package asset shown on the QR code landing page |
availability - AssetAvailability
|
Availability |
created - Timestamp!
|
Timestamp when the entity was created |
gatewayAsset - QrLandingGatewayAsset
|
Stationary gateway asset this asset is connected through |
id - HashedId!
|
Unique identifier of the entity |
inventoryNumber - String
|
Internal inventory tracking number |
publicId - Int!
|
Public numeric identifier |
serial - String
|
Serial number of the asset |
updated - Timestamp
|
Timestamp when the entity was last updated |
Example
{
"assetCategory": AssetCategory,
"assetType": AssetType,
"availability": "BORROWED",
"created": 1592577642,
"gatewayAsset": QrLandingGatewayAsset,
"id": HashedId,
"inventoryNumber": "abc123",
"publicId": 123,
"serial": "xyz789",
"updated": 1592577642
}
QrLandingProcedureFormData
Description
Qr landing procedure form data record
Fields
| Field Name | Description |
|---|---|
asset - QrLandingAsset
|
Associated asset |
event - Event
|
Associated event |
service - QrLandingService!
|
Service |
site - Site
|
Associated site |
Example
{
"asset": QrLandingAsset,
"event": Event,
"service": QrLandingService,
"site": Site
}
QrLandingRule
Description
Qr landing rule record
Fields
| Field Name | Description |
|---|---|
assignedToGroup - Group
|
Assigned to group |
assignedToGroupId - HashedId!
|
Group the record is assigned to |
created - Timestamp!
|
Timestamp when the entity was created |
createdByGroup - Group
|
Created by group |
createdByGroupId - HashedId
|
Created by group identifier |
createdByUser - User
|
Created by user |
createdByUserId - HashedId!
|
Created by user identifier |
description - Translation
|
Translatable description text explaining the purpose of this rule |
descriptionId - HashedId
|
Description identifier |
enabled - Boolean!
|
This property shows if the Rule details are updateable to the requesting user. Take note on the group hierarchy of the currently assigned group for this Rule in regards to this. |
eventType - EventTypeEnum!
|
Event type |
id - HashedId!
|
Unique identifier of the entity |
isActive - Boolean!
|
Rules can be temporarily disabled. Disabled rules are not evaluated. |
isArchived - Boolean!
|
Archived rules are 'deleted', they can't be edited anymore. Either they were directly deleted, or their definition changed. Whenever a definition changes, a new rule is created and the old is archived. By default archived rules are not retrieved, use the isArchived parameter to also access those. Use "deleted" instead |
isCheckAllowedForUnauthorizedUsers - Boolean!
|
This setting allows anyone to execute the check and allow changes to the connected asset |
isCritical - Boolean!
|
Denotes severity. This rule will create 'critical' notifications that are styled differently. |
isGlobalRule - Boolean!
|
Apply rule for custom assets |
isImmediateNotification - Boolean!
|
Whether immediate notification |
isOneshot - Boolean!
|
One-shot rules are only triggered once. After this, they are deactivated (isActive is false) |
isOnetime - Boolean!
|
One time rules trigger only once per asset. Once a rule is triggered, the asset emitting it is set on a blacklist for this rule. |
manualDeactivation - Boolean!
|
Events created by manualDeactivation rules can only be deactivated (=not ongoing) "manually" through explicit request. They can not be deactivated by incoming module data. |
purpose - RulePurpose
|
System-set flag, denoting automatically created rules through associated functions, like asset working hours |
services - [Service!]!
|
Services linked to this qr landing rule |
Arguments
|
|
source - RuleSource!
|
Source of evaluation. This defines WHEN the rule is evaluated internally, and what RuleBlocks can be used. |
title - Translation
|
Title text |
titleId - HashedId
|
Title identifier |
updated - Timestamp
|
Timestamp when the entity was last updated |
Example
{
"assignedToGroup": Group,
"assignedToGroupId": HashedId,
"created": 1592577642,
"createdByGroup": Group,
"createdByGroupId": HashedId,
"createdByUser": User,
"createdByUserId": HashedId,
"description": Translation,
"descriptionId": HashedId,
"enabled": true,
"eventType": "COST",
"id": HashedId,
"isActive": false,
"isArchived": true,
"isCheckAllowedForUnauthorizedUsers": false,
"isCritical": false,
"isGlobalRule": false,
"isImmediateNotification": true,
"isOneshot": false,
"isOnetime": true,
"manualDeactivation": true,
"purpose": "GEOFENCE",
"services": [Service],
"source": "BLE",
"title": Translation,
"titleId": HashedId,
"updated": 1592577642
}
QrLandingService
Description
Qr landing service record
Fields
| Field Name | Description |
|---|---|
assigneeAutomation - AssigneeAutomation!
|
Rule governing automatic ticket handler assignment when a ticket is created from this service |
availableHandlers - [ServiceTicketHandler!]!
|
Available Handlers for this qr landing service |
created - Timestamp!
|
Timestamp when the entity was created |
createdByGroupId - HashedId!
|
Created by group identifier |
iconUrl - String
|
URL to the icon image displayed alongside this service in the UI |
id - HashedId!
|
Unique identifier of the entity |
isServiceCheck - Boolean!
|
Whether this service acts as a periodic maintenance check rather than a one-time request |
preset - ServicePreset!
|
Predefined configuration template applied to this service (e.g. regular, BLE, QR landing) |
procedureTemplate - ProcedureTemplate
|
Procedure Template for this qr landing service |
procedureTemplateId - HashedId
|
Procedure template identifier |
servicePartner - AvailableHandler
|
Services linked to this qr landing service |
serviceTags - [QrLandingServiceTag!]!
|
Tags this qr landing service attaches for each condition tag slot |
title - Translation!
|
Translated name of the qr landing service |
titleId - HashedId!
|
References the i18n translation key used to resolve the localized service display name |
type - ServiceType!
|
Classification that determines service behavior, such as regular form, BLE interaction, QR landing page, or Jotform integration |
updated - Timestamp
|
Timestamp when the entity was last updated |
Example
{
"assigneeAutomation": "AUTO_ASSIGN",
"availableHandlers": [ServiceTicketHandler],
"created": 1592577642,
"createdByGroupId": HashedId,
"iconUrl": "xyz789",
"id": HashedId,
"isServiceCheck": false,
"preset": "BLE",
"procedureTemplate": ProcedureTemplate,
"procedureTemplateId": HashedId,
"servicePartner": AvailableHandler,
"serviceTags": [QrLandingServiceTag],
"title": Translation,
"titleId": HashedId,
"type": "JOT_FORM",
"updated": 1592577642
}
QrLandingServiceTag
Description
Tag a qr landing service attaches for a condition tag slot
Fields
| Field Name | Description |
|---|---|
created - Timestamp!
|
Timestamp when the entity was created |
id - HashedId!
|
Unique identifier of the entity |
slot - TicketTagSlot!
|
Condition tag slot this tag fills |
tagId - HashedId!
|
Tag identifier |
updated - Timestamp
|
Timestamp when the entity was last updated |
Example
{
"created": 1592577642,
"id": HashedId,
"slot": "TAG_1",
"tagId": HashedId,
"updated": 1592577642
}
RegistrationRequest
Description
Registration requests provide a way for the users of ToolSense platform's first-party customers to request their registration. Through the clients, the users are able to provide necessary information for the creation of their own (sub)group, and the first user in this group. The request is processed by a customer administrator who actually creates these items.
Fields
| Field Name | Description |
|---|---|
acceptedTermsVersionId - HashedId
|
Accepted terms version identifier |
assetsCount - Int!
|
Number of assets |
companyAddress - String!
|
Company address of the requesting organization |
created - Timestamp!
|
Timestamp when the entity was created |
customerNumber - String
|
Customer number |
dealerName - String
|
Dealer name |
denialMessage - String
|
Denial message |
email - String!
|
Email address |
firstname - String
|
First name of the requesting user |
forGroup - Group!
|
Parent group this registration was requested under |
forGroupId - HashedId!
|
Identifier of the parent group this registration is requested under |
groupName - String!
|
Group name |
id - HashedId!
|
Unique identifier of the entity |
isActive - Boolean!
|
Whether this record is currently active |
isDenied - Boolean!
|
Whether this request was denied by an administrator |
isProcessed - Boolean!
|
Whether this request has been reviewed and processed |
languageId - HashedId!
|
Language preference identifier |
lastname - String
|
Last name of the requesting user |
phone - String
|
Phone number |
processedByUser - User
|
Administrator who processed this registration request |
processedByUserId - HashedId
|
Processed by user identifier |
resultingGroup - Group
|
Organization group created as a result of processing this request |
resultingGroupId - HashedId
|
Resulting group identifier |
resultingUser - User
|
User account created as a result of processing this request |
resultingUserId - HashedId
|
Resulting user identifier |
salesRepresentative - String
|
Sales representative |
updated - Timestamp
|
Timestamp when the entity was last updated |
vatNumber - String
|
VAT number of the requesting organization |
Example
{
"acceptedTermsVersionId": HashedId,
"assetsCount": 123,
"companyAddress": "abc123",
"created": 1592577642,
"customerNumber": "abc123",
"dealerName": "xyz789",
"denialMessage": "abc123",
"email": "xyz789",
"firstname": "xyz789",
"forGroup": Group,
"forGroupId": HashedId,
"groupName": "abc123",
"id": HashedId,
"isActive": true,
"isDenied": false,
"isProcessed": true,
"languageId": HashedId,
"lastname": "xyz789",
"phone": "xyz789",
"processedByUser": User,
"processedByUserId": HashedId,
"resultingGroup": Group,
"resultingGroupId": HashedId,
"resultingUser": User,
"resultingUserId": HashedId,
"salesRepresentative": "xyz789",
"updated": 1592577642,
"vatNumber": "xyz789"
}
RelatedGroup
Description
Group assignment linking an asset to an organization
Example
{
"depth": 987,
"id": HashedId,
"name": "xyz789"
}
RemoveAssetFromRuleInput
ReportFormatEnum
Description
Output format for fleet reports
Values
| Enum Value | Description |
|---|---|
|
|
Example
"PDF"
ReportResult
Description
Result of a fleet report generation request
Fields
| Field Name | Description |
|---|---|
downloadUrl - String
|
URL to download the generated report |
errorMessage - String
|
Error message if report generation failed |
expiresAt - String
|
ISO timestamp when the download URL expires |
jobId - HashedId!
|
Report job identifier |
status - ReportStatusEnum!
|
Current status of the report job |
Example
{
"downloadUrl": "abc123",
"errorMessage": "xyz789",
"expiresAt": "xyz789",
"jobId": HashedId,
"status": "FAILED"
}
ReportStatusEnum
Description
Status of a report generation job
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
Example
"FAILED"
ReportTypeEnum
Description
Type of fleet report to generate
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
Example
"FLEET_PERFORMANCE"
RequestForAsset
Description
Input to register a new asset access request
Example
{
"document": Upload,
"permalink": "xyz789",
"serial": "xyz789"
}
RequestGroupInput
Description
Request group Input data for registration request process target group
Example
{
"customerNumber": "xyz789",
"id": HashedId,
"isCustomer": true,
"name": "abc123",
"parentGroupId": HashedId,
"vatNumber": "abc123"
}
RescheduledEventDataDto
Description
Details of a rescheduling action, capturing the date change, who performed it, and when
Fields
| Field Name | Description |
|---|---|
byUserId - Int
|
User who performed the rescheduling |
created - Timestamp!
|
When this rescheduling action was recorded |
newDate - Timestamp!
|
Date the event was rescheduled to |
noteId - Int
|
Note attached to explain the reason for rescheduling |
oldDate - Timestamp!
|
Original date before rescheduling |
Example
{
"byUserId": 123,
"created": 1592577642,
"newDate": 1592577642,
"noteId": 987,
"oldDate": 1592577642
}
Reservation
Description
A time-bound reservation of assets for planned usage
Fields
| Field Name | Description |
|---|---|
approvedAt - Date
|
Date when the reservation was approved by the third party |
cancelledAt - DateTime
|
Date when the reservation was cancelled |
cancelledByUser - User
|
User who cancelled this reservation |
cancelledByUserId - HashedId
|
User who cancelled this reservation |
confirmedAt - DateTime
|
Date when the reservation was confirmed |
confirmedByUser - User
|
User who confirmed this reservation |
confirmedByUserId - HashedId
|
User who confirmed this reservation |
created - Timestamp!
|
Timestamp when the entity was created |
createdByGroup - Group!
|
Organization group that owns this reservation |
createdByGroupId - HashedId!
|
Group under which the reservation was created |
createdByUser - User
|
User who created this reservation |
createdByUserId - HashedId
|
User who created this reservation |
expectedArrivalAt - Date
|
Estimated date the assets are expected on-site, based on the earliest line-item start |
externalErpId - String
|
External ERP system identifier |
externalErpRequestedBy - String
|
External-system identifier of the user who raised the requisition |
id - HashedId!
|
Unique identifier of the entity |
issues - [ReservationLineItemIssue!]!
|
All issues reported for this reservation |
lineItems - [ReservationLineItem!]!
|
Line items belonging to this reservation |
notes - String
|
Additional notes for the reservation |
publicId - Int!
|
Public-facing numeric reservation identifier |
rejectedAt - DateTime
|
Date when the reservation was rejected |
rejectedByUser - User
|
User who rejected this reservation |
rejectedByUserId - HashedId
|
User who rejected this reservation |
rejectionReason - String
|
Reason provided when the reservation was rejected |
site - Site!
|
Site where the reservation applies |
siteId - HashedId!
|
Site where the reservation applies |
status - ReservationStatusEnum!
|
Current status of the reservation |
tickets - [Ticket!]!
|
Linked tickets for this reservation |
updated - Timestamp
|
Timestamp when the entity was last updated |
uuid - String!
|
UUID for external system correlation |
Example
{
"approvedAt": "2007-12-03",
"cancelledAt": "2007-12-03T10:15:30Z",
"cancelledByUser": User,
"cancelledByUserId": HashedId,
"confirmedAt": "2007-12-03T10:15:30Z",
"confirmedByUser": User,
"confirmedByUserId": HashedId,
"created": 1592577642,
"createdByGroup": Group,
"createdByGroupId": HashedId,
"createdByUser": User,
"createdByUserId": HashedId,
"expectedArrivalAt": "2007-12-03",
"externalErpId": "abc123",
"externalErpRequestedBy": "xyz789",
"id": HashedId,
"issues": [ReservationLineItemIssue],
"lineItems": [ReservationLineItem],
"notes": "xyz789",
"publicId": 123,
"rejectedAt": "2007-12-03T10:15:30Z",
"rejectedByUser": User,
"rejectedByUserId": HashedId,
"rejectionReason": "abc123",
"site": Site,
"siteId": HashedId,
"status": "CANCELLED",
"tickets": [Ticket],
"updated": 1592577642,
"uuid": "xyz789"
}
ReservationCreateInput
Description
Data required to create a new reservation
Fields
| Input Field | Description |
|---|---|
approvedAt - Date
|
Date when the reservation was approved by the third party |
externalErpId - String
|
External ERP system identifier |
externalErpRequestedBy - String
|
External-system identifier of the user who raised the requisition |
lineItems - [ReservationLineItemUpsertInput!]!
|
Line items for the reservation |
notes - String
|
Additional notes for the reservation |
siteId - HashedId!
|
Site where the reservation applies |
Example
{
"approvedAt": "2007-12-03",
"externalErpId": "xyz789",
"externalErpRequestedBy": "abc123",
"lineItems": [ReservationLineItemUpsertInput],
"notes": "xyz789",
"siteId": HashedId
}
ReservationLineItem
Description
A line item within a reservation specifying category, quantity, and date range
Fields
| Field Name | Description |
|---|---|
allocatedAssets - [Asset!]!
|
Assets allocated to this line item |
allocatedCount - Int!
|
Number of assets currently allocated |
assetCategory - AssetCategory!
|
Asset category for this line item |
assetCategoryId - HashedId!
|
Asset category for this line item |
assetType - AssetType
|
Specific asset type for this line item |
assetTypeId - HashedId
|
Specific asset type for this line item |
created - Timestamp!
|
Timestamp when the entity was created |
from - Date!
|
Start date of the reservation line item |
id - HashedId!
|
Unique identifier of the entity |
issues - [ReservationLineItemIssue!]!
|
Issues reported for this line item |
order - Int!
|
Sort position within the reservation |
quantity - Int!
|
Number of assets requested |
reservationId - HashedId!
|
Reservation this line item belongs to |
until - Date!
|
End date of the reservation line item |
updated - Timestamp
|
Timestamp when the entity was last updated |
Example
{
"allocatedAssets": [Asset],
"allocatedCount": 987,
"assetCategory": AssetCategory,
"assetCategoryId": HashedId,
"assetType": AssetType,
"assetTypeId": HashedId,
"created": 1592577642,
"from": "2007-12-03",
"id": HashedId,
"issues": [ReservationLineItemIssue],
"order": 987,
"quantity": 123,
"reservationId": HashedId,
"until": "2007-12-03",
"updated": 1592577642
}
ReservationLineItemAllocateAssetsInput
Description
Data required to allocate assets to a reservation line item
Fields
| Input Field | Description |
|---|---|
assetIds - [HashedId!]!
|
Asset identifiers to allocate |
Example
{"assetIds": [HashedId]}
ReservationLineItemDeallocateAssetsInput
Description
Data required to deallocate assets from a reservation line item
Fields
| Input Field | Description |
|---|---|
assetIds - [HashedId!]!
|
Asset identifiers to deallocate |
Example
{"assetIds": [HashedId]}
ReservationLineItemIssue
Description
An issue reported against a reservation line item during fulfillment
Fields
| Field Name | Description |
|---|---|
assets - [Asset!]!
|
Assets affected by this reservation issue |
attachments - [Document!]!
|
Documents attached to this reservation line item issue |
created - Timestamp!
|
Timestamp when the entity was created |
createdByUser - User!
|
User who reported the issue |
createdByUserId - HashedId!
|
User who reported the issue |
id - HashedId!
|
Unique identifier of the entity |
notes - String
|
Additional notes about the issue |
reason - ReservationLineItemIssueReasonEnum!
|
Reason for reporting the issue |
reservationLineItem - ReservationLineItem!
|
Parent line item for this issue |
reservationLineItemId - HashedId!
|
Line item this issue was reported against |
ticket - Ticket
|
Ticket this issue was reported from, if any |
ticketId - HashedId
|
Ticket this issue was reported from |
updated - Timestamp
|
Timestamp when the entity was last updated |
Example
{
"assets": [Asset],
"attachments": [Document],
"created": 1592577642,
"createdByUser": User,
"createdByUserId": HashedId,
"id": HashedId,
"notes": "xyz789",
"reason": "DAMAGED",
"reservationLineItem": ReservationLineItem,
"reservationLineItemId": HashedId,
"ticket": Ticket,
"ticketId": HashedId,
"updated": 1592577642
}
ReservationLineItemIssueCreateInput
Fields
| Input Field | Description |
|---|---|
assetIds - [HashedId!]
|
Affected asset IDs. Empty list or omitted means the issue applies to the line item as a whole. |
attachments - [Upload!]
|
Raw file uploads stored as Document rows linked to the issue. Empty list or omitted means no attachments. |
notes - String
|
Additional notes about the issue |
reason - ReservationLineItemIssueReasonEnum!
|
Reason for reporting the issue |
ticketId - HashedId
|
Ticket this issue was reported from |
Example
{
"assetIds": [HashedId],
"attachments": [Upload],
"notes": "abc123",
"reason": "DAMAGED",
"ticketId": HashedId
}
ReservationLineItemIssueReasonEnum
Description
Reason for reporting an issue against a reservation line item
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
Example
"DAMAGED"
ReservationLineItemUpsertInput
Description
Data for a reservation line item
Fields
| Input Field | Description |
|---|---|
assetCategoryId - HashedId!
|
Asset category for this line item |
assetTypeId - HashedId
|
Specific asset type for this line item |
from - Date!
|
Start date of the reservation line item |
id - HashedId
|
Line item identifier for matching during update |
quantity - Int!
|
Number of assets requested |
until - Date!
|
End date of the reservation line item |
Example
{
"assetCategoryId": HashedId,
"assetTypeId": HashedId,
"from": "2007-12-03",
"id": HashedId,
"quantity": 987,
"until": "2007-12-03"
}
ReservationPaginatedResult
Description
Paginated list of reservations with cursor-based navigation
Fields
| Field Name | Description |
|---|---|
meta - PaginationMeta!
|
Pagination metadata including total count and page info |
rows - [Reservation!]!
|
List of records for the current page |
total - Int!
|
Total amount |
Example
{
"meta": PaginationMeta,
"rows": [Reservation],
"total": 123
}
ReservationRejectInput
Description
Data required to reject a reservation
Fields
| Input Field | Description |
|---|---|
reason - String!
|
Reason for rejecting the reservation |
Example
{"reason": "xyz789"}
ReservationStatusEnum
Description
Status of a reservation through its lifecycle
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"CANCELLED"
ReservationTicketFieldAddAssetsInput
Fields
| Input Field | Description |
|---|---|
attachments - [Upload!]!
|
Files attached to the change |
comment - String
|
Explanation for the item change |
fieldId - HashedId!
|
Content field being changed |
ticketId - HashedId!
|
Ticket to modify items for |
Example
{
"attachments": [Upload],
"comment": "xyz789",
"fieldId": HashedId,
"ticketId": HashedId
}
ReservationTicketFieldRemoveAssetsInput
Fields
| Input Field | Description |
|---|---|
attachments - [Upload!]!
|
Files attached to the change |
comment - String
|
Explanation for the item change |
fieldId - HashedId!
|
Content field being changed |
ticketId - HashedId!
|
Ticket to modify items for |
Example
{
"attachments": [Upload],
"comment": "xyz789",
"fieldId": HashedId,
"ticketId": HashedId
}
ReservationUpdateInput
Description
Data required to update an existing reservation
Fields
| Input Field | Description |
|---|---|
approvedAt - Date
|
Date when the reservation was approved by the third party |
externalErpId - String
|
External ERP system identifier |
externalErpRequestedBy - String
|
External-system identifier of the user who raised the requisition |
lineItems - [ReservationLineItemUpsertInput!]!
|
Line items for the reservation |
notes - String
|
Additional notes for the reservation |
siteId - HashedId!
|
Site where the reservation applies |
Example
{
"approvedAt": "2007-12-03",
"externalErpId": "xyz789",
"externalErpRequestedBy": "abc123",
"lineItems": [ReservationLineItemUpsertInput],
"notes": "xyz789",
"siteId": HashedId
}
ResponsibilityReference
ResponsibilitySummary
Fields
| Field Name | Description |
|---|---|
groupTicketHandlerCount - Int!
|
Complete count of accessible active group ticket handler memberships |
groupTicketHandlers - [ResponsibilityReference!]!
|
Up to ten accessible active group ticket handlers the caller belongs to |
managedSiteCount - Int!
|
Complete count of accessible managed sites |
managedSites - [ResponsibilityReference!]!
|
Up to ten accessible sites currently managed by the caller |
teamCount - Int!
|
Complete count of accessible team memberships |
teams - [ResponsibilityReference!]!
|
Up to ten accessible teams the caller belongs to |
Example
{
"groupTicketHandlerCount": 123,
"groupTicketHandlers": [ResponsibilityReference],
"managedSiteCount": 123,
"managedSites": [ResponsibilityReference],
"teamCount": 987,
"teams": [ResponsibilityReference]
}
RestoreBlockerEnum
Description
Reason a soft-deleted asset, asset type, asset category, site or group cannot be restored: a deleted parent, or a live asset with the same type and serial
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"PARENT_ASSET_CATEGORY_DELETED"
RestrictedServicePackage
Description
Place holder for a service package that the user is not allowed to see, but still needs to be acknowledged by front end
Fields
| Field Name | Description |
|---|---|
created - Timestamp!
|
Timestamp when the entity was created |
id - HashedId!
|
Unique identifier of the entity |
restrictionReason - ServicePackageRestrictionReason!
|
Restriction reason |
updated - Timestamp
|
Timestamp when the entity was last updated |
Example
{
"created": 1592577642,
"id": HashedId,
"restrictionReason": "NOT_IN_CUSTOMER_TREE",
"updated": 1592577642
}
Robot
Description
Robot asset in fleet context with real-time status and optional range metrics
Fields
| Field Name | Description |
|---|---|
assetTypeName - String
|
Asset type name |
batteryLevelPercent - Float
|
Current battery level percentage |
brand - RobotBrand!
|
Robot brand for this robot |
chargingStatus - Boolean!
|
Whether the robot is currently charging |
chemicalConsumptionSeries - [RobotFleetTimeSeriesPoint!]!
|
Chemical consumption time series for the selected range |
cleaningAreaM2 - Float!
|
Cleaning area covered in square meters for the selected range |
cleaningAreaSeries - [RobotFleetTimeSeriesPoint!]!
|
Cleaning area time series for the selected range |
cleaningEfficiencyM2H - Float
|
Cleaning efficiency in square meters per hour for the selected range |
cleaningEfficiencySeries - [RobotFleetTimeSeriesPoint!]!
|
Cleaning efficiency time series for the selected range |
componentHealth - [RobotComponentHealth!]
|
Component health status for this robot |
connectivityCellular - Float
|
Cellular signal strength percentage |
connectivityWifi - Float
|
WiFi signal strength percentage |
contractDates - RobotContractDates
|
Contract date ranges for this robot |
currentTaskName - String
|
Name of the currently executing task |
dustBinLevelPercent - Float
|
Current dust bin fill level percentage |
energyConsumptionKwh - Float!
|
Total energy consumption in kWh for the selected range |
estimatedCo2SavedKg - Float!
|
Estimated CO2 saved in kg for the selected range |
id - HashedId!
|
Robot asset identifier |
image - String
|
Robot image URL |
isStatusStale - Boolean!
|
Whether the latest sync skipped the robot or the status is older than about twice the sync interval |
lastContactedAt - String
|
ISO timestamp of the last vendor contact the provider reports, else of the last status sync |
lastSyncedAt - DateTime
|
When ToolSense last refreshed the status from the vendor |
lastWorkedAt - String
|
ISO timestamp of the latest mission this robot worked on (falls back to mission start when no finish was reported) |
name - String!
|
Robot display name |
publicId - Int!
|
Public numeric identifier |
recentErrors - [RobotFleetError!]!
|
Recent error events for this robot |
recoveryWaterLevelPercent - Float
|
Recovery water tank level percentage |
runtimeHours - Float!
|
Runtime in hours for the selected range |
runtimeSeries - [RobotFleetTimeSeriesPoint!]!
|
Runtime time series for the selected range |
serial - String
|
Robot serial number |
siteId - HashedId
|
Site this robot is assigned to |
siteName - String
|
Site name where robot is assigned |
softwareVersion - String
|
Current software version of the robot |
status - RobotStatusEnum!
|
Current operational status |
subState - String
|
Detailed sub-state within the current status |
syncSkipReason - RobotSyncSkipReasonEnum
|
Why the latest sync did not refresh the status, null when it did |
waterConsumptionLiters - Float!
|
Total water consumption in liters for the selected range |
waterConsumptionSeries - [RobotFleetTimeSeriesPoint!]!
|
Water consumption time series for the selected range |
waterLevelPercent - Float
|
Current water tank level percentage |
Example
{
"assetTypeName": "abc123",
"batteryLevelPercent": 123.45,
"brand": "CENOBOTS",
"chargingStatus": false,
"chemicalConsumptionSeries": [
RobotFleetTimeSeriesPoint
],
"cleaningAreaM2": 987.65,
"cleaningAreaSeries": [RobotFleetTimeSeriesPoint],
"cleaningEfficiencyM2H": 987.65,
"cleaningEfficiencySeries": [RobotFleetTimeSeriesPoint],
"componentHealth": [RobotComponentHealth],
"connectivityCellular": 123.45,
"connectivityWifi": 123.45,
"contractDates": RobotContractDates,
"currentTaskName": "abc123",
"dustBinLevelPercent": 987.65,
"energyConsumptionKwh": 987.65,
"estimatedCo2SavedKg": 987.65,
"id": HashedId,
"image": "abc123",
"isStatusStale": false,
"lastContactedAt": "xyz789",
"lastSyncedAt": "2007-12-03T10:15:30Z",
"lastWorkedAt": "abc123",
"name": "abc123",
"publicId": 123,
"recentErrors": [RobotFleetError],
"recoveryWaterLevelPercent": 123.45,
"runtimeHours": 123.45,
"runtimeSeries": [RobotFleetTimeSeriesPoint],
"serial": "xyz789",
"siteId": HashedId,
"siteName": "abc123",
"softwareVersion": "abc123",
"status": "CHARGING",
"subState": "xyz789",
"syncSkipReason": "DUPLICATE_SERIAL",
"waterConsumptionLiters": 987.65,
"waterConsumptionSeries": [RobotFleetTimeSeriesPoint],
"waterLevelPercent": 987.65
}
RobotAggregationPeriodEnum
Description
Time-bucket granularity for robot aggregations
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
Example
"DAY"
RobotAttentionEntry
Description
A robot requiring attention due to errors or consumable issues
Fields
| Field Name | Description |
|---|---|
assetId - HashedId!
|
Robot asset identifier |
assetName - String!
|
Robot display name |
issue - String!
|
Description of the issue requiring attention |
severity - RobotErrorSeverityEnum!
|
Severity of the attention item |
siteName - String
|
Site name where the robot is assigned |
Example
{
"assetId": HashedId,
"assetName": "abc123",
"issue": "xyz789",
"severity": "CRITICAL",
"siteName": "xyz789"
}
RobotBrand
Description
Subset of integration providers representing robot brands the fleet feature supports
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"CENOBOTS"
RobotBrandCount
Description
Robot brand together with the number of robots in the fleet using it
Fields
| Field Name | Description |
|---|---|
brand - RobotBrand!
|
Robot brand |
count - Int!
|
Number of robots in the fleet using this brand |
Example
{"brand": "CENOBOTS", "count": 987}
RobotComponentHealth
Description
Health status of a robot component with lifespan tracking
Fields
| Field Name | Description |
|---|---|
lifespanHours - Float!
|
Total expected lifespan in hours |
remainingPercent - Float
|
Remaining lifespan percentage, or null when the robot does not report it |
type - RobotComponentTypeEnum!
|
Component type identifier |
usedHours - Float!
|
Hours of usage accumulated |
Example
{
"lifespanHours": 123.45,
"remainingPercent": 987.65,
"type": "BRUSH",
"usedHours": 123.45
}
RobotComponentTypeEnum
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
Example
"BRUSH"
RobotConsumableStatus
Description
Consumable component status for a robot asset
Fields
| Field Name | Description |
|---|---|
assetId - HashedId!
|
Robot asset identifier |
assetName - String!
|
Robot display name |
component - String!
|
Consumable component name |
estimatedReplacementDate - String
|
Estimated replacement date ISO string |
remainingCycles - Int
|
Remaining cleaning cycles |
remainingPercent - Float!
|
Remaining life percentage 0-100 |
status - RobotConsumableStatusEnum!
|
Current status of the consumable |
totalCycles - Int
|
Total cleaning cycles |
totalLifeHours - Float!
|
Total expected life in hours |
usedHours - Float!
|
Hours used so far |
Example
{
"assetId": HashedId,
"assetName": "abc123",
"component": "xyz789",
"estimatedReplacementDate": "xyz789",
"remainingCycles": 987,
"remainingPercent": 123.45,
"status": "CRITICAL",
"totalCycles": 987,
"totalLifeHours": 123.45,
"usedHours": 987.65
}
RobotConsumableStatusEnum
Description
Status level of a consumable component
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
Example
"CRITICAL"
RobotContractDates
Description
Contract date ranges for rental, lease, and service agreements
Fields
| Field Name | Description |
|---|---|
leaseEnd - String
|
Lease contract end date |
leaseStart - String
|
Lease contract start date |
rentalEnd - String
|
Rental contract end date |
rentalStart - String
|
Rental contract start date |
serviceEnd - String
|
Service contract end date |
serviceStart - String
|
Service contract start date |
Example
{
"leaseEnd": "abc123",
"leaseStart": "xyz789",
"rentalEnd": "abc123",
"rentalStart": "abc123",
"serviceEnd": "xyz789",
"serviceStart": "abc123"
}
RobotErrorCategoryEnum
Description
Category of robot error condition
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"BATTERY"
RobotErrorSeverityEnum
Description
Severity level of a robot error
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
Example
"CRITICAL"
RobotFleetAlert
Description
Active fleet-wide alert for robots requiring attention
Fields
| Field Name | Description |
|---|---|
alertType - RobotFleetAlertTypeEnum!
|
Type of alert condition |
assetId - HashedId!
|
Affected robot asset identifier |
assetName - String!
|
Affected robot display name |
brand - RobotBrand!
|
Robot brand of the affected robot |
message - String!
|
Human-readable alert message |
severity - RobotFleetAlertSeverityEnum!
|
Alert severity level |
siteName - String
|
Site name where the affected robot is assigned |
timestamp - String!
|
ISO timestamp when the alert was detected |
Example
{
"alertType": "ERROR",
"assetId": HashedId,
"assetName": "abc123",
"brand": "CENOBOTS",
"message": "xyz789",
"severity": "CRITICAL",
"siteName": "abc123",
"timestamp": "xyz789"
}
RobotFleetAlertSeverityEnum
Description
Severity levels for robot fleet alerts
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
Example
"CRITICAL"
RobotFleetAlertTypeEnum
Description
Types of alert conditions detected for fleet robots
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"ERROR"
RobotFleetAssetsPaginatedResult
Description
Robot fleet assets paginated result record
Fields
| Field Name | Description |
|---|---|
meta - PaginationMeta!
|
Pagination metadata including total count and page info |
rows - [Robot!]
|
List of records for the current page |
Example
{
"meta": PaginationMeta,
"rows": [Robot]
}
RobotFleetError
Description
A robot error event with code, message, and severity
Fields
| Field Name | Description |
|---|---|
code - String!
|
Provider-specific error code |
message - String!
|
Human-readable error message |
severity - RobotFleetAlertSeverityEnum!
|
Error severity level |
timestamp - DateTime!
|
ISO timestamp when the error occurred |
Example
{
"code": "abc123",
"message": "xyz789",
"severity": "CRITICAL",
"timestamp": "2007-12-03T10:15:30Z"
}
RobotFleetErrorFilterInput
Description
Optional filters for robot fleet error queries
Fields
| Input Field | Description |
|---|---|
brand - RobotBrand
|
Filter by robot brand |
categories - [RobotErrorCategoryEnum!]
|
Filter by one or more error categories |
resolved - Boolean
|
Filter by resolved status |
searchTerm - String
|
Filter by search term |
severities - [RobotErrorSeverityEnum!]
|
Filter by one or more error severities |
siteId - HashedId
|
Filter by site |
Example
{
"brand": "CENOBOTS",
"categories": ["BATTERY"],
"resolved": false,
"searchTerm": "abc123",
"severities": ["CRITICAL"],
"siteId": HashedId
}
RobotFleetErrorItem
Description
A robot error event with category, severity, and resolution tracking
Fields
| Field Name | Description |
|---|---|
acknowledgedAt - DateTime
|
ISO timestamp when the error was acknowledged |
acknowledgedByUserId - HashedId
|
Hashed user id of the operator who acknowledged the error |
assetId - HashedId!
|
Robot asset identifier |
assetName - String!
|
Affected robot display name |
brand - RobotBrand!
|
Robot brand that reported the error |
category - RobotErrorCategoryEnum!
|
Error category classification |
description - String
|
Detailed error description |
id - HashedId!
|
Error identifier |
missionId - HashedId
|
Related mission identifier if applicable |
occurredAt - DateTime!
|
ISO timestamp when the error occurred |
providerErrorCode - String
|
Provider-specific error code |
resolvedAt - DateTime
|
ISO timestamp when the error was resolved |
severity - RobotErrorSeverityEnum!
|
Error severity level |
siteId - HashedId
|
Site where the error occurred |
siteName - String
|
Site name where the affected robot is assigned |
title - String!
|
Human-readable error title |
Example
{
"acknowledgedAt": "2007-12-03T10:15:30Z",
"acknowledgedByUserId": HashedId,
"assetId": HashedId,
"assetName": "xyz789",
"brand": "CENOBOTS",
"category": "BATTERY",
"description": "xyz789",
"id": HashedId,
"missionId": HashedId,
"occurredAt": "2007-12-03T10:15:30Z",
"providerErrorCode": "abc123",
"resolvedAt": "2007-12-03T10:15:30Z",
"severity": "CRITICAL",
"siteId": HashedId,
"siteName": "abc123",
"title": "abc123"
}
RobotFleetErrorSortEnum
Description
Columns the fleet robot errors can be sorted by
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
Example
"OCCURRED_AT"
RobotFleetErrorsPaginated
Description
Paginated list of robot errors with total count
Fields
| Field Name | Description |
|---|---|
items - [RobotFleetErrorItem!]!
|
List of robot errors |
openCriticalCount - Int!
|
Total number of open critical errors across all pages |
openWarningCount - Int!
|
Total number of open warning errors across all pages |
totalCount - Int!
|
Total number of errors matching the query |
Example
{
"items": [RobotFleetErrorItem],
"openCriticalCount": 123,
"openWarningCount": 123,
"totalCount": 987
}
RobotFleetHealthScore
Description
Fleet-wide health score with key summary metrics
Example
{
"activeNow": 123,
"healthScore": 987.65,
"missionsToday": 987,
"siteCount": 123,
"totalRobots": 123
}
RobotFleetKpi
Description
Fleet-wide or site-level aggregated KPI metrics for robot fleet
Fields
| Field Name | Description |
|---|---|
chemicalConsumption - RobotFleetKpiItem!
|
Total chemical consumption in liters over the selected period |
cleaningArea - RobotFleetKpiItem!
|
Total cleaning area covered in square meters over the selected period |
cleaningEfficiency - RobotFleetKpiItem!
|
Average cleaning efficiency in square meters per hour over the selected period |
energyConsumption - RobotFleetKpiItem!
|
Total energy consumption in kilowatt-hours over the selected period |
runtime - RobotFleetKpiItem!
|
Total runtime in hours over the selected period |
taskCount - RobotFleetKpiItem!
|
Total task count over the selected period |
utilizationPercent - Float!
|
Fleet utilization percentage |
waterConsumption - RobotFleetKpiItem!
|
Total water consumption in liters over the selected period |
Example
{
"chemicalConsumption": RobotFleetKpiItem,
"cleaningArea": RobotFleetKpiItem,
"cleaningEfficiency": RobotFleetKpiItem,
"energyConsumption": RobotFleetKpiItem,
"runtime": RobotFleetKpiItem,
"taskCount": RobotFleetKpiItem,
"utilizationPercent": 123.45,
"waterConsumption": RobotFleetKpiItem
}
RobotFleetKpiItem
Description
A single KPI metric with value, unit, trend delta, and sparkline series
Fields
| Field Name | Description |
|---|---|
relativeChange - Float
|
Trend delta percentage vs previous period |
series - [RobotFleetTimeSeriesPoint!]!
|
Sparkline time series for the metric |
unit - String
|
Display unit for the metric value |
value - Float
|
Aggregated metric value over the selected period |
Example
{
"relativeChange": 987.65,
"series": [RobotFleetTimeSeriesPoint],
"unit": "xyz789",
"value": 987.65
}
RobotFleetMissionListFilterInput
Description
Filter criteria for narrowing down robot fleet mission results
Fields
| Input Field | Description |
|---|---|
relatedFilters - [FilterParamsInput]
|
Additional filter parameters for related robot mission fields |
searchTerm - String
|
Text to match against robot mission fields |
siteId - HashedId
|
Filter by site |
Example
{
"relatedFilters": [FilterParamsInput],
"searchTerm": "xyz789",
"siteId": HashedId
}
RobotFleetMissionStatusBreakdown
Description
Fleet-wide mission counts grouped by status for a date range
Fields
| Field Name | Description |
|---|---|
cancelledCount - Int!
|
Number of cancelled missions |
completedCount - Int!
|
Number of completed missions |
failedCount - Int!
|
Number of failed missions |
finishedCount - Int!
|
Number of missions with a finished timestamp |
inProgressCount - Int!
|
Number of missions currently in progress |
totalCount - Int!
|
Total number of missions matching the date range and brand |
Example
{
"cancelledCount": 987,
"completedCount": 123,
"failedCount": 987,
"finishedCount": 123,
"inProgressCount": 987,
"totalCount": 123
}
RobotFleetMissionsPaginated
Description
Paginated list of robot missions with total count
Fields
| Field Name | Description |
|---|---|
items - [RobotMission!]!
|
List of robot missions |
totalCount - Int!
|
Total number of missions matching the query |
Example
{"items": [RobotMission], "totalCount": 987}
RobotFleetOverviewTrendEntry
Description
A trend entry with current value, relative change, and sparkline series
Fields
| Field Name | Description |
|---|---|
percent - Float!
|
Current period percentage value |
relativeChange - Float
|
Relative change percentage vs previous period |
series - [RobotFleetTimeSeriesPoint!]!
|
Daily sparkline series |
Example
{
"percent": 123.45,
"relativeChange": 123.45,
"series": [RobotFleetTimeSeriesPoint]
}
RobotFleetOverviewTrends
Description
Sparkline trend data for fleet overview dashboard cards
Fields
| Field Name | Description |
|---|---|
efficiency - RobotFleetOverviewTrendEntry!
|
Cleaning efficiency trend with sparkline |
successRate - RobotFleetOverviewTrendEntry!
|
Mission success rate trend with sparkline |
sustainability - RobotFleetOverviewTrendEntry!
|
Sustainability score trend with sparkline |
utilization - RobotFleetOverviewTrendEntry!
|
Utilization trend with sparkline |
Example
{
"efficiency": RobotFleetOverviewTrendEntry,
"successRate": RobotFleetOverviewTrendEntry,
"sustainability": RobotFleetOverviewTrendEntry,
"utilization": RobotFleetOverviewTrendEntry
}
RobotFleetSite
Description
Per-site aggregation with KPIs and status breakdown for robot fleet
Fields
| Field Name | Description |
|---|---|
kpi - RobotFleetKpi!
|
Aggregated KPI metrics for this site |
robotCount - Int!
|
Number of robots assigned to this site |
site - RobotFleetSiteSummary!
|
Site summary information |
statusBreakdown - [RobotFleetStatusCount!]!
|
Status breakdown counts for robots at this site |
Example
{
"kpi": RobotFleetKpi,
"robotCount": 987,
"site": RobotFleetSiteSummary,
"statusBreakdown": [RobotFleetStatusCount]
}
RobotFleetSiteSummary
Description
Lightweight site summary for robot fleet site cards
Example
{
"address": "xyz789",
"country": "xyz789",
"id": HashedId,
"name": "xyz789"
}
RobotFleetSitesPaginatedResult
Description
Robot fleet sites paginated result record
Fields
| Field Name | Description |
|---|---|
meta - PaginationMeta!
|
Pagination metadata including total count and page info |
rows - [RobotFleetSite!]
|
List of records for the current page |
Example
{
"meta": PaginationMeta,
"rows": [RobotFleetSite]
}
RobotFleetStatusCount
Description
Count of robots in a specific operational status
Fields
| Field Name | Description |
|---|---|
count - Int!
|
Number of robots in this status |
status - RobotStatusEnum!
|
Robot operational status |
Example
{"count": 987, "status": "CHARGING"}
RobotFleetSustainability
Description
Sustainability metrics comparing robot vs manual cleaning baselines
Fields
| Field Name | Description |
|---|---|
chemicalDeltaPercent - Float
|
Chemical delta percentage vs previous period Not implemented |
chemicalPerM2 - Float
|
Chemical consumption per m2 in liters |
chemicalSavedLiters - Float!
|
Chemical saved in liters vs manual baseline |
chemicalTrend - [RobotFleetTimeSeriesPoint!]!
|
Daily chemical consumption trend |
co2DeltaPercent - Float
|
CO2 delta percentage vs previous period Not implemented |
co2SavedKg - Float!
|
CO2 saved in kg vs manual baseline |
co2Trend - [RobotFleetTimeSeriesPoint!]!
|
Daily CO2 savings trend |
energyPerM2 - Float
|
Energy consumption per m2 in kWh |
energyTrend - [RobotFleetTimeSeriesPoint!]!
|
Daily energy consumption trend |
laborDeltaPercent - Float
|
Labor delta percentage vs previous period Not implemented |
laborHoursSaved - Float!
|
Labor hours saved by robot automation |
totalAreaCleanedM2 - Float!
|
Total area cleaned in m2 |
totalChemicalUsedLiters - Float!
|
Total chemical consumed in liters |
totalEnergyUsedKwh - Float!
|
Total energy consumed in kWh |
totalWaterUsedLiters - Float!
|
Total water consumed in liters |
waterDeltaPercent - Float
|
Water delta percentage vs previous period Not implemented |
waterPerM2 - Float
|
Water consumption per m2 in liters |
waterSavedLiters - Float!
|
Water saved in liters vs manual baseline |
waterTrend - [RobotFleetTimeSeriesPoint!]!
|
Daily water consumption trend |
Example
{
"chemicalDeltaPercent": 987.65,
"chemicalPerM2": 987.65,
"chemicalSavedLiters": 987.65,
"chemicalTrend": [RobotFleetTimeSeriesPoint],
"co2DeltaPercent": 987.65,
"co2SavedKg": 123.45,
"co2Trend": [RobotFleetTimeSeriesPoint],
"energyPerM2": 987.65,
"energyTrend": [RobotFleetTimeSeriesPoint],
"laborDeltaPercent": 123.45,
"laborHoursSaved": 987.65,
"totalAreaCleanedM2": 123.45,
"totalChemicalUsedLiters": 987.65,
"totalEnergyUsedKwh": 987.65,
"totalWaterUsedLiters": 123.45,
"waterDeltaPercent": 987.65,
"waterPerM2": 123.45,
"waterSavedLiters": 987.65,
"waterTrend": [RobotFleetTimeSeriesPoint]
}
RobotFleetTimeSeriesPoint
RobotIdle
Fields
| Field Name | Description |
|---|---|
assetId - HashedId!
|
Robot asset identifier |
idleHours - Int!
|
Whole hours since idleSince |
idleSince - DateTime!
|
Latest mission finish or start timestamp, or the robot creation time when it has no mission |
idleThresholdHours - Int!
|
Composed group idle threshold in hours |
openCriticalErrors - Int!
|
Open critical errors of the robot |
serial - String
|
Robot serial number |
siteId - HashedId
|
Current site identifier |
siteName - String
|
Current site name |
suggestedAction - AttentionAction!
|
Suggested follow-up action |
Example
{
"assetId": HashedId,
"idleHours": 987,
"idleSince": "2007-12-03T10:15:30Z",
"idleThresholdHours": 123,
"openCriticalErrors": 987,
"serial": "xyz789",
"siteId": HashedId,
"siteName": "abc123",
"suggestedAction": "ASSIGN"
}
RobotIdleSearch
Fields
| Field Name | Description |
|---|---|
asOf - DateTime!
|
Server time used to evaluate idle thresholds |
items - [RobotIdle!]!
|
|
totalCount - Int!
|
Example
{
"asOf": "2007-12-03T10:15:30Z",
"items": [RobotIdle],
"totalCount": 123
}
RobotMission
Description
A robot mission with execution details and performance metrics
Fields
| Field Name | Description |
|---|---|
assetId - HashedId!
|
Robot asset identifier |
assetName - String
|
Human-readable robot asset name |
batteryLevelEnd - Float
|
Battery level percentage at mission end |
batteryLevelStart - Float
|
Battery level percentage at mission start |
brand - RobotBrand!
|
Robot brand for this mission |
chemicalConsumptionLiters - Float
|
Chemical consumption in liters |
cleaningAreaM2 - Float
|
Area cleaned in square meters |
cleaningMode - String
|
Cleaning mode used during this mission |
completionPercentage - Float
|
Mission completion percentage |
distanceKm - Float
|
Distance traveled in kilometers |
durationSeconds - Int
|
Mission duration in seconds |
energyConsumptionKwh - Float
|
Energy consumed in kilowatt-hours |
errorDescription - String
|
Error description if the mission failed |
executionMode - String
|
Execution mode for this mission |
finishedAt - Timestamp
|
ISO timestamp when the mission finished |
id - HashedId!
|
Mission identifier |
mapName - String
|
Name of the map used for this mission |
metadata - String
|
Provider-specific metadata as JSON string |
missionType - RobotMissionTypeEnum!
|
Type of mission task |
operator - String
|
Operator who initiated the mission |
reportImageUrl - String
|
URL of the mission report image |
siteId - HashedId
|
Site where the mission was performed |
siteName - String
|
Site name where the mission was performed |
startedAt - Timestamp
|
ISO timestamp when the mission started |
status - RobotMissionStatusEnum!
|
Current mission execution status |
taskCount - Int
|
Number of discrete tasks executed during this mission |
waterConsumptionLiters - Float
|
Water consumed in liters |
zoneCount - Int
|
Number of zones covered in this mission |
zoneName - String
|
Name of the zone within the map |
Example
{
"assetId": HashedId,
"assetName": "abc123",
"batteryLevelEnd": 987.65,
"batteryLevelStart": 987.65,
"brand": "CENOBOTS",
"chemicalConsumptionLiters": 987.65,
"cleaningAreaM2": 987.65,
"cleaningMode": "xyz789",
"completionPercentage": 123.45,
"distanceKm": 987.65,
"durationSeconds": 987,
"energyConsumptionKwh": 987.65,
"errorDescription": "abc123",
"executionMode": "abc123",
"finishedAt": 1592577642,
"id": HashedId,
"mapName": "abc123",
"metadata": "abc123",
"missionType": "CALL",
"operator": "abc123",
"reportImageUrl": "xyz789",
"siteId": HashedId,
"siteName": "abc123",
"startedAt": 1592577642,
"status": "CANCELLED",
"taskCount": 123,
"waterConsumptionLiters": 123.45,
"zoneCount": 123,
"zoneName": "xyz789"
}
RobotMissionStatusEnum
Description
Status of a robot mission execution
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
Example
"CANCELLED"
RobotMissionTypeEnum
Description
Type of robot mission task
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"CALL"
RobotPerformance
Description
Per-robot aggregated performance metrics for ranking
Fields
| Field Name | Description |
|---|---|
assetId - HashedId!
|
Robot asset identifier |
assetName - String!
|
Robot display name |
brand - RobotBrand!
|
Robot brand for this robot |
cleaningAreaM2 - Float!
|
Total area cleaned in m2 |
cleaningEfficiencyM2H - Float
|
Cleaning efficiency in m2/h |
missionCount - Int!
|
Total mission count |
runtimeHours - Float!
|
Total runtime in hours |
siteName - String
|
Site where the robot is assigned |
successRatePercent - Float!
|
Mission success rate percentage 0-100 |
utilizationPercent - Float!
|
Utilization percentage 0-100 |
Example
{
"assetId": HashedId,
"assetName": "abc123",
"brand": "CENOBOTS",
"cleaningAreaM2": 123.45,
"cleaningEfficiencyM2H": 987.65,
"missionCount": 123,
"runtimeHours": 123.45,
"siteName": "xyz789",
"successRatePercent": 123.45,
"utilizationPercent": 987.65
}
RobotPerformanceSortEnum
Description
Sort options for top robots ranking
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"AREA_CLEANED"
RobotStatusEnum
Description
Normalized operational status for robots across all integration providers
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"CHARGING"
RobotStatusUpdate
Description
Real-time robot status change event
Fields
| Field Name | Description |
|---|---|
assetId - HashedId!
|
Asset identifier of the robot |
brand - RobotBrand!
|
Robot brand that reported the status |
status - RobotStatusEnum!
|
New operational status |
subState - String
|
Sub-state providing detail within the core status |
taskName - String
|
Current task name if applicable |
timestamp - String!
|
ISO timestamp of the status change |
Example
{
"assetId": HashedId,
"brand": "CENOBOTS",
"status": "CHARGING",
"subState": "xyz789",
"taskName": "abc123",
"timestamp": "abc123"
}
RobotSyncSkipReasonEnum
Description
Why an integration sync did not refresh the status of a robot
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"DUPLICATE_SERIAL"
RobotTelemetryUpdate
Description
Real-time asset telemetry data update
Fields
| Field Name | Description |
|---|---|
assetId - HashedId!
|
Asset identifier |
batteryLevelPercent - Float
|
Battery charge percentage |
cleaningAreaM2 - Float
|
Cleaning area in square meters |
cleaningEfficiencyM2H - Float
|
Cleaning efficiency in square meters per hour |
runtimeHours - Float
|
Runtime in hours |
timestamp - String!
|
ISO timestamp of the telemetry update |
waterLevelPercent - Float
|
Water tank level percentage |
Example
{
"assetId": HashedId,
"batteryLevelPercent": 123.45,
"cleaningAreaM2": 987.65,
"cleaningEfficiencyM2H": 123.45,
"runtimeHours": 123.45,
"timestamp": "xyz789",
"waterLevelPercent": 987.65
}
Role
Description
A permission role defining what actions a user can perform
Fields
| Field Name | Description |
|---|---|
created - Timestamp!
|
Timestamp when the entity was created |
groupId - HashedId
|
Owned by group identifier |
id - HashedId!
|
Unique identifier of the entity |
key - RoleKey!
|
Unique lookup key |
name - Translation
|
Translated name of the role |
nameId - HashedId
|
Name identifier |
updated - Timestamp
|
Timestamp when the entity was last updated |
Example
{
"created": 1592577642,
"groupId": HashedId,
"id": HashedId,
"key": "EditorUser",
"name": Translation,
"nameId": HashedId,
"updated": 1592577642
}
RoleKey
Description
Authorization role levels that determine user permissions, ranging from standard users with limited access to admin users with full management capabilities
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
Example
"EditorUser"
RoomStatusEnum
Description
Housekeeping status of a room asset indicating its cleanliness and readiness state, from inspected and clean through to out of service
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"Clean"
RoutePoint
Description
Waypoints are location snapshots taken at certain intervals that also provide event and other information
Fields
| Field Name | Description |
|---|---|
distance - Float!
|
Event or point distance in distance units |
id - Int!
|
Flespi location id |
lat - Float
|
Resolved location latitude |
lng - Float
|
Resolved location longitude |
speed - Float
|
Vehicle speed at this waypoint, in distance units per hour |
time - Float!
|
Unix timestamp when this waypoint was recorded |
Example
{
"distance": 987.65,
"id": 987,
"lat": 987.65,
"lng": 123.45,
"speed": 123.45,
"time": 987.65
}
Rule
Description
A Rule contains a set of conditions that is evaluated either at the receiving of a new data package from the module installed in an Asset, or on specified time intervals.
When all conditions are met, an Event is created, and the actions defined in the rule (like sending of notifications, emails...) occur.
Conditions are represented by blocks (RuleBlock) - one or more can be chained together with operational logic to form the definition property of a Rule.
The logic tree can contain blocks or operations (containing further blocks). Operations currently supported: and, or, not.
Rules are differentiated between from which source their evaluation stems from them within the platform. See RuleSources enum.
Rules are assigned to AssetTypes - through them, to a single AssetIntegration. This defines which RuleBlocks are available when building the Definition.
Fields
| Field Name | Description |
|---|---|
assetBlacklist - [Asset!]
|
Assets excluded from this rule |
assignedToGroup - Group
|
Group this rule is assigned to |
assignedToGroupId - HashedId!
|
Group the record is assigned to |
checkAssetsPaginated - PaginatedRuleCheckAssets!
|
Paginated assets with event configs for this check rule |
Arguments
|
|
created - Timestamp!
|
Timestamp when the entity was created |
createdByGroup - Group
|
Group that created this rule |
createdByGroupId - HashedId
|
Created by group identifier |
createdByUser - User
|
Created by user |
createdByUserId - HashedId!
|
Created by user identifier |
definition - JSON!
|
Condition logic tree defining when this rule triggers |
description - Translation
|
|
descriptionId - HashedId
|
Description identifier |
enabled - Boolean!
|
This property shows if the Rule details are updateable to the requesting user. Take note on the group hierarchy of the currently assigned group for this Rule in regards to this. |
eventStyle - EventStyle!
|
Visual style for the event created by this rule. Defines custom ui display like color, icon url. |
eventStyleId - HashedId!
|
Event style identifier Use eventType instead |
eventType - EventTypeEnum!
|
Event type |
eventsConfigs - [EventConfig!]
|
Events configs |
Arguments
|
|
id - HashedId!
|
Unique identifier of the entity |
isActive - Boolean!
|
Rules can be temporarily disabled. Disabled rules are not evaluated. |
isArchived - Boolean!
|
Archived rules are 'deleted', they can't be edited anymore. Either they were directly deleted, or their definition changed. Whenever a definition changes, a new rule is created and the old is archived. By default archived rules are not retrieved, use the isArchived parameter to also access those. Use "deleted" instead |
isCheckAllowedForUnauthorizedUsers - Boolean!
|
This setting allows anyone to execute the check and allow changes to the connected asset |
isCritical - Boolean!
|
Denotes severity. This rule will create 'critical' notifications that are styled differently. |
isGlobalRule - Boolean!
|
Apply rule for custom assets |
isImmediateNotification - Boolean!
|
Whether immediate notification |
isOneshot - Boolean!
|
One-shot rules are only triggered once. After this, they are deactivated (isActive is false) |
isOnetime - Boolean!
|
One time rules trigger only once per asset. Once a rule is triggered, the asset emitting it is set on a blacklist for this rule. |
manualDeactivation - Boolean!
|
Events created by manualDeactivation rules can only be deactivated (=not ongoing) "manually" through explicit request. They can not be deactivated by incoming module data. |
publicId - String!
|
Public identifier for this rule |
purpose - RulePurpose
|
System-set flag, denoting automatically created rules through associated functions, like asset working hours |
relations - [RuleRelation!]
|
Asset type and asset associations for this rule |
relationsV2 - [RuleRelation!]
|
Relations for this rule excluding individual asset relations. Use checkAssetsPaginated field for paginated asset relations |
sendNotificationsTo - [RuleNotificationRelation!]
|
Send Notifications To for this rule |
services - [Service!]!
|
Services linked to this rule (deprecated, use servicesV2) Use servicesV2 instead |
servicesV2 - [Service!]!
|
Services linked to this rule |
Arguments
|
|
source - RuleSource!
|
Source of evaluation. This defines WHEN the rule is evaluated internally, and what RuleBlocks can be used. |
title - Translation
|
Translated name of the rule |
titleId - HashedId
|
Title identifier |
updated - Timestamp
|
Timestamp when the entity was last updated |
Example
{
"assetBlacklist": [Asset],
"assignedToGroup": Group,
"assignedToGroupId": HashedId,
"checkAssetsPaginated": PaginatedRuleCheckAssets,
"created": 1592577642,
"createdByGroup": Group,
"createdByGroupId": HashedId,
"createdByUser": User,
"createdByUserId": HashedId,
"definition": {},
"description": Translation,
"descriptionId": HashedId,
"enabled": true,
"eventStyle": EventStyle,
"eventStyleId": HashedId,
"eventType": "COST",
"eventsConfigs": [EventConfig],
"id": HashedId,
"isActive": true,
"isArchived": false,
"isCheckAllowedForUnauthorizedUsers": false,
"isCritical": true,
"isGlobalRule": false,
"isImmediateNotification": true,
"isOneshot": true,
"isOnetime": false,
"manualDeactivation": true,
"publicId": "abc123",
"purpose": "GEOFENCE",
"relations": [RuleRelation],
"relationsV2": [RuleRelation],
"sendNotificationsTo": [RuleNotificationRelation],
"services": [Service],
"servicesV2": [Service],
"source": "BLE",
"title": Translation,
"titleId": HashedId,
"updated": 1592577642
}
RuleBlock
Description
Rule block record
Fields
| Field Name | Description |
|---|---|
created - Timestamp!
|
Timestamp when the entity was created |
id - HashedId!
|
Unique identifier of the entity |
op - String!
|
Comparison operator for condition evaluation |
parameterIdPreset - HashedId!
|
Default parameter ID assigned to this block type |
settings - JSON!
|
Configuration settings |
source - RuleSource!
|
Evaluation source this block is compatible with |
title - Translation
|
Translated name of the rule block |
titleId - HashedId
|
Title identifier |
type - RuleBlockType!
|
Type category |
updated - Timestamp
|
Timestamp when the entity was last updated |
Example
{
"created": 1592577642,
"id": HashedId,
"op": "abc123",
"parameterIdPreset": HashedId,
"settings": {},
"source": "BLE",
"title": Translation,
"titleId": HashedId,
"type": "contractInterval_creation",
"updated": 1592577642
}
RuleBlockType
Description
Type of evaluation block within a rule, defining the specific condition logic such as parameter math comparisons, string equality checks, null checks, binary value decoding, time-based contract intervals, geofence boundary checks, or working hours schedule validation
Values
| Enum Value | Description |
|---|---|
|
|
Same as contractInterval_service, but checks the creation date instead of the service start. |
|
|
Checks whether the service start is older than a defined frequency amount. Usable date units: m, h, d, w, M, y (minute, hour, day, week, month, year). Example: { frequency: '2m' } |
|
|
Same as contractInterval_service, but checks both creation date and service start date. |
|
|
Checks whether the asset's reported location is within a static boundary. Supported comparisons: '=', '!='. Example: { shape: { type: 'circle', radius: 1000, coordinates: [{ latitude: 50.106549, longitude: 8.634346 }] }, comparison: '=' } |
|
|
Checks summarized binary error values against pow2 hex codes — common in electronics. Compares a binary value to target hex values that must be powers of 2 (e.g. 0x40 = 64 = 1000000). A single data value may trigger multiple matches (e.g. 64, 16, 4). See parameter_math for full description. |
|
|
True if the source parameter is not defined or has a null/0 value. 'compareTo' is ignored. See parameter_math for full description. |
|
|
Math equation for parameter comparison. Supported comparisons: =, >, <, <=, >=, !=. Use 'compareSource' and 'compareTo' to define the data objects or values being compared. Supports timespans like '4d,5h', parameterId references, and 'matchCount' logic for multi-pack evaluation. An optional 'difference' property can be used to compare differences instead of raw values. |
|
|
Simple string comparison. Supported comparisons: =, !=. See parameter_math for full description. |
|
|
Inspects whether an asset reported activity outside a defined weekly schedule. True if asset activity occurs outside allowed timespans. Timespans are wall-clock milliseconds since midnight in the IANA timezone, or in UTC when timezone is absent. Example: {activityParameterId: 123, timezone: "Europe/Vienna", weekdays:{0:[[21600000,64800000]],1:[[21600000,64800000]],2:[],3:[],4:[],5:[],6:[]}} |
Example
"contractInterval_creation"
RuleBulkAssignGroupInput
Fields
| Input Field | Description |
|---|---|
assignedToGroupId - HashedId!
|
Group the record is assigned to |
excludeRuleIds - [HashedId!]
|
Rule IDs to exclude |
filterInput - AssetFilterInput
|
Filter criteria to select rules |
ruleIds - [HashedId!]
|
Rule IDs to include |
Example
{
"assignedToGroupId": HashedId,
"excludeRuleIds": [HashedId],
"filterInput": AssetFilterInput,
"ruleIds": [HashedId]
}
RuleBulkUpdateFlagsChangesInput
Fields
| Input Field | Description |
|---|---|
isActive - Boolean
|
Rules can be temporarily disabled. Disabled rules are not evaluated. |
isCheckAllowedForUnauthorizedUsers - Boolean
|
This setting allows anyone to execute the check and allow changes to the connected asset |
isCritical - Boolean
|
Denotes severity. This rule will create 'critical' notifications that are styled differently. |
isGlobalRule - Boolean
|
Apply rule for custom assets |
isImmediateNotification - Boolean
|
Whether immediate notification |
isOnetime - Boolean
|
One time rules trigger only once per asset. Once a rule is triggered, the asset emitting it is set on a blacklist for this rule. |
manualDeactivation - Boolean
|
Events created by manualDeactivation rules can only be deactivated (=not ongoing) "manually" through explicit request. They can not be deactivated by incoming module data. |
Example
{
"isActive": false,
"isCheckAllowedForUnauthorizedUsers": false,
"isCritical": false,
"isGlobalRule": true,
"isImmediateNotification": true,
"isOnetime": true,
"manualDeactivation": true
}
RuleBulkUpdateFlagsInput
Fields
| Input Field | Description |
|---|---|
changes - RuleBulkUpdateFlagsChangesInput!
|
|
excludeRuleIds - [HashedId!]
|
Rule IDs to exclude |
filterInput - AssetFilterInput
|
Filter criteria to select rules |
ruleIds - [HashedId!]
|
Rule IDs to include |
Example
{
"changes": RuleBulkUpdateFlagsChangesInput,
"excludeRuleIds": [HashedId],
"filterInput": AssetFilterInput,
"ruleIds": [HashedId]
}
RuleCheckAsset
Description
Rule check asset with event config record
Fields
| Field Name | Description |
|---|---|
asset - Asset!
|
Asset details |
assetId - HashedId!
|
Asset identifier |
created - Timestamp!
|
Timestamp when the entity was created |
id - HashedId!
|
Unique identifier of the entity |
lastEvent - DateTime
|
Timestamp of the most recent event triggered for this asset |
nextEvent - DateTime!
|
Scheduled timestamp for the next rule evaluation on this asset |
ruleId - HashedId!
|
Rule identifier |
updated - Timestamp
|
Timestamp when the entity was last updated |
Example
{
"asset": Asset,
"assetId": HashedId,
"created": 1592577642,
"id": HashedId,
"lastEvent": "2007-12-03T10:15:30Z",
"nextEvent": "2007-12-03T10:15:30Z",
"ruleId": HashedId,
"updated": 1592577642
}
RuleCreateInput
Description
Input data for creating a new rule
Fields
| Input Field | Description |
|---|---|
assetBlacklistIds - [HashedId!]
|
Asset blacklist identifiers |
assetIds - [HashedId!]
|
Asset identifiers |
assetTypeIds - [HashedId!]
|
Asset type identifiers |
assignedToGroupId - HashedId
|
Group the record is assigned to |
definition - JSON!
|
Condition logic tree defining when this rule triggers |
description - TranslationInput
|
Human-readable description |
eventStyleId - HashedId
|
Event style identifier |
eventType - EventTypeEnum
|
Event type |
eventsConfigs - [EventConfigInput]
|
Per-asset scheduling configurations for time-based rules |
isActive - Boolean
|
Rules can be temporarily disabled. Disabled rules are not evaluated. |
isCheckAllowedForUnauthorizedUsers - Boolean
|
This setting allows anyone to execute the check and allow changes to the connected asset |
isCritical - Boolean
|
Denotes severity. This rule will create 'critical' notifications that are styled differently. |
isGlobalRule - Boolean
|
Apply rule for custom assets |
isImmediateNotification - Boolean
|
Whether immediate notification |
isOneshot - Boolean
|
One-shot rules are only triggered once. After this, they are deactivated (isActive is false) |
isOnetime - Boolean
|
One time rules trigger only once per asset. Once a rule is triggered, the asset emitting it is set on a blacklist for this rule. |
manualDeactivation - Boolean
|
Events created by manualDeactivation rules can only be deactivated (=not ongoing) "manually" through explicit request. They can not be deactivated by incoming module data. |
relations - RuleRelationInput!
|
Asset type and asset associations for the new rule |
sendNotificationsTo - [RuleNotificationRelationInput]
|
Recipients who receive notifications when this rule triggers |
serviceIds - [HashedId]
|
Service identifiers |
source - RuleSource!
|
Evaluation source determining how and when the rule is checked |
title - TranslationInput!
|
Title text |
Example
{
"assetBlacklistIds": [HashedId],
"assetIds": [HashedId],
"assetTypeIds": [HashedId],
"assignedToGroupId": HashedId,
"definition": {},
"description": TranslationInput,
"eventStyleId": HashedId,
"eventType": "COST",
"eventsConfigs": [EventConfigInput],
"isActive": true,
"isCheckAllowedForUnauthorizedUsers": true,
"isCritical": true,
"isGlobalRule": false,
"isImmediateNotification": true,
"isOneshot": false,
"isOnetime": true,
"manualDeactivation": true,
"relations": RuleRelationInput,
"sendNotificationsTo": [RuleNotificationRelationInput],
"serviceIds": [HashedId],
"source": "BLE",
"title": TranslationInput
}
RuleDefinition
Description
Rule definition record
Fields
| Field Name | Description |
|---|---|
items - [RuleDefinition!]
|
Child nodes forming the branches of this logic tree |
locked - Boolean
|
Whether this definition node is locked from editing |
op - String!
|
Logical operator applied to child items (and, or, not) |
settings - RuleDefinitionSettings!
|
Configuration settings |
type - RuleDefinitionType
|
Type category |
Example
{
"items": [RuleDefinition],
"locked": false,
"op": "abc123",
"settings": RuleDefinitionSettings,
"type": "CHECK_INTERVAL"
}
RuleDefinitionSettings
Description
Rule definition settings record
Fields
| Field Name | Description |
|---|---|
activityParameterId - String
|
Activity parameter identifier |
activityParameterSavedName - String
|
Cached display name of the activity parameter |
compareSource - DefinitionCompareSource
|
Source parameter providing live asset data to compare |
compareTo - RuleDefinitionSettingsCompareTo
|
Threshold value and unit to compare asset data against |
comparison - RuleDefinitionSettingsComparison
|
Comparison operator such as equals, greater than, or less than |
displayUnit - UnitEnum
|
Unit used for displaying the comparison value in the UI |
frequency - String
|
Recurrence interval for time-based checks |
geofenceAlert - RuleGeofenceAlert
|
Alert type triggered when an asset enters or exits the geofence |
matchCount - Int
|
Consecutive data points required before triggering |
ruleId - Int
|
Rule identifier |
shape - RuleDefinitionSettingsShape
|
Geofence shape definition with coordinates and optional radius |
sourceReference - RuleDefinitionSourceReference
|
External parameter reference for cross-parameter comparisons |
subType - String
|
Specific variation within the block type |
timezone - String
|
IANA timezone the weekday time ranges are wall-clock hours in; absent means UTC |
weekdays - [Int!]
|
Working hours time ranges per weekday |
Example
{
"activityParameterId": "abc123",
"activityParameterSavedName": "xyz789",
"compareSource": DefinitionCompareSource,
"compareTo": RuleDefinitionSettingsCompareTo,
"comparison": "EQUAL",
"displayUnit": "AH",
"frequency": "xyz789",
"geofenceAlert": "ENTER",
"matchCount": 123,
"ruleId": 987,
"shape": RuleDefinitionSettingsShape,
"sourceReference": RuleDefinitionSourceReference,
"subType": "abc123",
"timezone": "xyz789",
"weekdays": [987]
}
RuleDefinitionSettingsCompareTo
RuleDefinitionSettingsComparison
Description
Mathematical comparison operator used in rule definition settings to evaluate sensor data or parameter values against thresholds (e.g. equal, not equal, greater, less, greater or equal, less or equal, every)
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"EQUAL"
RuleDefinitionSettingsShape
Description
Rule definition settings shape record
Fields
| Field Name | Description |
|---|---|
coordinates - [Coordinates!]!
|
GPS coordinates defining the geofence boundary points |
radius - Int
|
Radius in meters for circular geofence shapes |
type - RuleGeofenceType!
|
Type category |
Example
{
"coordinates": [Coordinates],
"radius": 987,
"type": "CIRCLE"
}
RuleDefinitionSourceReference
RuleDefinitionType
Description
Classification of a rule definition that determines the evaluation logic, such as time-based contract intervals since last service or creation, mathematical parameter comparisons, binary value checks, next inspection checks, geofence boundary monitoring, or working hours tracking
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"CHECK_INTERVAL"
RuleEntry
Description
A single condition or action step within an automation rule
Fields
| Field Name | Description |
|---|---|
activatedAt - DateTime
|
Timestamp when this rule entry was activated |
assetCount - Int
|
Count of assets this rule entry applies to, null until a filter-based rule is activated |
assetFilters - [Filters!]!
|
Asset filters |
assetGroup - Group
|
Group associated with this rule entry for scope-based rule evaluation |
assetGroupId - HashedId
|
Asset group identifier |
created - Timestamp!
|
Timestamp when the entity was created |
createdByGroup - Group!
|
Group that created this rule entry |
createdByGroupId - HashedId!
|
Created by group identifier |
createdByUser - User!
|
User who created this rule entry |
createdByUserId - HashedId!
|
Created by user identifier |
description - Translation!
|
Translated description |
firstCheckMode - RuleEntryFirstCheckMode!
|
When the first check of a time-based first trigger is due |
geofenceSite - Site
|
Site whose geofence area this rule entry follows; null for every other rule |
geofenceSiteId - HashedId
|
ID of the site used for geofence-based triggering |
group - Group!
|
Group this rule entry belongs to |
groupId - HashedId!
|
Group identifier |
hasNotification - Boolean!
|
Whether notifications are enabled for this rule entry |
hasNotificationCritical - Boolean!
|
Whether triggered notifications are marked as critical |
hasNotificationEmail - Boolean!
|
Whether email notifications are enabled |
hasNotificationImmediate - Boolean!
|
Whether an IoT alert notification is sent the moment the alert fires instead of with the next scheduled notification run |
hasNotificationOnNewAsset - Boolean!
|
Whether notifications fire when a new asset matches this rule |
hasNotificationPush - Boolean!
|
Whether push notifications are enabled |
hasNotificationTimingBeforeDue - Boolean!
|
Whether advance reminders are sent before the due date |
hasNotificationTimingWhenDue - Boolean!
|
Whether notifications are sent when the due date arrives |
id - HashedId!
|
Unique identifier of the entity |
isAssetAssignNew - Boolean!
|
Whether newly created assets are automatically included |
isAssetTriggerForCustomers - Boolean!
|
Whether triggers are visible to customer users |
isAssetVehicle - Boolean
|
Whether this rule entry targets vehicle assets |
isCheckAllowedForUnauthorizedUsers - Boolean!
|
Whether check allowed for unauthorized users |
isForAllAssets - Boolean!
|
Whether this rule entry applies to all assets in the group |
isManualOnly - Boolean!
|
Whether this rule entry uses only manually added assets |
isScheduleFixed - Boolean
|
Whether the schedule uses fixed calendar dates |
isScheduleManualDeactivation - Boolean!
|
Whether triggered events require manual deactivation |
isSkipOverdueEnabled - Boolean!
|
Whether due dates before today are skipped when generating events |
manuallyAddedAssets - [Asset!]!
|
Documents attached to this rule entry |
materializedAt - DateTime
|
Timestamp when filter-based assets were last materialized |
name - Translation!
|
Translated title |
notificationRecipients - [RuleEntryNotificationRecipient!]!
|
Notification Recipients for this rule entry |
notificationTimings - [RuleEntryNotificationTiming!]!
|
Notification Timings for this rule entry |
scheduleStartAt - DateTime
|
Fixed start date for the schedule evaluation |
scheduleStartPointCustomField - CustomField
|
Custom fields for this rule entry |
scheduleStartPointCustomFieldId - HashedId
|
Schedule start point custom field identifier |
scheduleStartPointFallback - RuleEntryScheduleStartPointFallback
|
Fallback behavior when the start point field has no value |
scheduleStartPointField - RuleEntryScheduleStartPoint
|
Asset field used as dynamic start point for schedule calculation |
scheduleTriggers - [RuleEntryScheduleTrigger!]!
|
Schedule Triggers for this rule entry |
site - Site
|
Site associated with this rule entry Use geofenceSite. |
status - RuleEntryStatus!
|
Lifecycle status of the rule entry |
subType - RuleEntrySubType!
|
Sub type |
type - RuleEntryType!
|
Type category |
updated - Timestamp
|
Timestamp when the entity was last updated |
workingHoursAsset - Asset
|
Asset whose working hours are tracked by this rule entry |
workingHoursAssetId - HashedId
|
ID of the asset whose working hours define the evaluation window |
Example
{
"activatedAt": "2007-12-03T10:15:30Z",
"assetCount": 123,
"assetFilters": [Filters],
"assetGroup": Group,
"assetGroupId": HashedId,
"created": 1592577642,
"createdByGroup": Group,
"createdByGroupId": HashedId,
"createdByUser": User,
"createdByUserId": HashedId,
"description": Translation,
"firstCheckMode": "AFTER_INTERVAL",
"geofenceSite": Site,
"geofenceSiteId": HashedId,
"group": Group,
"groupId": HashedId,
"hasNotification": false,
"hasNotificationCritical": false,
"hasNotificationEmail": false,
"hasNotificationImmediate": true,
"hasNotificationOnNewAsset": false,
"hasNotificationPush": true,
"hasNotificationTimingBeforeDue": false,
"hasNotificationTimingWhenDue": false,
"id": HashedId,
"isAssetAssignNew": true,
"isAssetTriggerForCustomers": true,
"isAssetVehicle": false,
"isCheckAllowedForUnauthorizedUsers": false,
"isForAllAssets": false,
"isManualOnly": true,
"isScheduleFixed": true,
"isScheduleManualDeactivation": false,
"isSkipOverdueEnabled": true,
"manuallyAddedAssets": [Asset],
"materializedAt": "2007-12-03T10:15:30Z",
"name": Translation,
"notificationRecipients": [
RuleEntryNotificationRecipient
],
"notificationTimings": [RuleEntryNotificationTiming],
"scheduleStartAt": "2007-12-03T10:15:30Z",
"scheduleStartPointCustomField": CustomField,
"scheduleStartPointCustomFieldId": HashedId,
"scheduleStartPointFallback": "EXCLUDE",
"scheduleStartPointField": "COMMISSION_DATE",
"scheduleTriggers": [RuleEntryScheduleTrigger],
"site": Site,
"status": "ACTIVE",
"subType": "ERROR",
"type": "GEOFENCE",
"updated": 1592577642,
"workingHoursAsset": Asset,
"workingHoursAssetId": HashedId
}
RuleEntryAssetDateOverride
Description
Date override for a rule entry asset
Fields
| Field Name | Description |
|---|---|
assetId - HashedId!
|
Asset identifier |
created - Timestamp!
|
Timestamp when the entity was created |
lastInspectionDate - DateTime
|
Last inspection date override |
nextInspectionDate - DateTime
|
Next inspection date override |
ruleId - HashedId!
|
Rule entry identifier |
updated - Timestamp
|
Timestamp when the entity was last updated |
Example
{
"assetId": HashedId,
"created": 1592577642,
"lastInspectionDate": "2007-12-03T10:15:30Z",
"nextInspectionDate": "2007-12-03T10:15:30Z",
"ruleId": HashedId,
"updated": 1592577642
}
RuleEntryAssetDateOverrideImportValidateResult
Fields
| Field Name | Description |
|---|---|
hasErrors - Boolean!
|
Whether this row contains any validation errors |
hasWarnings - Boolean!
|
Whether this row contains any validation warnings |
index - Int!
|
Row index of this entry in the import spreadsheet |
lastInspectionDate - ImporterValidateColumnResult
|
Validation result for the last inspection date |
nextInspectionDate - ImporterValidateColumnResult
|
Validation result for the next inspection date |
publicId - ImporterValidateColumnResult
|
Validation result for the asset public identifier |
Example
{
"hasErrors": false,
"hasWarnings": true,
"index": 123,
"lastInspectionDate": ImporterValidateColumnResult,
"nextInspectionDate": ImporterValidateColumnResult,
"publicId": ImporterValidateColumnResult
}
RuleEntryAssetExportColumnEnum
Description
Identifiers of the rule entry asset columns available for export
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"ASSET_ID"
RuleEntryAssetExportRequestInput
Description
Data required to request a rule entry asset list export
Fields
| Input Field | Description |
|---|---|
columnKeys - [RuleEntryAssetExportColumnEnum!]
|
Subset of exportable columns to include, in the requested order. Defaults to every exportable column for the rule schedule when omitted |
ignoreMaterialization - Boolean
|
Return target asset count as if the rule was not yet activated |
ruleId - HashedId!
|
Rule entry identifier |
search - String
|
Text search query for filtering results |
Example
{
"columnKeys": ["ASSET_ID"],
"ignoreMaterialization": true,
"ruleId": HashedId,
"search": "abc123"
}
RuleEntryConfirmActivateAsset
Description
Asset row returned by the rule entry confirm-activate list
Fields
| Field Name | Description |
|---|---|
asset - Asset!
|
Asset linked to this confirm-activate row |
assetId - HashedId!
|
Identifier of the underlying asset |
currentParameterReading - Float
|
Current IoT reading normalized to the trigger parameter units |
hasLastInspectionOverride - Boolean!
|
Whether a last inspection override exists for this asset |
hasMissingReading - Boolean!
|
Whether this asset has no IoT reading for the trigger parameter |
hasNextInspectionOverride - Boolean!
|
Whether the next inspection override differs from computed value |
isExcluded - Boolean!
|
Whether this asset is excluded from rule activation |
nextParameterReading - Float
|
Next usage threshold computed from the current reading and interval |
parameterUnits - RuleEntryScheduleTriggerParameterUnit
|
Parameter units the readings are expressed in |
ruleLastInspectionDate - DateTime
|
Last inspection date from override, if any |
ruleNextInspectionDate - DateTime
|
Next inspection date, either override or computed |
ruleStartDate - DateTime
|
Resolved rule start date for this asset |
Example
{
"asset": Asset,
"assetId": HashedId,
"currentParameterReading": 123.45,
"hasLastInspectionOverride": true,
"hasMissingReading": true,
"hasNextInspectionOverride": true,
"isExcluded": true,
"nextParameterReading": 123.45,
"parameterUnits": "HOURS",
"ruleLastInspectionDate": "2007-12-03T10:15:30Z",
"ruleNextInspectionDate": "2007-12-03T10:15:30Z",
"ruleStartDate": "2007-12-03T10:15:30Z"
}
RuleEntryConfirmActivateSummary
Description
Aggregate counts for the rule entry confirm-activate flow
Fields
| Field Name | Description |
|---|---|
excludedCount - Int!
|
Number of assets in the rule scope that will be excluded (no resolvable start date and no override next inspection) |
missingFieldCount - Int!
|
Number of assets in the rule scope whose configured start-point field is null |
missingReadingCount - Int!
|
Number of USAGE/COMBINED-scope assets with no IoT reading for the trigger parameter |
Example
{"excludedCount": 987, "missingFieldCount": 987, "missingReadingCount": 987}
RuleEntryCreateInput
Description
Data required to create a new rule entry
Fields
| Input Field | Description |
|---|---|
assetFilters - [FilterParamsInput!]
|
Asset filters |
assetGroupId - HashedId
|
Asset group identifier |
description - TranslationInput!
|
Human-readable description |
firstCheckMode - RuleEntryFirstCheckMode
|
When the first check of a time-based first trigger is due |
hasNotification - Boolean
|
Whether notifications are enabled for this rule entry |
hasNotificationEmail - Boolean
|
Whether email notifications are enabled |
hasNotificationImmediate - Boolean
|
Whether an IoT alert notification is sent the moment the alert fires instead of with the next scheduled notification run |
hasNotificationOnNewAsset - Boolean
|
Whether notifications fire when a new asset matches this rule |
hasNotificationPush - Boolean
|
Whether push notifications are enabled |
hasNotificationTimingBeforeDue - Boolean
|
Whether advance reminders are sent before the due date |
hasNotificationTimingWhenDue - Boolean
|
Whether notifications are sent when the due date arrives |
isAssetAssignNew - Boolean
|
Whether newly created assets are automatically included |
isAssetVehicle - Boolean
|
Whether this rule entry targets vehicle assets |
isCheckAllowedForUnauthorizedUsers - Boolean
|
Whether check allowed for unauthorized users |
isManualOnly - Boolean
|
Whether this rule entry uses only manually added assets |
isScheduleFixed - Boolean
|
Whether the schedule uses fixed calendar dates |
isSkipOverdueEnabled - Boolean
|
Whether due dates before today are skipped when generating events |
manuallyAddedAssetIds - [HashedId!]
|
Manually added asset identifiers |
name - TranslationInput!
|
Display name |
notificationRecipients - [RuleEntryNotificationRecipientCreateInput!]
|
Notification recipients |
notificationTimings - [RuleEntryNotificationTimingCreateInput!]
|
Notification timings |
scheduleStartAt - DateTime
|
Fixed start date for the schedule evaluation |
scheduleStartPointFallback - RuleEntryScheduleStartPointFallback
|
Fallback behavior when the start point field has no value |
scheduleStartPointField - RuleEntryScheduleStartPoint
|
Asset field used as dynamic start point for schedule calculation |
scheduleTriggers - [RuleEntryScheduleTriggerUpsertInput!]
|
Schedule triggers |
subType - RuleEntrySubType!
|
Sub type |
type - RuleEntryType!
|
Type category |
Example
{
"assetFilters": [FilterParamsInput],
"assetGroupId": HashedId,
"description": TranslationInput,
"firstCheckMode": "AFTER_INTERVAL",
"hasNotification": false,
"hasNotificationEmail": true,
"hasNotificationImmediate": false,
"hasNotificationOnNewAsset": true,
"hasNotificationPush": false,
"hasNotificationTimingBeforeDue": true,
"hasNotificationTimingWhenDue": false,
"isAssetAssignNew": false,
"isAssetVehicle": false,
"isCheckAllowedForUnauthorizedUsers": true,
"isManualOnly": false,
"isScheduleFixed": false,
"isSkipOverdueEnabled": true,
"manuallyAddedAssetIds": [HashedId],
"name": TranslationInput,
"notificationRecipients": [
RuleEntryNotificationRecipientCreateInput
],
"notificationTimings": [
RuleEntryNotificationTimingCreateInput
],
"scheduleStartAt": "2007-12-03T10:15:30Z",
"scheduleStartPointFallback": "EXCLUDE",
"scheduleStartPointField": "COMMISSION_DATE",
"scheduleTriggers": [
RuleEntryScheduleTriggerUpsertInput
],
"subType": "ERROR",
"type": "GEOFENCE"
}
RuleEntryEvent
Description
A scheduled occurrence generated from a rule entry trigger that fires for a specific asset on a specific due date
Fields
| Field Name | Description |
|---|---|
asset - Asset!
|
Asset this event applies to |
assetId - HashedId!
|
Identifier of the asset this event applies to |
assignee - User
|
User currently assigned to this event |
assigneePublic - UserPublic
|
Name of the user currently assigned to this event, safe for public roots |
assigneeUserId - HashedId
|
Identifier of the user currently assigned to this event |
cancelledAt - DateTime
|
Timestamp when this event was cancelled |
cancelledByUser - User
|
User who cancelled this event |
cancelledByUserId - HashedId
|
Identifier of the user who cancelled this event |
completedAt - DateTime
|
Timestamp when this event was completed |
completedByUser - User
|
User who completed this event |
completedByUserId - HashedId
|
Identifier of the user who completed this event |
completedParameterValue - Float
|
Asset usage reading captured when this event was completed |
created - Timestamp!
|
Timestamp when the entity was created |
currentParameterReading - Float
|
Latest asset reading for the event trigger's usage parameter, normalized to the trigger unit; null for non-usage events or when no reading exists |
description - Translation!
|
Translated description |
displayStatus - RuleEntryEventDisplayStatus!
|
Displayed lifecycle status of this event; an upcoming event reads OVERDUE once its due date is before the start of today in the viewer timezone, or once the latest asset reading reaches its usage target |
dueAt - DateTime
|
Current due date for date-resolved events after any rescheduling; null for usage-resolved events |
dueParameterValue - Float
|
Current usage target for usage-resolved events after any rescheduling; null for date-resolved events |
id - HashedId!
|
Unique identifier of the entity |
isCheckAllowedForUnauthorizedUsers - Boolean!
|
Whether unauthorized QR landing visitors may complete this check: the parent rule entry allows it and both the rule entry's group and the asset's group have the feature enabled |
lastRescheduledAt - DateTime
|
Timestamp of the most recent reschedule applied to this event |
name - Translation!
|
Translated title |
nextTrigger - RuleEntryScheduleTrigger
|
Schedule trigger that will drive the next event in the chain after this event completes. For recurring triggers this is the same trigger as trigger; for one-shot triggers this is the next ordered trigger on the rule. Null when no further trigger applies. |
notifications - [RuleEntryEventNotification!]!
|
Scheduled notification records of this event, sent and pending |
originalDueAt - DateTime
|
Initial due date assigned when a date-resolved event was created; null for usage-resolved events |
originalDueParameterValue - Float
|
Initial usage target assigned when a usage-resolved event was created |
previousCompletedAt - DateTime
|
Completion timestamp of the previous event in the chain, derived from the linked previous event; null on the first event of a chain |
previousCompletedParameterValue - Float
|
Completion usage reading of the previous event in the chain, derived from the linked previous event; null on the first event of a chain |
ruleEntry - RuleEntry
|
Rule entry that generated this event |
ruleEntryId - HashedId!
|
Identifier of the rule entry that generated this event |
status - RuleEntryEventStatus!
|
Current lifecycle status of this event |
subType - RuleEntrySubType!
|
Severity classification inherited from the originating rule entry |
ticket - Ticket
|
Ticket linked to this event: the completing ticket once the event is completed, otherwise the latest open ticket created for it, falling back to the latest non-deleted ticket in any status |
ticketId - HashedId
|
Identifier of the ticket linked to this event |
translations - [RuleEntryEventTranslation!]!
|
All localized name and description rows for this event |
trigger - RuleEntryScheduleTrigger
|
Schedule trigger that drives this rule entry event; resolved even after the trigger was deleted, null only when the trigger row is gone entirely |
triggerId - HashedId!
|
Identifier of the schedule trigger that produced this event |
triggerType - RuleEntryScheduleTriggerType!
|
Trigger mechanism inherited from the originating schedule trigger |
triggeredAt - DateTime
|
Instant the reading, measurement period or geofence crossing fired this alert event; null for inspection events |
triggeredGeofenceDirection - RuleEntryEventGeofenceDirection
|
Geofence crossing that fired an alert event: the asset entering or leaving the area; null for every other event |
triggeredParameterValue - Float
|
IoT reading that fired this alert event, in the parameter unit; null for inspection events |
updated - Timestamp
|
Timestamp when the entity was last updated |
Example
{
"asset": Asset,
"assetId": HashedId,
"assignee": User,
"assigneePublic": UserPublic,
"assigneeUserId": HashedId,
"cancelledAt": "2007-12-03T10:15:30Z",
"cancelledByUser": User,
"cancelledByUserId": HashedId,
"completedAt": "2007-12-03T10:15:30Z",
"completedByUser": User,
"completedByUserId": HashedId,
"completedParameterValue": 123.45,
"created": 1592577642,
"currentParameterReading": 123.45,
"description": Translation,
"displayStatus": "CANCELLED",
"dueAt": "2007-12-03T10:15:30Z",
"dueParameterValue": 123.45,
"id": HashedId,
"isCheckAllowedForUnauthorizedUsers": false,
"lastRescheduledAt": "2007-12-03T10:15:30Z",
"name": Translation,
"nextTrigger": RuleEntryScheduleTrigger,
"notifications": [RuleEntryEventNotification],
"originalDueAt": "2007-12-03T10:15:30Z",
"originalDueParameterValue": 987.65,
"previousCompletedAt": "2007-12-03T10:15:30Z",
"previousCompletedParameterValue": 123.45,
"ruleEntry": RuleEntry,
"ruleEntryId": HashedId,
"status": "CANCELLED",
"subType": "ERROR",
"ticket": Ticket,
"ticketId": HashedId,
"translations": [RuleEntryEventTranslation],
"trigger": RuleEntryScheduleTrigger,
"triggerId": HashedId,
"triggerType": "COMBINED",
"triggeredAt": "2007-12-03T10:15:30Z",
"triggeredGeofenceDirection": "ENTER",
"triggeredParameterValue": 123.45,
"updated": 1592577642
}
RuleEntryEventAssigneeUpdateInput
Description
Data required to update the assignee of a rule entry event
Example
{
"assigneeUserId": HashedId,
"eventId": HashedId
}
RuleEntryEventCompletionType
Description
How an IoT or geofence alert rule entry event closes: automatically when the condition stops holding, or manually by a user for an IoT alert
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
Example
"AUTOMATIC"
RuleEntryEventDisplayStatus
Description
Displayed state of a rule entry event: upcoming, overdue (upcoming with a due date before today in the viewer timezone or a reached usage target), completed, or cancelled
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
Example
"CANCELLED"
RuleEntryEventGeofenceDirection
Description
Geofence crossing that fired a rule entry alert event: the asset entering or leaving the watched area
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
Example
"ENTER"
RuleEntryEventHistory
Description
A single audit log entry capturing a state change made to a rule entry event
Fields
| Field Name | Description |
|---|---|
created - Timestamp!
|
Timestamp when the entity was created |
eventId - HashedId!
|
Identifier of the rule entry event this history row belongs to |
id - HashedId!
|
Unique identifier of the entity |
newDueAt - DateTime
|
New due date assigned by a create or reschedule transition |
newDueParameterValue - Float
|
New usage target assigned by a usage create or reschedule transition |
note - String
|
Free-text note captured at the moment of a reschedule, null otherwise |
oldDueAt - DateTime
|
Previous due date captured at the moment of a reschedule |
oldDueParameterValue - Float
|
Previous usage target captured at the moment of a usage reschedule |
ticketId - HashedId
|
Identifier of the ticket linked by this history row, null for other types |
triggeredByUserId - HashedId
|
Identifier of the user who triggered this state change, null when produced by the system |
type - RuleEntryEventHistoryType!
|
Kind of state transition this history row records |
updated - Timestamp
|
Timestamp when the entity was last updated |
Example
{
"created": 1592577642,
"eventId": HashedId,
"id": HashedId,
"newDueAt": "2007-12-03T10:15:30Z",
"newDueParameterValue": 123.45,
"note": "xyz789",
"oldDueAt": "2007-12-03T10:15:30Z",
"oldDueParameterValue": 987.65,
"ticketId": HashedId,
"triggeredByUserId": HashedId,
"type": "CANCELLED",
"updated": 1592577642
}
RuleEntryEventHistoryType
Description
Type of state transition recorded by a rule entry event history row such as creation, reschedule, completion, cancellation, or ticket linkage
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"CANCELLED"
RuleEntryEventNotification
Description
Scheduled notification record of a rule entry event
Fields
| Field Name | Description |
|---|---|
attempts - Int!
|
Number of send attempts |
created - Timestamp!
|
Timestamp when the entity was created |
eventId - HashedId!
|
Rule entry event identifier |
id - HashedId!
|
Unique identifier of the entity |
isBeforeDue - Boolean!
|
Whether this fires before the due target (true) or when due (false) |
notificationTimingId - HashedId
|
Notification timing identifier; null for IoT alert notifications |
scheduledAt - DateTime
|
When a date-resolved notification becomes due for sending |
scheduledParameterValue - Float
|
Usage reading at which a usage-resolved notification becomes due |
sentAt - DateTime
|
When it was sent |
timingId - HashedId!
|
Notification timing identifier Use notificationTimingId, which is null for IoT alert notifications. |
updated - Timestamp
|
Timestamp when the entity was last updated |
Example
{
"attempts": 987,
"created": 1592577642,
"eventId": HashedId,
"id": HashedId,
"isBeforeDue": true,
"notificationTimingId": HashedId,
"scheduledAt": "2007-12-03T10:15:30Z",
"scheduledParameterValue": 987.65,
"sentAt": "2007-12-03T10:15:30Z",
"timingId": HashedId,
"updated": 1592577642
}
RuleEntryEventRescheduleInput
Description
Data required to reschedule an upcoming rule entry event to a new due target
Fields
| Input Field | Description |
|---|---|
eventId - HashedId!
|
Identifier of the rule entry event to reschedule |
newDueAt - DateTime
|
New due date a date-resolved event should be moved to |
newDueParameterValue - Float
|
New usage target a usage-resolved event should be moved to |
note - String
|
Optional free-text note explaining the reschedule reason |
Example
{
"eventId": HashedId,
"newDueAt": "2007-12-03T10:15:30Z",
"newDueParameterValue": 987.65,
"note": "xyz789"
}
RuleEntryEventStatus
Description
Lifecycle state of a rule entry event indicating whether it is upcoming, has been completed, or has been cancelled
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
Example
"CANCELLED"
RuleEntryEventTranslation
Description
Localized name and description for a rule entry event
Fields
| Field Name | Description |
|---|---|
created - Timestamp!
|
Timestamp when the entity was created |
description - String!
|
Localized long-form description shown to users for this rule entry event |
entityId - HashedId!
|
Identifier of the rule entry event this translation belongs to |
id - HashedId!
|
Unique identifier of the entity |
locale - LanguageLocaleEnum!
|
Locale code identifying the language of this translation |
name - String!
|
Localized title shown to users for this rule entry event |
updated - Timestamp
|
Timestamp when the entity was last updated |
Example
{
"created": 1592577642,
"description": "abc123",
"entityId": HashedId,
"id": HashedId,
"locale": "ar_ar",
"name": "abc123",
"updated": 1592577642
}
RuleEntryEventView
Description
configuration for a rule entry event view
Fields
| Field Name | Description |
|---|---|
created - Timestamp!
|
Timestamp when the entity was created |
displayMode - ViewDisplayMode!
|
display mode that this view uses (e.g. MAP) |
forEntity - ViewEntityEnum!
|
type of entity that this view is for (e.g. ASSET) |
id - HashedId!
|
id (hashed) of the view. can be used to re-order the view, or adjust sharing etc. |
isActive - Boolean!
|
whether this view is enabled for this account |
isDeletable - Boolean!
|
whether this account can delete this view |
isEditable - Boolean!
|
whether this account can change this view's display mode, name or options |
isShareable - Boolean!
|
whether this account can share or unshare this view to this group and sub-groups |
isShared - Boolean!
|
whether this view can be seen by other members of this group, and sub-groups |
isSystemView - Boolean!
|
whether this is a system view (inherited from toolsense system). System views can only be shared/unshared; they cannot be edited. |
isUnsharedByParentGroup - Boolean!
|
whether this view has been unshared by a parent of this group |
options - RuleEntryEventViewOptions!
|
options describing pagination, filters and columns available in the view |
title - Translation!
|
User-defined name for this saved view |
titleId - HashedId!
|
human-readable, user-input name that is given upon view creation. EXCEPT when isSystemView is true, then this is a string identifier for the view (e.g. "asset-gantt") |
updated - Timestamp
|
Timestamp when the entity was last updated |
Example
{
"created": 1592577642,
"displayMode": "GANTT",
"forEntity": "ASSET",
"id": HashedId,
"isActive": false,
"isDeletable": true,
"isEditable": false,
"isShareable": true,
"isShared": false,
"isSystemView": false,
"isUnsharedByParentGroup": false,
"options": RuleEntryEventViewOptions,
"title": Translation,
"titleId": HashedId,
"updated": 1592577642
}
RuleEntryEventViewCreateInput
Description
input used to create a new rule entry event view
Fields
| Input Field | Description |
|---|---|
displayMode - ViewDisplayMode!
|
display mode that this view uses (e.g. MAP) |
options - RuleEntryEventViewOptionsInput!
|
display options to be stored with this view |
title - TranslationInput!
|
Name to assign to the new saved view |
Example
{
"displayMode": "GANTT",
"options": RuleEntryEventViewOptionsInput,
"title": TranslationInput
}
RuleEntryEventViewOptions
Description
Display settings for pagination, filters, and columns in a rule entry event view
Fields
| Field Name | Description |
|---|---|
columns - [String!]!
|
rule entry event columns enabled for this view |
filters - [Filters]
|
well defined filters for this view |
itemsPerPage - Int!
|
number of items per page in this view |
search - String
|
general search string to filter the items in this view |
Example
{
"columns": ["xyz789"],
"filters": [Filters],
"itemsPerPage": 123,
"search": "abc123"
}
RuleEntryEventViewOptionsInput
Description
Pagination, filter, and column settings for a rule entry event view
Fields
| Input Field | Description |
|---|---|
columns - [String!]!
|
ordered rule entry event columns that are to be displayed in this view |
filters - [FilterParamsInput]
|
Filter criteria |
itemsPerPage - Int!
|
number of rule entry events per page in the view |
search - String
|
Text search query for filtering results |
Example
{
"columns": ["xyz789"],
"filters": [FilterParamsInput],
"itemsPerPage": 987,
"search": "xyz789"
}
RuleEntryEventViewUpdateInput
Description
Fields to update on an existing rule entry event view
Fields
| Input Field | Description |
|---|---|
displayMode - ViewDisplayMode!
|
display mode that this view uses (e.g. MAP) |
id - HashedId!
|
Unique identifier of the entity |
options - RuleEntryEventViewOptionsInput!
|
options for displaying rule entry events in this view |
title - TranslationInput!
|
Updated name for the saved view |
Example
{
"displayMode": "GANTT",
"id": HashedId,
"options": RuleEntryEventViewOptionsInput,
"title": TranslationInput
}
RuleEntryEventsPaginatedResult
Description
Paginated set of rule entry events together with the total match count
Fields
| Field Name | Description |
|---|---|
meta - PaginationMeta!
|
Pagination metadata including total count and page info |
rows - [RuleEntryEvent!]!
|
List of records for the current page |
total - Int!
|
Total amount |
Example
{
"meta": PaginationMeta,
"rows": [RuleEntryEvent],
"total": 123
}
RuleEntryFirstCheckMode
Description
When the first check of a time-based rule entry schedule is due: one interval after the start date or on the start date itself
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
Example
"AFTER_INTERVAL"
RuleEntryNotificationRecipient
Description
A user, team, or entity configured to receive rule entry notifications
Fields
| Field Name | Description |
|---|---|
created - Timestamp!
|
Timestamp when the entity was created |
email - String
|
Email address |
groupTicketHandler - GroupTicketHandler
|
Group Ticket Handler for this rule entry notification recipient |
groupTicketHandlerId - HashedId
|
Group ticket handler identifier |
hasNotificationOnNewAsset - Boolean!
|
Whether the record has notification on new asset |
id - HashedId!
|
Unique identifier of the entity |
isSiteManager - Boolean!
|
Whether the site manager receives notifications |
ruleId - HashedId!
|
Rule identifier |
team - Team
|
Team assigned to this rule entry notification recipient |
teamId - HashedId
|
Team identifier |
triggerConfigurations - [RuleEntryNotificationRecipientTriggerConfiguration!]!
|
Trigger Configurations for this rule entry notification recipient |
updated - Timestamp
|
Timestamp when the entity was last updated |
user - User
|
Associated user |
userId - HashedId
|
User identifier |
Example
{
"created": 1592577642,
"email": "xyz789",
"groupTicketHandler": GroupTicketHandler,
"groupTicketHandlerId": HashedId,
"hasNotificationOnNewAsset": false,
"id": HashedId,
"isSiteManager": true,
"ruleId": HashedId,
"team": Team,
"teamId": HashedId,
"triggerConfigurations": [
RuleEntryNotificationRecipientTriggerConfiguration
],
"updated": 1592577642,
"user": User,
"userId": HashedId
}
RuleEntryNotificationRecipientCreateInput
Description
Data required to create a new rule entry notification recipient
Fields
| Input Field | Description |
|---|---|
email - String
|
Email address |
groupTicketHandlerId - HashedId
|
Group ticket handler identifier |
hasNotificationOnNewAsset - Boolean
|
Whether the record has notification on new asset |
isSiteManager - Boolean
|
Whether the site manager receives notifications |
teamId - HashedId
|
Team identifier |
triggerConfigurations - [RuleEntryNotificationRecipientTriggerConfigurationCreateInput!]!
|
Trigger configurations |
userId - HashedId
|
User identifier |
Example
{
"email": "xyz789",
"groupTicketHandlerId": HashedId,
"hasNotificationOnNewAsset": false,
"isSiteManager": true,
"teamId": HashedId,
"triggerConfigurations": [
RuleEntryNotificationRecipientTriggerConfigurationCreateInput
],
"userId": HashedId
}
RuleEntryNotificationRecipientTriggerConfiguration
Description
Configuration linking a notification recipient to a schedule trigger
Fields
| Field Name | Description |
|---|---|
enabledAt - DateTime
|
Timestamp when this link was activated, null if disabled |
notificationRecipientId - HashedId!
|
Notification recipient identifier |
triggerClientId - Int!
|
Trigger Client Id for this rule entry notification recipient trigger configuration |
triggerId - HashedId!
|
Trigger identifier |
Example
{
"enabledAt": "2007-12-03T10:15:30Z",
"notificationRecipientId": HashedId,
"triggerClientId": 987,
"triggerId": HashedId
}
RuleEntryNotificationRecipientTriggerConfigurationCreateInput
Description
Data required to create a new rule entry notification recipient trigger configuration
Example
{
"enabledAt": "2007-12-03T10:15:30Z",
"triggerClientId": 987
}
RuleEntryNotificationTiming
Description
Rule entry notification timing record
Fields
| Field Name | Description |
|---|---|
created - Timestamp!
|
Timestamp when the entity was created |
id - HashedId!
|
Unique identifier of the entity |
isBeforeDue - Boolean!
|
Whether this fires before the due date (true) or when due (false) |
order - Int!
|
Sort order position |
parameterUnit - RuleEntryScheduleTriggerParameterUnit
|
Usage parameter unit |
parameterValue - Int
|
Usage parameter value before or at the target reading |
ruleId - HashedId!
|
Rule identifier |
timeUnit - RuleEntryScheduleTriggerDateUnit
|
Time unit |
timeValue - Int
|
Number of time units before or at due date |
triggerClientId - Int!
|
Trigger Client Id for this rule entry notification timing |
triggerId - HashedId!
|
Trigger identifier |
updated - Timestamp
|
Timestamp when the entity was last updated |
Example
{
"created": 1592577642,
"id": HashedId,
"isBeforeDue": true,
"order": 123,
"parameterUnit": "HOURS",
"parameterValue": 987,
"ruleId": HashedId,
"timeUnit": "DAYS",
"timeValue": 123,
"triggerClientId": 123,
"triggerId": HashedId,
"updated": 1592577642
}
RuleEntryNotificationTimingCreateInput
Description
Data required to create a new rule entry notification timing
Fields
| Input Field | Description |
|---|---|
isBeforeDue - Boolean!
|
Whether this fires before the due date (true) or when due (false) |
order - Int!
|
Sort order position |
parameterUnit - RuleEntryScheduleTriggerParameterUnit
|
Usage parameter unit |
parameterValue - Int
|
Usage parameter value before or at the target reading |
timeUnit - RuleEntryScheduleTriggerDateUnit
|
Time unit |
timeValue - Int
|
Number of time units before or at due date |
triggerClientId - Int!
|
Client-generated ID of the schedule trigger this timing applies to |
Example
{
"isBeforeDue": false,
"order": 987,
"parameterUnit": "HOURS",
"parameterValue": 987,
"timeUnit": "DAYS",
"timeValue": 123,
"triggerClientId": 123
}
RuleEntryPaginatedResult
Description
Rule entry paginated result record
Fields
| Field Name | Description |
|---|---|
meta - PaginationMeta!
|
Pagination metadata including total count and page info |
rows - [RuleEntry!]!
|
List of records for the current page |
total - Int!
|
Total number of rule entries matching the query |
Example
{
"meta": PaginationMeta,
"rows": [RuleEntry],
"total": 987
}
RuleEntryScheduleStartPoint
Description
Reference date from which a recurring rule entry schedule begins, such as asset creation date, commission date, leasing start/end, purchase warranty dates, or a custom date/field
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"COMMISSION_DATE"
RuleEntryScheduleStartPointFallback
Description
Fallback behavior when the selected start point field has no value for an asset, either using the asset creation date or excluding the asset from the schedule
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
Example
"EXCLUDE"
RuleEntryScheduleTrigger
Description
Rule entry schedule trigger record
Fields
| Field Name | Description |
|---|---|
activeFrom - String
|
HH:mm start of a CUSTOM_WINDOW measurement period in the trigger timezone; null otherwise |
activeTo - String
|
HH:mm end of a CUSTOM_WINDOW measurement period in the trigger timezone, after activeFrom; null otherwise |
activeWeekdays - [WeekdayEnum!]
|
Weekdays of a CUSTOM_WINDOW measurement period, or the only weekdays a CALENDAR_WEEK period counts; null for every other period |
clientId - Int!
|
Client-generated ID for correlating triggers during creation |
created - Timestamp!
|
Timestamp when the entity was created |
date - DateTime
|
Specific calendar date for date-based triggers |
dateDayOfMonth - Int
|
Day of the month for monthly triggers (1-31) |
dateMonth - Int
|
Month of the year for yearly triggers (1-12) |
datePatternType - RuleEntryScheduleTriggerDatePatternType
|
Date pattern type |
dateUnit - RuleEntryScheduleTriggerDateUnit
|
Date unit |
dateValue - Int
|
Numeric interval value used with dateUnit for recurring schedules |
dateWeekPosition - Int
|
Week position within the month for pattern triggers |
dateWeekday - Int
|
Day of the week for weekly triggers (0=Sun through 6=Sat) |
description - Translation
|
Translated description |
disabledAt - DateTime
|
Timestamp when this trigger was disabled, null if active |
eventCompletionType - RuleEntryEventCompletionType
|
How an IoT or geofence alert event of this trigger closes: automatically on recovery, or manually by a user for an IoT alert; always AUTOMATIC for geofence, null for other triggers |
geofenceAlertOnType - RuleEntryScheduleTriggerGeofenceAlertOnType
|
Crossing a geofence alert trigger fires on: the asset entering the area, leaving it, or both; null for non-geofence triggers |
geofenceAreaType - RuleEntryScheduleTriggerGeofenceAreaType
|
Shape of the area a geofence alert trigger watches: a circle around one centre point, a rectangle or a polygon; null for non-geofence triggers |
geofenceCoordinates - [RuleEntryScheduleTriggerGeofenceCoordinate!]
|
WGS 84 points of a geofence area: the single centre of a CIRCLE, or the RECTANGLE or POLYGON corners in drawing order; null for non-geofence triggers |
geofenceRadius - Float
|
Radius in meters of a CIRCLE geofence area; null for every other trigger |
id - HashedId!
|
Unique identifier of the entity |
isEvaluatedPerDay - Boolean!
|
Whether a CALENDAR_WEEK or CUSTOM_WINDOW period is measured and decided for each of its days on its own instead of once over the whole week; false for every other trigger |
isSingleExecution - Boolean!
|
Whether this trigger fires only once instead of recurring |
name - Translation
|
Translated title |
order - Int!
|
Sort order position |
parameter - IotParameter
|
IoT parameter this usage trigger meters against |
parameterAggregate - RuleEntryScheduleTriggerParameterAggregate
|
What an IoT alert trigger compares: the reading itself (ABSOLUTE), the counter usage accrued inside the measurement period (TOTAL_IN_PERIOD), or the average, lowest or highest reading received inside it; null for non-IoT triggers |
parameterComparison - RuleEntryScheduleTriggerParameterComparison
|
Comparison operator applied to the parameter reading (always DIVIDE for usage) |
parameterId - HashedId
|
IoT parameter this usage trigger meters against |
parameterThreshold - Float
|
Threshold an IoT alert reading is compared with, in the parameter unit; null for a NO_USAGE comparison and for non-IoT triggers |
parameterUnits - RuleEntryScheduleTriggerParameterUnit
|
Unit the parameter interval value is expressed in |
parameterValue - Int
|
Usage interval value evaluated against the parameter reading |
periodType - RuleEntryScheduleTriggerPeriodType
|
Measurement period a per-period IoT alert trigger is evaluated over; null for ABSOLUTE and non-IoT triggers |
services - [Service!]!
|
Services linked to this rule entry schedule trigger |
timezone - String
|
IANA timezone the measurement period is evaluated in; null when no period is set, or to evaluate the period in the rule creator timezone (UTC when the creator has none) |
toleratedOccurrences - Int
|
How many times an IoT alert condition may occur before the alert fires: a spike for ABSOLUTE, a period in a row otherwise; the count restarts after the alert fires; null for non-IoT triggers |
type - RuleEntryScheduleTriggerType
|
Type category |
updated - Timestamp
|
Timestamp when the entity was last updated |
Example
{
"activeFrom": "xyz789",
"activeTo": "abc123",
"activeWeekdays": ["Friday"],
"clientId": 987,
"created": 1592577642,
"date": "2007-12-03T10:15:30Z",
"dateDayOfMonth": 987,
"dateMonth": 987,
"datePatternType": "MONTHLY_DATE",
"dateUnit": "DAYS",
"dateValue": 123,
"dateWeekPosition": 987,
"dateWeekday": 987,
"description": Translation,
"disabledAt": "2007-12-03T10:15:30Z",
"eventCompletionType": "AUTOMATIC",
"geofenceAlertOnType": "ENTER",
"geofenceAreaType": "CIRCLE",
"geofenceCoordinates": [
RuleEntryScheduleTriggerGeofenceCoordinate
],
"geofenceRadius": 123.45,
"id": HashedId,
"isEvaluatedPerDay": true,
"isSingleExecution": false,
"name": Translation,
"order": 987,
"parameter": IotParameter,
"parameterAggregate": "ABSOLUTE",
"parameterComparison": "DIVIDE",
"parameterId": HashedId,
"parameterThreshold": 123.45,
"parameterUnits": "HOURS",
"parameterValue": 987,
"periodType": "CALENDAR_DAY",
"services": [Service],
"timezone": "xyz789",
"toleratedOccurrences": 123,
"type": "COMBINED",
"updated": 1592577642
}
RuleEntryScheduleTriggerDatePatternType
Description
Recurrence pattern for custom schedule triggers, specifying whether the schedule repeats on a specific day of the month, a specific weekday of the month, a specific date each year, or a specific weekday each year
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
Example
"MONTHLY_DATE"
RuleEntryScheduleTriggerDateUnit
Description
Calendar unit used to define the recurring interval for time-based rule entry schedule triggers (days, weeks, months, or years)
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
Example
"DAYS"
RuleEntryScheduleTriggerGeofenceAlertOnType
Description
Crossing a geofence alert trigger fires on: the asset entering the area, leaving it, or both
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
Example
"ENTER"
RuleEntryScheduleTriggerGeofenceAreaType
Description
Shape of the area a geofence alert trigger watches: a circle around one centre point, a rectangle, or a polygon
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
Example
"CIRCLE"
RuleEntryScheduleTriggerGeofenceCoordinate
RuleEntryScheduleTriggerGeofenceCoordinateInput
RuleEntryScheduleTriggerParameterAggregate
Description
What an IoT alert trigger compares with its threshold: the reading itself, the counter usage accrued inside the measurement period, or the average, lowest or highest reading received inside it
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"ABSOLUTE"
RuleEntryScheduleTriggerParameterComparison
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"DIVIDE"
RuleEntryScheduleTriggerParameterUnit
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"HOURS"
RuleEntryScheduleTriggerPeriodType
Description
Measurement period of a total-in-period IoT alert trigger: the calendar day, the ISO calendar week, or a custom weekday and time window
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
Example
"CALENDAR_DAY"
RuleEntryScheduleTriggerType
Description
Mechanism that triggers a rule entry schedule, such as elapsed time intervals, asset usage thresholds, a combination of both, custom schedules, custom dates, geofence boundary crossings, or working hour violations
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"COMBINED"
RuleEntryScheduleTriggerUpsertInput
Description
Data required to create a new or update an existing rule entry schedule trigger
Fields
| Input Field | Description |
|---|---|
activeFrom - String
|
HH:mm start of a CUSTOM_WINDOW measurement period in the trigger timezone; null otherwise |
activeTo - String
|
HH:mm end of a CUSTOM_WINDOW measurement period in the trigger timezone, after activeFrom; null otherwise |
activeWeekdays - [WeekdayEnum!]
|
Weekdays of a CUSTOM_WINDOW measurement period, or the only weekdays a CALENDAR_WEEK period counts; null for every other period |
clientId - Int!
|
Client-generated ID for correlating triggers during creation |
date - DateTime
|
Specific calendar date for date-based triggers |
dateDayOfMonth - Int
|
Day of the month for monthly triggers (1-31) |
dateMonth - Int
|
Month of the year for yearly triggers (1-12) |
datePatternType - RuleEntryScheduleTriggerDatePatternType
|
Date pattern type |
dateUnit - RuleEntryScheduleTriggerDateUnit
|
Date unit |
dateValue - Int
|
Numeric interval value used with dateUnit for recurring schedules |
dateWeekPosition - Int
|
Week position within the month for pattern triggers |
dateWeekday - Int
|
Day of the week for weekly triggers (0=Sun through 6=Sat) |
description - TranslationInput!
|
Human-readable description |
disabledAt - DateTime
|
Timestamp when this trigger was disabled, null if active |
eventCompletionType - RuleEntryEventCompletionType
|
How an IoT or geofence alert event of this trigger closes: automatically on recovery, or manually by a user for an IoT alert; always AUTOMATIC for geofence, null for other triggers |
geofenceAlertOnType - RuleEntryScheduleTriggerGeofenceAlertOnType
|
Crossing a geofence alert trigger fires on: the asset entering the area, leaving it, or both; null for non-geofence triggers |
geofenceAreaType - RuleEntryScheduleTriggerGeofenceAreaType
|
Shape of the area a geofence alert trigger watches: a circle around one centre point, a rectangle or a polygon; null for non-geofence triggers |
geofenceCoordinates - [RuleEntryScheduleTriggerGeofenceCoordinateInput!]
|
WGS 84 points of a geofence area: the single centre of a CIRCLE, or the RECTANGLE or POLYGON corners in drawing order; null for non-geofence triggers |
geofenceRadius - Float
|
Radius in meters of a CIRCLE geofence area; null for every other trigger |
id - HashedId
|
Unique identifier of the entity |
isEvaluatedPerDay - Boolean
|
Whether a CALENDAR_WEEK or CUSTOM_WINDOW period is measured and decided for each of its days on its own instead of once over the whole week; false for every other trigger |
isSingleExecution - Boolean!
|
Whether this trigger fires only once instead of recurring |
name - TranslationInput!
|
Display name |
order - Int!
|
Sort order position |
parameterAggregate - RuleEntryScheduleTriggerParameterAggregate
|
What an IoT alert trigger compares: the reading itself (ABSOLUTE), the counter usage accrued inside the measurement period (TOTAL_IN_PERIOD), or the average, lowest or highest reading received inside it; null for non-IoT triggers |
parameterComparison - RuleEntryScheduleTriggerParameterComparison
|
Comparison operator applied to the parameter reading (always DIVIDE for usage) |
parameterId - HashedId
|
IoT parameter this usage trigger meters against |
parameterThreshold - Float
|
Threshold an IoT alert reading is compared with, in the parameter unit; null for a NO_USAGE comparison and for non-IoT triggers |
parameterUnits - RuleEntryScheduleTriggerParameterUnit
|
Unit the parameter interval value is expressed in |
parameterValue - Int
|
Usage interval value evaluated against the parameter reading |
periodType - RuleEntryScheduleTriggerPeriodType
|
Measurement period a per-period IoT alert trigger is evaluated over; null for ABSOLUTE and non-IoT triggers |
serviceIds - [HashedId!]
|
IDs of maintenance services to execute when this trigger fires |
timezone - String
|
IANA timezone the measurement period is evaluated in; null when no period is set, or to evaluate the period in the rule creator timezone (UTC when the creator has none) |
toleratedOccurrences - Int
|
How many times an IoT alert condition may occur before the alert fires: a spike for ABSOLUTE, a period in a row otherwise; the count restarts after the alert fires; null for non-IoT triggers |
type - RuleEntryScheduleTriggerType
|
Type category |
Example
{
"activeFrom": "abc123",
"activeTo": "xyz789",
"activeWeekdays": ["Friday"],
"clientId": 987,
"date": "2007-12-03T10:15:30Z",
"dateDayOfMonth": 987,
"dateMonth": 123,
"datePatternType": "MONTHLY_DATE",
"dateUnit": "DAYS",
"dateValue": 123,
"dateWeekPosition": 987,
"dateWeekday": 987,
"description": TranslationInput,
"disabledAt": "2007-12-03T10:15:30Z",
"eventCompletionType": "AUTOMATIC",
"geofenceAlertOnType": "ENTER",
"geofenceAreaType": "CIRCLE",
"geofenceCoordinates": [
RuleEntryScheduleTriggerGeofenceCoordinateInput
],
"geofenceRadius": 987.65,
"id": HashedId,
"isEvaluatedPerDay": true,
"isSingleExecution": false,
"name": TranslationInput,
"order": 123,
"parameterAggregate": "ABSOLUTE",
"parameterComparison": "DIVIDE",
"parameterId": HashedId,
"parameterThreshold": 987.65,
"parameterUnits": "HOURS",
"parameterValue": 987,
"periodType": "CALENDAR_DAY",
"serviceIds": [HashedId],
"timezone": "abc123",
"toleratedOccurrences": 123,
"type": "COMBINED"
}
RuleEntryStatus
Description
Lifecycle status of a rule entry: draft, materializing in background, or active
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
Example
"ACTIVE"
RuleEntrySubType
Description
Severity or classification of a rule entry outcome, indicating whether the triggered event is an error, warning, informational notice, service reminder, machine check, or location update
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"ERROR"
RuleEntryType
Description
Category of automation rule entry such as inspection schedules, IoT sensor monitoring, geofence boundaries, or working hour tracking
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
Example
"GEOFENCE"
RuleEntryUpdateInput
Description
Data required to update an existing rule entry
Fields
| Input Field | Description |
|---|---|
assetFilters - [FilterParamsInput!]
|
Asset filters |
assetGroupId - HashedId
|
Asset group identifier |
description - TranslationInput
|
Human-readable description |
firstCheckMode - RuleEntryFirstCheckMode
|
When the first check of a time-based first trigger is due |
hasNotification - Boolean
|
Whether notifications are enabled for this rule entry |
hasNotificationEmail - Boolean
|
Whether email notifications are enabled |
hasNotificationImmediate - Boolean
|
Whether an IoT alert notification is sent the moment the alert fires instead of with the next scheduled notification run |
hasNotificationOnNewAsset - Boolean
|
Whether notifications fire when a new asset matches this rule |
hasNotificationPush - Boolean
|
Whether push notifications are enabled |
hasNotificationTimingBeforeDue - Boolean
|
Whether advance reminders are sent before the due date |
hasNotificationTimingWhenDue - Boolean
|
Whether notifications are sent when the due date arrives |
isAssetAssignNew - Boolean
|
Whether newly created assets are automatically included |
isAssetVehicle - Boolean
|
Whether this rule entry targets vehicle assets |
isCheckAllowedForUnauthorizedUsers - Boolean
|
Whether check allowed for unauthorized users |
isManualOnly - Boolean
|
Whether this rule entry uses only manually added assets |
isScheduleFixed - Boolean
|
Whether the schedule uses fixed calendar dates |
isSkipOverdueEnabled - Boolean
|
Whether due dates before today are skipped when generating events |
manuallyAddedAssetIds - [HashedId!]
|
Manually added asset identifiers |
name - TranslationInput
|
Display name |
notificationRecipients - [RuleEntryNotificationRecipientCreateInput!]
|
Notification recipients |
notificationTimings - [RuleEntryNotificationTimingCreateInput!]
|
Notification timings |
scheduleStartAt - DateTime
|
Fixed start date for the schedule evaluation |
scheduleStartPointFallback - RuleEntryScheduleStartPointFallback
|
Fallback behavior when the start point field has no value |
scheduleStartPointField - RuleEntryScheduleStartPoint
|
Asset field used as dynamic start point for schedule calculation |
scheduleTriggers - [RuleEntryScheduleTriggerUpsertInput!]
|
Schedule triggers |
subType - RuleEntrySubType
|
Sub type |
type - RuleEntryType
|
Type category |
Example
{
"assetFilters": [FilterParamsInput],
"assetGroupId": HashedId,
"description": TranslationInput,
"firstCheckMode": "AFTER_INTERVAL",
"hasNotification": false,
"hasNotificationEmail": true,
"hasNotificationImmediate": true,
"hasNotificationOnNewAsset": true,
"hasNotificationPush": true,
"hasNotificationTimingBeforeDue": false,
"hasNotificationTimingWhenDue": true,
"isAssetAssignNew": false,
"isAssetVehicle": false,
"isCheckAllowedForUnauthorizedUsers": true,
"isManualOnly": false,
"isScheduleFixed": false,
"isSkipOverdueEnabled": false,
"manuallyAddedAssetIds": [HashedId],
"name": TranslationInput,
"notificationRecipients": [
RuleEntryNotificationRecipientCreateInput
],
"notificationTimings": [
RuleEntryNotificationTimingCreateInput
],
"scheduleStartAt": "2007-12-03T10:15:30Z",
"scheduleStartPointFallback": "EXCLUDE",
"scheduleStartPointField": "COMMISSION_DATE",
"scheduleTriggers": [
RuleEntryScheduleTriggerUpsertInput
],
"subType": "ERROR",
"type": "GEOFENCE"
}
RuleEntryView
Description
configuration for a rule entry view
Fields
| Field Name | Description |
|---|---|
created - Timestamp!
|
Timestamp when the entity was created |
displayMode - ViewDisplayMode!
|
display mode that this view uses (e.g. MAP) |
forEntity - ViewEntityEnum!
|
type of entity that this view is for (e.g. ASSET) |
id - HashedId!
|
id (hashed) of the view. can be used to re-order the view, or adjust sharing etc. |
isActive - Boolean!
|
whether this view is enabled for this account |
isDeletable - Boolean!
|
whether this account can delete this view |
isEditable - Boolean!
|
whether this account can change this view's display mode, name or options |
isShareable - Boolean!
|
whether this account can share or unshare this view to this group and sub-groups |
isShared - Boolean!
|
whether this view can be seen by other members of this group, and sub-groups |
isSystemView - Boolean!
|
whether this is a system view (inherited from toolsense system). System views can only be shared/unshared; they cannot be edited. |
isUnsharedByParentGroup - Boolean!
|
whether this view has been unshared by a parent of this group |
options - RuleEntryViewOptions!
|
options describing pagination, filters and columns available in the view |
title - Translation!
|
User-defined name for this saved view |
titleId - HashedId!
|
human-readable, user-input name that is given upon view creation. EXCEPT when isSystemView is true, then this is a string identifier for the view (e.g. "asset-gantt") |
updated - Timestamp
|
Timestamp when the entity was last updated |
Example
{
"created": 1592577642,
"displayMode": "GANTT",
"forEntity": "ASSET",
"id": HashedId,
"isActive": false,
"isDeletable": false,
"isEditable": false,
"isShareable": true,
"isShared": true,
"isSystemView": true,
"isUnsharedByParentGroup": true,
"options": RuleEntryViewOptions,
"title": Translation,
"titleId": HashedId,
"updated": 1592577642
}
RuleEntryViewCreateInput
Description
input used to create a new rule entry view
Fields
| Input Field | Description |
|---|---|
displayMode - ViewDisplayMode!
|
display mode that this view uses (e.g. MAP) |
options - RuleEntryViewOptionsInput!
|
display options to be stored with this view |
title - TranslationInput!
|
Name to assign to the new saved view |
Example
{
"displayMode": "GANTT",
"options": RuleEntryViewOptionsInput,
"title": TranslationInput
}
RuleEntryViewOptions
Description
Display settings for pagination, filters, and columns in a rule entry view
Fields
| Field Name | Description |
|---|---|
columns - [String!]!
|
rule entry columns enabled for this view |
filters - [Filters]
|
well defined filters for this view |
itemsPerPage - Int!
|
number of items per page in this view |
search - String
|
general search string to filter the items in this view |
Example
{
"columns": ["xyz789"],
"filters": [Filters],
"itemsPerPage": 987,
"search": "abc123"
}
RuleEntryViewOptionsInput
Description
Pagination, filter, and column settings for a rule entry view
Fields
| Input Field | Description |
|---|---|
columns - [String!]!
|
ordered rule entry columns that are to be displayed in this view |
filters - [FilterParamsInput]
|
Filter criteria |
itemsPerPage - Int!
|
number of rule entries per page in the view |
search - String
|
Text search query for filtering results |
Example
{
"columns": ["xyz789"],
"filters": [FilterParamsInput],
"itemsPerPage": 987,
"search": "abc123"
}
RuleEntryViewUpdateInput
Description
input for updating a rule entry view
Fields
| Input Field | Description |
|---|---|
displayMode - ViewDisplayMode!
|
display mode that this view uses (e.g. MAP) |
id - HashedId!
|
Unique identifier of the entity |
options - RuleEntryViewOptionsInput!
|
options for displaying rule entries in this view |
title - TranslationInput!
|
Updated name for the saved view |
Example
{
"displayMode": "GANTT",
"id": HashedId,
"options": RuleEntryViewOptionsInput,
"title": TranslationInput
}
RuleGeofenceAlert
Description
Geofence crossing direction that triggers an alert: when an asset enters the boundary, exits it, or either enters or exits
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
Example
"ENTER"
RuleGeofenceType
Description
Geometric shape used to define a geofence boundary on the map for location-based rule monitoring (circle, rectangle, or polygon)
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
Example
"CIRCLE"
RuleInterval
Description
Legacy time intervals for scheduled rule execution: yearly, monthly, or daily
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
Example
"M"
RuleMassEditFailure
Fields
| Field Name | Description |
|---|---|
reason - RuleMassEditFailureReason!
|
|
ruleId - HashedId!
|
Example
{"reason": "FLAG_NOT_APPLICABLE", "ruleId": HashedId}
RuleMassEditFailureReason
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
Example
"FLAG_NOT_APPLICABLE"
RuleMassEditResult
Fields
| Field Name | Description |
|---|---|
failed - [RuleMassEditFailure!]!
|
|
retainedIds - [HashedId!]!
|
Selected ids the user can still edit after the operation; empty after a delete or archive |
skipped - Int!
|
|
succeeded - Int!
|
Example
{
"failed": [RuleMassEditFailure],
"retainedIds": [HashedId],
"skipped": 123,
"succeeded": 123
}
RuleMassEditSelectionInput
Fields
| Input Field | Description |
|---|---|
excludeRuleIds - [HashedId!]
|
Rule IDs to exclude |
filterInput - AssetFilterInput
|
Filter criteria to select rules |
ruleIds - [HashedId!]
|
Rule IDs to include |
Example
{
"excludeRuleIds": [HashedId],
"filterInput": AssetFilterInput,
"ruleIds": [HashedId]
}
RuleNotificationRelation
Description
Makes possible to specify entities who receive rule notifications - like emails or push messages - when the rule is triggered.
Fields
| Field Name | Description |
|---|---|
relation - RuleNotificationRelationType!
|
Defines the type of entity |
relationId - HashedId
|
Optionally required per type - specifies entity id |
relationValue - String
|
Optionally required per type - specifies entity property |
Example
{
"relation": "EXTERNALEMAIL",
"relationId": HashedId,
"relationValue": "xyz789"
}
RuleNotificationRelationInput
Description
Rule notification relation Input data for rule notification relation
Fields
| Input Field | Description |
|---|---|
relation - RuleNotificationRelationType!
|
Defines the type of entity |
relationId - HashedId
|
Optionally required per type - specifies entity id |
relationValue - String
|
Optionally required per type - specifies entity property |
Example
{
"relation": "EXTERNALEMAIL",
"relationId": HashedId,
"relationValue": "abc123"
}
RuleNotificationRelationType
Description
Specifies the recipient type for rule notifications: external email address, site manager of the related site, or a specific user
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
Example
"EXTERNALEMAIL"
RulePurpose
Description
Classifies the functional purpose of a rule, such as geofence boundary monitoring or working hours enforcement
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
Example
"GEOFENCE"
RuleRelation
Description
Rule relation record
Fields
| Field Name | Description |
|---|---|
allAssets - Boolean
|
Whether this rule applies to all assets in the group |
asset - Asset
|
Associated asset |
assetType - AssetType
|
Asset type |
assetWorkinghours - Asset
|
Asset whose working hours configuration is linked to this rule |
relation - RuleRelationTypeEnum!
|
Type of target this relation binds the rule to |
reservationWorkinghours - Reservation
|
Reservation whose working hours schedule is used by this rule |
siteGeofence - Site
|
Site whose geofence boundary is monitored by this rule |
Example
{
"allAssets": true,
"asset": Asset,
"assetType": AssetType,
"assetWorkinghours": Asset,
"relation": "ALLASSETS",
"reservationWorkinghours": Reservation,
"siteGeofence": Site
}
RuleRelationInput
Description
Rule relation Input data for rule relations
Fields
| Input Field | Description |
|---|---|
allAssets - Boolean
|
All assets. Default = false |
assetIds - [HashedId!]
|
Asset identifiers |
assetTypeIds - [HashedId!]
|
Asset type identifiers |
assetWorkinghoursIds - [HashedId!]
|
Asset workinghours identifiers |
siteGeofenceIds - [HashedId!]
|
Site geofence identifiers |
Example
{
"allAssets": true,
"assetIds": [HashedId],
"assetTypeIds": [HashedId],
"assetWorkinghoursIds": [HashedId],
"siteGeofenceIds": [HashedId]
}
RuleRelationTypeEnum
Description
Defines how a rule is scoped to assets: all assets, a specific asset, an asset type, working hours tracking, reservation-based working hours, or site geofence boundaries
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"ALLASSETS"
RuleServicesFilterArgs
Description
Filter criteria for narrowing down rule services.args results
Fields
| Input Field | Description |
|---|---|
includeBle - Boolean
|
Include Bluetooth Low Energy (BLE) services in results. Default = null |
includeGeneralService - Boolean
|
Include general-purpose services that are not tied to a specific service type. Default = null |
includeQrCodeLanding - Boolean
|
Include QR code landing page services in results. Default = null |
includeRegularService - Boolean
|
Include standard maintenance and repair services in results. Default = null |
isServiceCheck - Boolean
|
if true, only services that are service checks are returned |
itemType - ServiceItemType
|
Filter by the entity type this service applies to (e.g. asset, site) |
publicIds - [Int!]
|
Return only the accessible services with these numeric public ids; matches the publicId a service exposes |
search - String
|
Text search query for filtering results |
type - ServiceType
|
Filter by service classification type. Default = JOT_FORM |
Example
{
"includeBle": false,
"includeGeneralService": true,
"includeQrCodeLanding": false,
"includeRegularService": false,
"isServiceCheck": false,
"itemType": "asset",
"publicIds": [987],
"search": "abc123",
"type": "JOT_FORM"
}
RuleSource
Description
Identifies the trigger source for rule evaluation, such as incoming IoT data, scheduled intervals, checks, BLE proximity, or meter readings
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
Check like INTERVAL but with asset relation |
|
|
|
|
|
|
|
|
Example
"BLE"
S3CreateUploadInput
S3PresignedUrl
S3Upload
Description
Result of creating an S3 upload slot: presigned PUT URL, opaque upload ID, and the future final URL the client should reference
Fields
| Field Name | Description |
|---|---|
expiresIn - Int!
|
Number of seconds the presigned PUT URL stays valid |
key - String!
|
Staging S3 key the file is uploaded to before claim |
publicUrl - String!
|
Final public URL the file will be available at after submit/claim |
uploadId - String!
|
Opaque server-issued ID used to claim the upload on submit |
url - String!
|
Time-limited presigned PUT URL the client uses to upload the file |
Example
{
"expiresIn": 123,
"key": "abc123",
"publicUrl": "abc123",
"uploadId": "xyz789",
"url": "xyz789"
}
ScheduleWorkOrderInput
Description
Schedule a work order on a Disposition row; moving it to another row hands the dragged person's place to the target personnel
Fields
| Input Field | Description |
|---|---|
endDate - DateTime!
|
End date of the period |
personnelId - HashedId!
|
Personnel whose Disposition row the work order is scheduled on |
sourcePersonnelId - HashedId
|
Personnel whose Disposition row the bar was dragged from; null when scheduling from the inbox |
startDate - DateTime!
|
Start date of the period |
workOrderId - HashedId!
|
Work order being scheduled |
Example
{
"endDate": "2007-12-03T10:15:30Z",
"personnelId": HashedId,
"sourcePersonnelId": HashedId,
"startDate": "2007-12-03T10:15:30Z",
"workOrderId": HashedId
}
Service
Description
A Service is essentially a form, used to submit data or make requests to the group. It is a standard multipart form which can contain various input fields like text input, multi-choice selection, geolocation or file upload. It's the functional successor of Flows.
Services are associated with the servicePackage of the group of the requesting user. The service is presented based on ServiceContentType, this defines how it should be rendered to the user.
Fields
| Field Name | Description |
|---|---|
afterApprovalAssignee - ServiceAfterApprovalAssignee!
|
Who a ticket from this service is handed to once every approver approved it |
afterApprovalTeamId - HashedId
|
Team a ticket from this service is handed to after approval when afterApprovalAssignee is FIXED |
afterApprovalUserId - HashedId
|
User a ticket from this service is handed to after approval when afterApprovalAssignee is FIXED |
askAiAssistantFirst - Boolean!
|
Whether tapping this service on a robot QR landing opens the AI assistant before the form; the escalation ticket is then filed under this service |
assigneeAutomation - AssigneeAutomation!
|
Rule governing automatic ticket handler assignment when a ticket is created from this service |
assigneeAutomationId - Int
|
Assignee automation identifier use assigneeAutomation field instead |
availableHandlers - [AvailableServiceHandlerDto!]!
|
Available Handlers for this service |
belongsToGroupTypeId - HashedId
|
Belongs to group type identifier |
canBeDeleted - Boolean!
|
Whether this service can be deleted |
contentType - ServiceContentType
|
Defines how to render the service, when requested. See ServiceContentType. |
created - Timestamp!
|
Timestamp when the entity was created |
createdByGroup - Group!
|
Group this service belongs to |
createdByGroupId - HashedId!
|
Created by group identifier |
deleted - Timestamp
|
Soft deletion timestamp, null if active |
formId - String
|
This is displayed for CRUD reference only. Do not utilize this id in any other way. |
iconUrl - String
|
URL to the icon image displayed alongside this service in the UI |
id - HashedId!
|
Unique identifier of the entity |
isApprovalRequired - Boolean!
|
Whether the user the assignee automation puts on a new ticket from this service must approve it first |
isServiceCheck - Boolean!
|
Whether this service acts as a periodic maintenance check rather than a one-time request |
jotformId - String
|
External Jotform form identifier linked to this service for data collection |
jotformSource - String
|
Origin URL or embed source for the linked Jotform form |
keys - [String!]
|
Keys are special keywords that can point to how the service is used on the platform. Eg. if a service is used as a QR code landing page, or is highlighted in the mobile app menu. use preset instead |
preset - ServicePreset!
|
Predefined configuration template applied to this service (e.g. regular, BLE, QR landing) |
procedureTemplate - ProcedureTemplate
|
Procedure Template for this service |
procedureTemplateId - HashedId
|
Procedure template identifier |
publicId - Int!
|
Public numeric identifier |
publicProcedureTemplateId - Int
|
Public procedure template identifier |
rules - [Rule!]!
|
Rules associated with this service |
servicePackage - ServicePackage!
|
Service package for this service |
servicePackages - [ServicePackage!]!
|
Service package for this service |
servicePartner - AvailableHandler
|
Services linked to this service |
serviceTags - [ServiceTag!]!
|
Tags this service attaches for each condition tag slot |
suggestedServicePartner - String
|
Services linked to this service Use ticketHandlers field instead |
ticketHandlers - [ServiceTicketHandler!]!
|
Ticket Handlers for this service |
title - Translation
|
Translated name of the service |
titleId - HashedId!
|
References the i18n translation key used to resolve the localized service display name |
type - ServiceType!
|
Classification that determines service behavior, such as regular form, BLE interaction, QR landing page, or Jotform integration |
updated - Timestamp
|
Timestamp when the entity was last updated |
Example
{
"afterApprovalAssignee": "FIXED",
"afterApprovalTeamId": HashedId,
"afterApprovalUserId": HashedId,
"askAiAssistantFirst": false,
"assigneeAutomation": "AUTO_ASSIGN",
"assigneeAutomationId": 123,
"availableHandlers": [AvailableServiceHandlerDto],
"belongsToGroupTypeId": HashedId,
"canBeDeleted": true,
"contentType": "formHtml",
"created": 1592577642,
"createdByGroup": Group,
"createdByGroupId": HashedId,
"deleted": 1592577642,
"formId": "abc123",
"iconUrl": "abc123",
"id": HashedId,
"isApprovalRequired": false,
"isServiceCheck": false,
"jotformId": "abc123",
"jotformSource": "xyz789",
"keys": ["abc123"],
"preset": "BLE",
"procedureTemplate": ProcedureTemplate,
"procedureTemplateId": HashedId,
"publicId": 987,
"publicProcedureTemplateId": 987,
"rules": [Rule],
"servicePackage": ServicePackage,
"servicePackages": [ServicePackage],
"servicePartner": AvailableHandler,
"serviceTags": [ServiceTag],
"suggestedServicePartner": "xyz789",
"ticketHandlers": [ServiceTicketHandler],
"title": Translation,
"titleId": HashedId,
"type": "JOT_FORM",
"updated": 1592577642
}
ServiceAfterApprovalAssignee
Description
Who a ticket is handed to once every approver approved it: the group after-approval assignee, the fixed user or team of the service, or nobody
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
Example
"FIXED"
ServiceContent
ServiceContentType
Description
Format types for service definition content, determining how the service form is rendered to the end user
Values
| Enum Value | Description |
|---|---|
|
|
HTML source code for a service. Client needs to render this and present this to the user, who to then completes the request using the form UI provided by it. |
Example
"formHtml"
ServiceCreateInput
Description
Data required to create a new service
Fields
| Input Field | Description |
|---|---|
afterApprovalAssignee - ServiceAfterApprovalAssignee
|
Who a ticket from this service is handed to once every approver approved it |
afterApprovalTeamId - HashedId
|
Team a ticket from this service is handed to after approval when afterApprovalAssignee is FIXED |
afterApprovalUserId - HashedId
|
User a ticket from this service is handed to after approval when afterApprovalAssignee is FIXED |
askAiAssistantFirst - Boolean
|
Whether tapping this service on a robot QR landing opens the AI assistant before the form; the escalation ticket is then filed under this service |
assigneeAutomation - AssigneeAutomation!
|
Rule governing automatic ticket handler assignment when a ticket is created from this service |
iconUrl - String
|
URL to the icon image displayed alongside this service in the UI |
isApprovalRequired - Boolean
|
Whether the user the assignee automation puts on a new ticket from this service must approve it first |
isServiceCheck - Boolean
|
Whether this service acts as a periodic maintenance check rather than a one-time request |
jotformId - String
|
External Jotform form identifier linked to this service for data collection |
jotformSource - String
|
Origin URL or embed source for the linked Jotform form |
preset - ServicePreset!
|
Predefined configuration template applied to this service (e.g. regular, BLE, QR landing) |
procedureTemplateId - HashedId
|
Procedure template identifier |
serviceTags - [ServiceTagInput!]
|
Tags attached when a procedure condition assigns a tag slot |
suggestedServicePartner - String
|
Recommended external service partner name for handling tickets created from this service |
ticketHandlers - [ServiceTicketHandlerInput!]
|
Handlers to assign for processing tickets created from this service |
title - TranslationInput!
|
Localized display name for the new service |
type - ServiceType!
|
Classification that determines service behavior, such as regular form, BLE interaction, QR landing page, or Jotform integration |
Example
{
"afterApprovalAssignee": "FIXED",
"afterApprovalTeamId": HashedId,
"afterApprovalUserId": HashedId,
"askAiAssistantFirst": true,
"assigneeAutomation": "AUTO_ASSIGN",
"iconUrl": "abc123",
"isApprovalRequired": false,
"isServiceCheck": false,
"jotformId": "abc123",
"jotformSource": "abc123",
"preset": "BLE",
"procedureTemplateId": HashedId,
"serviceTags": [ServiceTagInput],
"suggestedServicePartner": "abc123",
"ticketHandlers": [ServiceTicketHandlerInput],
"title": TranslationInput,
"type": "JOT_FORM"
}
ServiceItemType
Description
Defines the scope of a service item, indicating whether it applies to general information, a specific asset, or a specific site
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
Example
"asset"
ServiceJotformConversionConvertInput
Description
Data required to convert the services of a Jotform form
Fields
| Input Field | Description |
|---|---|
conversionPreset - ServiceJotformConversionPreset!
|
Conversion preset of the services of the form |
jotformId - String!
|
Jotform form identifier |
procedureTemplateId - HashedId!
|
Procedure template the services convert to |
Example
{
"conversionPreset": "CHECK",
"jotformId": "abc123",
"procedureTemplateId": HashedId
}
ServiceJotformConversionForm
Description
Jotform form of the services accessible to the current group with its conversion state per conversion preset
Fields
| Field Name | Description |
|---|---|
conversionPreset - ServiceJotformConversionPreset!
|
Conversion preset of the services of the form |
convertedCount - Int!
|
Converted services a revert would restore |
id - String!
|
Unique identifier of the entity |
jotformId - String!
|
Jotform form identifier |
notConvertibleReason - ServiceJotformConversionNotConvertibleReason
|
Why the services of the form cannot be converted |
procedureTemplate - ProcedureTemplate
|
Procedure template the form and conversion preset are converted to |
serviceCount - Int!
|
Services of the form: Jotform services not yet converted (skipped ones included) plus the converted ones |
skippedCount - Int!
|
Services in groups without access to procedures or to the asset checks or QR codes the conversion preset needs |
Example
{
"conversionPreset": "CHECK",
"convertedCount": 123,
"id": "xyz789",
"jotformId": "abc123",
"notConvertibleReason": "BLE_PRESET",
"procedureTemplate": ProcedureTemplate,
"serviceCount": 987,
"skippedCount": 987
}
ServiceJotformConversionFormPaginatedResult
Description
Paginated Jotform forms of the services accessible to the current group with their conversion state
Fields
| Field Name | Description |
|---|---|
meta - PaginationMeta!
|
Pagination metadata including total count and page info |
rows - [ServiceJotformConversionForm!]!
|
List of records for the current page |
total - Int!
|
Total amount |
Example
{
"meta": PaginationMeta,
"rows": [ServiceJotformConversionForm],
"total": 123
}
ServiceJotformConversionNotConvertibleReason
Description
Why the Jotform services of a form cannot be converted
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
Example
"BLE_PRESET"
ServiceJotformConversionPreset
Description
Conversion preset of the Jotform services that convert onto one procedure template
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
Example
"CHECK"
ServiceJotformConversionRevertInput
Description
Data required to revert the converted services of a Jotform form
Fields
| Input Field | Description |
|---|---|
conversionPreset - ServiceJotformConversionPreset!
|
Conversion preset of the services of the form |
jotformId - String!
|
Jotform form identifier |
Example
{
"conversionPreset": "CHECK",
"jotformId": "abc123"
}
ServicePackage
Description
ServicePackage defines overall properties for a Group - it eases setting up a new group. A Group can have a single ServicePackage defined.
Fields
| Field Name | Description |
|---|---|
assignedGroupsCount - Int!
|
Total number of groups this service package is assigned to |
assignedSitesCount - Int!
|
Total number of sites this service package is assigned to |
canBeDeleted - Boolean!
|
Checks if the service package can be deleted |
created - Timestamp!
|
Timestamp when the entity was created |
createdByGroup - Group!
|
Created by group |
createdByGroupId - HashedId!
|
Created by group identifier |
createdByUser - User
|
Created by user |
createdByUserId - HashedId!
|
Created by user identifier |
deleted - Timestamp
|
Soft deletion timestamp, null if active |
id - HashedId!
|
Unique identifier of the entity |
restrictionReason - ServicePackageRestrictionReason
|
Restriction reason |
services - [Service!]!
|
A list of services this servicePackage is attached to. See Services for more. |
Arguments
|
|
title - Translation
|
Translated name of the service package |
titleId - HashedId!
|
Title identifier |
updated - Timestamp
|
Timestamp when the entity was last updated |
Example
{
"assignedGroupsCount": 123,
"assignedSitesCount": 123,
"canBeDeleted": true,
"created": 1592577642,
"createdByGroup": Group,
"createdByGroupId": HashedId,
"createdByUser": User,
"createdByUserId": HashedId,
"deleted": 1592577642,
"id": HashedId,
"restrictionReason": "NOT_IN_CUSTOMER_TREE",
"services": [Service],
"title": Translation,
"titleId": HashedId,
"updated": 1592577642
}
ServicePackageCreateInput
Description
Data required to create a new service package
Fields
| Input Field | Description |
|---|---|
title - TranslationInput!
|
Title text |
Example
{"title": TranslationInput}
ServicePackagePaginatedDto
Description
Paginated list of service packages with total count
Fields
| Field Name | Description |
|---|---|
meta - PaginationMeta!
|
Pagination metadata including total count and page info |
rows - [ServicePackage!]!
|
List of records for the current page |
total - Int!
|
Total amount |
Example
{
"meta": PaginationMeta,
"rows": [ServicePackage],
"total": 987
}
ServicePackageRestrictionReason
Description
Reasons why a service package cannot be used, such as the requesting group not being in the customer organization tree or not in the manufacturer organization tree
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
Example
"NOT_IN_CUSTOMER_TREE"
ServicePackageServicesFilterInput
Description
Filter criteria for narrowing down service package servicess.args results
Fields
| Input Field | Description |
|---|---|
excludeQRLandingPage - Boolean
|
Exclude QR code landing page services from results. Default = null |
includeBle - Boolean
|
Include Bluetooth Low Energy (BLE) services in results. Default = null |
includeGeneralService - Boolean
|
Include general-purpose services that are not tied to a specific service type. Default = null |
includeQrCodeLanding - Boolean
|
Include QR code landing page services in results. Default = null |
includeRegularService - Boolean
|
Include standard maintenance and repair services in results. Default = null |
isServiceCheck - Boolean
|
if true, only services that are service checks are returned |
itemType - ServiceItemType
|
Filter by the entity type this service applies to (e.g. asset, site) |
publicIds - [Int!]
|
Return only the accessible services with these numeric public ids; matches the publicId a service exposes |
search - String
|
Text search query for filtering results |
type - ServiceType
|
Filter by service classification type. Default = JOT_FORM |
Example
{
"excludeQRLandingPage": true,
"includeBle": false,
"includeGeneralService": true,
"includeQrCodeLanding": true,
"includeRegularService": true,
"isServiceCheck": false,
"itemType": "asset",
"publicIds": [987],
"search": "abc123",
"type": "JOT_FORM"
}
ServicePackageSourceTypeEnum
Description
Identifies the entity level from which a service package originates: organization group, asset type, asset category, or site
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
Example
"ASSET_CATEGORY"
ServicePackageUnion
Types
| Union Types |
|---|
Example
RestrictedServicePackage
ServicePackageUpdateInput
Description
Fields to update on an existing service package
Fields
| Input Field | Description |
|---|---|
title - TranslationInput
|
Title text |
Example
{"title": TranslationInput}
ServicePackageWithSourceType
Description
A container for service package and its sourceType - entity to which it is bound
Fields
| Field Name | Description |
|---|---|
id - HashedId!
|
Unique identifier |
servicePackage - ServicePackage!
|
Service package |
sourceType - ServicePackageSourceTypeEnum!
|
Source type |
Example
{
"id": HashedId,
"servicePackage": ServicePackage,
"sourceType": "ASSET_CATEGORY"
}
ServicePreset
Description
Predefined service configurations that determine the trigger mechanism: regular manual services, BLE beacon-triggered services, or QR code landing page services
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
Example
"BLE"
ServiceTag
Description
Tag a service attaches for a condition tag slot
Fields
| Field Name | Description |
|---|---|
created - Timestamp!
|
Timestamp when the entity was created |
id - HashedId!
|
Unique identifier of the entity |
serviceId - HashedId!
|
Service identifier |
slot - TicketTagSlot!
|
Condition tag slot this tag fills |
tag - Tag!
|
Tag attached for the tag slot |
tagId - HashedId!
|
Tag identifier |
updated - Timestamp
|
Timestamp when the entity was last updated |
Example
{
"created": 1592577642,
"id": HashedId,
"serviceId": HashedId,
"slot": "TAG_1",
"tag": Tag,
"tagId": HashedId,
"updated": 1592577642
}
ServiceTagInput
Description
Tag mapped to a condition tag slot of a service
Fields
| Input Field | Description |
|---|---|
slot - TicketTagSlot!
|
Condition tag slot this tag fills |
tagId - HashedId!
|
Tag identifier |
Example
{"slot": "TAG_1", "tagId": HashedId}
ServiceTicketHandler
Description
Service ticket handler record
Fields
| Field Name | Description |
|---|---|
created - Timestamp!
|
Timestamp when the entity was created |
groupTicketHandler - GroupTicketHandler
|
Group ticket handler |
groupTicketHandlerId - HashedId
|
Group ticket handler identifier |
id - HashedId!
|
Unique identifier of the entity |
service - Service!
|
Service |
serviceId - HashedId!
|
Service identifier |
tag - TicketAssigneeTagEnum
|
Classification tag or label |
team - Team
|
Associated team assigned to handle service tickets |
teamId - HashedId
|
Team identifier |
updated - Timestamp
|
Timestamp when the entity was last updated |
user - User
|
Associated user assigned to handle service tickets |
userId - HashedId
|
User identifier |
Example
{
"created": 1592577642,
"groupTicketHandler": GroupTicketHandler,
"groupTicketHandlerId": HashedId,
"id": HashedId,
"service": Service,
"serviceId": HashedId,
"tag": "ASSIGNEE_1",
"team": Team,
"teamId": HashedId,
"updated": 1592577642,
"user": User,
"userId": HashedId
}
ServiceTicketHandlerInput
Description
Input data for service ticket handler
Fields
| Input Field | Description |
|---|---|
groupTicketHandlerId - HashedId
|
Group ticket handler identifier |
tag - TicketAssigneeTagEnum
|
Classification tag or label |
teamId - HashedId
|
Team identifier |
userId - HashedId
|
User identifier |
Example
{
"groupTicketHandlerId": HashedId,
"tag": "ASSIGNEE_1",
"teamId": HashedId,
"userId": HashedId
}
ServiceType
Description
Defines how a service collects data: via an embedded JotForm or a native procedure-based workflow
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
Example
"JOT_FORM"
ServiceUpdateDeprecatedInput
Description
Fields to update on an existing service
Fields
| Input Field | Description |
|---|---|
afterApprovalAssignee - ServiceAfterApprovalAssignee
|
Who a ticket from this service is handed to once every approver approved it |
afterApprovalTeamId - HashedId
|
Team a ticket from this service is handed to after approval when afterApprovalAssignee is FIXED |
afterApprovalUserId - HashedId
|
User a ticket from this service is handed to after approval when afterApprovalAssignee is FIXED |
askAiAssistantFirst - Boolean
|
Whether tapping this service on a robot QR landing opens the AI assistant before the form; the escalation ticket is then filed under this service |
assigneeAutomation - AssigneeAutomation
|
Rule governing automatic ticket handler assignment when a ticket is created from this service |
iconUrl - String
|
URL to the icon image displayed alongside this service in the UI |
id - HashedId!
|
Hashed ID of the service to update |
isApprovalRequired - Boolean
|
Whether the user the assignee automation puts on a new ticket from this service must approve it first |
isServiceCheck - Boolean
|
Whether this service acts as a periodic maintenance check rather than a one-time request |
jotformId - String
|
External Jotform form identifier linked to this service for data collection |
jotformSource - String
|
Origin URL or embed source for the linked Jotform form |
preset - ServicePreset
|
Predefined configuration template applied to this service (e.g. regular, BLE, QR landing) |
procedureTemplateId - HashedId
|
Procedure template identifier |
serviceTags - [ServiceTagInput!]
|
Tags attached when a procedure condition assigns a tag slot |
suggestedServicePartner - String
|
Recommended external service partner name for handling tickets created from this service |
ticketHandlers - [ServiceTicketHandlerInput!]
|
Handlers to assign for processing tickets created from this service |
title - TranslationInput
|
Localized display name for the new service |
type - ServiceType
|
Classification that determines service behavior, such as regular form, BLE interaction, QR landing page, or Jotform integration |
Example
{
"afterApprovalAssignee": "FIXED",
"afterApprovalTeamId": HashedId,
"afterApprovalUserId": HashedId,
"askAiAssistantFirst": false,
"assigneeAutomation": "AUTO_ASSIGN",
"iconUrl": "abc123",
"id": HashedId,
"isApprovalRequired": false,
"isServiceCheck": false,
"jotformId": "xyz789",
"jotformSource": "abc123",
"preset": "BLE",
"procedureTemplateId": HashedId,
"serviceTags": [ServiceTagInput],
"suggestedServicePartner": "abc123",
"ticketHandlers": [ServiceTicketHandlerInput],
"title": TranslationInput,
"type": "JOT_FORM"
}
ServicesFilterInput
Description
Filter criteria for narrowing down services results
Fields
| Input Field | Description |
|---|---|
excludeQRLandingPage - Boolean
|
Exclude QR code landing page services from results. Default = null |
includeBle - Boolean
|
Include Bluetooth Low Energy (BLE) services in results. Default = null |
includeGeneralService - Boolean
|
Include general-purpose services that are not tied to a specific service type. Default = null |
includeQrCodeLanding - Boolean
|
Include QR code landing page services in results. Default = null |
includeRegularService - Boolean
|
Include standard maintenance and repair services in results. Default = null |
isServiceCheck - Boolean
|
if true, only services that are service checks are returned |
itemType - ServiceItemType
|
Filter by the entity type this service applies to (e.g. asset, site) |
publicIds - [Int!]
|
Return only the accessible services with these numeric public ids; matches the publicId a service exposes |
search - String
|
Text search query for filtering results |
type - ServiceType
|
Filter by service classification type. Default = JOT_FORM |
Example
{
"excludeQRLandingPage": false,
"includeBle": true,
"includeGeneralService": false,
"includeQrCodeLanding": false,
"includeRegularService": true,
"isServiceCheck": false,
"itemType": "asset",
"publicIds": [987],
"search": "xyz789",
"type": "JOT_FORM"
}
Site
Description
A physical location or facility where assets are deployed and managed
Fields
| Field Name | Description |
|---|---|
accountNumber - String
|
Account number - arbitrary, for the Manufacturer to assign them their interal description |
address - String
|
Formatted address consisting of street and street number |
assetsCount - Int!
|
Total number of assets currently assigned to this site |
assignedToGroup - Group
|
Is not provided for customer groups, since this value is equal to the requesting user's group |
assignedToGroupId - HashedId
|
Group the record is assigned to Use assignedToGroup property |
containsAssetsToModifyByGroup - Boolean
|
If it has associated assets which group needs to be updated to the new one Not used |
coordinates - Coordinates
|
GPS coordinates for fixed-location sites, null for non-fixed sites |
costCenter - String
|
Accounting cost center for financial allocation |
country - String
|
Country where the site is located |
created - Timestamp!
|
Timestamp when the entity was created |
createdByGroup - Group!
|
Group that created this site |
createdByGroupId - HashedId!
|
Created by group identifier |
customerNumber - String
|
Customer number - arbitrary, for the Customer to manage their own Customers |
deleted - Timestamp
|
Soft deletion timestamp, null if active |
deletedBy - String
|
Full name or email of the user who deleted the site; set by the deleted site list only |
deletedSitesCount - Int
|
Deleted child sites count |
email - String
|
Email for this site Use siteManagers instead. |
events - [Event!]!
|
Events recorded for this site |
externalId - String
|
An id that is referring to some external source. Like an ERP System or another external Task/Order management system This is not a unique identifier in our system. This is technically not feasible! |
geofenceNotification - [RuleNotificationRelation]
|
When a geofence event happens, send notifications to these entities |
geofenceSettings - JSON
|
Geofence settings, if set. See Rules schema for syntax. |
groupTreeRootId - HashedId!
|
Group tree root identifier |
id - HashedId!
|
Unique identifier of the entity |
image - String
|
Image URL |
isFixed - Boolean!
|
Specifies if the site is tied to a fixed location - like a building. Not fixed locations could be a moving vehicle or a team. |
lat - String
|
Latitude coordinate, null for non-fixed sites |
lng - String
|
Longitude coordinate, null for non-fixed sites |
locationText - String
|
Human-readable location description such as floor or building wing |
name - String!
|
The name of the a site. This is usualy not a clear identifier. Examples of site names would be:
|
note - String
|
Free-text notes or additional remarks about this site |
parentSite - Site
|
Parent site |
parentSiteId - HashedId
|
Parent site in the hierarchy, null if top-level |
postalCode - String
|
Postal or ZIP code of the site address |
publicId - Int!
|
Public numeric identifier |
qrAttached - Boolean!
|
Whether a QR code has been linked to this site |
restoreBlockers - [RestoreBlockerEnum!]
|
Reasons the deleted site cannot be restored right now; set by the deleted site list only |
servicePackage - ServicePackage
|
Service package |
servicePackageId - HashedId
|
Service package identifier |
shouldInheritGeofenceSettings - Boolean!
|
When true, uses the geofence configuration from the parent site |
shouldInheritManagerDetails - Boolean
|
Whether to inherit manager details Not used |
shouldInheritServicePackage - Boolean!
|
When true, uses the service package from the parent site |
siteManagerName - String
|
Site Manager Name for this site Use siteManagers instead. |
siteManagers - [SiteManager!]!
|
Contact persons responsible for managing this site |
Arguments
|
|
siteType - SiteType
|
Site type |
siteTypeId - HashedId
|
Site type identifier |
telephone - String
|
Telephone for this site Use siteManagers instead. |
updated - Timestamp
|
Timestamp when the entity was last updated |
uuid - String!
|
Universally unique identifier |
Example
{
"accountNumber": "xyz789",
"address": "abc123",
"assetsCount": 123,
"assignedToGroup": Group,
"assignedToGroupId": HashedId,
"containsAssetsToModifyByGroup": false,
"coordinates": Coordinates,
"costCenter": "abc123",
"country": "abc123",
"created": 1592577642,
"createdByGroup": Group,
"createdByGroupId": HashedId,
"customerNumber": "abc123",
"deleted": 1592577642,
"deletedBy": "xyz789",
"deletedSitesCount": 987,
"email": "abc123",
"events": [Event],
"externalId": "abc123",
"geofenceNotification": [RuleNotificationRelation],
"geofenceSettings": {},
"groupTreeRootId": HashedId,
"id": HashedId,
"image": "abc123",
"isFixed": false,
"lat": "xyz789",
"lng": "xyz789",
"locationText": "xyz789",
"name": "abc123",
"note": "abc123",
"parentSite": Site,
"parentSiteId": HashedId,
"postalCode": "xyz789",
"publicId": 987,
"qrAttached": false,
"restoreBlockers": ["PARENT_ASSET_CATEGORY_DELETED"],
"servicePackage": ServicePackage,
"servicePackageId": HashedId,
"shouldInheritGeofenceSettings": true,
"shouldInheritManagerDetails": false,
"shouldInheritServicePackage": false,
"siteManagerName": "abc123",
"siteManagers": [SiteManager],
"siteType": SiteType,
"siteTypeId": HashedId,
"telephone": "abc123",
"updated": 1592577642,
"uuid": "xyz789"
}
SiteAttachQrCodeInput
Description
Input data for site attach qr code
Fields
| Input Field | Description |
|---|---|
scannedUuid - String!
|
UUID read from the physical QR code sticker |
Example
{"scannedUuid": "xyz789"}
SiteBulkUpdateFieldsInput
Fields
| Input Field | Description |
|---|---|
accountNumber - String
|
Account number - arbitrary, for the Manufacturer to assign them their interal description |
address - String
|
Formatted address consisting of street and street number |
country - String
|
Country where the site is located |
externalId - String
|
An id that is referring to some external source. Like an ERP System or another external Task/Order management system This is not a unique identifier in our system. This is technically not feasible! |
isFixed - Boolean
|
Specifies if the site is tied to a fixed location - like a building. Not fixed locations could be a moving vehicle or a team. |
locationText - String
|
Human-readable location description such as floor or building wing |
note - String
|
Free-text notes or additional remarks about this site |
postalCode - String
|
Postal or ZIP code of the site address |
shouldInheritGeofenceSettings - Boolean
|
When true, uses the geofence configuration from the parent site |
shouldInheritServicePackage - Boolean
|
When true, uses the service package from the parent site |
Example
{
"accountNumber": "xyz789",
"address": "abc123",
"country": "abc123",
"externalId": "abc123",
"isFixed": false,
"locationText": "abc123",
"note": "abc123",
"postalCode": "xyz789",
"shouldInheritGeofenceSettings": true,
"shouldInheritServicePackage": false
}
SiteBulkUpdateInput
Fields
| Input Field | Description |
|---|---|
excludeSiteIds - [HashedId!]
|
Site IDs to exclude from the selection |
fields - SiteBulkUpdateFieldsInput!
|
|
filterInput - AssetFilterInput
|
Filter criteria to dynamically select sites |
optionsInput - SiteBulkUpdateOptionsInput!
|
|
siteIds - [HashedId!]
|
Explicit list of site IDs to include in the operation |
Example
{
"excludeSiteIds": [HashedId],
"fields": SiteBulkUpdateFieldsInput,
"filterInput": AssetFilterInput,
"optionsInput": SiteBulkUpdateOptionsInput,
"siteIds": [HashedId]
}
SiteBulkUpdateOptionsInput
Fields
| Input Field | Description |
|---|---|
assignedToGroupId - HashedId
|
|
siteManagers - [SiteManagerUpdateInput!]
|
Site managers |
Example
{
"assignedToGroupId": HashedId,
"siteManagers": [SiteManagerUpdateInput]
}
SiteColumnsEnum
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"accountNumber"
SiteCreateInput
Description
Data required to create a new site
Fields
| Input Field | Description |
|---|---|
accountNumber - String
|
Account number - arbitrary, for the Manufacturer to assign them their interal description |
address - String
|
Formatted address consisting of street and street number |
costCenter - String
|
Accounting cost center for financial allocation |
country - String
|
Country where the site is located |
customerNumber - String
|
Customer number - arbitrary, for the Customer to manage their own Customers |
externalId - String
|
An id that is referring to some external source. Like an ERP System or another external Task/Order management system This is not a unique identifier in our system. This is technically not feasible! |
isFixed - Boolean!
|
Whether this site is at a permanent physical location |
lat - Float
|
Latitude of the site location |
lng - Float
|
Longitude of the site location |
locationText - String
|
Human-readable location description such as floor or building wing |
name - String!
|
The name of the a site. This is usualy not a clear identifier. Examples of site names would be:
|
note - String
|
Free-text notes or additional remarks about this site |
parentSiteId - HashedId
|
Parent site in the hierarchy, null if top-level |
postalCode - String
|
Postal or ZIP code of the site address |
servicePackageId - HashedId
|
Service package identifier |
shouldInheritGeofenceSettings - Boolean!
|
When true, uses the geofence configuration from the parent site |
shouldInheritServicePackage - Boolean!
|
When true, uses the service package from the parent site |
Example
{
"accountNumber": "xyz789",
"address": "abc123",
"costCenter": "xyz789",
"country": "abc123",
"customerNumber": "xyz789",
"externalId": "abc123",
"isFixed": false,
"lat": 987.65,
"lng": 123.45,
"locationText": "xyz789",
"name": "xyz789",
"note": "xyz789",
"parentSiteId": HashedId,
"postalCode": "abc123",
"servicePackageId": HashedId,
"shouldInheritGeofenceSettings": true,
"shouldInheritServicePackage": true
}
SiteCreateOptionsInput
Description
Data required to create a new site options
Fields
| Input Field | Description |
|---|---|
assignedToGroupId - HashedId
|
Group the record is assigned to |
disableWebhooks - Boolean
|
When true, suppresses webhook notifications for this operation |
geofenceNotification - [RuleNotificationRelationInput!]
|
Recipients to notify when a geofence boundary event occurs |
geofenceSettings - JSON
|
Geofence settings, if set. See Rules schema for syntax. |
siteManagers - [SiteManagerCreateInput!]
|
Site managers |
siteType - SiteTypeInput
|
Site type |
Example
{
"assignedToGroupId": HashedId,
"disableWebhooks": true,
"geofenceNotification": [RuleNotificationRelationInput],
"geofenceSettings": {},
"siteManagers": [SiteManagerCreateInput],
"siteType": SiteTypeInput
}
SiteExportRequestInput
Description
Data required to request a site list export
Fields
| Input Field | Description |
|---|---|
columnKeys - [SiteColumnsEnum!]!
|
Columns to include in the export |
filters - [FilterParamsInput]
|
Filter criteria |
search - String
|
Text search query |
Example
{
"columnKeys": ["accountNumber"],
"filters": [FilterParamsInput],
"search": "xyz789"
}
SiteImportRequestInput
Description
Data required to request an import of an uploaded file of site rows
Fields
| Input Field | Description |
|---|---|
file - Upload!
|
Newline-delimited JSON file with one importer row per line |
mode - ImporterMode!
|
Importer mode: CREATE creates new records; UPDATE updates matched records |
Example
{"file": Upload, "mode": "CREATE"}
SiteImportValidateResult
Fields
| Field Name | Description |
|---|---|
accountNumber - ImporterValidateColumnResult
|
Validation result for the account number |
address - ImporterValidateColumnResult
|
Validation result for the street address |
assignment - ImporterValidateColumnResult
|
Validation result for the assignment |
costCenter - ImporterValidateColumnResult
|
Validation result for the cost center |
country - ImporterValidateColumnResult
|
Validation result for the country |
customerNumber - ImporterValidateColumnResult
|
Validation result for the customer number |
email - ImporterValidateColumnResult
|
Validation result for the contact email |
externalId - ImporterValidateColumnResult
|
Validation result for the external system identifier |
geofenceAlert - ImporterValidateColumnResult
|
Validation result for the geofence alert direction |
geofenceNotificationEmails - ImporterValidateColumnResult
|
Validation result for the geofence notification emails |
geofenceRadius - ImporterValidateColumnResult
|
Validation result for the geofence radius |
hasErrors - Boolean!
|
Whether this row contains any validation errors |
hasWarnings - Boolean!
|
Whether this row contains any validation warnings |
id - ImporterValidateColumnResult
|
Validation result for the internal site identifier |
index - Int!
|
Row index of this entry in the import spreadsheet |
isFixed - ImporterValidateColumnResult
|
Validation result for the fixed location flag |
lat - ImporterValidateColumnResult
|
Validation result for the latitude coordinate |
lng - ImporterValidateColumnResult
|
Validation result for the longitude coordinate |
name - ImporterValidateColumnResult
|
Validation result for the site name |
note - ImporterValidateColumnResult
|
Validation result for the notes |
parentSiteId - ImporterValidateColumnResult
|
Validation result for the parent site identifier |
parentSiteName - ImporterValidateColumnResult
|
Validation result for the parent site name |
postalCode - ImporterValidateColumnResult
|
Validation result for the postal code |
servicePackageId - ImporterValidateColumnResult
|
Validation result for the service package identifier |
servicePackageName - ImporterValidateColumnResult
|
Validation result for the service package name |
shouldInheritGeofenceSettings - ImporterValidateColumnResult
|
Validation result for the geofence inheritance flag |
shouldInheritManagerDetails - ImporterValidateColumnResult
|
Validation result for the manager details inheritance flag |
shouldInheritServicePackage - ImporterValidateColumnResult
|
Validation result for the service package inheritance flag |
siteManagerName - ImporterValidateColumnResult
|
Validation result for the site manager name |
siteTypeInternal - ImporterValidateColumnResult
|
Validation result for the site type identifier |
siteTypeName - ImporterValidateColumnResult
|
Validation result for the site type name |
telephone - ImporterValidateColumnResult
|
Validation result for the contact telephone |
Example
{
"accountNumber": ImporterValidateColumnResult,
"address": ImporterValidateColumnResult,
"assignment": ImporterValidateColumnResult,
"costCenter": ImporterValidateColumnResult,
"country": ImporterValidateColumnResult,
"customerNumber": ImporterValidateColumnResult,
"email": ImporterValidateColumnResult,
"externalId": ImporterValidateColumnResult,
"geofenceAlert": ImporterValidateColumnResult,
"geofenceNotificationEmails": ImporterValidateColumnResult,
"geofenceRadius": ImporterValidateColumnResult,
"hasErrors": true,
"hasWarnings": true,
"id": ImporterValidateColumnResult,
"index": 123,
"isFixed": ImporterValidateColumnResult,
"lat": ImporterValidateColumnResult,
"lng": ImporterValidateColumnResult,
"name": ImporterValidateColumnResult,
"note": ImporterValidateColumnResult,
"parentSiteId": ImporterValidateColumnResult,
"parentSiteName": ImporterValidateColumnResult,
"postalCode": ImporterValidateColumnResult,
"servicePackageId": ImporterValidateColumnResult,
"servicePackageName": ImporterValidateColumnResult,
"shouldInheritGeofenceSettings": ImporterValidateColumnResult,
"shouldInheritManagerDetails": ImporterValidateColumnResult,
"shouldInheritServicePackage": ImporterValidateColumnResult,
"siteManagerName": ImporterValidateColumnResult,
"siteTypeInternal": ImporterValidateColumnResult,
"siteTypeName": ImporterValidateColumnResult,
"telephone": ImporterValidateColumnResult
}
SiteImportValidationRequestInput
Description
Data required to request a validation of an uploaded file of site rows
Fields
| Input Field | Description |
|---|---|
file - Upload!
|
Newline-delimited JSON file with one importer row per line |
mode - ImporterMode!
|
Importer mode: CREATE creates new records; UPDATE updates matched records |
Example
{"file": Upload, "mode": "CREATE"}
SiteLocation
Description
Site-based fallback location for vehicle assets
Example
{
"id": HashedId,
"latitude": "xyz789",
"longitude": "xyz789",
"siteId": HashedId,
"siteName": "abc123",
"timestamp": 1592577642
}
SiteManager
Description
A user assigned as manager responsible for a specific site
Fields
| Field Name | Description |
|---|---|
created - Timestamp!
|
Timestamp when the entity was created |
email - String
|
Email address |
fullname - String
|
Full name of the site manager |
id - HashedId!
|
Unique identifier of the entity |
isPrimary - Boolean!
|
Whether this is the primary manager for the site |
phone - String
|
Phone number |
site - Site!
|
Associated site |
siteId - HashedId!
|
Site identifier |
updated - Timestamp
|
Timestamp when the entity was last updated |
user - User
|
Associated platform user account |
userId - HashedId
|
User identifier |
Example
{
"created": 1592577642,
"email": "abc123",
"fullname": "abc123",
"id": HashedId,
"isPrimary": true,
"phone": "abc123",
"site": Site,
"siteId": HashedId,
"updated": 1592577642,
"user": User,
"userId": HashedId
}
SiteManagerCreateInput
Description
Data required to create a new site manager
Example
{
"email": "xyz789",
"fullname": "abc123",
"isPrimary": true,
"phone": "abc123",
"userId": HashedId
}
SiteManagerTodos
Description
Aggregated to-do summary for a site manager, grouped by asset status and upcoming deadlines
Fields
| Field Name | Description |
|---|---|
checkRequired - [Asset!]!
|
Assets requiring an overdue inspection or check |
checkRequiredCount - Int!
|
Count of assets requiring an overdue inspection |
checkRequiredFilterLink - String!
|
Pre-built filter URL for assets requiring an overdue inspection |
checkThisMonth - [Asset!]!
|
Assets with inspections scheduled this month |
checkThisMonthCount - Int!
|
Count of assets with inspections scheduled this month |
checkThisMonthFilterLink - String!
|
Pre-built filter URL for assets with inspections this month |
checkThisWeek - [Asset!]!
|
Assets with inspections scheduled this week |
checkThisWeekCount - Int!
|
Count of assets with inspections scheduled this week |
checkThisWeekFilterLink - String!
|
Pre-built filter URL for assets with inspections this week |
checkUpcoming - [Asset!]!
|
Assets with inspections scheduled in the near future |
checkUpcomingCount - Int!
|
Count of assets with upcoming inspections |
checkUpcomingFilterLink - String!
|
Pre-built filter URL for assets with upcoming inspections |
created - Timestamp!
|
Timestamp when this to-do summary was generated |
damaged - [Asset!]!
|
Assets currently marked as damaged |
damagedCount - Int!
|
Count of assets currently marked as damaged |
damagedFilterLink - String!
|
Pre-built filter URL for damaged assets |
id - String!
|
Unique identifier |
inRepair - [Asset!]!
|
Assets currently undergoing repair |
inRepairCount - Int!
|
Count of assets currently undergoing repair |
inRepairFilterLink - String!
|
Pre-built filter URL for assets in repair |
leasingEndExceeded - [Asset!]!
|
Leasing end exceeded |
leasingEndExceededCount - Int!
|
Number of leasing end exceeded |
leasingEndExceededFilterLink - String!
|
Leasing end exceeded filter link |
leasingEndThisMonth - [Asset!]!
|
Leasing end this month |
leasingEndThisMonthCount - Int!
|
Number of leasing end this month |
leasingEndThisMonthFilterLink - String!
|
Leasing end this month filter link |
leasingEndThisWeek - [Asset!]!
|
Leasing end this week |
leasingEndThisWeekCount - Int!
|
Number of leasing end this week |
leasingEndThisWeekFilterLink - String!
|
Leasing end this week filter link |
leasingEndUpcoming - [Asset!]!
|
Leasing end upcoming |
leasingEndUpcomingCount - Int!
|
Number of leasing end upcoming |
leasingEndUpcomingFilterLink - String!
|
Leasing end upcoming filter link |
maintenanceRequired - [Asset!]!
|
Maintenance required |
maintenanceRequiredCount - Int!
|
Number of maintenance required |
maintenanceRequiredFilterLink - String!
|
Maintenance required filter link |
maintenanceThisMonth - [Asset!]!
|
Maintenance this month |
maintenanceThisMonthCount - Int!
|
Number of maintenance this month |
maintenanceThisMonthFilterLink - String!
|
Maintenance this month filter link |
maintenanceThisWeek - [Asset!]!
|
Maintenance this week |
maintenanceThisWeekCount - Int!
|
Number of maintenance this week |
maintenanceThisWeekFilterLink - String!
|
Maintenance this week filter link |
maintenanceUpcoming - [Asset!]!
|
Maintenance upcoming |
maintenanceUpcomingCount - Int!
|
Number of maintenance upcoming |
maintenanceUpcomingFilterLink - String!
|
Maintenance upcoming filter link |
noAction - [Asset!]!
|
Assets requiring no immediate action |
noActionCount - Int!
|
Count of assets requiring no immediate action |
noActionFilterLink - String!
|
Pre-built filter URL for assets requiring no action |
noCheckPlanned - [Asset!]!
|
Assets without any planned inspections |
noCheckPlannedCount - Int!
|
Count of assets without any planned inspections |
noCheckPlannedFilterLink - String!
|
Pre-built filter URL for assets without planned inspections |
noLeasingEnd - [Asset!]!
|
Assets without a defined leasing end date |
noLeasingEndCount - Int!
|
Number of no leasing end |
noLeasingEndFilterLink - String!
|
No leasing end filter link |
noMaintenancePlanned - [Asset!]!
|
No maintenance planned |
noMaintenancePlannedCount - Int!
|
Number of no maintenance planned |
noMaintenancePlannedFilterLink - String!
|
No maintenance planned filter link |
noRentalEnd - [Asset!]!
|
Assets without a defined rental end date |
noRentalEndCount - Int!
|
Number of no rental end |
noRentalEndFilterLink - String!
|
No rental end filter link |
noServiceContractEnd - [Asset!]!
|
No service contract end |
noServiceContractEndCount - Int!
|
Number of no service contract end |
noServiceContractEndFilterLink - String!
|
No service contract end filter link |
noWarrantyEnd - [Asset!]!
|
Assets without a defined warranty end date |
noWarrantyEndCount - Int!
|
Number of no warranty end |
noWarrantyEndFilterLink - String!
|
No warranty end filter link |
ordered - [Asset!]!
|
Assets that have been ordered but not yet received |
orderedCount - Int!
|
Count of assets ordered but not yet received |
orderedFilterLink - String!
|
Pre-built filter URL for ordered assets |
readyToUse - [Asset!]!
|
Assets that are operational and available for use |
readyToUseCount - Int!
|
Count of assets available for use |
readyToUseFilterLink - String!
|
Pre-built filter URL for assets ready to use |
rentalEndExceeded - [Asset!]!
|
Rental end exceeded |
rentalEndExceededCount - Int!
|
Number of rental end exceeded |
rentalEndExceededFilterLink - String!
|
Rental end exceeded filter link |
rentalEndThisMonth - [Asset!]!
|
Rental end this month |
rentalEndThisMonthCount - Int!
|
Number of rental end this month |
rentalEndThisMonthFilterLink - String!
|
Rental end this month filter link |
rentalEndThisWeek - [Asset!]!
|
Rental end this week |
rentalEndThisWeekCount - Int!
|
Number of rental end this week |
rentalEndThisWeekFilterLink - String!
|
Rental end this week filter link |
rentalEndUpcoming - [Asset!]!
|
Rental end upcoming |
rentalEndUpcomingCount - Int!
|
Number of rental end upcoming |
rentalEndUpcomingFilterLink - String!
|
Rental end upcoming filter link |
retired - [Asset!]!
|
Assets that have been retired from service |
retiredCount - Int!
|
Count of retired assets |
retiredFilterLink - String!
|
Pre-built filter URL for retired assets |
serviceContractEndExceeded - [Asset!]!
|
Service contract end exceeded |
serviceContractEndExceededCount - Int!
|
Number of service contract end exceeded |
serviceContractEndExceededFilterLink - String!
|
Service contract end exceeded filter link |
serviceContractEndThisMonth - [Asset!]!
|
Service contract end this month |
serviceContractEndThisMonthCount - Int!
|
Number of service contract end this month |
serviceContractEndThisMonthFilterLink - String!
|
Service contract end this month filter link |
serviceContractEndThisWeek - [Asset!]!
|
Service contract end this week |
serviceContractEndThisWeekCount - Int!
|
Number of service contract end this week |
serviceContractEndThisWeekFilterLink - String!
|
Service contract end this week filter link |
serviceContractEndUpcoming - [Asset!]!
|
Service contract end upcoming |
serviceContractEndUpcomingCount - Int!
|
Number of service contract end upcoming |
serviceContractEndUpcomingFilterLink - String!
|
Service contract end upcoming filter link |
siteManagerEmail - String!
|
Site manager email |
updated - Timestamp
|
Timestamp when this to-do summary was last refreshed |
warehouse - [Asset!]!
|
Assets currently stored in warehouse |
warehouseCount - Int!
|
Count of assets in warehouse |
warehouseFilterLink - String!
|
Pre-built filter URL for warehouse assets |
warrantyEndExceeded - [Asset!]!
|
Warranty end exceeded |
warrantyEndExceededCount - Int!
|
Number of warranty end exceeded |
warrantyEndExceededFilterLink - String!
|
Warranty end exceeded filter link |
warrantyEndThisMonth - [Asset!]!
|
Warranty end this month |
warrantyEndThisMonthCount - Int!
|
Number of warranty end this month |
warrantyEndThisMonthFilterLink - String!
|
Warranty end this month filter link |
warrantyEndThisWeek - [Asset!]!
|
Warranty end this week |
warrantyEndThisWeekCount - Int!
|
Number of warranty end this week |
warrantyEndThisWeekFilterLink - String!
|
Warranty end this week filter link |
warrantyEndUpcoming - [Asset!]!
|
Warranty end upcoming |
warrantyEndUpcomingCount - Int!
|
Number of warranty end upcoming |
warrantyEndUpcomingFilterLink - String!
|
Warranty end upcoming filter link |
Example
{
"checkRequired": [Asset],
"checkRequiredCount": 123,
"checkRequiredFilterLink": "abc123",
"checkThisMonth": [Asset],
"checkThisMonthCount": 123,
"checkThisMonthFilterLink": "xyz789",
"checkThisWeek": [Asset],
"checkThisWeekCount": 123,
"checkThisWeekFilterLink": "xyz789",
"checkUpcoming": [Asset],
"checkUpcomingCount": 987,
"checkUpcomingFilterLink": "abc123",
"created": 1592577642,
"damaged": [Asset],
"damagedCount": 123,
"damagedFilterLink": "xyz789",
"id": "xyz789",
"inRepair": [Asset],
"inRepairCount": 123,
"inRepairFilterLink": "abc123",
"leasingEndExceeded": [Asset],
"leasingEndExceededCount": 987,
"leasingEndExceededFilterLink": "xyz789",
"leasingEndThisMonth": [Asset],
"leasingEndThisMonthCount": 123,
"leasingEndThisMonthFilterLink": "xyz789",
"leasingEndThisWeek": [Asset],
"leasingEndThisWeekCount": 123,
"leasingEndThisWeekFilterLink": "abc123",
"leasingEndUpcoming": [Asset],
"leasingEndUpcomingCount": 123,
"leasingEndUpcomingFilterLink": "abc123",
"maintenanceRequired": [Asset],
"maintenanceRequiredCount": 987,
"maintenanceRequiredFilterLink": "abc123",
"maintenanceThisMonth": [Asset],
"maintenanceThisMonthCount": 987,
"maintenanceThisMonthFilterLink": "xyz789",
"maintenanceThisWeek": [Asset],
"maintenanceThisWeekCount": 987,
"maintenanceThisWeekFilterLink": "abc123",
"maintenanceUpcoming": [Asset],
"maintenanceUpcomingCount": 123,
"maintenanceUpcomingFilterLink": "abc123",
"noAction": [Asset],
"noActionCount": 987,
"noActionFilterLink": "xyz789",
"noCheckPlanned": [Asset],
"noCheckPlannedCount": 987,
"noCheckPlannedFilterLink": "xyz789",
"noLeasingEnd": [Asset],
"noLeasingEndCount": 123,
"noLeasingEndFilterLink": "xyz789",
"noMaintenancePlanned": [Asset],
"noMaintenancePlannedCount": 987,
"noMaintenancePlannedFilterLink": "abc123",
"noRentalEnd": [Asset],
"noRentalEndCount": 987,
"noRentalEndFilterLink": "abc123",
"noServiceContractEnd": [Asset],
"noServiceContractEndCount": 123,
"noServiceContractEndFilterLink": "abc123",
"noWarrantyEnd": [Asset],
"noWarrantyEndCount": 123,
"noWarrantyEndFilterLink": "abc123",
"ordered": [Asset],
"orderedCount": 123,
"orderedFilterLink": "abc123",
"readyToUse": [Asset],
"readyToUseCount": 987,
"readyToUseFilterLink": "abc123",
"rentalEndExceeded": [Asset],
"rentalEndExceededCount": 123,
"rentalEndExceededFilterLink": "abc123",
"rentalEndThisMonth": [Asset],
"rentalEndThisMonthCount": 123,
"rentalEndThisMonthFilterLink": "abc123",
"rentalEndThisWeek": [Asset],
"rentalEndThisWeekCount": 123,
"rentalEndThisWeekFilterLink": "abc123",
"rentalEndUpcoming": [Asset],
"rentalEndUpcomingCount": 123,
"rentalEndUpcomingFilterLink": "abc123",
"retired": [Asset],
"retiredCount": 123,
"retiredFilterLink": "xyz789",
"serviceContractEndExceeded": [Asset],
"serviceContractEndExceededCount": 987,
"serviceContractEndExceededFilterLink": "xyz789",
"serviceContractEndThisMonth": [Asset],
"serviceContractEndThisMonthCount": 987,
"serviceContractEndThisMonthFilterLink": "xyz789",
"serviceContractEndThisWeek": [Asset],
"serviceContractEndThisWeekCount": 123,
"serviceContractEndThisWeekFilterLink": "xyz789",
"serviceContractEndUpcoming": [Asset],
"serviceContractEndUpcomingCount": 987,
"serviceContractEndUpcomingFilterLink": "abc123",
"siteManagerEmail": "abc123",
"updated": 1592577642,
"warehouse": [Asset],
"warehouseCount": 987,
"warehouseFilterLink": "abc123",
"warrantyEndExceeded": [Asset],
"warrantyEndExceededCount": 987,
"warrantyEndExceededFilterLink": "abc123",
"warrantyEndThisMonth": [Asset],
"warrantyEndThisMonthCount": 987,
"warrantyEndThisMonthFilterLink": "xyz789",
"warrantyEndThisWeek": [Asset],
"warrantyEndThisWeekCount": 123,
"warrantyEndThisWeekFilterLink": "xyz789",
"warrantyEndUpcoming": [Asset],
"warrantyEndUpcomingCount": 987,
"warrantyEndUpcomingFilterLink": "abc123"
}
SiteManagerUpdateInput
Description
Fields to update on an existing site manager
Example
{
"email": "xyz789",
"fullname": "abc123",
"id": HashedId,
"isPrimary": true,
"phone": "xyz789",
"userId": HashedId
}
SiteMassEditFailure
Description
Single site failure entry from a bulk operation
Fields
| Field Name | Description |
|---|---|
reason - SiteMassEditFailureReason!
|
Reason the site could not be processed |
siteId - HashedId!
|
Site ID that failed |
Example
{"reason": "EMAIL_FORMAT_INVALID", "siteId": HashedId}
SiteMassEditFailureReason
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"EMAIL_FORMAT_INVALID"
SiteMassEditReasonCount
Fields
| Field Name | Description |
|---|---|
count - Int!
|
|
reason - SiteMassEditFailureReason!
|
Example
{"count": 123, "reason": "EMAIL_FORMAT_INVALID"}
SiteMassEditResult
Description
Summary result of a mass edit operation on sites
Fields
| Field Name | Description |
|---|---|
failed - [SiteMassEditFailure!]!
|
|
retainedIds - [HashedId!]!
|
Selected ids the user can still edit after the operation; empty after a delete or archive |
skipped - Int!
|
|
succeeded - Int!
|
Example
{
"failed": [SiteMassEditFailure],
"retainedIds": [HashedId],
"skipped": 987,
"succeeded": 123
}
SiteMassEditSelectionInput
Description
Selection criteria for site mass edit operations
Fields
| Input Field | Description |
|---|---|
excludeSiteIds - [HashedId!]
|
Site IDs to exclude from the selection |
filterInput - AssetFilterInput
|
Filter criteria to dynamically select sites |
siteIds - [HashedId!]
|
Explicit list of site IDs to include in the operation |
Example
{
"excludeSiteIds": [HashedId],
"filterInput": AssetFilterInput,
"siteIds": [HashedId]
}
SitePerformance
Description
Performance metrics for a single site in the fleet
Fields
| Field Name | Description |
|---|---|
cleaningAreaM2 - Float!
|
Total area cleaned in m2 for the period |
healthScore - Float!
|
Composite health score 0-100 for this site |
robotCount - Int!
|
Number of robots assigned to this site |
siteId - HashedId!
|
Site identifier |
siteName - String!
|
Site display name |
successRatePercent - Float!
|
Mission success rate percentage 0-100 |
utilizationPercent - Float!
|
Utilization percentage for the period |
Example
{
"cleaningAreaM2": 123.45,
"healthScore": 123.45,
"robotCount": 123,
"siteId": HashedId,
"siteName": "abc123",
"successRatePercent": 123.45,
"utilizationPercent": 123.45
}
SiteSectionEnum
Description
Configuration sections within a site that can be independently managed: geofence settings, site manager details, or service package assignments
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
Example
"GEOFENCE_SETTINGS"
SiteType
SiteTypeInput
SiteUpdateInput
Description
Fields to update on an existing site
Fields
| Input Field | Description |
|---|---|
accountNumber - String
|
Account number - arbitrary, for the Manufacturer to assign them their interal description |
address - String
|
Formatted address consisting of street and street number |
costCenter - String
|
Accounting cost center for financial allocation |
country - String
|
Country where the site is located |
customerNumber - String
|
Customer number - arbitrary, for the Customer to manage their own Customers |
expectedUpdatedAt - DateTime
|
Optimistic concurrency token: the updated timestamp the client last observed; when stale the mutation is rejected |
externalId - String
|
An id that is referring to some external source. Like an ERP System or another external Task/Order management system This is not a unique identifier in our system. This is technically not feasible! |
id - HashedId!
|
Unique identifier of the entity |
isFixed - Boolean!
|
Specifies if the site is tied to a fixed location - like a building. Not fixed locations could be a moving vehicle or a team. |
lat - Float
|
Latitude of the site location |
lng - Float
|
Longitude of the site location |
locationText - String
|
Human-readable location description such as floor or building wing |
name - String!
|
The name of the a site. This is usualy not a clear identifier. Examples of site names would be:
|
note - String
|
Free-text notes or additional remarks about this site |
parentSiteId - HashedId
|
Parent site in the hierarchy, null if top-level |
postalCode - String
|
Postal or ZIP code of the site address |
servicePackageId - HashedId
|
Service package identifier |
shouldInheritGeofenceSettings - Boolean!
|
When true, uses the geofence configuration from the parent site |
shouldInheritServicePackage - Boolean!
|
When true, uses the service package from the parent site |
Example
{
"accountNumber": "xyz789",
"address": "abc123",
"costCenter": "abc123",
"country": "abc123",
"customerNumber": "xyz789",
"expectedUpdatedAt": "2007-12-03T10:15:30Z",
"externalId": "abc123",
"id": HashedId,
"isFixed": true,
"lat": 987.65,
"lng": 987.65,
"locationText": "xyz789",
"name": "abc123",
"note": "abc123",
"parentSiteId": HashedId,
"postalCode": "xyz789",
"servicePackageId": HashedId,
"shouldInheritGeofenceSettings": true,
"shouldInheritServicePackage": false
}
SiteUpdateOptionsInput
Description
Fields to update on an existing site options
Fields
| Input Field | Description |
|---|---|
assignedToGroupId - HashedId
|
Group the record is assigned to |
disableWebhooks - Boolean
|
When true, suppresses webhook notifications for this operation |
geofenceNotification - [RuleNotificationRelationInput!]
|
Recipients to notify when a geofence boundary event occurs |
geofenceSettings - JSON
|
Geofence settings, if set. See Rules schema for syntax. |
shouldSkipGeofenceUpdate - Boolean
|
When true, preserves existing geofence rules without modification |
shouldSkipSiteManagersUpdate - Boolean
|
When true, preserves existing site managers without modification |
siteManagers - [SiteManagerUpdateInput!]
|
Site managers |
siteType - SiteTypeInput
|
Site type |
Example
{
"assignedToGroupId": HashedId,
"disableWebhooks": true,
"geofenceNotification": [RuleNotificationRelationInput],
"geofenceSettings": {},
"shouldSkipGeofenceUpdate": true,
"shouldSkipSiteManagersUpdate": true,
"siteManagers": [SiteManagerUpdateInput],
"siteType": SiteTypeInput
}
SitesPaginatedResult
Description
Sites paginated result record
Fields
| Field Name | Description |
|---|---|
meta - PaginationMeta!
|
Pagination metadata including total count and page info |
rows - [Site!]
|
List of records for the current page |
Example
{
"meta": PaginationMeta,
"rows": [Site]
}
SortDirection
Description
Sort order direction for query results, either ascending or descending
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
Example
"ASC"
StatusItem
Description
Single IoT sensor status indicator for an asset
Fields
| Field Name | Description |
|---|---|
displayName - Translation
|
Translated name of the status item |
displayText - String!
|
Human-readable label for the status item |
displayValue - String
|
Formatted sensor value for display |
icon - String
|
Icon key used to render the status visually |
id - HashedId!
|
Unique identifier of the entity |
key - String!
|
Machine-readable key identifying the status type |
Example
{
"displayName": Translation,
"displayText": "abc123",
"displayValue": "abc123",
"icon": "abc123",
"id": HashedId,
"key": "abc123"
}
String
Description
The String scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
Example
"xyz789"
StripePrice
Description
StripePrice entity it`s payed amount for subscription directly from stripe.
Example
{
"amount": 123.45,
"currency": "abc123",
"id": "xyz789",
"updated": "2007-12-03T10:15:30Z"
}
StripeSettings
Description
Stripe billing integration parameters for subscription management and IoT device activation
Fields
| Field Name | Description |
|---|---|
gracePeriodIOT - Int!
|
Number of days after IoT device activation before billing begins |
groupForIOTActivation - String!
|
Group reference used to determine IoT device activation eligibility and billing |
stripeCustomerId - String!
|
Stripe customer ID linking this group to its billing account for subscription charges |
stripeCustomerIds - [String!]
|
Additional Stripe customer IDs for groups with multiple billing accounts |
stripeUserPriceId - StripeUserPriceId!
|
Price ID mapping defining per-role subscription costs in Stripe |
Example
{
"gracePeriodIOT": 987,
"groupForIOTActivation": "xyz789",
"stripeCustomerId": "xyz789",
"stripeCustomerIds": ["xyz789"],
"stripeUserPriceId": StripeUserPriceId
}
StripeSettingsCreateInput
Description
Data required to create a new stripe settings
Fields
| Input Field | Description |
|---|---|
gracePeriodIOT - Int
|
Number of days after IoT device activation before billing begins |
groupForIOTActivation - String
|
Group reference used to determine IoT device activation eligibility |
stripeCustomerId - String
|
Stripe customer ID linking this group to its billing account |
stripeCustomerIds - [String!]
|
Additional Stripe customer IDs for groups with multiple billing accounts |
stripeUserPriceId - StripeUserPriceIdCreateInput
|
Price ID mapping defining per-role subscription costs in Stripe |
Example
{
"gracePeriodIOT": 123,
"groupForIOTActivation": "xyz789",
"stripeCustomerId": "xyz789",
"stripeCustomerIds": ["abc123"],
"stripeUserPriceId": StripeUserPriceIdCreateInput
}
StripeSubscriptionPlan
Description
StripePrice entity it`s payed amount for subscription directly from stripe.
Fields
| Field Name | Description |
|---|---|
created - DateTime
|
The date of the subscription start. |
id - String!
|
The id of the subscription. |
lastInvoiceDate - DateTime
|
The date of the last invoice. |
lastInvoiceId - String
|
The id of the last invoice. |
nextInvoiceDate - DateTime
|
The date of the next invoice. |
subKey - String
|
Stripe metadata key combining customer ID and renewal month to identify the subscription |
type - String
|
Stripe subscription plan type from metadata (e.g. monthly, yearly) |
updated - DateTime
|
The date of the subscription update. |
Example
{
"created": "2007-12-03T10:15:30Z",
"id": "xyz789",
"lastInvoiceDate": "2007-12-03T10:15:30Z",
"lastInvoiceId": "abc123",
"nextInvoiceDate": "2007-12-03T10:15:30Z",
"subKey": "xyz789",
"type": "abc123",
"updated": "2007-12-03T10:15:30Z"
}
StripeUserPriceId
Description
Per-role Stripe price IDs defining subscription cost for each user role tier
Fields
| Field Name | Description |
|---|---|
ALL - String
|
Stripe price ID applied to all user roles when no role-specific price is configured |
EditorUser - String
|
Stripe price ID for editor user role subscriptions |
SuperUser - String
|
Stripe price ID for super user role subscriptions |
User - String
|
Stripe price ID for standard user role subscriptions |
Example
{
"ALL": "xyz789",
"EditorUser": "abc123",
"SuperUser": "abc123",
"User": "xyz789"
}
StripeUserPriceIdCreateInput
Description
Data required to create a new stripe user price id
Fields
| Input Field | Description |
|---|---|
ALL - String
|
Stripe price ID applied to all user roles when no role-specific price is configured |
EditorUser - String
|
Stripe price ID for editor user role subscriptions |
SuperUser - String
|
Stripe price ID for super user role subscriptions |
User - String
|
Stripe price ID for standard user role subscriptions |
Example
{
"ALL": "abc123",
"EditorUser": "xyz789",
"SuperUser": "xyz789",
"User": "abc123"
}
SubscriptionPlan
Tag
Description
A named, colored tag in the group registry
Fields
| Field Name | Description |
|---|---|
color - String!
|
Chip color as #rrggbb hex |
created - Timestamp!
|
Timestamp when the entity was created |
createdByUser - User
|
User who created the tag |
createdByUserId - HashedId!
|
User who created the tag |
group - Group!
|
Group the tag belongs to |
groupId - HashedId!
|
Group the tag belongs to |
id - HashedId!
|
Unique identifier of the entity |
name - String!
|
Tag name |
ticketUsageCount - Int!
|
Number of tickets currently carrying this tag |
updated - Timestamp
|
Timestamp when the entity was last updated |
Example
{
"color": "xyz789",
"created": 1592577642,
"createdByUser": User,
"createdByUserId": HashedId,
"group": Group,
"groupId": HashedId,
"id": HashedId,
"name": "xyz789",
"ticketUsageCount": 123,
"updated": 1592577642
}
TagPaginatedResult
Description
Paginated list of tags
Fields
| Field Name | Description |
|---|---|
meta - PaginationMeta!
|
Pagination metadata including total count and page info |
rows - [Tag!]!
|
List of records for the current page |
total - Int!
|
Total amount |
Example
{
"meta": PaginationMeta,
"rows": [Tag],
"total": 123
}
TagUpsertInput
Team
Description
A group of users organized for ticket assignment and workload distribution
Fields
| Field Name | Description |
|---|---|
assignedToActiveTicketIds - [Int!]!
|
Active tickets this team is currently assigned to |
created - Timestamp!
|
Timestamp when the entity was created |
createdByGroup - Group!
|
Created by group |
createdByGroupId - HashedId!
|
Created by group identifier |
createdByUser - User!
|
Created by user |
createdByUserId - HashedId!
|
Created by user identifier |
deleted - Timestamp
|
Soft deletion timestamp, null if active |
group - Group!
|
Associated organization group |
groupId - HashedId!
|
Group identifier |
id - HashedId!
|
Unique identifier of the entity |
members - [TeamMember!]!
|
Team members |
name - Translation!
|
Display name |
nameId - HashedId!
|
Name identifier |
publicId - Int!
|
Public numeric identifier |
servicePackages - [ServicePackageUnion!]!
|
Service packages assigned to this team |
updated - Timestamp
|
Timestamp when the entity was last updated |
Example
{
"assignedToActiveTicketIds": [987],
"created": 1592577642,
"createdByGroup": Group,
"createdByGroupId": HashedId,
"createdByUser": User,
"createdByUserId": HashedId,
"deleted": 1592577642,
"group": Group,
"groupId": HashedId,
"id": HashedId,
"members": [TeamMember],
"name": Translation,
"nameId": HashedId,
"publicId": 123,
"servicePackages": [RestrictedServicePackage],
"updated": 1592577642
}
TeamCreateInput
Description
Data required to create a new team
Fields
| Input Field | Description |
|---|---|
groupId - HashedId!
|
Group identifier |
memberEmails - [String!]!
|
Email addresses of users to add as team members |
name - TranslationInput!
|
Display name |
Example
{
"groupId": HashedId,
"memberEmails": ["abc123"],
"name": TranslationInput
}
TeamFilterInput
Description
Filter criteria for narrowing down team results
Fields
| Input Field | Description |
|---|---|
ids - [HashedId!]
|
if set, only teams with these identifiers are returned |
withServicePackagesOnly - Boolean
|
if true, only teams that have at least one service package are returned |
Example
{"ids": [HashedId], "withServicePackagesOnly": false}
TeamMember
Description
A user assigned to a team with optional role designation
Example
{
"email": "xyz789",
"firstname": "abc123",
"id": HashedId,
"isDeleted": true,
"lastname": "xyz789",
"userId": HashedId
}
TeamPaginatedResult
Description
Team paginated result record
Fields
| Field Name | Description |
|---|---|
meta - PaginationMeta!
|
Pagination metadata including total count and page info |
rows - [Team!]!
|
List of records for the current page |
Example
{
"meta": PaginationMeta,
"rows": [Team]
}
TeamUpdateInput
Description
Fields to update on an existing team
Fields
| Input Field | Description |
|---|---|
groupId - HashedId
|
Group identifier |
memberEmails - [String!]
|
Email addresses of users to add as team members |
name - TranslationInput
|
Display name |
Example
{
"groupId": HashedId,
"memberEmails": ["abc123"],
"name": TranslationInput
}
Terms
Description
A Terms document is a legal listing that the user has to accept.
It can currently be associated with a root group - once associated, all members of the root group or one of its subgroups must fetch and accept these terms (through the terms endpoint) before being legally able to use the platform. After creating a Terms document, only the title or the content is updateable. When changing the content, a new version of the terms is created, which all related users need to accept again. Types and types handling is fixed within the platform.
Fields
| Field Name | Description |
|---|---|
content - Translation!
|
Content body or payload |
contentId - HashedId!
|
Content identifier |
created - Timestamp!
|
Timestamp when the entity was created |
id - HashedId!
|
Unique identifier of the entity |
isActive - Boolean!
|
Whether this record is currently active |
title - Translation!
|
Title text |
titleId - HashedId!
|
Title identifier |
updated - Timestamp
|
Timestamp when the entity was last updated |
version - Int!
|
Version |
versions - [TermsHasVersion!]!
|
Versions |
Example
{
"content": Translation,
"contentId": HashedId,
"created": 1592577642,
"id": HashedId,
"isActive": true,
"title": Translation,
"titleId": HashedId,
"updated": 1592577642,
"version": 987,
"versions": [TermsHasVersion]
}
TermsHasVersion
Description
Terms has version record
Fields
| Field Name | Description |
|---|---|
content - Translation!
|
Content body or payload |
contentId - HashedId!
|
Content identifier |
created - Timestamp!
|
Timestamp when the entity was created |
id - HashedId!
|
Unique identifier of the entity |
updated - Timestamp
|
Timestamp when the entity was last updated |
version - Int!
|
Version |
Example
{
"content": Translation,
"contentId": HashedId,
"created": 1592577642,
"id": HashedId,
"updated": 1592577642,
"version": 987
}
TermsQueryFiltersInput
Description
Filter criteria for narrowing down terms querys results
Fields
| Input Field | Description |
|---|---|
withInactive - Boolean
|
With inactive |
Example
{"withInactive": false}
Ticket
Description
Tickets can be seen as traditional support tickets, reacting to service requests.
They are created by Services or Flows.
Fields
| Field Name | Description |
|---|---|
activityEvents - [TicketActivityLogEntry!]!
|
use "history" instead |
approvers - [TicketApprover!]!
|
Users asked to approve this ticket, in the order they were added |
assetPackages - [AssetPackage!]!
|
Asset packages this ticket was created for, resolved even when deleted |
assignee - ProcessHandler
|
Handler currently assigned to resolve this ticket Use userHandlers, groupTicketHandlerHandlers or teamHandlers instead
|
associatedAssetCategories - [AssetCategory!]!
|
Asset categories associated with this ticket |
associatedAssetTypes - [AssetType!]!
|
Asset types associated with this ticket |
associatedAssets - [Asset!]!
|
Assets linked to this ticket |
associatedSites - [Site!]!
|
Associated Sites for this ticket |
automationDetails - TicketAutomationDetails!
|
Automation rules and triggers configured for this ticket |
batteryCosts - String!
|
Total battery replacement costs for this ticket |
canEdit - Boolean!
|
|
canEditTags - Boolean!
|
Whether the current user can add or remove tags on this ticket, ignoring its status |
certificationCosts - String!
|
Total certification and compliance costs |
checkEvent - Event
|
Events recorded for this ticket |
checkEventId - HashedId
|
Scheduled check event that triggered this ticket |
comments - [TicketComment!]!
|
User and internal comments on this ticket |
consumablesCosts - String!
|
Total consumable material costs |
content - JSON
|
The full response from the submitting user or entity, that the ticket is about, and tries to resolve. use ticketContent instead |
costLines - [CostLine!]!
|
Individual cost line items associated with this ticket |
costs - [Cost!]!
|
Individual cost line items for this ticket |
created - Timestamp!
|
Timestamp when the entity was created |
createdByGroup - Group!
|
Group this ticket belongs to |
createdByGroupId - HashedId!
|
Group under which the ticket was created |
createdByUser - User
|
Associated user |
createdByUserId - HashedId
|
User who originally created this ticket |
createdFrom - TicketCreatedFromEnum
|
Origin the ticket was created from; null where no origin is recorded |
creatingSyncedOn - Timestamp
|
When ticket creation was synced to external systems |
currentState - TicketCurrentState
|
Legacy snapshot of the current workflow state use "status" enum instead |
customFieldColumns - [CustomField!]!
|
Deduplicated custom fields applicable to this ticket’s associated assets, with values aggregated across those assets |
deleted - Timestamp
|
Soft deletion timestamp, null if active |
documents - [Document!]!
|
Attached documents and files |
externalEmailHandlers - [TicketHandlerExternalEmail!]!
|
External email recipients handling this ticket |
fuelCosts - String!
|
Total fuel expenses for this ticket |
groupHandlers - [TicketHandlerGroup!]!
|
Groups assigned to handle this ticket |
groupTicketHandlerHandlers - [TicketHandlerGroupTicketHandler!]!
|
Group-level ticket handler assignments |
history - [TicketHistory!]!
|
History for this ticket |
id - HashedId!
|
Unique identifier of the entity |
insuranceTaxesCosts - String!
|
Total insurance and tax expenses |
isStatusUpdatedAutomatically - Boolean!
|
Whether status updated automatically |
isTicketApproversEnabled - Boolean!
|
Whether ticket approvers are enabled for the current user and the group that owns this ticket |
laborCosts - String!
|
Total labor and workforce costs |
lastActivityAt - Timestamp!
|
Most recent of creation, status change, comment, or change made by a user; automation and follower changes do not count |
lastStatusChange - Timestamp
|
Last status change use "statusUpdatedAt" instead |
logisticsCosts - String!
|
Total shipping and logistics costs |
notifications - NotificationFilter
|
Notification preferences for this ticket |
otherCosts - String!
|
Total miscellaneous and uncategorized costs |
partsUsed - [TicketPartUsage!]!
|
Aggregated parts consumption (issuances minus returns) for this ticket |
pdfCertificateLink - Document
|
Pdf certificate link In May 2023 we switched to on-demand generated (and directly transmitted) PDF documents. |
procedureInstance - ProcedureInstance
|
Linked procedure instance for this ticket not supported |
procedureInstanceId - HashedId
|
Linked procedure instance for this ticket not supported |
publicId - Int!
|
Public numeric ticket identifier |
repairCosts - String!
|
Total repair and maintenance costs |
reporterName - String
|
Name typed by an anonymous reporter when the ticket was created without a user account |
reservation - Reservation
|
Reservation that this ticket fulfills |
reservationDisplayId - Int
|
Number of the reservation this ticket fulfills, kept after it is deleted |
reservationId - HashedId
|
Reservation linked to this fulfillment ticket |
responsibles - [ProcessHandler!]!
|
Handlers responsible for overseeing this ticket Use userHandlers, groupTicketHandlerHandlers or teamHandlers instead
|
ruleEntryEvent - RuleEntryEvent
|
Rule entry event that generated this ticket |
service - Service
|
Services linked to this ticket |
serviceId - HashedId
|
Service or flow that generated this ticket |
serviceResponseId - HashedId
|
Originating service response that created this ticket |
siteManagerHandler - TicketHandlerSiteManager
|
Site manager assigned to handle this ticket |
sparePartsCosts - String!
|
Total spare parts procurement costs |
status - TicketStateEnum!
|
Current workflow status of the ticket |
statusUpdatedAt - Timestamp!
|
Timestamp of the most recent status change |
statusUpdatedByUser - User
|
Associated user |
statusUpdatedByUserId - HashedId
|
User who last changed the ticket status |
tags - [Tag!]!
|
Tags attached to this ticket, ordered by tag name |
teamHandlers - [TicketHandlerTeam!]!
|
Teams assigned to handle this ticket |
ticketComments - [TicketComment!]!
|
User and internal comments on this ticket use "comments" instead |
ticketContent - [TicketContentField!]!
|
Form fields and values submitted with this ticket |
ticketId - Int!
|
Internal numeric ticket identifier |
ticketTimeline - TicketTimeline
|
Key milestone timestamps and durations for this ticket |
title - Translation
|
Translated name of the ticket |
titleId - HashedId
|
Translation record for the ticket title |
totalCosts - String!
|
Sum of all cost categories for this ticket |
totalPartsCost - Float
|
Net cost of parts consumed on this ticket (issued cost minus returned cost). Null when priced parts span multiple currencies or no parts are priced. |
updated - Timestamp
|
Timestamp when the entity was last updated |
urgency - TicketUrgencyEnum!
|
Priority level (e.g. low, normal, high, very high) |
userHandlers - [TicketHandlerUser!]!
|
Individual users assigned to handle this ticket |
uuid - String!
|
UUID for external system correlation |
workOrders - [WorkOrderV2!]!
|
Work orders created from this ticket |
Example
{
"activityEvents": [TicketApprovalUpdate],
"approvers": [TicketApprover],
"assetPackages": [AssetPackage],
"assignee": ProcessHandler,
"associatedAssetCategories": [AssetCategory],
"associatedAssetTypes": [AssetType],
"associatedAssets": [Asset],
"associatedSites": [Site],
"automationDetails": TicketAutomationDetails,
"batteryCosts": "abc123",
"canEdit": true,
"canEditTags": true,
"certificationCosts": "xyz789",
"checkEvent": Event,
"checkEventId": HashedId,
"comments": [TicketComment],
"consumablesCosts": "xyz789",
"content": {},
"costLines": [CostLine],
"costs": [Cost],
"created": 1592577642,
"createdByGroup": Group,
"createdByGroupId": HashedId,
"createdByUser": User,
"createdByUserId": HashedId,
"createdFrom": "ASSET_SERVICE",
"creatingSyncedOn": 1592577642,
"currentState": TicketCurrentState,
"customFieldColumns": [CustomField],
"deleted": 1592577642,
"documents": [Document],
"externalEmailHandlers": [TicketHandlerExternalEmail],
"fuelCosts": "xyz789",
"groupHandlers": [TicketHandlerGroup],
"groupTicketHandlerHandlers": [
TicketHandlerGroupTicketHandler
],
"history": [TicketHistory],
"id": HashedId,
"insuranceTaxesCosts": "abc123",
"isStatusUpdatedAutomatically": true,
"isTicketApproversEnabled": true,
"laborCosts": "abc123",
"lastActivityAt": 1592577642,
"lastStatusChange": 1592577642,
"logisticsCosts": "xyz789",
"notifications": NotificationFilter,
"otherCosts": "xyz789",
"partsUsed": [TicketPartUsage],
"pdfCertificateLink": Document,
"procedureInstance": ProcedureInstance,
"procedureInstanceId": HashedId,
"publicId": 123,
"repairCosts": "xyz789",
"reporterName": "abc123",
"reservation": Reservation,
"reservationDisplayId": 987,
"reservationId": HashedId,
"responsibles": [ProcessHandler],
"ruleEntryEvent": RuleEntryEvent,
"service": Service,
"serviceId": HashedId,
"serviceResponseId": HashedId,
"siteManagerHandler": TicketHandlerSiteManager,
"sparePartsCosts": "abc123",
"status": "approvalNeeded",
"statusUpdatedAt": 1592577642,
"statusUpdatedByUser": User,
"statusUpdatedByUserId": HashedId,
"tags": [Tag],
"teamHandlers": [TicketHandlerTeam],
"ticketComments": [TicketComment],
"ticketContent": [TicketContentField],
"ticketId": 123,
"ticketTimeline": TicketTimeline,
"title": Translation,
"titleId": HashedId,
"totalCosts": "xyz789",
"totalPartsCost": 123.45,
"updated": 1592577642,
"urgency": "CRITICAL",
"userHandlers": [TicketHandlerUser],
"uuid": "abc123",
"workOrders": [WorkOrderV2]
}
TicketActivityLogEntry
Example
TicketApprovalUpdate
TicketAfterApprovalAssigneeNotFoundHistory
Description
Records that no usable after-approval assignee was found, so the ticket stays with the approver
Fields
| Field Name | Description |
|---|---|
comment - TicketComment
|
Comment that triggered this history entry |
commentId - HashedId
|
Identifier of the comment added alongside this change, if any |
created - Timestamp!
|
Timestamp when this history entry was created |
id - HashedId!
|
Unique identifier of the ticket history entry |
ticketId - HashedId!
|
Identifier of the ticket this history entry belongs to |
trigger - TicketHistoryTrigger!
|
What initiated this history event such as user action or automation |
triggeredByUser - User
|
User who triggered this ticket history interface |
triggeredByUserId - HashedId
|
Identifier of the user who triggered this change, null for automated actions |
type - TicketHistoryType!
|
Ticket history event type discriminator |
updated - Timestamp
|
Timestamp when this history entry was last updated |
workOrderId - HashedId
|
Identifier of the work order linked to this ticket history entry, if any |
workOrderOnHoldReasonKey - WorkOrderOnHoldReason
|
Reason selected when the linked work order was put on hold, if any |
workOrderOnHoldReasonNote - String
|
Free-text reason supplied when the linked work order was put on hold, if any |
Example
{
"comment": TicketComment,
"commentId": HashedId,
"created": 1592577642,
"id": HashedId,
"ticketId": HashedId,
"trigger": "AUTOMATION",
"triggeredByUser": User,
"triggeredByUserId": HashedId,
"type": "AFTER_APPROVAL_ASSIGNEE_NOT_FOUND",
"updated": 1592577642,
"workOrderId": HashedId,
"workOrderOnHoldReasonKey": "CUSTOMER_NOT_ON_SITE",
"workOrderOnHoldReasonNote": "abc123"
}
TicketApprovalChannelEnum
Description
Where an approval decision was recorded: in the ticket or through an email link
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
Example
"EMAIL"
TicketApprovalHistory
Description
Records approver changes and approval decisions on a ticket
Fields
| Field Name | Description |
|---|---|
approvalChannel - TicketApprovalChannelEnum
|
Where the approval decision was recorded, ticket or email |
approvalNote - String
|
Note the approver left with the decision, required when rejecting |
comment - TicketComment
|
Comment that triggered this history entry |
commentId - HashedId
|
Identifier of the comment added alongside this change, if any |
created - Timestamp!
|
Timestamp when this history entry was created |
externalEmail - String
|
Email address of the approver this entry is about, for a non-platform approver |
id - HashedId!
|
Unique identifier of the ticket history entry |
ticketId - HashedId!
|
Identifier of the ticket this history entry belongs to |
trigger - TicketHistoryTrigger!
|
What initiated this history event such as user action or automation |
triggeredByUser - User
|
User who triggered this ticket history interface |
triggeredByUserId - HashedId
|
Identifier of the user who triggered this change, null for automated actions |
type - TicketHistoryType!
|
Ticket history event type discriminator |
updated - Timestamp
|
Timestamp when this history entry was last updated |
user - User
|
Approver this history entry is about |
userId - HashedId
|
Identifier of the approver this entry is about |
workOrderId - HashedId
|
Identifier of the work order linked to this ticket history entry, if any |
workOrderOnHoldReasonKey - WorkOrderOnHoldReason
|
Reason selected when the linked work order was put on hold, if any |
workOrderOnHoldReasonNote - String
|
Free-text reason supplied when the linked work order was put on hold, if any |
Example
{
"approvalChannel": "EMAIL",
"approvalNote": "abc123",
"comment": TicketComment,
"commentId": HashedId,
"created": 1592577642,
"externalEmail": "abc123",
"id": HashedId,
"ticketId": HashedId,
"trigger": "AUTOMATION",
"triggeredByUser": User,
"triggeredByUserId": HashedId,
"type": "AFTER_APPROVAL_ASSIGNEE_NOT_FOUND",
"updated": 1592577642,
"user": User,
"userId": HashedId,
"workOrderId": HashedId,
"workOrderOnHoldReasonKey": "CUSTOMER_NOT_ON_SITE",
"workOrderOnHoldReasonNote": "abc123"
}
TicketApprovalUpdate
Description
Activity log entry when an approver is added, removed or re-requested, approves or rejects a ticket, or approval routing finds no assignee
Fields
| Field Name | Description |
|---|---|
approvalChannel - TicketApprovalChannelEnum
|
Where the approval decision was recorded, ticket or email |
approvalNote - String
|
Note the approver left with the decision, required when rejecting |
approverUser - User
|
Approver this entry is about |
created - Timestamp!
|
Timestamp when the entity was created |
createdByUser - User
|
The value is present if the event was created explicitly by a user |
data - EventEntityDataDto!
|
Related data records |
externalEmail - String
|
Email address of the approver this entry is about, for a non-platform approver |
historyType - TicketHistoryType!
|
Ticket history event type discriminator |
id - HashedId!
|
Unique identifier of the entity |
type - EventEntityDataTypeEnum!
|
Event data type, always approval update |
Example
{
"approvalChannel": "EMAIL",
"approvalNote": "abc123",
"approverUser": User,
"created": 1592577642,
"createdByUser": User,
"data": EventEntityDataDto,
"externalEmail": "abc123",
"historyType": "AFTER_APPROVAL_ASSIGNEE_NOT_FOUND",
"id": HashedId,
"type": "APPROVAL_UPDATE"
}
TicketApprover
Description
A user or an email address asked to approve a ticket, with their decision
Fields
| Field Name | Description |
|---|---|
created - Timestamp!
|
Timestamp when the entity was created |
decidedAt - DateTime
|
When the approver decided |
email - String
|
Email address asked to approve the ticket, for a non-platform approver |
id - HashedId!
|
Unique identifier of the entity |
note - String
|
Note the approver left with the decision, required when rejecting |
requestedAt - DateTime!
|
When the approval was last requested |
status - TicketApproverStatusEnum!
|
Approval decision state |
ticketId - HashedId!
|
Ticket awaiting approval |
updated - Timestamp
|
Timestamp when the entity was last updated |
user - User
|
User asked to approve the ticket |
userId - HashedId
|
User asked to approve the ticket |
Example
{
"created": 1592577642,
"decidedAt": "2007-12-03T10:15:30Z",
"email": "xyz789",
"id": HashedId,
"note": "abc123",
"requestedAt": "2007-12-03T10:15:30Z",
"status": "APPROVED",
"ticketId": HashedId,
"updated": 1592577642,
"user": User,
"userId": HashedId
}
TicketApproverDecideInput
Description
Decision of the current user on a ticket they must approve
Fields
| Input Field | Description |
|---|---|
note - String
|
Note on the decision, required when rejecting |
status - TicketApproverStatusEnum!
|
Decision, approved or rejected |
ticketId - HashedId!
|
Ticket awaiting approval |
Example
{
"note": "abc123",
"status": "APPROVED",
"ticketId": HashedId
}
TicketApproverDecideOnBehalfInput
Description
Decision an editor records for an approver of a ticket
Fields
| Input Field | Description |
|---|---|
id - HashedId!
|
Unique identifier of the entity |
note - String
|
Note on the decision, required when rejecting |
status - TicketApproverStatusEnum!
|
Decision, approved or rejected |
ticketId - HashedId!
|
Ticket awaiting approval |
Example
{
"id": HashedId,
"note": "abc123",
"status": "APPROVED",
"ticketId": HashedId
}
TicketApproverStatusEnum
Description
Decision state of a ticket approver: pending, approved or rejected
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
Example
"APPROVED"
TicketApproverTargetInput
TicketApproversAddInput
Description
Approvers to add to a ticket
Fields
| Input Field | Description |
|---|---|
emails - [String!]!
|
Email addresses asked to approve the ticket. Default = [] |
ticketId - HashedId!
|
Ticket awaiting approval |
userIds - [HashedId!]!
|
Users asked to approve the ticket. Default = [] |
Example
{
"emails": ["abc123"],
"ticketId": HashedId,
"userIds": [HashedId]
}
TicketAssetAvailabilityUpdate
Description
Real-time update when an asset availability changes via a ticket
Fields
| Field Name | Description |
|---|---|
assets - [Asset!]!
|
Assets affected by this availability update event |
availability - AssetAvailability!
|
New availability status set by the automation |
created - Timestamp!
|
Timestamp when the entity was created |
data - EventEntityDataDto!
|
Related data records |
id - HashedId!
|
Unique identifier of the entity |
isAutomated - Boolean!
|
Always true, this update is triggered by automation |
type - EventEntityDataTypeEnum!
|
Event data type, always availability changed by automation |
Example
{
"assets": [Asset],
"availability": "BORROWED",
"created": 1592577642,
"data": EventEntityDataDto,
"id": HashedId,
"isAutomated": false,
"type": "APPROVAL_UPDATE"
}
TicketAssetAvailabilityUpdatedHistory
Description
Records when the availability status of an asset on a ticket is changed
Fields
| Field Name | Description |
|---|---|
assets - [Asset!]!
|
Assets associated with this ticket history entry |
availability - AssetAvailability!
|
New availability status of the asset |
comment - TicketComment
|
Comment that triggered this history entry |
commentId - HashedId
|
Identifier of the comment added alongside this change, if any |
created - Timestamp!
|
Timestamp when this history entry was created |
id - HashedId!
|
Unique identifier of the ticket history entry |
ticketId - HashedId!
|
Identifier of the ticket this history entry belongs to |
trigger - TicketHistoryTrigger!
|
What initiated this history event such as user action or automation |
triggeredByUser - User
|
User who triggered this ticket history interface |
triggeredByUserId - HashedId
|
Identifier of the user who triggered this change, null for automated actions |
type - TicketHistoryType!
|
Ticket history event type discriminator |
updated - Timestamp
|
Timestamp when this history entry was last updated |
workOrderId - HashedId
|
Identifier of the work order linked to this ticket history entry, if any |
workOrderOnHoldReasonKey - WorkOrderOnHoldReason
|
Reason selected when the linked work order was put on hold, if any |
workOrderOnHoldReasonNote - String
|
Free-text reason supplied when the linked work order was put on hold, if any |
Example
{
"assets": [Asset],
"availability": "BORROWED",
"comment": TicketComment,
"commentId": HashedId,
"created": 1592577642,
"id": HashedId,
"ticketId": HashedId,
"trigger": "AUTOMATION",
"triggeredByUser": User,
"triggeredByUserId": HashedId,
"type": "AFTER_APPROVAL_ASSIGNEE_NOT_FOUND",
"updated": 1592577642,
"workOrderId": HashedId,
"workOrderOnHoldReasonKey": "CUSTOMER_NOT_ON_SITE",
"workOrderOnHoldReasonNote": "xyz789"
}
TicketAssetCheckComplete
Description
Real-time event when an asset check is completed via a ticket
Fields
| Field Name | Description |
|---|---|
assets - [Asset!]!
|
Assets included in this completed check event |
created - Timestamp!
|
Timestamp when the entity was created |
data - EventEntityDataDto!
|
Related data records |
id - HashedId!
|
Unique identifier of the entity |
isAutomated - Boolean!
|
Always true, check was completed by automation |
type - EventEntityDataTypeEnum!
|
Event data type, always check completed by automation |
Example
{
"assets": [Asset],
"created": 1592577642,
"data": EventEntityDataDto,
"id": HashedId,
"isAutomated": true,
"type": "APPROVAL_UPDATE"
}
TicketAssetCheckCompletedHistory
Description
Records when an asset check is completed for assets on a ticket
Fields
| Field Name | Description |
|---|---|
assets - [Asset!]!
|
Assets associated with this ticket history entry |
comment - TicketComment
|
Comment that triggered this history entry |
commentId - HashedId
|
Identifier of the comment added alongside this change, if any |
created - Timestamp!
|
Timestamp when this history entry was created |
id - HashedId!
|
Unique identifier of the ticket history entry |
ticketId - HashedId!
|
Identifier of the ticket this history entry belongs to |
trigger - TicketHistoryTrigger!
|
What initiated this history event such as user action or automation |
triggeredByUser - User
|
User who triggered this ticket history interface |
triggeredByUserId - HashedId
|
Identifier of the user who triggered this change, null for automated actions |
type - TicketHistoryType!
|
Ticket history event type discriminator |
updated - Timestamp
|
Timestamp when this history entry was last updated |
workOrderId - HashedId
|
Identifier of the work order linked to this ticket history entry, if any |
workOrderOnHoldReasonKey - WorkOrderOnHoldReason
|
Reason selected when the linked work order was put on hold, if any |
workOrderOnHoldReasonNote - String
|
Free-text reason supplied when the linked work order was put on hold, if any |
Example
{
"assets": [Asset],
"comment": TicketComment,
"commentId": HashedId,
"created": 1592577642,
"id": HashedId,
"ticketId": HashedId,
"trigger": "AUTOMATION",
"triggeredByUser": User,
"triggeredByUserId": HashedId,
"type": "AFTER_APPROVAL_ASSIGNEE_NOT_FOUND",
"updated": 1592577642,
"workOrderId": HashedId,
"workOrderOnHoldReasonKey": "CUSTOMER_NOT_ON_SITE",
"workOrderOnHoldReasonNote": "xyz789"
}
TicketAssetSiteUpdate
Description
Real-time update when an asset site assignment changes via a ticket
Fields
| Field Name | Description |
|---|---|
assets - [Asset!]!
|
Assets relocated by this site update event |
created - Timestamp!
|
Timestamp when the entity was created |
data - EventEntityDataDto!
|
Related data records |
id - HashedId!
|
Unique identifier of the entity |
isAutomated - Boolean!
|
Always true, site change is triggered by automation |
site - Site!
|
Target site for this asset relocation event |
siteId - HashedId!
|
Site the assets were moved to |
type - EventEntityDataTypeEnum!
|
Event data type, always site changed by automation |
Example
{
"assets": [Asset],
"created": 1592577642,
"data": EventEntityDataDto,
"id": HashedId,
"isAutomated": false,
"site": Site,
"siteId": HashedId,
"type": "APPROVAL_UPDATE"
}
TicketAssetSiteUpdatedHistory
Description
Records when an asset on a ticket has its site location updated
Fields
| Field Name | Description |
|---|---|
assets - [Asset!]!
|
Assets associated with this ticket history entry |
comment - TicketComment
|
Comment that triggered this history entry |
commentId - HashedId
|
Identifier of the comment added alongside this change, if any |
created - Timestamp!
|
Timestamp when this history entry was created |
id - HashedId!
|
Unique identifier of the ticket history entry |
site - Site!
|
Site associated with this ticket asset site updated history |
siteId - HashedId!
|
Site identifier |
ticketId - HashedId!
|
Identifier of the ticket this history entry belongs to |
trigger - TicketHistoryTrigger!
|
What initiated this history event such as user action or automation |
triggeredByUser - User
|
User who triggered this ticket history interface |
triggeredByUserId - HashedId
|
Identifier of the user who triggered this change, null for automated actions |
type - TicketHistoryType!
|
Ticket history event type discriminator |
updated - Timestamp
|
Timestamp when this history entry was last updated |
workOrderId - HashedId
|
Identifier of the work order linked to this ticket history entry, if any |
workOrderOnHoldReasonKey - WorkOrderOnHoldReason
|
Reason selected when the linked work order was put on hold, if any |
workOrderOnHoldReasonNote - String
|
Free-text reason supplied when the linked work order was put on hold, if any |
Example
{
"assets": [Asset],
"comment": TicketComment,
"commentId": HashedId,
"created": 1592577642,
"id": HashedId,
"site": Site,
"siteId": HashedId,
"ticketId": HashedId,
"trigger": "AUTOMATION",
"triggeredByUser": User,
"triggeredByUserId": HashedId,
"type": "AFTER_APPROVAL_ASSIGNEE_NOT_FOUND",
"updated": 1592577642,
"workOrderId": HashedId,
"workOrderOnHoldReasonKey": "CUSTOMER_NOT_ON_SITE",
"workOrderOnHoldReasonNote": "abc123"
}
TicketAssetsAddedHistory
Description
Records when one or more assets are added to a ticket
Fields
| Field Name | Description |
|---|---|
assets - [Asset!]!
|
Assets associated with this ticket history entry |
comment - TicketComment
|
Comment that triggered this history entry |
commentId - HashedId
|
Identifier of the comment added alongside this change, if any |
created - Timestamp!
|
Timestamp when this history entry was created |
id - HashedId!
|
Unique identifier of the ticket history entry |
ticketId - HashedId!
|
Identifier of the ticket this history entry belongs to |
trigger - TicketHistoryTrigger!
|
What initiated this history event such as user action or automation |
triggeredByUser - User
|
User who triggered this ticket history interface |
triggeredByUserId - HashedId
|
Identifier of the user who triggered this change, null for automated actions |
type - TicketHistoryType!
|
Ticket history event type discriminator |
updated - Timestamp
|
Timestamp when this history entry was last updated |
workOrderId - HashedId
|
Identifier of the work order linked to this ticket history entry, if any |
workOrderOnHoldReasonKey - WorkOrderOnHoldReason
|
Reason selected when the linked work order was put on hold, if any |
workOrderOnHoldReasonNote - String
|
Free-text reason supplied when the linked work order was put on hold, if any |
Example
{
"assets": [Asset],
"comment": TicketComment,
"commentId": HashedId,
"created": 1592577642,
"id": HashedId,
"ticketId": HashedId,
"trigger": "AUTOMATION",
"triggeredByUser": User,
"triggeredByUserId": HashedId,
"type": "AFTER_APPROVAL_ASSIGNEE_NOT_FOUND",
"updated": 1592577642,
"workOrderId": HashedId,
"workOrderOnHoldReasonKey": "CUSTOMER_NOT_ON_SITE",
"workOrderOnHoldReasonNote": "xyz789"
}
TicketAssetsRemovedHistory
Description
Records when one or more assets are removed from a ticket
Fields
| Field Name | Description |
|---|---|
assets - [Asset!]!
|
Assets associated with this ticket history entry |
comment - TicketComment
|
Comment that triggered this history entry |
commentId - HashedId
|
Identifier of the comment added alongside this change, if any |
created - Timestamp!
|
Timestamp when this history entry was created |
id - HashedId!
|
Unique identifier of the ticket history entry |
ticketId - HashedId!
|
Identifier of the ticket this history entry belongs to |
trigger - TicketHistoryTrigger!
|
What initiated this history event such as user action or automation |
triggeredByUser - User
|
User who triggered this ticket history interface |
triggeredByUserId - HashedId
|
Identifier of the user who triggered this change, null for automated actions |
type - TicketHistoryType!
|
Ticket history event type discriminator |
updated - Timestamp
|
Timestamp when this history entry was last updated |
workOrderId - HashedId
|
Identifier of the work order linked to this ticket history entry, if any |
workOrderOnHoldReasonKey - WorkOrderOnHoldReason
|
Reason selected when the linked work order was put on hold, if any |
workOrderOnHoldReasonNote - String
|
Free-text reason supplied when the linked work order was put on hold, if any |
Example
{
"assets": [Asset],
"comment": TicketComment,
"commentId": HashedId,
"created": 1592577642,
"id": HashedId,
"ticketId": HashedId,
"trigger": "AUTOMATION",
"triggeredByUser": User,
"triggeredByUserId": HashedId,
"type": "AFTER_APPROVAL_ASSIGNEE_NOT_FOUND",
"updated": 1592577642,
"workOrderId": HashedId,
"workOrderOnHoldReasonKey": "CUSTOMER_NOT_ON_SITE",
"workOrderOnHoldReasonNote": "abc123"
}
TicketAssigneeAddedHistory
Description
Records when an assignee is added to a ticket
Fields
| Field Name | Description |
|---|---|
comment - TicketComment
|
Comment that triggered this history entry |
commentId - HashedId
|
Identifier of the comment added alongside this change, if any |
created - Timestamp!
|
Timestamp when this history entry was created |
externalEmail - String
|
External email address of the handler, for non-platform users |
group - Group
|
Group context for this ticket handler history entry |
groupId - HashedId
|
Identifier of the group involved in this handler change |
groupTicketHandler - GroupTicketHandler
|
Group Ticket Handler for this ticket history with handlers interface |
groupTicketHandlerId - HashedId
|
Identifier of the group ticket handler configuration involved in this change |
id - HashedId!
|
Unique identifier of the ticket history entry |
team - Team
|
Team assigned to this ticket history with handlers interface |
teamId - HashedId
|
Identifier of the team involved in this handler change |
ticketId - HashedId!
|
Identifier of the ticket this history entry belongs to |
trigger - TicketHistoryTrigger!
|
What initiated this history event such as user action or automation |
triggeredByUser - User
|
User who triggered this ticket history interface |
triggeredByUserId - HashedId
|
Identifier of the user who triggered this change, null for automated actions |
type - TicketHistoryType!
|
Ticket history event type discriminator |
updated - Timestamp
|
Timestamp when this history entry was last updated |
user - User
|
User who was assigned or unassigned as a handler in this history entry |
userId - HashedId
|
Identifier of the user involved in this handler change |
workOrderId - HashedId
|
Identifier of the work order linked to this ticket history entry, if any |
workOrderOnHoldReasonKey - WorkOrderOnHoldReason
|
Reason selected when the linked work order was put on hold, if any |
workOrderOnHoldReasonNote - String
|
Free-text reason supplied when the linked work order was put on hold, if any |
Example
{
"comment": TicketComment,
"commentId": HashedId,
"created": 1592577642,
"externalEmail": "abc123",
"group": Group,
"groupId": HashedId,
"groupTicketHandler": GroupTicketHandler,
"groupTicketHandlerId": HashedId,
"id": HashedId,
"team": Team,
"teamId": HashedId,
"ticketId": HashedId,
"trigger": "AUTOMATION",
"triggeredByUser": User,
"triggeredByUserId": HashedId,
"type": "AFTER_APPROVAL_ASSIGNEE_NOT_FOUND",
"updated": 1592577642,
"user": User,
"userId": HashedId,
"workOrderId": HashedId,
"workOrderOnHoldReasonKey": "CUSTOMER_NOT_ON_SITE",
"workOrderOnHoldReasonNote": "xyz789"
}
TicketAssigneeRemovedHistory
Description
Records when an assignee is removed from a ticket
Fields
| Field Name | Description |
|---|---|
comment - TicketComment
|
Comment that triggered this history entry |
commentId - HashedId
|
Identifier of the comment added alongside this change, if any |
created - Timestamp!
|
Timestamp when this history entry was created |
externalEmail - String
|
External email address of the handler, for non-platform users |
group - Group
|
Group context for this ticket handler history entry |
groupId - HashedId
|
Identifier of the group involved in this handler change |
groupTicketHandler - GroupTicketHandler
|
Group Ticket Handler for this ticket history with handlers interface |
groupTicketHandlerId - HashedId
|
Identifier of the group ticket handler configuration involved in this change |
id - HashedId!
|
Unique identifier of the ticket history entry |
team - Team
|
Team assigned to this ticket history with handlers interface |
teamId - HashedId
|
Identifier of the team involved in this handler change |
ticketId - HashedId!
|
Identifier of the ticket this history entry belongs to |
trigger - TicketHistoryTrigger!
|
What initiated this history event such as user action or automation |
triggeredByUser - User
|
User who triggered this ticket history interface |
triggeredByUserId - HashedId
|
Identifier of the user who triggered this change, null for automated actions |
type - TicketHistoryType!
|
Ticket history event type discriminator |
updated - Timestamp
|
Timestamp when this history entry was last updated |
user - User
|
User who was assigned or unassigned as a handler in this history entry |
userId - HashedId
|
Identifier of the user involved in this handler change |
workOrderId - HashedId
|
Identifier of the work order linked to this ticket history entry, if any |
workOrderOnHoldReasonKey - WorkOrderOnHoldReason
|
Reason selected when the linked work order was put on hold, if any |
workOrderOnHoldReasonNote - String
|
Free-text reason supplied when the linked work order was put on hold, if any |
Example
{
"comment": TicketComment,
"commentId": HashedId,
"created": 1592577642,
"externalEmail": "abc123",
"group": Group,
"groupId": HashedId,
"groupTicketHandler": GroupTicketHandler,
"groupTicketHandlerId": HashedId,
"id": HashedId,
"team": Team,
"teamId": HashedId,
"ticketId": HashedId,
"trigger": "AUTOMATION",
"triggeredByUser": User,
"triggeredByUserId": HashedId,
"type": "AFTER_APPROVAL_ASSIGNEE_NOT_FOUND",
"updated": 1592577642,
"user": User,
"userId": HashedId,
"workOrderId": HashedId,
"workOrderOnHoldReasonKey": "CUSTOMER_NOT_ON_SITE",
"workOrderOnHoldReasonNote": "abc123"
}
TicketAssigneeTagEnum
Description
Ordered priority tags (1-10) used to label and distinguish multiple assignee slots on a ticket, enabling prioritized assignment workflows
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"ASSIGNEE_1"
TicketAutomation
Description
An automation rule configured for a ticket workflow step
Fields
| Field Name | Description |
|---|---|
created - Timestamp!
|
Timestamp when the entity was created |
id - HashedId!
|
Unique identifier of the entity |
newAvailability - AssetAvailability
|
Availability this automation sets on its assets |
ranAt - Timestamp
|
When this automation was last executed |
runOnTicketStatus - TicketStateEnum
|
Ticket status that triggers this automation |
ticketId - HashedId!
|
Ticket this automation rule applies to |
type - TicketAutomationEnum!
|
Kind of automation action to perform |
updated - Timestamp
|
Timestamp when the entity was last updated |
Example
{
"created": 1592577642,
"id": HashedId,
"newAvailability": "BORROWED",
"ranAt": 1592577642,
"runOnTicketStatus": "approvalNeeded",
"ticketId": HashedId,
"type": "asset_availability",
"updated": 1592577642
}
TicketAutomationDetails
Description
All automation rules configured across a ticket workflow
Fields
| Field Name | Description |
|---|---|
automationGroups - [TicketAutomationGroup!]!
|
Automation rules grouped by asset or scope |
newAvailability - AssetAvailability
|
Availability status to set after automation runs |
newSite - Site
|
Site to assign to the asset after automation runs |
Example
{
"automationGroups": [TicketAutomationGroup],
"newAvailability": "BORROWED",
"newSite": Site
}
TicketAutomationEmailSent
Description
Activity log entry when automation sends ticket PDF to email addresses
Fields
| Field Name | Description |
|---|---|
created - Timestamp!
|
Timestamp when the entity was created |
data - EventEntityDataDto!
|
Related data records |
externalEmail - String!
|
Comma-separated list of email addresses the ticket was sent to |
id - HashedId!
|
Unique identifier of the entity |
isAutomated - Boolean!
|
Always true, email was sent by automation |
type - EventEntityDataTypeEnum!
|
Event data type, always automation email sent |
Example
{
"created": 1592577642,
"data": EventEntityDataDto,
"externalEmail": "xyz789",
"id": HashedId,
"isAutomated": true,
"type": "APPROVAL_UPDATE"
}
TicketAutomationEmailSentHistory
Description
Records when the automation sends a copy of a ticket to email addresses
Fields
| Field Name | Description |
|---|---|
comment - TicketComment
|
Comment that triggered this history entry |
commentId - HashedId
|
Identifier of the comment added alongside this change, if any |
created - Timestamp!
|
Timestamp when this history entry was created |
externalEmail - String
|
Comma-separated list of email addresses the ticket was sent to |
id - HashedId!
|
Unique identifier of the ticket history entry |
ticketId - HashedId!
|
Identifier of the ticket this history entry belongs to |
trigger - TicketHistoryTrigger!
|
What initiated this history event such as user action or automation |
triggeredByUser - User
|
User who triggered this ticket history interface |
triggeredByUserId - HashedId
|
Identifier of the user who triggered this change, null for automated actions |
type - TicketHistoryType!
|
Ticket history event type discriminator |
updated - Timestamp
|
Timestamp when this history entry was last updated |
workOrderId - HashedId
|
Identifier of the work order linked to this ticket history entry, if any |
workOrderOnHoldReasonKey - WorkOrderOnHoldReason
|
Reason selected when the linked work order was put on hold, if any |
workOrderOnHoldReasonNote - String
|
Free-text reason supplied when the linked work order was put on hold, if any |
Example
{
"comment": TicketComment,
"commentId": HashedId,
"created": 1592577642,
"externalEmail": "abc123",
"id": HashedId,
"ticketId": HashedId,
"trigger": "AUTOMATION",
"triggeredByUser": User,
"triggeredByUserId": HashedId,
"type": "AFTER_APPROVAL_ASSIGNEE_NOT_FOUND",
"updated": 1592577642,
"workOrderId": HashedId,
"workOrderOnHoldReasonKey": "CUSTOMER_NOT_ON_SITE",
"workOrderOnHoldReasonNote": "abc123"
}
TicketAutomationEnum
Description
Automation rules that can be configured on ticket workflows, such as BLE-triggered actions, scheduled checks, automatic assignee routing, asset relocation, meter reading updates, and status/urgency transitions
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"asset_availability"
TicketAutomationGroup
Description
Group-level automation settings for ticket routing and handling
Fields
| Field Name | Description |
|---|---|
assetDetails - [AssetInAutomationDetails!]!
|
Assets affected by this automation group |
automations - [TicketAutomation!]!
|
Automation rules in this group |
Example
{
"assetDetails": [AssetInAutomationDetails],
"automations": [TicketAutomation]
}
TicketBulkAssignAssigneeInput
Fields
| Input Field | Description |
|---|---|
excludeTicketIds - [HashedId!]
|
Ticket IDs to exclude from the selection |
filterInput - AssetFilterInput
|
Filter criteria to dynamically select tickets |
ticketIds - [HashedId!]
|
Explicit list of ticket IDs to include in the operation |
userId - HashedId
|
User identifier |
Example
{
"excludeTicketIds": [HashedId],
"filterInput": AssetFilterInput,
"ticketIds": [HashedId],
"userId": HashedId
}
TicketBulkChangeStatusInput
Fields
| Input Field | Description |
|---|---|
excludeTicketIds - [HashedId!]
|
Ticket IDs to exclude from the selection |
filterInput - AssetFilterInput
|
Filter criteria to dynamically select tickets |
status - TicketStateEnum!
|
|
ticketIds - [HashedId!]
|
Explicit list of ticket IDs to include in the operation |
Example
{
"excludeTicketIds": [HashedId],
"filterInput": AssetFilterInput,
"status": "approvalNeeded",
"ticketIds": [HashedId]
}
TicketBulkChangeUrgencyInput
Fields
| Input Field | Description |
|---|---|
excludeTicketIds - [HashedId!]
|
Ticket IDs to exclude from the selection |
filterInput - AssetFilterInput
|
Filter criteria to dynamically select tickets |
ticketIds - [HashedId!]
|
Explicit list of ticket IDs to include in the operation |
urgency - TicketUrgencyEnum!
|
Priority level (e.g. low, normal, high, very high) |
Example
{
"excludeTicketIds": [HashedId],
"filterInput": AssetFilterInput,
"ticketIds": [HashedId],
"urgency": "CRITICAL"
}
TicketChangeItemsInput
Description
Input for modifying ticket content field items
Fields
| Input Field | Description |
|---|---|
attachments - [Upload!]!
|
Files attached to the change |
comment - String
|
Explanation for the item change |
fieldId - HashedId!
|
Content field being changed |
ticketId - HashedId!
|
Ticket to modify items for |
Example
{
"attachments": [Upload],
"comment": "xyz789",
"fieldId": HashedId,
"ticketId": HashedId
}
TicketColumnEnum
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"anySiteId"
TicketComment
Description
A comment or note added to a ticket by a user or automation
Fields
| Field Name | Description |
|---|---|
attachments - [Document!]!
|
Documents attached to this ticket comment |
authorEmail - String
|
Email address of the comment author |
connectedEvent - Event
|
Events recorded for this ticket comment |
connectedEventId - HashedId
|
Event linked to this comment |
content - TicketCommentContent
|
Latest content revision of this comment |
costs - [CostLine!]!
|
Cost entries for this ticket comment |
created - Timestamp!
|
Timestamp when the entity was created |
createdByUser - TicketUser
|
User who posted this comment on the ticket |
createdByUserId - HashedId
|
User who authored this comment |
deleted - Timestamp
|
Soft deletion timestamp, null if active |
history - [TicketCommentContent!]!
|
All content revisions showing edit history of this comment |
id - HashedId!
|
Unique identifier of the entity |
internal - Boolean!
|
Whether visible only to internal team members |
isAutomated - Boolean!
|
Whether this comment was created by an automation rule |
itemsEvent - TicketItemsChange
|
Linked items change event for this comment |
stateEvent - TicketState
|
Status transition recorded with this comment use "ticketStatus" enum instead |
ticketHistory - TicketHistory
|
History entry associated with this comment |
ticketId - HashedId!
|
Ticket this comment belongs to |
ticketStatus - TicketStateEnum
|
Ticket status set when this comment was posted |
updated - Timestamp
|
Timestamp when the entity was last updated |
Example
{
"attachments": [Document],
"authorEmail": "abc123",
"connectedEvent": Event,
"connectedEventId": HashedId,
"content": TicketCommentContent,
"costs": [CostLine],
"created": 1592577642,
"createdByUser": TicketUser,
"createdByUserId": HashedId,
"deleted": 1592577642,
"history": [TicketCommentContent],
"id": HashedId,
"internal": false,
"isAutomated": false,
"itemsEvent": TicketItemsChange,
"stateEvent": TicketState,
"ticketHistory": TicketHistory,
"ticketId": HashedId,
"ticketStatus": "approvalNeeded",
"updated": 1592577642
}
TicketCommentContent
Description
Rich content block within a ticket comment
Fields
| Field Name | Description |
|---|---|
content - String!
|
Text body of the comment version |
created - Timestamp!
|
Timestamp when the entity was created |
deleted - Timestamp
|
Soft deletion timestamp, null if active |
id - HashedId!
|
Unique identifier of the entity |
ticketCommentId - HashedId!
|
Parent comment this content belongs to |
updated - Timestamp
|
Timestamp when the entity was last updated |
Example
{
"content": "xyz789",
"created": 1592577642,
"deleted": 1592577642,
"id": HashedId,
"ticketCommentId": HashedId,
"updated": 1592577642
}
TicketCommentCreateInput
Description
Data required to create a new ticket comment
Fields
| Input Field | Description |
|---|---|
attachments - [Upload!]
|
Files attached to the comment |
content - String!
|
Comment message text |
disableWebhooks - Boolean
|
Whether to skip webhook notifications for this operation. Default = false |
internal - Boolean
|
Whether the comment is internal-only |
ticketId - HashedId!
|
Ticket to add the comment to |
Example
{
"attachments": [Upload],
"content": "abc123",
"disableWebhooks": true,
"internal": true,
"ticketId": HashedId
}
TicketCommentFiltersInput
Description
Filter criteria for ticket comments
Fields
| Input Field | Description |
|---|---|
includeInternal - Boolean
|
Whether to include internal-only comments |
Example
{"includeInternal": true}
TicketCommentUpdateInput
Description
Fields to update on an existing ticket comment
Fields
| Input Field | Description |
|---|---|
attachments - [Upload!]
|
Files attached to the comment |
changedCosts - [ChangedCostInput!]
|
Existing cost entries to modify |
content - String
|
Updated comment message text |
costsIdsToDelete - [HashedId!]
|
Cost entries to remove |
disableWebhooks - Boolean
|
Whether to skip webhook notifications for this operation. Default = false |
documentsIdsToDelete - [HashedId!]
|
Attached documents to remove |
event - UpdateCommentEventInput
|
Cost event linked to this comment |
newCosts - [NewCostInput!]
|
New cost entries to add |
Example
{
"attachments": [Upload],
"changedCosts": [ChangedCostInput],
"content": "abc123",
"costsIdsToDelete": [HashedId],
"disableWebhooks": true,
"documentsIdsToDelete": [HashedId],
"event": UpdateCommentEventInput,
"newCosts": [NewCostInput]
}
TicketContentField
Description
A form field and its submitted value from the service template
Fields
| Field Name | Description |
|---|---|
assetCategories - [AssetCategory!]!
|
Asset categories linked to this ticket content field |
assetTypes - [AssetType!]!
|
Asset types linked to this ticket content field |
assets - [Asset!]!
|
Assets referenced in this ticket content field |
assignees - [AvailableHandler!]!
|
Handlers currently assigned via this form field |
automations - Int!
|
Number of automations triggered by this field |
checkedValue - Boolean
|
Whether the checkbox field is checked |
children - [TicketContentField!]!
|
Nested child fields within this section |
choiceOptions - [TicketContentFieldChoiceOption!]!
|
Selectable options available for this form field |
choiceValue - TicketContentFieldChoice
|
Selected single or multiple choice mode |
comment - String
|
Free-text comment added by the submitter |
contentType - TicketContentFieldContentType!
|
Format of the rendered content |
created - Timestamp!
|
Timestamp when the entity was created |
customFieldColumns - [CustomField!]!
|
Deduplicated custom fields applicable to this field’s assets, with values aggregated across those assets |
dateValue - DateTime
|
Date entered by the user for this field. With includeTime it is the entered instant; without it, a calendar day: send its UTC midnight and read its UTC date. A calendar day is returned at 12:00 UTC only for backward compatibility with released mobile builds that render it in the user timezone |
description - Translation
|
|
descriptionId - HashedId
|
Translation record for the field description |
documents - [Document!]!
|
Documents attached to this ticket content field |
emails - [TicketContentFieldEmail!]!
|
Email addresses submitted for this form field |
filters - [Filters!]!
|
Asset, site and scanned fields support filters, which restrict the assets or sites a user can select |
id - HashedId!
|
Unique identifier of the entity |
includeTime - Boolean!
|
Whether the date field captures time of day |
isChangeAllowed - Boolean!
|
Whether change allowed |
isEditableInTicket - Boolean!
|
Whether the date answer stays editable after submission, snapshotted from the procedure component when the ticket was created |
isHiddenInTicket - Boolean!
|
Whether hidden in ticket |
isReservationConstrained - Boolean!
|
Whether filters are enforced by a reservation constraint |
issues - [ReservationLineItemIssue!]!
|
Issues reported against this field from this ticket |
location - Address
|
Physical address associated with this ticket content field |
locationId - HashedId
|
Address linked to this location field |
numberValue - Int
|
Number value Use "numberValueDecimal" instead. It offers Float type |
numberValueDecimal - Float
|
Numeric value as a decimal (replaces integer-only field) |
order - Int!
|
Sort order position |
parentId - HashedId
|
Parent field for nested form sections |
phone - Phone
|
Phone number associated with this ticket content field |
phoneId - HashedId
|
Phone number linked to this field |
reservationLineItem - ReservationLineItem
|
Reservation line item this content field fulfills |
reservationLineItemId - HashedId
|
Reservation line item linked to this field |
sites - [Site!]!
|
Sites for this ticket content field |
suggestedAssignees - [AvailableHandler!]!
|
Recommended handlers suggested for assignment via this field |
table - TicketContentFieldTable
|
Table layout structure associated with this form field |
tableId - HashedId
|
Associated table layout for tabular fields |
tags - [Tag!]!
|
Tags selected in this field by the submitter, ordered by tag name |
textValue - String
|
Text entered by the user for this field |
ticketId - HashedId!
|
Ticket this field belongs to |
title - Translation
|
Translated name of the ticket content field |
titleId - HashedId
|
Translation record for the field title |
updated - Timestamp
|
Timestamp when the entity was last updated |
uploadedDocuments - [Document!]!
|
Documents attached to this ticket content field |
yesNoValue - TicketContentFieldYesNo
|
Selected yes/no answer for this field |
Example
{
"assetCategories": [AssetCategory],
"assetTypes": [AssetType],
"assets": [Asset],
"assignees": [AvailableHandler],
"automations": 123,
"checkedValue": true,
"children": [TicketContentField],
"choiceOptions": [TicketContentFieldChoiceOption],
"choiceValue": "good",
"comment": "abc123",
"contentType": "asset",
"created": 1592577642,
"customFieldColumns": [CustomField],
"dateValue": "2007-12-03T10:15:30Z",
"description": Translation,
"descriptionId": HashedId,
"documents": [Document],
"emails": [TicketContentFieldEmail],
"filters": [Filters],
"id": HashedId,
"includeTime": false,
"isChangeAllowed": false,
"isEditableInTicket": true,
"isHiddenInTicket": false,
"isReservationConstrained": false,
"issues": [ReservationLineItemIssue],
"location": Address,
"locationId": HashedId,
"numberValue": 123,
"numberValueDecimal": 987.65,
"order": 987,
"parentId": HashedId,
"phone": Phone,
"phoneId": HashedId,
"reservationLineItem": ReservationLineItem,
"reservationLineItemId": HashedId,
"sites": [Site],
"suggestedAssignees": [AvailableHandler],
"table": TicketContentFieldTable,
"tableId": HashedId,
"tags": [Tag],
"textValue": "abc123",
"ticketId": HashedId,
"title": Translation,
"titleId": HashedId,
"updated": 1592577642,
"uploadedDocuments": [Document],
"yesNoValue": "na"
}
TicketContentFieldChoice
Description
Condition assessment options for ticket content fields: not applicable, good, not good, or needs attention
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
Example
"good"
TicketContentFieldChoiceOption
Description
A selectable option within a form choice field
Fields
| Field Name | Description |
|---|---|
code - String
|
Machine-readable code for integration mapping |
created - Timestamp!
|
Timestamp when the entity was created |
fieldId - HashedId!
|
Content field this option belongs to |
id - HashedId!
|
Unique identifier of the entity |
isSelectedByDefault - Boolean!
|
Whether selected by default |
order - Int!
|
Sort order position |
title - Translation
|
Translated name of the ticket content field choice option |
titleId - HashedId!
|
Translation record for the option label |
updated - Timestamp
|
Timestamp when the entity was last updated |
value - Boolean!
|
Whether this option is currently selected |
Example
{
"code": "xyz789",
"created": 1592577642,
"fieldId": HashedId,
"id": HashedId,
"isSelectedByDefault": true,
"order": 123,
"title": Translation,
"titleId": HashedId,
"updated": 1592577642,
"value": true
}
TicketContentFieldContentType
Description
Defines the input control type for ticket content fields, such as text, number, date, dropdown, checkbox, signature, attachment, GPS, BLE, asset/site selectors, and meter reading fields
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"asset"
TicketContentFieldCreateByTemplateInput
Description
Data required to create a new ticket content field by template
Fields
| Input Field | Description |
|---|---|
assetCategoryIds - [HashedId!]
|
Asset categories linked to this field |
assetIds - [HashedId!]
|
Assets linked to this field |
assetTypeIds - [HashedId!]
|
Asset types linked to this field |
automations - Int
|
Number of automations triggered by this field |
cells - [TicketContentFieldTableCellCreateInput!]
|
Table cells for grid-type fields |
checkedValue - Boolean
|
Whether the checkbox field is checked |
children - [TicketContentFieldCreateByTemplateInput!]
|
Nested child content fields |
choiceOptionId - HashedId
|
Selected single-choice option |
choiceOptionIds - [HashedId!]
|
Selected multi-choice options |
choiceValue - TicketContentFieldChoice
|
Selected single or multiple choice mode |
comment - String
|
Free-text comment added by the submitter |
dateValue - DateTime
|
Date entered by the user for this field |
documents - [Upload!]
|
Attached documents and files |
emails - [String!]
|
Email addresses for this field |
groupIds - [HashedId!]
|
Groups assigned to this field |
includeTime - Boolean
|
Whether the date field captures time of day |
location - AddressCreateInput
|
Address location for this field |
numberValueDecimal - Float
|
Decimal numeric value for this field |
phone - PhoneCreateInput
|
Contact phone number for this field |
siteIds - [HashedId!]
|
Sites assigned to this field |
suggestedGroupIds - [HashedId!]
|
Suggested groups for assignment |
suggestedTeamIds - [HashedId!]
|
Suggested teams for assignment |
suggestedUserIds - [HashedId!]
|
Suggested users for assignment |
tagIds - [HashedId!]
|
Tags selected for this field |
teamIds - [HashedId!]
|
Teams assigned to this field |
templateComponentId - HashedId!
|
Template component this field is based on |
textValue - String
|
Text entered by the user for this field |
uploadIds - [String!]
|
Upload IDs from s3CreateUpload to claim into this field on submit (preferred over uploadedDocumentUrls for new clients) |
uploadedDocumentUrls - [DocumentUrlInput!]
|
|
userIds - [HashedId!]
|
Users assigned to this field |
yesNoValue - TicketContentFieldYesNo
|
Selected yes/no answer for this field |
Example
{
"assetCategoryIds": [HashedId],
"assetIds": [HashedId],
"assetTypeIds": [HashedId],
"automations": 987,
"cells": [TicketContentFieldTableCellCreateInput],
"checkedValue": false,
"children": [TicketContentFieldCreateByTemplateInput],
"choiceOptionId": HashedId,
"choiceOptionIds": [HashedId],
"choiceValue": "good",
"comment": "xyz789",
"dateValue": "2007-12-03T10:15:30Z",
"documents": [Upload],
"emails": ["abc123"],
"groupIds": [HashedId],
"includeTime": true,
"location": AddressCreateInput,
"numberValueDecimal": 123.45,
"phone": PhoneCreateInput,
"siteIds": [HashedId],
"suggestedGroupIds": [HashedId],
"suggestedTeamIds": [HashedId],
"suggestedUserIds": [HashedId],
"tagIds": [HashedId],
"teamIds": [HashedId],
"templateComponentId": HashedId,
"textValue": "abc123",
"uploadIds": ["abc123"],
"uploadedDocumentUrls": [DocumentUrlInput],
"userIds": [HashedId],
"yesNoValue": "na"
}
TicketContentFieldDateUpdateInput
Description
Corrected date answer for a submitted ticket content field
Fields
| Input Field | Description |
|---|---|
dateValue - DateTime!
|
Corrected date entered by the user for this field |
Example
{"dateValue": "2007-12-03T10:15:30Z"}
TicketContentFieldDateUpdatedHistory
Description
Records when the date answer of a submitted ticket content field is corrected
Fields
| Field Name | Description |
|---|---|
comment - TicketComment
|
Comment that triggered this history entry |
commentId - HashedId
|
Identifier of the comment added alongside this change, if any |
created - Timestamp!
|
Timestamp when this history entry was created |
id - HashedId!
|
Unique identifier of the ticket history entry |
newDateValue - DateTime
|
Date answer after the change, null when the answer was cleared |
oldDateValue - DateTime
|
Date answer before the change, null when the answer was empty |
ticketContentField - TicketContentField
|
Ticket content field whose date answer was corrected |
ticketContentFieldId - HashedId!
|
Edited ticket content field |
ticketId - HashedId!
|
Identifier of the ticket this history entry belongs to |
trigger - TicketHistoryTrigger!
|
What initiated this history event such as user action or automation |
triggeredByUser - User
|
User who triggered this ticket history interface |
triggeredByUserId - HashedId
|
Identifier of the user who triggered this change, null for automated actions |
type - TicketHistoryType!
|
Ticket history event type discriminator |
updated - Timestamp
|
Timestamp when this history entry was last updated |
workOrderId - HashedId
|
Identifier of the work order linked to this ticket history entry, if any |
workOrderOnHoldReasonKey - WorkOrderOnHoldReason
|
Reason selected when the linked work order was put on hold, if any |
workOrderOnHoldReasonNote - String
|
Free-text reason supplied when the linked work order was put on hold, if any |
Example
{
"comment": TicketComment,
"commentId": HashedId,
"created": 1592577642,
"id": HashedId,
"newDateValue": "2007-12-03T10:15:30Z",
"oldDateValue": "2007-12-03T10:15:30Z",
"ticketContentField": TicketContentField,
"ticketContentFieldId": HashedId,
"ticketId": HashedId,
"trigger": "AUTOMATION",
"triggeredByUser": User,
"triggeredByUserId": HashedId,
"type": "AFTER_APPROVAL_ASSIGNEE_NOT_FOUND",
"updated": 1592577642,
"workOrderId": HashedId,
"workOrderOnHoldReasonKey": "CUSTOMER_NOT_ON_SITE",
"workOrderOnHoldReasonNote": "xyz789"
}
TicketContentFieldEmail
Description
An email address associated with a ticket content field
Fields
| Field Name | Description |
|---|---|
created - Timestamp!
|
Timestamp when the entity was created |
email - String!
|
The email address value |
fieldId - HashedId!
|
Content field this email belongs to |
id - HashedId!
|
Unique identifier of the entity |
updated - Timestamp
|
Timestamp when the entity was last updated |
Example
{
"created": 1592577642,
"email": "abc123",
"fieldId": HashedId,
"id": HashedId,
"updated": 1592577642
}
TicketContentFieldTable
Description
Tabular data layout within a ticket form field
Fields
| Field Name | Description |
|---|---|
columns - [TicketContentFieldTableColumn!]!
|
Column definitions for this form table layout |
created - Timestamp!
|
Timestamp when the entity was created |
id - HashedId!
|
Unique identifier of the entity |
requiredType - TicketContentFieldTableRequiredTypeEnum!
|
Validation rule for required row completion |
rows - [TicketContentFieldTableRow!]!
|
Data rows within this form table layout |
updated - Timestamp
|
Timestamp when the entity was last updated |
Example
{
"columns": [TicketContentFieldTableColumn],
"created": 1592577642,
"id": HashedId,
"requiredType": "ALL_CELLS",
"rows": [TicketContentFieldTableRow],
"updated": 1592577642
}
TicketContentFieldTableCell
Description
Single cell value at a row-column intersection in a table field
Fields
| Field Name | Description |
|---|---|
checkedValue - Boolean!
|
Whether the checkbox in this cell is checked |
columnId - HashedId!
|
Table column this cell belongs to |
created - Timestamp!
|
Timestamp when the entity was created |
dateValue - DateTime
|
Date or time entered in this cell. In a TIME column it is the entered instant; in a DATE column, a calendar day: send its UTC midnight and read its UTC date. A calendar day is returned at 12:00 UTC only for backward compatibility with released mobile builds that render it in the user timezone |
dropdownOptionId - HashedId
|
Selected dropdown option for this cell |
id - HashedId!
|
Unique identifier of the entity |
numberValue - Int
|
Number value Use "numberValueDecimal" instead. It offers Float type |
numberValueDecimal - Float
|
Numeric value as a decimal (replaces integer-only field) |
rowId - HashedId!
|
Table row this cell belongs to |
textValue - String
|
Text entered in this cell |
updated - Timestamp
|
Timestamp when the entity was last updated |
Example
{
"checkedValue": true,
"columnId": HashedId,
"created": 1592577642,
"dateValue": "2007-12-03T10:15:30Z",
"dropdownOptionId": HashedId,
"id": HashedId,
"numberValue": 123,
"numberValueDecimal": 987.65,
"rowId": HashedId,
"textValue": "xyz789",
"updated": 1592577642
}
TicketContentFieldTableCellCreateInput
Description
Data required to create a new ticket content field table cell
Fields
| Input Field | Description |
|---|---|
checkedValue - Boolean
|
Whether the checkbox in this cell is checked |
columnId - HashedId!
|
Table column this cell belongs to |
dateValue - DateTime
|
Date or time entered in this cell. In a TIME column it is the entered instant; in a DATE column, a calendar day: send its UTC midnight and read its UTC date. A calendar day is returned at 12:00 UTC only for backward compatibility with released mobile builds that render it in the user timezone |
dropdownOptionId - HashedId
|
Selected dropdown option for this cell |
numberValueDecimal - Float
|
Decimal numeric value for this cell |
rowId - HashedId!
|
Table row this cell belongs to |
textValue - String
|
Text entered in this cell |
Example
{
"checkedValue": false,
"columnId": HashedId,
"dateValue": "2007-12-03T10:15:30Z",
"dropdownOptionId": HashedId,
"numberValueDecimal": 123.45,
"rowId": HashedId,
"textValue": "xyz789"
}
TicketContentFieldTableColumn
Description
Column definition in a ticket table field
Fields
| Field Name | Description |
|---|---|
cells - [TicketContentFieldTableCell!]!
|
Cell values in each row for this table column |
contentType - TicketContentFieldTableColumnContentTypeEnum!
|
Format of the rendered content |
created - Timestamp!
|
Timestamp when the entity was created |
dropdownOptions - [TicketContentFieldTableColumnDropdownOption!]!
|
Selectable dropdown options for this table column |
id - HashedId!
|
Unique identifier of the entity |
name - Translation!
|
Translated name of the ticket content field table column |
order - Int!
|
Sort order position |
tableId - HashedId!
|
Table this column belongs to |
updated - Timestamp
|
Timestamp when the entity was last updated |
Example
{
"cells": [TicketContentFieldTableCell],
"contentType": "DATE",
"created": 1592577642,
"dropdownOptions": [
TicketContentFieldTableColumnDropdownOption
],
"id": HashedId,
"name": Translation,
"order": 123,
"tableId": HashedId,
"updated": 1592577642
}
TicketContentFieldTableColumnContentTypeEnum
Description
Data entry type for columns within ticket content field tables, such as single select, multi choice, dropdown, text, number, date, or time
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"DATE"
TicketContentFieldTableColumnDropdownOption
Description
Selectable option in a table column dropdown
Fields
| Field Name | Description |
|---|---|
columnId - HashedId!
|
Table column this option belongs to |
created - Timestamp!
|
Timestamp when the entity was created |
id - HashedId!
|
Unique identifier of the entity |
name - Translation!
|
Translated name of the ticket content field table column dropdown option |
order - Int!
|
Sort order position |
updated - Timestamp
|
Timestamp when the entity was last updated |
Example
{
"columnId": HashedId,
"created": 1592577642,
"id": HashedId,
"name": Translation,
"order": 987,
"updated": 1592577642
}
TicketContentFieldTableRequiredTypeEnum
Description
Validation rules for required data in ticket content field tables: none required, at least one cell, all cells in a row, or all rows must be filled
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
Example
"ALL_CELLS"
TicketContentFieldTableRow
Description
Single data row in a ticket table field
Fields
| Field Name | Description |
|---|---|
cells - [TicketContentFieldTableCell!]!
|
Cell values in each column for this table row |
created - Timestamp!
|
Timestamp when the entity was created |
id - HashedId!
|
Unique identifier of the entity |
name - Translation!
|
Translated name of the ticket content field table row |
order - Int!
|
Sort order position |
tableId - HashedId!
|
Table this row belongs to |
updated - Timestamp
|
Timestamp when the entity was last updated |
Example
{
"cells": [TicketContentFieldTableCell],
"created": 1592577642,
"id": HashedId,
"name": Translation,
"order": 987,
"tableId": HashedId,
"updated": 1592577642
}
TicketContentFieldYesNo
Description
Yes/no response options for ticket content fields, including a not-applicable option
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
Example
"na"
TicketConvertedToWorkOrderHistory
Description
Records when a ticket is converted into a work order
Fields
| Field Name | Description |
|---|---|
comment - TicketComment
|
Comment that triggered this history entry |
commentId - HashedId
|
Identifier of the comment added alongside this change, if any |
created - Timestamp!
|
Timestamp when this history entry was created |
id - HashedId!
|
Unique identifier of the ticket history entry |
ticketId - HashedId!
|
Identifier of the ticket this history entry belongs to |
trigger - TicketHistoryTrigger!
|
What initiated this history event such as user action or automation |
triggeredByUser - User
|
User who triggered this ticket history interface |
triggeredByUserId - HashedId
|
Identifier of the user who triggered this change, null for automated actions |
type - TicketHistoryType!
|
Ticket history event type discriminator |
updated - Timestamp
|
Timestamp when this history entry was last updated |
workOrder - WorkOrderV2!
|
Work order created from this ticket |
workOrderId - HashedId!
|
Work order identifier |
workOrderOnHoldReasonKey - WorkOrderOnHoldReason
|
Reason selected when the linked work order was put on hold, if any |
workOrderOnHoldReasonNote - String
|
Free-text reason supplied when the linked work order was put on hold, if any |
Example
{
"comment": TicketComment,
"commentId": HashedId,
"created": 1592577642,
"id": HashedId,
"ticketId": HashedId,
"trigger": "AUTOMATION",
"triggeredByUser": User,
"triggeredByUserId": HashedId,
"type": "AFTER_APPROVAL_ASSIGNEE_NOT_FOUND",
"updated": 1592577642,
"workOrder": WorkOrderV2,
"workOrderId": HashedId,
"workOrderOnHoldReasonKey": "CUSTOMER_NOT_ON_SITE",
"workOrderOnHoldReasonNote": "xyz789"
}
TicketCostAddedHistory
Description
Records when a cost entry is added to a ticket
Fields
| Field Name | Description |
|---|---|
comment - TicketComment
|
Comment that triggered this history entry |
commentId - HashedId
|
Identifier of the comment added alongside this change, if any |
cost - Cost!
|
Cost value |
costId - HashedId!
|
Cost identifier |
created - Timestamp!
|
Timestamp when this history entry was created |
id - HashedId!
|
Unique identifier of the ticket history entry |
ticketId - HashedId!
|
Identifier of the ticket this history entry belongs to |
trigger - TicketHistoryTrigger!
|
What initiated this history event such as user action or automation |
triggeredByUser - User
|
User who triggered this ticket history interface |
triggeredByUserId - HashedId
|
Identifier of the user who triggered this change, null for automated actions |
type - TicketHistoryType!
|
Ticket history event type discriminator |
updated - Timestamp
|
Timestamp when this history entry was last updated |
workOrderId - HashedId
|
Identifier of the work order linked to this ticket history entry, if any |
workOrderOnHoldReasonKey - WorkOrderOnHoldReason
|
Reason selected when the linked work order was put on hold, if any |
workOrderOnHoldReasonNote - String
|
Free-text reason supplied when the linked work order was put on hold, if any |
Example
{
"comment": TicketComment,
"commentId": HashedId,
"cost": Cost,
"costId": HashedId,
"created": 1592577642,
"id": HashedId,
"ticketId": HashedId,
"trigger": "AUTOMATION",
"triggeredByUser": User,
"triggeredByUserId": HashedId,
"type": "AFTER_APPROVAL_ASSIGNEE_NOT_FOUND",
"updated": 1592577642,
"workOrderId": HashedId,
"workOrderOnHoldReasonKey": "CUSTOMER_NOT_ON_SITE",
"workOrderOnHoldReasonNote": "abc123"
}
TicketCostRemovedHistory
Description
Records when a cost entry is removed from a ticket
Fields
| Field Name | Description |
|---|---|
comment - TicketComment
|
Comment that triggered this history entry |
commentId - HashedId
|
Identifier of the comment added alongside this change, if any |
cost - Cost!
|
Cost value |
costId - HashedId!
|
Cost identifier |
created - Timestamp!
|
Timestamp when this history entry was created |
id - HashedId!
|
Unique identifier of the ticket history entry |
ticketId - HashedId!
|
Identifier of the ticket this history entry belongs to |
trigger - TicketHistoryTrigger!
|
What initiated this history event such as user action or automation |
triggeredByUser - User
|
User who triggered this ticket history interface |
triggeredByUserId - HashedId
|
Identifier of the user who triggered this change, null for automated actions |
type - TicketHistoryType!
|
Ticket history event type discriminator |
updated - Timestamp
|
Timestamp when this history entry was last updated |
workOrderId - HashedId
|
Identifier of the work order linked to this ticket history entry, if any |
workOrderOnHoldReasonKey - WorkOrderOnHoldReason
|
Reason selected when the linked work order was put on hold, if any |
workOrderOnHoldReasonNote - String
|
Free-text reason supplied when the linked work order was put on hold, if any |
Example
{
"comment": TicketComment,
"commentId": HashedId,
"cost": Cost,
"costId": HashedId,
"created": 1592577642,
"id": HashedId,
"ticketId": HashedId,
"trigger": "AUTOMATION",
"triggeredByUser": User,
"triggeredByUserId": HashedId,
"type": "AFTER_APPROVAL_ASSIGNEE_NOT_FOUND",
"updated": 1592577642,
"workOrderId": HashedId,
"workOrderOnHoldReasonKey": "CUSTOMER_NOT_ON_SITE",
"workOrderOnHoldReasonNote": "abc123"
}
TicketCreatedFromEntryPoint
Description
Entry point the ticket form was opened from, declared by the client when it creates a procedure ticket: a QR code landing page, the asset services, the site services or the tickets list
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
Example
"ASSET_SERVICE"
TicketCreatedFromEnum
Description
Origin a ticket was created from: a reservation, an inspection, the robot chatbot, an offline sync from the mobile app, or the entry point the ticket form was opened from (a QR code landing page, the asset services, the site services or the tickets list)
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"ASSET_SERVICE"
TicketCurrentState
Description
Legacy snapshot of the current workflow state with metadata
Fields
| Field Name | Description |
|---|---|
authorEmail - String
|
Email of the user who triggered this state change Web no more needs this field, investigate if mobile needs and remove |
isAutomated - Boolean!
|
Whether this state change was triggered by automation Web no more needs this field, investigate if mobile needs and remove |
processedAtDate - Timestamp!
|
Timestamp when this state transition occurred Web no more needs this field, investigate if mobile needs and remove |
processedByUser - User
|
User who performed this state transition Web no more needs this field, investigate if mobile needs and remove |
state - TicketState!
|
Mapped workflow state derived from ticket status Use status enum instead
|
ticketStatus - TicketStateEnum!
|
Current workflow status of the ticket |
Example
{
"authorEmail": "xyz789",
"isAutomated": false,
"processedAtDate": 1592577642,
"processedByUser": User,
"state": TicketState,
"ticketStatus": "approvalNeeded"
}
TicketDefaultAssigneeNotFoundHistory
Description
Records that no active default assignee was found for the ticket's group, so the ticket was left unassigned
Fields
| Field Name | Description |
|---|---|
comment - TicketComment
|
Comment that triggered this history entry |
commentId - HashedId
|
Identifier of the comment added alongside this change, if any |
created - Timestamp!
|
Timestamp when this history entry was created |
id - HashedId!
|
Unique identifier of the ticket history entry |
ticketId - HashedId!
|
Identifier of the ticket this history entry belongs to |
trigger - TicketHistoryTrigger!
|
What initiated this history event such as user action or automation |
triggeredByUser - User
|
User who triggered this ticket history interface |
triggeredByUserId - HashedId
|
Identifier of the user who triggered this change, null for automated actions |
type - TicketHistoryType!
|
Ticket history event type discriminator |
updated - Timestamp
|
Timestamp when this history entry was last updated |
workOrderId - HashedId
|
Identifier of the work order linked to this ticket history entry, if any |
workOrderOnHoldReasonKey - WorkOrderOnHoldReason
|
Reason selected when the linked work order was put on hold, if any |
workOrderOnHoldReasonNote - String
|
Free-text reason supplied when the linked work order was put on hold, if any |
Example
{
"comment": TicketComment,
"commentId": HashedId,
"created": 1592577642,
"id": HashedId,
"ticketId": HashedId,
"trigger": "AUTOMATION",
"triggeredByUser": User,
"triggeredByUserId": HashedId,
"type": "AFTER_APPROVAL_ASSIGNEE_NOT_FOUND",
"updated": 1592577642,
"workOrderId": HashedId,
"workOrderOnHoldReasonKey": "CUSTOMER_NOT_ON_SITE",
"workOrderOnHoldReasonNote": "abc123"
}
TicketDuration
Description
Elapsed time metrics between ticket status transitions
Fields
| Field Name | Description |
|---|---|
from - Timestamp!
|
Start timestamp of the measured duration |
to - Timestamp
|
End timestamp, null if still ongoing |
Example
{"from": 1592577642, "to": 1592577642}
TicketExportRequestInput
Description
Data required to request a ticket list export
Fields
| Input Field | Description |
|---|---|
columnKeys - [TicketColumnEnum!]
|
Subset of exportable columns to include, in the requested order. Defaults to every exportable column when omitted |
costTypeColumnKeys - [String]
|
Cost type column keys to include, in the requested order. Defaults to every accessible cost type when columnKeys is also omitted; no cost type columns when columnKeys is provided without this field |
filters - [FilterParamsInput]
|
Filter criteria |
search - String
|
Text search query for filtering results |
Example
{
"columnKeys": ["anySiteId"],
"costTypeColumnKeys": ["abc123"],
"filters": [FilterParamsInput],
"search": "abc123"
}
TicketHandler
Description
Ticket handler record
Fields
| Field Name | Description |
|---|---|
displayName - String!
|
Resolved human-readable name of the handler based on its type |
handlerType - TicketRelationHandlerTypeEnum!
|
Whether handler is a user or a group |
id - HashedId!
|
Unique identifier of the entity |
isDeletable - Boolean!
|
Whether the handler can be removed by the current user |
relationType - TicketHandlerRelationTypeEnum!
|
How this handler is related to the ticket |
relationValue - String
|
Identifier linking to the underlying handler entity |
Example
{
"displayName": "abc123",
"handlerType": "EXTERNALEMAIL",
"id": HashedId,
"isDeletable": true,
"relationType": "ASSIGNEE",
"relationValue": "xyz789"
}
TicketHandlerCreateInput
Description
Data required to assign a handler to a ticket
Fields
| Input Field | Description |
|---|---|
handlerType - TicketRelationHandlerTypeEnum!
|
Whether handler is a user, team, or group |
id - String
|
Existing handler to update instead of creating |
relationType - TicketHandlerRelationTypeEnum!
|
Handler role such as assignee or reviewer |
relationValue - String
|
Referenced entity ID for this handler |
Example
{
"handlerType": "EXTERNALEMAIL",
"id": "abc123",
"relationType": "ASSIGNEE",
"relationValue": "abc123"
}
TicketHandlerExternalEmail
Description
Ticket handler external email record
Fields
| Field Name | Description |
|---|---|
created - Timestamp!
|
Timestamp when the entity was created |
email - String!
|
Email address |
id - HashedId!
|
Unique identifier of the entity |
isNotifiable - Boolean!
|
Whether this external email receives notifications for ticket updates |
isRemovable - Boolean!
|
Whether the handler can be removed from the ticket |
role - TicketHandlerRoleEnum!
|
Assigned permission role |
ticketId - HashedId!
|
Ticket identifier |
updated - Timestamp
|
Timestamp when the entity was last updated |
Example
{
"created": 1592577642,
"email": "xyz789",
"id": HashedId,
"isNotifiable": true,
"isRemovable": true,
"role": "ASSIGNEE",
"ticketId": HashedId,
"updated": 1592577642
}
TicketHandlerExternalEmailCreateInput
TicketHandlerGroup
Description
Ticket handler group record
Fields
| Field Name | Description |
|---|---|
created - Timestamp!
|
Timestamp when the entity was created |
group - Group!
|
Group this ticket handler group belongs to |
groupId - HashedId!
|
Group identifier |
id - HashedId!
|
Unique identifier of the entity |
isNotifiable - Boolean!
|
Whether the group receives notifications for ticket updates |
isRemovable - Boolean!
|
Whether the handler can be removed from the ticket |
role - TicketHandlerRoleEnum!
|
Assigned permission role |
ticketId - HashedId!
|
Ticket identifier |
updated - Timestamp
|
Timestamp when the entity was last updated |
Example
{
"created": 1592577642,
"group": Group,
"groupId": HashedId,
"id": HashedId,
"isNotifiable": false,
"isRemovable": true,
"role": "ASSIGNEE",
"ticketId": HashedId,
"updated": 1592577642
}
TicketHandlerGroupCreateInput
TicketHandlerGroupTicketHandler
Description
A group-level ticket handler configuration assigned to a specific ticket
Fields
| Field Name | Description |
|---|---|
created - Timestamp!
|
Timestamp when the entity was created |
groupTicketHandler - GroupTicketHandler!
|
Group Ticket Handler for this ticket handler group ticket handler |
groupTicketHandlerId - HashedId!
|
Group ticket handler identifier |
id - HashedId!
|
Unique identifier of the entity |
isNotifiable - Boolean!
|
Whether this handler receives notifications for ticket updates |
isRemovable - Boolean!
|
Whether the handler can be removed from the ticket |
role - TicketHandlerRoleEnum!
|
Assigned permission role |
ticketId - HashedId!
|
Ticket identifier |
updated - Timestamp
|
Timestamp when the entity was last updated |
Example
{
"created": 1592577642,
"groupTicketHandler": GroupTicketHandler,
"groupTicketHandlerId": HashedId,
"id": HashedId,
"isNotifiable": true,
"isRemovable": false,
"role": "ASSIGNEE",
"ticketId": HashedId,
"updated": 1592577642
}
TicketHandlerGroupTicketHandlerCreateInput
Description
Data required to create a new ticket handler group ticket handler
Fields
| Input Field | Description |
|---|---|
groupTicketHandlerId - HashedId!
|
Group ticket handler identifier |
isNotifiable - Boolean!
|
Whether this handler receives notifications for ticket updates |
role - TicketHandlerRoleEnum!
|
Assigned permission role |
ticketId - HashedId!
|
Ticket identifier |
Example
{
"groupTicketHandlerId": HashedId,
"isNotifiable": true,
"role": "ASSIGNEE",
"ticketId": HashedId
}
TicketHandlerGroupTicketHandlerUpdateInput
Description
Fields to update on an existing ticket handler group ticket handler
Fields
| Input Field | Description |
|---|---|
isNotifiable - Boolean!
|
Whether this handler receives notifications for ticket updates |
Example
{"isNotifiable": true}
TicketHandlerHistory
Description
Ticket history entries that involve changes to assignees, viewers, or ticket handlers
Fields
| Field Name | Description |
|---|---|
comment - TicketComment
|
Comment that triggered this history entry |
commentId - HashedId
|
Identifier of the comment added alongside this change, if any |
created - Timestamp!
|
Timestamp when this history entry was created |
externalEmail - String
|
External email address of the handler, for non-platform users |
group - Group
|
Group context for this ticket handler history entry |
groupId - HashedId
|
Identifier of the group involved in this handler change |
groupTicketHandler - GroupTicketHandler
|
Group Ticket Handler for this ticket history with handlers interface |
groupTicketHandlerId - HashedId
|
Identifier of the group ticket handler configuration involved in this change |
id - HashedId!
|
Unique identifier of the ticket history entry |
team - Team
|
Team assigned to this ticket history with handlers interface |
teamId - HashedId
|
Identifier of the team involved in this handler change |
ticketId - HashedId!
|
Identifier of the ticket this history entry belongs to |
trigger - TicketHistoryTrigger!
|
What initiated this history event such as user action or automation |
triggeredByUser - User
|
User who triggered this ticket history interface |
triggeredByUserId - HashedId
|
Identifier of the user who triggered this change, null for automated actions |
type - TicketHistoryType!
|
Discriminator indicating the specific type of change recorded |
updated - Timestamp
|
Timestamp when this history entry was last updated |
user - User
|
User who was assigned or unassigned as a handler in this history entry |
userId - HashedId
|
Identifier of the user involved in this handler change |
workOrderId - HashedId
|
Identifier of the work order linked to this ticket history entry, if any |
workOrderOnHoldReasonKey - WorkOrderOnHoldReason
|
Reason selected when the linked work order was put on hold, if any |
workOrderOnHoldReasonNote - String
|
Free-text reason supplied when the linked work order was put on hold, if any |
Possible Types
| TicketHandlerHistory Types |
|---|
Example
{
"comment": TicketComment,
"commentId": HashedId,
"created": 1592577642,
"externalEmail": "xyz789",
"group": Group,
"groupId": HashedId,
"groupTicketHandler": GroupTicketHandler,
"groupTicketHandlerId": HashedId,
"id": HashedId,
"team": Team,
"teamId": HashedId,
"ticketId": HashedId,
"trigger": "AUTOMATION",
"triggeredByUser": User,
"triggeredByUserId": HashedId,
"type": "AFTER_APPROVAL_ASSIGNEE_NOT_FOUND",
"updated": 1592577642,
"user": User,
"userId": HashedId,
"workOrderId": HashedId,
"workOrderOnHoldReasonKey": "CUSTOMER_NOT_ON_SITE",
"workOrderOnHoldReasonNote": "xyz789"
}
TicketHandlerInput
Description
Legacy input for creating a ticket handler assignment
Fields
| Input Field | Description |
|---|---|
handlerType - TicketRelationHandlerTypeEnum!
|
Whether handler is a user, team, or group |
id - String
|
Existing handler to update instead of creating |
relationType - TicketHandlerRelationTypeEnum!
|
Handler role such as assignee or reviewer |
relationValue - String
|
Referenced entity ID for this handler |
Example
{
"handlerType": "EXTERNALEMAIL",
"id": "abc123",
"relationType": "ASSIGNEE",
"relationValue": "abc123"
}
TicketHandlerRelationTypeEnum
Description
Role of a handler in relation to a ticket, either as a primary assignee responsible for resolution or as a follower receiving notifications
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
Example
"ASSIGNEE"
TicketHandlerRoleEnum
Description
Role assigned to a ticket handler, either as an assignee responsible for ticket resolution or as a viewer with read-only access
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
Example
"ASSIGNEE"
TicketHandlerSiteManager
Description
Ticket handler site manager record
Fields
| Field Name | Description |
|---|---|
created - Timestamp!
|
Timestamp when the entity was created |
id - HashedId!
|
Unique identifier of the entity |
isNotifiable - Boolean!
|
Whether the site manager receives notifications for ticket updates |
isRemovable - Boolean!
|
Whether the handler can be removed from the ticket |
role - TicketHandlerRoleEnum!
|
Assigned permission role |
ticketId - HashedId!
|
Ticket identifier |
updated - Timestamp
|
Timestamp when the entity was last updated |
Example
{
"created": 1592577642,
"id": HashedId,
"isNotifiable": false,
"isRemovable": true,
"role": "ASSIGNEE",
"ticketId": HashedId,
"updated": 1592577642
}
TicketHandlerTeam
Description
Ticket handler team record
Fields
| Field Name | Description |
|---|---|
created - Timestamp!
|
Timestamp when the entity was created |
id - HashedId!
|
Unique identifier of the entity |
isNotifiable - Boolean!
|
Whether this team receives notifications for ticket updates |
isRemovable - Boolean!
|
Whether the handler can be removed from the ticket |
role - TicketHandlerRoleEnum!
|
Assigned permission role |
team - Team!
|
Associated team assigned to handle tickets |
teamId - HashedId!
|
Team identifier |
ticketId - HashedId!
|
Ticket identifier |
updated - Timestamp
|
Timestamp when the entity was last updated |
Example
{
"created": 1592577642,
"id": HashedId,
"isNotifiable": true,
"isRemovable": true,
"role": "ASSIGNEE",
"team": Team,
"teamId": HashedId,
"ticketId": HashedId,
"updated": 1592577642
}
TicketHandlerTeamCreateInput
Description
Data required to create a new ticket handler team
Fields
| Input Field | Description |
|---|---|
isNotifiable - Boolean!
|
Whether this team receives notifications for ticket updates |
role - TicketHandlerRoleEnum!
|
Assigned permission role |
teamId - HashedId!
|
Team identifier |
ticketId - HashedId!
|
Ticket identifier |
Example
{
"isNotifiable": false,
"role": "ASSIGNEE",
"teamId": HashedId,
"ticketId": HashedId
}
TicketHandlerTeamUpdateInput
Description
Fields to update on an existing ticket handler team
Fields
| Input Field | Description |
|---|---|
isNotifiable - Boolean!
|
Whether this team receives notifications for ticket updates |
Example
{"isNotifiable": false}
TicketHandlerUpdate
Description
Real-time update event when ticket handlers change
Fields
| Field Name | Description |
|---|---|
action - HandlerUpdateActionEnum
|
Whether handler was added or removed |
author - String
|
User who made the handler change |
created - Timestamp!
|
Timestamp when the entity was created |
id - HashedId!
|
Unique identifier of the entity |
isAutomated - Boolean!
|
Not a result of direct user action but of inner workings. No author in this case. |
role - HandlerRelationTypeEnum
|
Assigned permission role |
target - TicketHandlerUpdateTargetEnum!
|
Entity type affected by the handler change |
targetHandler - String
|
Name of the handler being added or removed |
type - EventEntityDataTypeEnum!
|
Event data type, always responsible update |
updated - Timestamp
|
Timestamp when the entity was last updated |
Example
{
"action": "ADD",
"author": "xyz789",
"created": 1592577642,
"id": HashedId,
"isAutomated": true,
"role": "ASSIGNEE",
"target": "OTHER",
"targetHandler": "xyz789",
"type": "APPROVAL_UPDATE",
"updated": 1592577642
}
TicketHandlerUpdateTargetEnum
Description
Indicates whether a ticket handler update targets the current user themselves (SELF) or another handler (OTHER)
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
Example
"OTHER"
TicketHandlerUser
Description
Ticket handler user record
Fields
| Field Name | Description |
|---|---|
created - Timestamp!
|
Timestamp when the entity was created |
id - HashedId!
|
Unique identifier of the entity |
isNotifiable - Boolean!
|
Whether this user receives notifications for ticket updates |
isRemovable - Boolean!
|
Whether the handler can be removed from the ticket |
role - TicketHandlerUserRoleEnum!
|
Assigned permission role |
ticketId - HashedId!
|
Ticket identifier |
updated - Timestamp
|
Timestamp when the entity was last updated |
user - User
|
Associated user |
userId - HashedId!
|
User identifier |
Example
{
"created": 1592577642,
"id": HashedId,
"isNotifiable": true,
"isRemovable": true,
"role": "ASSIGNEE",
"ticketId": HashedId,
"updated": 1592577642,
"user": User,
"userId": HashedId
}
TicketHandlerUserCreateInput
Description
Data required to create a new ticket handler user
Fields
| Input Field | Description |
|---|---|
isNotifiable - Boolean!
|
Whether this user receives notifications for ticket updates |
role - TicketHandlerRoleEnum!
|
Assigned permission role |
ticketId - HashedId!
|
Ticket identifier |
userId - HashedId!
|
User identifier |
Example
{
"isNotifiable": false,
"role": "ASSIGNEE",
"ticketId": HashedId,
"userId": HashedId
}
TicketHandlerUserRoleEnum
Description
User-specific role within a ticket handler assignment, extending handler roles with a creator role for the user who originally created the ticket
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
Example
"ASSIGNEE"
TicketHandlerUserUpdateInput
Description
Fields to update on an existing ticket handler user
Fields
| Input Field | Description |
|---|---|
isNotifiable - Boolean!
|
Whether this user receives notifications for ticket updates |
Example
{"isNotifiable": true}
TicketHistory
Description
Base interface for all ticket history entries that track changes made to a ticket
Fields
| Field Name | Description |
|---|---|
comment - TicketComment
|
Comment that triggered this history entry |
commentId - HashedId
|
Identifier of the comment added alongside this change, if any |
created - Timestamp!
|
Timestamp when this history entry was created |
id - HashedId!
|
Unique identifier of the ticket history entry |
ticketId - HashedId!
|
Identifier of the ticket this history entry belongs to |
trigger - TicketHistoryTrigger!
|
What initiated this history event such as user action or automation |
triggeredByUser - User
|
User who triggered this ticket history interface |
triggeredByUserId - HashedId
|
Identifier of the user who triggered this change, null for automated actions |
type - TicketHistoryType!
|
Discriminator indicating the specific type of change recorded |
updated - Timestamp
|
Timestamp when this history entry was last updated |
workOrderId - HashedId
|
Identifier of the work order linked to this ticket history entry, if any |
workOrderOnHoldReasonKey - WorkOrderOnHoldReason
|
Reason selected when the linked work order was put on hold, if any |
workOrderOnHoldReasonNote - String
|
Free-text reason supplied when the linked work order was put on hold, if any |
Possible Types
| TicketHistory Types |
|---|
Example
{
"comment": TicketComment,
"commentId": HashedId,
"created": 1592577642,
"id": HashedId,
"ticketId": HashedId,
"trigger": "AUTOMATION",
"triggeredByUser": User,
"triggeredByUserId": HashedId,
"type": "AFTER_APPROVAL_ASSIGNEE_NOT_FOUND",
"updated": 1592577642,
"workOrderId": HashedId,
"workOrderOnHoldReasonKey": "CUSTOMER_NOT_ON_SITE",
"workOrderOnHoldReasonNote": "abc123"
}
TicketHistoryTrigger
Description
Indicates whether a ticket history entry was created by a manual user action or by an automated workflow rule
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
Example
"AUTOMATION"
TicketHistoryType
Description
Categories of changes recorded in ticket history, such as assignee updates, status transitions, asset modifications, and cost additions
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"AFTER_APPROVAL_ASSIGNEE_NOT_FOUND"
TicketHistoryWithAssets
Description
Ticket history entries that involve changes to associated assets
Fields
| Field Name | Description |
|---|---|
assets - [Asset!]!
|
Assets associated with this ticket history entry |
comment - TicketComment
|
Comment that triggered this history entry |
commentId - HashedId
|
Identifier of the comment added alongside this change, if any |
created - Timestamp!
|
Timestamp when this history entry was created |
id - HashedId!
|
Unique identifier of the ticket history entry |
ticketId - HashedId!
|
Identifier of the ticket this history entry belongs to |
trigger - TicketHistoryTrigger!
|
What initiated this history event such as user action or automation |
triggeredByUser - User
|
User who triggered this ticket history interface |
triggeredByUserId - HashedId
|
Identifier of the user who triggered this change, null for automated actions |
type - TicketHistoryType!
|
Discriminator indicating the specific type of change recorded |
updated - Timestamp
|
Timestamp when this history entry was last updated |
workOrderId - HashedId
|
Identifier of the work order linked to this ticket history entry, if any |
workOrderOnHoldReasonKey - WorkOrderOnHoldReason
|
Reason selected when the linked work order was put on hold, if any |
workOrderOnHoldReasonNote - String
|
Free-text reason supplied when the linked work order was put on hold, if any |
Possible Types
| TicketHistoryWithAssets Types |
|---|
Example
{
"assets": [Asset],
"comment": TicketComment,
"commentId": HashedId,
"created": 1592577642,
"id": HashedId,
"ticketId": HashedId,
"trigger": "AUTOMATION",
"triggeredByUser": User,
"triggeredByUserId": HashedId,
"type": "AFTER_APPROVAL_ASSIGNEE_NOT_FOUND",
"updated": 1592577642,
"workOrderId": HashedId,
"workOrderOnHoldReasonKey": "CUSTOMER_NOT_ON_SITE",
"workOrderOnHoldReasonNote": "xyz789"
}
TicketHistoryWithSites
Description
Ticket history entries that involve changes to associated sites
Fields
| Field Name | Description |
|---|---|
comment - TicketComment
|
Comment that triggered this history entry |
commentId - HashedId
|
Identifier of the comment added alongside this change, if any |
created - Timestamp!
|
Timestamp when this history entry was created |
id - HashedId!
|
Unique identifier of the ticket history entry |
sites - [Site!]!
|
Sites for this ticket history with sites interface |
ticketId - HashedId!
|
Identifier of the ticket this history entry belongs to |
trigger - TicketHistoryTrigger!
|
What initiated this history event such as user action or automation |
triggeredByUser - User
|
User who triggered this ticket history interface |
triggeredByUserId - HashedId
|
Identifier of the user who triggered this change, null for automated actions |
type - TicketHistoryType!
|
Discriminator indicating the specific type of change recorded |
updated - Timestamp
|
Timestamp when this history entry was last updated |
workOrderId - HashedId
|
Identifier of the work order linked to this ticket history entry, if any |
workOrderOnHoldReasonKey - WorkOrderOnHoldReason
|
Reason selected when the linked work order was put on hold, if any |
workOrderOnHoldReasonNote - String
|
Free-text reason supplied when the linked work order was put on hold, if any |
Possible Types
| TicketHistoryWithSites Types |
|---|
Example
{
"comment": TicketComment,
"commentId": HashedId,
"created": 1592577642,
"id": HashedId,
"sites": [Site],
"ticketId": HashedId,
"trigger": "AUTOMATION",
"triggeredByUser": User,
"triggeredByUserId": HashedId,
"type": "AFTER_APPROVAL_ASSIGNEE_NOT_FOUND",
"updated": 1592577642,
"workOrderId": HashedId,
"workOrderOnHoldReasonKey": "CUSTOMER_NOT_ON_SITE",
"workOrderOnHoldReasonNote": "abc123"
}
TicketHistoryWithTags
Description
Ticket history entries that involve changes to associated tags
Fields
| Field Name | Description |
|---|---|
comment - TicketComment
|
Comment that triggered this history entry |
commentId - HashedId
|
Identifier of the comment added alongside this change, if any |
created - Timestamp!
|
Timestamp when this history entry was created |
id - HashedId!
|
Unique identifier of the ticket history entry |
tags - [Tag!]!
|
Tags associated with this ticket history entry |
ticketId - HashedId!
|
Identifier of the ticket this history entry belongs to |
trigger - TicketHistoryTrigger!
|
What initiated this history event such as user action or automation |
triggeredByUser - User
|
User who triggered this ticket history interface |
triggeredByUserId - HashedId
|
Identifier of the user who triggered this change, null for automated actions |
type - TicketHistoryType!
|
Discriminator indicating the specific type of change recorded |
updated - Timestamp
|
Timestamp when this history entry was last updated |
workOrderId - HashedId
|
Identifier of the work order linked to this ticket history entry, if any |
workOrderOnHoldReasonKey - WorkOrderOnHoldReason
|
Reason selected when the linked work order was put on hold, if any |
workOrderOnHoldReasonNote - String
|
Free-text reason supplied when the linked work order was put on hold, if any |
Possible Types
| TicketHistoryWithTags Types |
|---|
Example
{
"comment": TicketComment,
"commentId": HashedId,
"created": 1592577642,
"id": HashedId,
"tags": [Tag],
"ticketId": HashedId,
"trigger": "AUTOMATION",
"triggeredByUser": User,
"triggeredByUserId": HashedId,
"type": "AFTER_APPROVAL_ASSIGNEE_NOT_FOUND",
"updated": 1592577642,
"workOrderId": HashedId,
"workOrderOnHoldReasonKey": "CUSTOMER_NOT_ON_SITE",
"workOrderOnHoldReasonNote": "abc123"
}
TicketItemsChange
Description
Real-time update event for ticket list subscriptions
Fields
| Field Name | Description |
|---|---|
assets - [Asset!]!
|
Assets affected by this ticket items change event |
changeAction - ChangeActionEnum
|
Type of modification applied to ticket items |
sites - [Site!]!
|
Sites for this ticket items change |
Example
{
"assets": [Asset],
"changeAction": "ADD",
"sites": [Site]
}
TicketMassEditFailure
Description
Single ticket failure entry from a bulk operation
Fields
| Field Name | Description |
|---|---|
reason - TicketMassEditFailureReason!
|
Reason the ticket could not be processed |
ticketId - HashedId!
|
Ticket ID that failed |
Example
{"reason": "APPROVAL_NOT_APPROVED", "ticketId": HashedId}
TicketMassEditFailureReason
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"APPROVAL_NOT_APPROVED"
TicketMassEditResult
Description
Summary result of a mass edit operation on tickets
Fields
| Field Name | Description |
|---|---|
failed - [TicketMassEditFailure!]!
|
|
retainedIds - [HashedId!]!
|
Selected ids the user can still edit after the operation; empty after a delete or archive |
skipped - Int!
|
|
succeeded - Int!
|
Example
{
"failed": [TicketMassEditFailure],
"retainedIds": [HashedId],
"skipped": 123,
"succeeded": 123
}
TicketMassEditSelectionInput
Description
Selection criteria for ticket mass edit operations
Fields
| Input Field | Description |
|---|---|
excludeTicketIds - [HashedId!]
|
Ticket IDs to exclude from the selection |
filterInput - AssetFilterInput
|
Filter criteria to dynamically select tickets |
ticketIds - [HashedId!]
|
Explicit list of ticket IDs to include in the operation |
Example
{
"excludeTicketIds": [HashedId],
"filterInput": AssetFilterInput,
"ticketIds": [HashedId]
}
TicketPaginatedResult
Description
Paginated list of tickets with cursor-based navigation
Fields
| Field Name | Description |
|---|---|
meta - PaginationMeta!
|
Pagination metadata including total count and page info |
rows - [Ticket!]!
|
Tickets for the current page |
Example
{
"meta": PaginationMeta,
"rows": [Ticket]
}
TicketPartIssuedHistory
Description
Records when a part is issued to a ticket
Fields
| Field Name | Description |
|---|---|
comment - TicketComment
|
Comment that triggered this history entry |
commentId - HashedId
|
Identifier of the comment added alongside this change, if any |
created - Timestamp!
|
Timestamp when this history entry was created |
id - HashedId!
|
Unique identifier of the ticket history entry |
partMoving - PartMoving!
|
Part moving issued to the ticket |
partMovingId - HashedId!
|
Part moving identifier |
ticketId - HashedId!
|
Identifier of the ticket this history entry belongs to |
trigger - TicketHistoryTrigger!
|
What initiated this history event such as user action or automation |
triggeredByUser - User
|
User who triggered this ticket history interface |
triggeredByUserId - HashedId
|
Identifier of the user who triggered this change, null for automated actions |
type - TicketHistoryType!
|
Ticket history event type discriminator |
updated - Timestamp
|
Timestamp when this history entry was last updated |
workOrderId - HashedId
|
Identifier of the work order linked to this ticket history entry, if any |
workOrderOnHoldReasonKey - WorkOrderOnHoldReason
|
Reason selected when the linked work order was put on hold, if any |
workOrderOnHoldReasonNote - String
|
Free-text reason supplied when the linked work order was put on hold, if any |
Example
{
"comment": TicketComment,
"commentId": HashedId,
"created": 1592577642,
"id": HashedId,
"partMoving": PartMoving,
"partMovingId": HashedId,
"ticketId": HashedId,
"trigger": "AUTOMATION",
"triggeredByUser": User,
"triggeredByUserId": HashedId,
"type": "AFTER_APPROVAL_ASSIGNEE_NOT_FOUND",
"updated": 1592577642,
"workOrderId": HashedId,
"workOrderOnHoldReasonKey": "CUSTOMER_NOT_ON_SITE",
"workOrderOnHoldReasonNote": "abc123"
}
TicketPartReturnedHistory
Description
Records when a part is returned from a ticket
Fields
| Field Name | Description |
|---|---|
comment - TicketComment
|
Comment that triggered this history entry |
commentId - HashedId
|
Identifier of the comment added alongside this change, if any |
created - Timestamp!
|
Timestamp when this history entry was created |
id - HashedId!
|
Unique identifier of the ticket history entry |
partMoving - PartMoving!
|
Part moving returned from the ticket |
partMovingId - HashedId!
|
Part moving identifier |
ticketId - HashedId!
|
Identifier of the ticket this history entry belongs to |
trigger - TicketHistoryTrigger!
|
What initiated this history event such as user action or automation |
triggeredByUser - User
|
User who triggered this ticket history interface |
triggeredByUserId - HashedId
|
Identifier of the user who triggered this change, null for automated actions |
type - TicketHistoryType!
|
Ticket history event type discriminator |
updated - Timestamp
|
Timestamp when this history entry was last updated |
workOrderId - HashedId
|
Identifier of the work order linked to this ticket history entry, if any |
workOrderOnHoldReasonKey - WorkOrderOnHoldReason
|
Reason selected when the linked work order was put on hold, if any |
workOrderOnHoldReasonNote - String
|
Free-text reason supplied when the linked work order was put on hold, if any |
Example
{
"comment": TicketComment,
"commentId": HashedId,
"created": 1592577642,
"id": HashedId,
"partMoving": PartMoving,
"partMovingId": HashedId,
"ticketId": HashedId,
"trigger": "AUTOMATION",
"triggeredByUser": User,
"triggeredByUserId": HashedId,
"type": "AFTER_APPROVAL_ASSIGNEE_NOT_FOUND",
"updated": 1592577642,
"workOrderId": HashedId,
"workOrderOnHoldReasonKey": "CUSTOMER_NOT_ON_SITE",
"workOrderOnHoldReasonNote": "abc123"
}
TicketPartUsage
Description
Aggregated view of one part as used on a ticket: net consumption, cost, history
Fields
| Field Name | Description |
|---|---|
movings - [PartMoving!]!
|
Underlying moving rows backing this usage entry |
netQuantity - Float!
|
Net quantity consumed on the ticket (issued minus returned) |
part - Part!
|
The part being aggregated |
totalCost - Float!
|
Net cost of the part on the ticket (issued cost minus returned cost) |
Example
{
"movings": [PartMoving],
"netQuantity": 123.45,
"part": Part,
"totalCost": 987.65
}
TicketProcedureCreateInput
Description
Data required to create a new ticket procedure
Fields
| Input Field | Description |
|---|---|
assetPackageIds - [HashedId!]
|
Asset packages whose assets were added to this ticket via the whole-package prompt |
checkEventId - HashedId
|
Check event that triggered this procedure |
createdFrom - TicketCreatedFromEntryPoint
|
Entry point the ticket form was opened from; the server derives every other origin itself |
fields - [TicketContentFieldCreateByTemplateInput!]!
|
Content fields to populate in the procedure |
ruleEntryEventId - HashedId
|
Rule entry event that triggered this procedure |
serviceId - HashedId!
|
Service this procedure belongs to |
tagIds - [HashedId!]
|
Tags resolved from matched Assign tag conditions through the service mapping |
templateId - HashedId!
|
Procedure template to use |
workOrderId - HashedId
|
Work order this procedure ticket was created from |
Example
{
"assetPackageIds": [HashedId],
"checkEventId": HashedId,
"createdFrom": "ASSET_SERVICE",
"fields": [TicketContentFieldCreateByTemplateInput],
"ruleEntryEventId": HashedId,
"serviceId": HashedId,
"tagIds": [HashedId],
"templateId": HashedId,
"workOrderId": HashedId
}
TicketRelationHandlerTypeEnum
Description
Type of entity that can be assigned as a handler on a ticket relation, such as an individual user, organization group, site manager, external email recipient, team, or plain group
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"EXTERNALEMAIL"
TicketSitesAddedHistory
Description
Records when one or more sites are added to a ticket
Fields
| Field Name | Description |
|---|---|
comment - TicketComment
|
Comment that triggered this history entry |
commentId - HashedId
|
Identifier of the comment added alongside this change, if any |
created - Timestamp!
|
Timestamp when this history entry was created |
id - HashedId!
|
Unique identifier of the ticket history entry |
sites - [Site!]!
|
Sites for this ticket history with sites interface |
ticketId - HashedId!
|
Identifier of the ticket this history entry belongs to |
trigger - TicketHistoryTrigger!
|
What initiated this history event such as user action or automation |
triggeredByUser - User
|
User who triggered this ticket history interface |
triggeredByUserId - HashedId
|
Identifier of the user who triggered this change, null for automated actions |
type - TicketHistoryType!
|
Ticket history event type discriminator |
updated - Timestamp
|
Timestamp when this history entry was last updated |
workOrderId - HashedId
|
Identifier of the work order linked to this ticket history entry, if any |
workOrderOnHoldReasonKey - WorkOrderOnHoldReason
|
Reason selected when the linked work order was put on hold, if any |
workOrderOnHoldReasonNote - String
|
Free-text reason supplied when the linked work order was put on hold, if any |
Example
{
"comment": TicketComment,
"commentId": HashedId,
"created": 1592577642,
"id": HashedId,
"sites": [Site],
"ticketId": HashedId,
"trigger": "AUTOMATION",
"triggeredByUser": User,
"triggeredByUserId": HashedId,
"type": "AFTER_APPROVAL_ASSIGNEE_NOT_FOUND",
"updated": 1592577642,
"workOrderId": HashedId,
"workOrderOnHoldReasonKey": "CUSTOMER_NOT_ON_SITE",
"workOrderOnHoldReasonNote": "abc123"
}
TicketSitesRemovedHistory
Description
Records when one or more sites are removed from a ticket
Fields
| Field Name | Description |
|---|---|
comment - TicketComment
|
Comment that triggered this history entry |
commentId - HashedId
|
Identifier of the comment added alongside this change, if any |
created - Timestamp!
|
Timestamp when this history entry was created |
id - HashedId!
|
Unique identifier of the ticket history entry |
sites - [Site!]!
|
Sites for this ticket history with sites interface |
ticketId - HashedId!
|
Identifier of the ticket this history entry belongs to |
trigger - TicketHistoryTrigger!
|
What initiated this history event such as user action or automation |
triggeredByUser - User
|
User who triggered this ticket history interface |
triggeredByUserId - HashedId
|
Identifier of the user who triggered this change, null for automated actions |
type - TicketHistoryType!
|
Ticket history event type discriminator |
updated - Timestamp
|
Timestamp when this history entry was last updated |
workOrderId - HashedId
|
Identifier of the work order linked to this ticket history entry, if any |
workOrderOnHoldReasonKey - WorkOrderOnHoldReason
|
Reason selected when the linked work order was put on hold, if any |
workOrderOnHoldReasonNote - String
|
Free-text reason supplied when the linked work order was put on hold, if any |
Example
{
"comment": TicketComment,
"commentId": HashedId,
"created": 1592577642,
"id": HashedId,
"sites": [Site],
"ticketId": HashedId,
"trigger": "AUTOMATION",
"triggeredByUser": User,
"triggeredByUserId": HashedId,
"type": "AFTER_APPROVAL_ASSIGNEE_NOT_FOUND",
"updated": 1592577642,
"workOrderId": HashedId,
"workOrderOnHoldReasonKey": "CUSTOMER_NOT_ON_SITE",
"workOrderOnHoldReasonNote": "abc123"
}
TicketState
Description
A single workflow state transition with timestamp and actor
Fields
| Field Name | Description |
|---|---|
created - Timestamp!
|
Timestamp when the entity was created |
id - HashedId!
|
Unique identifier of the entity |
key - TicketStateEnum
|
Status enum value identifying this workflow state |
order - Int
|
Sort position in the workflow from earliest to latest |
title - Translation
|
Localized display name of this workflow state |
titleId - HashedId!
|
Translation record for the state title |
updated - Timestamp
|
Timestamp when the entity was last updated |
Example
{
"created": 1592577642,
"id": HashedId,
"key": "approvalNeeded",
"order": 123,
"title": Translation,
"titleId": HashedId,
"updated": 1592577642
}
TicketStateEnum
Description
Lifecycle states of a ticket from creation to resolution, including open, in progress, waiting for information, approval needed, on hold, declined, and closed
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"approvalNeeded"
TicketStateUpdateInput
Description
Fields for updating a ticket status transition
Fields
| Input Field | Description |
|---|---|
assignCurrentUser - Boolean
|
Assign current user as handler on status change. Default = false |
attachments - [Upload!]
|
Files attached to the status change |
disableWebhooks - Boolean
|
Whether to skip webhook notifications for this operation. Default = false |
note - String
|
Explanation for the status change |
status - TicketStateEnum
|
Current operational status |
Example
{
"assignCurrentUser": true,
"attachments": [Upload],
"disableWebhooks": false,
"note": "xyz789",
"status": "approvalNeeded"
}
TicketStatusUpdatedHistory
Description
Records when the status of a ticket is changed
Fields
| Field Name | Description |
|---|---|
comment - TicketComment
|
Comment that triggered this history entry |
commentId - HashedId
|
Identifier of the comment added alongside this change, if any |
created - Timestamp!
|
Timestamp when this history entry was created |
id - HashedId!
|
Unique identifier of the ticket history entry |
newStatus - TicketStateEnum!
|
Status the ticket was changed to |
oldStatus - TicketStateEnum!
|
Status the ticket was changed from |
ticketId - HashedId!
|
Identifier of the ticket this history entry belongs to |
trigger - TicketHistoryTrigger!
|
What initiated this history event such as user action or automation |
triggeredByUser - User
|
User who triggered this ticket history interface |
triggeredByUserId - HashedId
|
Identifier of the user who triggered this change, null for automated actions |
type - TicketHistoryType!
|
Ticket history event type discriminator |
updated - Timestamp
|
Timestamp when this history entry was last updated |
workOrderId - HashedId
|
Identifier of the work order linked to this ticket history entry, if any |
workOrderOnHoldReasonKey - WorkOrderOnHoldReason
|
Reason selected when the linked work order was put on hold, if any |
workOrderOnHoldReasonNote - String
|
Free-text reason supplied when the linked work order was put on hold, if any |
Example
{
"comment": TicketComment,
"commentId": HashedId,
"created": 1592577642,
"id": HashedId,
"newStatus": "approvalNeeded",
"oldStatus": "approvalNeeded",
"ticketId": HashedId,
"trigger": "AUTOMATION",
"triggeredByUser": User,
"triggeredByUserId": HashedId,
"type": "AFTER_APPROVAL_ASSIGNEE_NOT_FOUND",
"updated": 1592577642,
"workOrderId": HashedId,
"workOrderOnHoldReasonKey": "CUSTOMER_NOT_ON_SITE",
"workOrderOnHoldReasonNote": "xyz789"
}
TicketTagSlot
Description
Tag slot a procedure condition assigns; each service maps it to its own tags
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"TAG_1"
TicketTagsAddedHistory
Description
Records when one or more tags are added to a ticket
Fields
| Field Name | Description |
|---|---|
comment - TicketComment
|
Comment that triggered this history entry |
commentId - HashedId
|
Identifier of the comment added alongside this change, if any |
created - Timestamp!
|
Timestamp when this history entry was created |
id - HashedId!
|
Unique identifier of the ticket history entry |
tags - [Tag!]!
|
Tags associated with this ticket history entry |
ticketId - HashedId!
|
Identifier of the ticket this history entry belongs to |
trigger - TicketHistoryTrigger!
|
What initiated this history event such as user action or automation |
triggeredByUser - User
|
User who triggered this ticket history interface |
triggeredByUserId - HashedId
|
Identifier of the user who triggered this change, null for automated actions |
type - TicketHistoryType!
|
Ticket history event type discriminator |
updated - Timestamp
|
Timestamp when this history entry was last updated |
workOrderId - HashedId
|
Identifier of the work order linked to this ticket history entry, if any |
workOrderOnHoldReasonKey - WorkOrderOnHoldReason
|
Reason selected when the linked work order was put on hold, if any |
workOrderOnHoldReasonNote - String
|
Free-text reason supplied when the linked work order was put on hold, if any |
Example
{
"comment": TicketComment,
"commentId": HashedId,
"created": 1592577642,
"id": HashedId,
"tags": [Tag],
"ticketId": HashedId,
"trigger": "AUTOMATION",
"triggeredByUser": User,
"triggeredByUserId": HashedId,
"type": "AFTER_APPROVAL_ASSIGNEE_NOT_FOUND",
"updated": 1592577642,
"workOrderId": HashedId,
"workOrderOnHoldReasonKey": "CUSTOMER_NOT_ON_SITE",
"workOrderOnHoldReasonNote": "xyz789"
}
TicketTagsRemovedHistory
Description
Records when one or more tags are removed from a ticket
Fields
| Field Name | Description |
|---|---|
comment - TicketComment
|
Comment that triggered this history entry |
commentId - HashedId
|
Identifier of the comment added alongside this change, if any |
created - Timestamp!
|
Timestamp when this history entry was created |
id - HashedId!
|
Unique identifier of the ticket history entry |
tags - [Tag!]!
|
Tags associated with this ticket history entry |
ticketId - HashedId!
|
Identifier of the ticket this history entry belongs to |
trigger - TicketHistoryTrigger!
|
What initiated this history event such as user action or automation |
triggeredByUser - User
|
User who triggered this ticket history interface |
triggeredByUserId - HashedId
|
Identifier of the user who triggered this change, null for automated actions |
type - TicketHistoryType!
|
Ticket history event type discriminator |
updated - Timestamp
|
Timestamp when this history entry was last updated |
workOrderId - HashedId
|
Identifier of the work order linked to this ticket history entry, if any |
workOrderOnHoldReasonKey - WorkOrderOnHoldReason
|
Reason selected when the linked work order was put on hold, if any |
workOrderOnHoldReasonNote - String
|
Free-text reason supplied when the linked work order was put on hold, if any |
Example
{
"comment": TicketComment,
"commentId": HashedId,
"created": 1592577642,
"id": HashedId,
"tags": [Tag],
"ticketId": HashedId,
"trigger": "AUTOMATION",
"triggeredByUser": User,
"triggeredByUserId": HashedId,
"type": "AFTER_APPROVAL_ASSIGNEE_NOT_FOUND",
"updated": 1592577642,
"workOrderId": HashedId,
"workOrderOnHoldReasonKey": "CUSTOMER_NOT_ON_SITE",
"workOrderOnHoldReasonNote": "abc123"
}
TicketTagsUpdate
Description
Activity log entry when tags are attached to or detached from a ticket
Fields
| Field Name | Description |
|---|---|
changeAction - ChangeActionEnum!
|
Whether the tags were attached to or detached from the ticket |
created - Timestamp!
|
Timestamp when the entity was created |
createdByUser - User
|
The value is present if the event was created explicitly by a user |
data - EventEntityDataDto!
|
Related data records |
id - HashedId!
|
Unique identifier of the entity |
isAutomated - Boolean!
|
Whether an automation changed the tags |
tags - [Tag!]!
|
Tags attached to or detached from the ticket by this change |
type - EventEntityDataTypeEnum!
|
Event data type, always tags update |
Example
{
"changeAction": "ADD",
"created": 1592577642,
"createdByUser": User,
"data": EventEntityDataDto,
"id": HashedId,
"isAutomated": false,
"tags": [Tag],
"type": "APPROVAL_UPDATE"
}
TicketTagsUpdateInput
Description
Replacement set of tags for a ticket
Fields
| Input Field | Description |
|---|---|
tagIds - [HashedId!]!
|
Tags the ticket carries after the update, an empty list detaches every tag |
ticketId - HashedId!
|
Ticket whose tags are replaced |
Example
{
"tagIds": [HashedId],
"ticketId": HashedId
}
TicketTimeline
Description
Key milestone timestamps and duration metrics for a ticket
Fields
| Field Name | Description |
|---|---|
dateClosed - Timestamp
|
When the ticket was closed |
dateCreated - Timestamp!
|
When the ticket was created |
dateDeclined - Timestamp
|
When the ticket was declined |
dateFirstAssigned - Timestamp
|
When a handler was first assigned |
dateFirstCommented - Timestamp
|
When the first comment was added |
dateInProgress - Timestamp
|
When the ticket moved to in-progress |
ticketDuration - TicketDuration!
|
Elapsed time from creation to resolution |
Example
{
"dateClosed": 1592577642,
"dateCreated": 1592577642,
"dateDeclined": 1592577642,
"dateFirstAssigned": 1592577642,
"dateFirstCommented": 1592577642,
"dateInProgress": 1592577642,
"ticketDuration": TicketDuration
}
TicketUrgencyEnum
Description
Priority levels for tickets ranging from critical and high through normal and low to tolerable, used to determine response and resolution urgency
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"CRITICAL"
TicketUrgencyUpdate
Description
Real-time update event when ticket urgency changes
Fields
| Field Name | Description |
|---|---|
created - Timestamp!
|
Timestamp when the entity was created |
createdByUser - User
|
The value is present if the event was created explicitly by a user |
data - EventEntityDataDto!
|
Related data records |
isAutomated - Boolean!
|
Not a result of direct user action but of inner workings. No author in this case. |
previousUrgency - TicketUrgencyEnum!
|
Urgency level before this change |
type - EventEntityDataTypeEnum!
|
Event data type, always urgency update |
updatedBy - User
|
The value is present if the event was created explicitly by a user |
urgency - TicketUrgencyEnum!
|
Priority level (e.g. low, normal, high, very high) |
Example
{
"created": 1592577642,
"createdByUser": User,
"data": EventEntityDataDto,
"isAutomated": false,
"previousUrgency": "CRITICAL",
"type": "APPROVAL_UPDATE",
"updatedBy": User,
"urgency": "CRITICAL"
}
TicketUrgencyUpdatedHistory
Description
Records when the urgency level of a ticket is changed
Fields
| Field Name | Description |
|---|---|
comment - TicketComment
|
Comment that triggered this history entry |
commentId - HashedId
|
Identifier of the comment added alongside this change, if any |
created - Timestamp!
|
Timestamp when this history entry was created |
id - HashedId!
|
Unique identifier of the ticket history entry |
newUrgency - TicketUrgencyEnum!
|
Urgency level the ticket was changed to |
oldUrgency - TicketUrgencyEnum!
|
Urgency level the ticket was changed from |
ticketId - HashedId!
|
Identifier of the ticket this history entry belongs to |
trigger - TicketHistoryTrigger!
|
What initiated this history event such as user action or automation |
triggeredByUser - User
|
User who triggered this ticket history interface |
triggeredByUserId - HashedId
|
Identifier of the user who triggered this change, null for automated actions |
type - TicketHistoryType!
|
Ticket history event type discriminator |
updated - Timestamp
|
Timestamp when this history entry was last updated |
workOrderId - HashedId
|
Identifier of the work order linked to this ticket history entry, if any |
workOrderOnHoldReasonKey - WorkOrderOnHoldReason
|
Reason selected when the linked work order was put on hold, if any |
workOrderOnHoldReasonNote - String
|
Free-text reason supplied when the linked work order was put on hold, if any |
Example
{
"comment": TicketComment,
"commentId": HashedId,
"created": 1592577642,
"id": HashedId,
"newUrgency": "CRITICAL",
"oldUrgency": "CRITICAL",
"ticketId": HashedId,
"trigger": "AUTOMATION",
"triggeredByUser": User,
"triggeredByUserId": HashedId,
"type": "AFTER_APPROVAL_ASSIGNEE_NOT_FOUND",
"updated": 1592577642,
"workOrderId": HashedId,
"workOrderOnHoldReasonKey": "CUSTOMER_NOT_ON_SITE",
"workOrderOnHoldReasonNote": "abc123"
}
TicketUser
TicketView
Description
configuration for a ticket view
Fields
| Field Name | Description |
|---|---|
created - Timestamp!
|
Timestamp when the entity was created |
displayMode - ViewDisplayMode!
|
display mode that this view uses (e.g. MAP) |
forEntity - ViewEntityEnum!
|
type of entity that this view is for (e.g. ASSET) |
id - HashedId!
|
id (hashed) of the view. can be used to re-order the view, or adjust sharing etc. |
isActive - Boolean!
|
whether this view is enabled for this account |
isDeletable - Boolean!
|
whether this account can delete this view |
isEditable - Boolean!
|
whether this account can change this view's display mode, name or options |
isShareable - Boolean!
|
whether this account can share or unshare this view to this group and sub-groups |
isShared - Boolean!
|
whether this view can be seen by other members of this group, and sub-groups |
isSystemView - Boolean!
|
whether this is a system view (inherited from toolsense system). System views can only be shared/unshared; they cannot be edited. |
isUnsharedByParentGroup - Boolean!
|
whether this view has been unshared by a parent of this group |
options - TicketViewOptions!
|
options describing pagination, filters and columns available in the view |
title - Translation!
|
User-defined name for this saved view |
titleId - HashedId!
|
human-readable, user-input name that is given upon view creation. EXCEPT when isSystemView is true, then this is a string identifier for the view (e.g. "asset-gantt") |
updated - Timestamp
|
Timestamp when the entity was last updated |
Example
{
"created": 1592577642,
"displayMode": "GANTT",
"forEntity": "ASSET",
"id": HashedId,
"isActive": false,
"isDeletable": true,
"isEditable": true,
"isShareable": true,
"isShared": true,
"isSystemView": false,
"isUnsharedByParentGroup": false,
"options": TicketViewOptions,
"title": Translation,
"titleId": HashedId,
"updated": 1592577642
}
TicketViewCreateInput
Description
input used to create a new ticket view
Fields
| Input Field | Description |
|---|---|
displayMode - ViewDisplayMode!
|
display mode that this view uses (e.g. MAP) |
options - TicketViewOptionsInput!
|
display options to be stored with this view |
title - TranslationInput!
|
Name to assign to the new saved view |
Example
{
"displayMode": "GANTT",
"options": TicketViewOptionsInput,
"title": TranslationInput
}
TicketViewOptions
Description
Display settings for pagination, filters, and columns in a ticket view
Fields
| Field Name | Description |
|---|---|
columns - [String!]!
|
ticket columns enabled for this view |
filters - [Filters]
|
well defined filters for this view |
itemsPerPage - Int!
|
number of items per page in this view |
search - String
|
general search string to filter the items in this view |
Example
{
"columns": ["xyz789"],
"filters": [Filters],
"itemsPerPage": 987,
"search": "abc123"
}
TicketViewOptionsInput
Description
Pagination, filter, and column settings for a ticket view
Fields
| Input Field | Description |
|---|---|
columns - [String!]!
|
ordered tickets columns that are to be displayed in this view |
filters - [FilterParamsInput]
|
Filter criteria |
itemsPerPage - Int!
|
number of tickets per page in the view |
search - String
|
Text search query for filtering results |
Example
{
"columns": ["xyz789"],
"filters": [FilterParamsInput],
"itemsPerPage": 987,
"search": "abc123"
}
TicketViewUpdateInput
Description
input for updating a ticket view
Fields
| Input Field | Description |
|---|---|
displayMode - ViewDisplayMode!
|
display mode that this view uses (e.g. MAP) |
id - HashedId!
|
Unique identifier of the entity |
options - TicketViewOptionsInput!
|
options for displaying tickets in this view |
title - TranslationInput!
|
Updated name for the saved view |
Example
{
"displayMode": "GANTT",
"id": HashedId,
"options": TicketViewOptionsInput,
"title": TranslationInput
}
TicketViewerAddedHistory
Description
Records when a viewer is added to a ticket
Fields
| Field Name | Description |
|---|---|
comment - TicketComment
|
Comment that triggered this history entry |
commentId - HashedId
|
Identifier of the comment added alongside this change, if any |
created - Timestamp!
|
Timestamp when this history entry was created |
externalEmail - String
|
External email address of the viewer added, for non-platform users |
group - Group
|
Group context for this ticket handler history entry |
groupId - HashedId
|
Identifier of the group involved in this handler change |
groupTicketHandler - GroupTicketHandler
|
Group Ticket Handler for this ticket history with handlers interface |
groupTicketHandlerId - HashedId
|
Identifier of the group ticket handler configuration involved in this change |
id - HashedId!
|
Unique identifier of the ticket history entry |
team - Team
|
Team assigned to this ticket history with handlers interface |
teamId - HashedId
|
Identifier of the team involved in this handler change |
ticketId - HashedId!
|
Identifier of the ticket this history entry belongs to |
trigger - TicketHistoryTrigger!
|
What initiated this history event such as user action or automation |
triggeredByUser - User
|
User who triggered this ticket history interface |
triggeredByUserId - HashedId
|
Identifier of the user who triggered this change, null for automated actions |
type - TicketHistoryType!
|
Ticket history event type discriminator |
updated - Timestamp
|
Timestamp when this history entry was last updated |
user - User
|
User who was assigned or unassigned as a handler in this history entry |
userId - HashedId
|
Identifier of the user involved in this handler change |
workOrderId - HashedId
|
Identifier of the work order linked to this ticket history entry, if any |
workOrderOnHoldReasonKey - WorkOrderOnHoldReason
|
Reason selected when the linked work order was put on hold, if any |
workOrderOnHoldReasonNote - String
|
Free-text reason supplied when the linked work order was put on hold, if any |
Example
{
"comment": TicketComment,
"commentId": HashedId,
"created": 1592577642,
"externalEmail": "xyz789",
"group": Group,
"groupId": HashedId,
"groupTicketHandler": GroupTicketHandler,
"groupTicketHandlerId": HashedId,
"id": HashedId,
"team": Team,
"teamId": HashedId,
"ticketId": HashedId,
"trigger": "AUTOMATION",
"triggeredByUser": User,
"triggeredByUserId": HashedId,
"type": "AFTER_APPROVAL_ASSIGNEE_NOT_FOUND",
"updated": 1592577642,
"user": User,
"userId": HashedId,
"workOrderId": HashedId,
"workOrderOnHoldReasonKey": "CUSTOMER_NOT_ON_SITE",
"workOrderOnHoldReasonNote": "abc123"
}
TicketViewerNotificationsDisabledHistory
Description
Records when notifications are disabled for a ticket viewer
Fields
| Field Name | Description |
|---|---|
comment - TicketComment
|
Comment that triggered this history entry |
commentId - HashedId
|
Identifier of the comment added alongside this change, if any |
created - Timestamp!
|
Timestamp when this history entry was created |
externalEmail - String
|
External email address of the viewer whose notifications were disabled |
group - Group
|
Group context for this ticket handler history entry |
groupId - HashedId
|
Identifier of the group involved in this handler change |
groupTicketHandler - GroupTicketHandler
|
Group Ticket Handler for this ticket history with handlers interface |
groupTicketHandlerId - HashedId
|
Identifier of the group ticket handler configuration involved in this change |
id - HashedId!
|
Unique identifier of the ticket history entry |
team - Team
|
Team assigned to this ticket history with handlers interface |
teamId - HashedId
|
Identifier of the team involved in this handler change |
ticketId - HashedId!
|
Identifier of the ticket this history entry belongs to |
trigger - TicketHistoryTrigger!
|
What initiated this history event such as user action or automation |
triggeredByUser - User
|
User who triggered this ticket history interface |
triggeredByUserId - HashedId
|
Identifier of the user who triggered this change, null for automated actions |
type - TicketHistoryType!
|
Ticket history event type discriminator |
updated - Timestamp
|
Timestamp when this history entry was last updated |
user - User
|
User who was assigned or unassigned as a handler in this history entry |
userId - HashedId
|
Identifier of the user involved in this handler change |
workOrderId - HashedId
|
Identifier of the work order linked to this ticket history entry, if any |
workOrderOnHoldReasonKey - WorkOrderOnHoldReason
|
Reason selected when the linked work order was put on hold, if any |
workOrderOnHoldReasonNote - String
|
Free-text reason supplied when the linked work order was put on hold, if any |
Example
{
"comment": TicketComment,
"commentId": HashedId,
"created": 1592577642,
"externalEmail": "abc123",
"group": Group,
"groupId": HashedId,
"groupTicketHandler": GroupTicketHandler,
"groupTicketHandlerId": HashedId,
"id": HashedId,
"team": Team,
"teamId": HashedId,
"ticketId": HashedId,
"trigger": "AUTOMATION",
"triggeredByUser": User,
"triggeredByUserId": HashedId,
"type": "AFTER_APPROVAL_ASSIGNEE_NOT_FOUND",
"updated": 1592577642,
"user": User,
"userId": HashedId,
"workOrderId": HashedId,
"workOrderOnHoldReasonKey": "CUSTOMER_NOT_ON_SITE",
"workOrderOnHoldReasonNote": "xyz789"
}
TicketViewerNotificationsEnabledHistory
Description
Records when notifications are enabled for a ticket viewer
Fields
| Field Name | Description |
|---|---|
comment - TicketComment
|
Comment that triggered this history entry |
commentId - HashedId
|
Identifier of the comment added alongside this change, if any |
created - Timestamp!
|
Timestamp when this history entry was created |
externalEmail - String
|
External email address of the viewer whose notifications were enabled |
group - Group
|
Group context for this ticket handler history entry |
groupId - HashedId
|
Identifier of the group involved in this handler change |
groupTicketHandler - GroupTicketHandler
|
Group Ticket Handler for this ticket history with handlers interface |
groupTicketHandlerId - HashedId
|
Identifier of the group ticket handler configuration involved in this change |
id - HashedId!
|
Unique identifier of the ticket history entry |
team - Team
|
Team assigned to this ticket history with handlers interface |
teamId - HashedId
|
Identifier of the team involved in this handler change |
ticketId - HashedId!
|
Identifier of the ticket this history entry belongs to |
trigger - TicketHistoryTrigger!
|
What initiated this history event such as user action or automation |
triggeredByUser - User
|
User who triggered this ticket history interface |
triggeredByUserId - HashedId
|
Identifier of the user who triggered this change, null for automated actions |
type - TicketHistoryType!
|
Ticket history event type discriminator |
updated - Timestamp
|
Timestamp when this history entry was last updated |
user - User
|
User who was assigned or unassigned as a handler in this history entry |
userId - HashedId
|
Identifier of the user involved in this handler change |
workOrderId - HashedId
|
Identifier of the work order linked to this ticket history entry, if any |
workOrderOnHoldReasonKey - WorkOrderOnHoldReason
|
Reason selected when the linked work order was put on hold, if any |
workOrderOnHoldReasonNote - String
|
Free-text reason supplied when the linked work order was put on hold, if any |
Example
{
"comment": TicketComment,
"commentId": HashedId,
"created": 1592577642,
"externalEmail": "abc123",
"group": Group,
"groupId": HashedId,
"groupTicketHandler": GroupTicketHandler,
"groupTicketHandlerId": HashedId,
"id": HashedId,
"team": Team,
"teamId": HashedId,
"ticketId": HashedId,
"trigger": "AUTOMATION",
"triggeredByUser": User,
"triggeredByUserId": HashedId,
"type": "AFTER_APPROVAL_ASSIGNEE_NOT_FOUND",
"updated": 1592577642,
"user": User,
"userId": HashedId,
"workOrderId": HashedId,
"workOrderOnHoldReasonKey": "CUSTOMER_NOT_ON_SITE",
"workOrderOnHoldReasonNote": "xyz789"
}
TicketViewerRemovedHistory
Description
Records when a viewer is removed from a ticket
Fields
| Field Name | Description |
|---|---|
comment - TicketComment
|
Comment that triggered this history entry |
commentId - HashedId
|
Identifier of the comment added alongside this change, if any |
created - Timestamp!
|
Timestamp when this history entry was created |
externalEmail - String
|
External email address of the viewer removed, for non-platform users |
group - Group
|
Group context for this ticket handler history entry |
groupId - HashedId
|
Identifier of the group involved in this handler change |
groupTicketHandler - GroupTicketHandler
|
Group Ticket Handler for this ticket history with handlers interface |
groupTicketHandlerId - HashedId
|
Identifier of the group ticket handler configuration involved in this change |
id - HashedId!
|
Unique identifier of the ticket history entry |
team - Team
|
Team assigned to this ticket history with handlers interface |
teamId - HashedId
|
Identifier of the team involved in this handler change |
ticketId - HashedId!
|
Identifier of the ticket this history entry belongs to |
trigger - TicketHistoryTrigger!
|
What initiated this history event such as user action or automation |
triggeredByUser - User
|
User who triggered this ticket history interface |
triggeredByUserId - HashedId
|
Identifier of the user who triggered this change, null for automated actions |
type - TicketHistoryType!
|
Ticket history event type discriminator |
updated - Timestamp
|
Timestamp when this history entry was last updated |
user - User
|
User who was assigned or unassigned as a handler in this history entry |
userId - HashedId
|
Identifier of the user involved in this handler change |
workOrderId - HashedId
|
Identifier of the work order linked to this ticket history entry, if any |
workOrderOnHoldReasonKey - WorkOrderOnHoldReason
|
Reason selected when the linked work order was put on hold, if any |
workOrderOnHoldReasonNote - String
|
Free-text reason supplied when the linked work order was put on hold, if any |
Example
{
"comment": TicketComment,
"commentId": HashedId,
"created": 1592577642,
"externalEmail": "xyz789",
"group": Group,
"groupId": HashedId,
"groupTicketHandler": GroupTicketHandler,
"groupTicketHandlerId": HashedId,
"id": HashedId,
"team": Team,
"teamId": HashedId,
"ticketId": HashedId,
"trigger": "AUTOMATION",
"triggeredByUser": User,
"triggeredByUserId": HashedId,
"type": "AFTER_APPROVAL_ASSIGNEE_NOT_FOUND",
"updated": 1592577642,
"user": User,
"userId": HashedId,
"workOrderId": HashedId,
"workOrderOnHoldReasonKey": "CUSTOMER_NOT_ON_SITE",
"workOrderOnHoldReasonNote": "xyz789"
}
TicketWebhookTriggerTypeEnum
Description
Event that triggers a ticket webhook callback, such as when a new ticket is created or when a comment is added to an existing ticket
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
Example
"ticketCommentAdded"
TicketWorkOrderCancelledHistory
Description
Records when a linked work order was cancelled and closed the ticket
Fields
| Field Name | Description |
|---|---|
comment - TicketComment
|
Comment that triggered this history entry |
commentId - HashedId
|
Identifier of the comment added alongside this change, if any |
created - Timestamp!
|
Timestamp when this history entry was created |
id - HashedId!
|
Unique identifier of the ticket history entry |
ticketId - HashedId!
|
Identifier of the ticket this history entry belongs to |
trigger - TicketHistoryTrigger!
|
What initiated this history event such as user action or automation |
triggeredByUser - User
|
User who triggered this ticket history interface |
triggeredByUserId - HashedId
|
Identifier of the user who triggered this change, null for automated actions |
type - TicketHistoryType!
|
Ticket history event type discriminator |
updated - Timestamp
|
Timestamp when this history entry was last updated |
workOrder - WorkOrderV2!
|
Work order that was cancelled and closed this ticket |
workOrderId - HashedId!
|
Work order identifier |
workOrderOnHoldReasonKey - WorkOrderOnHoldReason
|
Reason selected when the linked work order was put on hold, if any |
workOrderOnHoldReasonNote - String
|
Free-text reason supplied when the linked work order was put on hold, if any |
Example
{
"comment": TicketComment,
"commentId": HashedId,
"created": 1592577642,
"id": HashedId,
"ticketId": HashedId,
"trigger": "AUTOMATION",
"triggeredByUser": User,
"triggeredByUserId": HashedId,
"type": "AFTER_APPROVAL_ASSIGNEE_NOT_FOUND",
"updated": 1592577642,
"workOrder": WorkOrderV2,
"workOrderId": HashedId,
"workOrderOnHoldReasonKey": "CUSTOMER_NOT_ON_SITE",
"workOrderOnHoldReasonNote": "abc123"
}
TicketWorkOrderCompletedHistory
Description
Records when a linked work order completed and closed the ticket
Fields
| Field Name | Description |
|---|---|
comment - TicketComment
|
Comment that triggered this history entry |
commentId - HashedId
|
Identifier of the comment added alongside this change, if any |
created - Timestamp!
|
Timestamp when this history entry was created |
id - HashedId!
|
Unique identifier of the ticket history entry |
ticketId - HashedId!
|
Identifier of the ticket this history entry belongs to |
trigger - TicketHistoryTrigger!
|
What initiated this history event such as user action or automation |
triggeredByUser - User
|
User who triggered this ticket history interface |
triggeredByUserId - HashedId
|
Identifier of the user who triggered this change, null for automated actions |
type - TicketHistoryType!
|
Ticket history event type discriminator |
updated - Timestamp
|
Timestamp when this history entry was last updated |
workOrder - WorkOrderV2!
|
Work order that completed and closed this ticket |
workOrderId - HashedId!
|
Work order identifier |
workOrderOnHoldReasonKey - WorkOrderOnHoldReason
|
Reason selected when the linked work order was put on hold, if any |
workOrderOnHoldReasonNote - String
|
Free-text reason supplied when the linked work order was put on hold, if any |
Example
{
"comment": TicketComment,
"commentId": HashedId,
"created": 1592577642,
"id": HashedId,
"ticketId": HashedId,
"trigger": "AUTOMATION",
"triggeredByUser": User,
"triggeredByUserId": HashedId,
"type": "AFTER_APPROVAL_ASSIGNEE_NOT_FOUND",
"updated": 1592577642,
"workOrder": WorkOrderV2,
"workOrderId": HashedId,
"workOrderOnHoldReasonKey": "CUSTOMER_NOT_ON_SITE",
"workOrderOnHoldReasonNote": "xyz789"
}
TicketWorkOrderOnHoldHistory
Description
Records when a linked work order was put on hold
Fields
| Field Name | Description |
|---|---|
comment - TicketComment
|
Comment that triggered this history entry |
commentId - HashedId
|
Identifier of the comment added alongside this change, if any |
created - Timestamp!
|
Timestamp when this history entry was created |
id - HashedId!
|
Unique identifier of the ticket history entry |
ticketId - HashedId!
|
Identifier of the ticket this history entry belongs to |
trigger - TicketHistoryTrigger!
|
What initiated this history event such as user action or automation |
triggeredByUser - User
|
User who triggered this ticket history interface |
triggeredByUserId - HashedId
|
Identifier of the user who triggered this change, null for automated actions |
type - TicketHistoryType!
|
Ticket history event type discriminator |
updated - Timestamp
|
Timestamp when this history entry was last updated |
workOrder - WorkOrderV2!
|
Work order that was put on hold |
workOrderId - HashedId!
|
Work order identifier |
workOrderOnHoldReasonKey - WorkOrderOnHoldReason!
|
Reason selected when the linked work order was put on hold |
workOrderOnHoldReasonNote - String
|
Free-text reason supplied when the linked work order was put on hold |
Example
{
"comment": TicketComment,
"commentId": HashedId,
"created": 1592577642,
"id": HashedId,
"ticketId": HashedId,
"trigger": "AUTOMATION",
"triggeredByUser": User,
"triggeredByUserId": HashedId,
"type": "AFTER_APPROVAL_ASSIGNEE_NOT_FOUND",
"updated": 1592577642,
"workOrder": WorkOrderV2,
"workOrderId": HashedId,
"workOrderOnHoldReasonKey": "CUSTOMER_NOT_ON_SITE",
"workOrderOnHoldReasonNote": "xyz789"
}
TicketWorkOrderReopenedHistory
Description
Records when a linked work order was reopened and reopened the ticket
Fields
| Field Name | Description |
|---|---|
comment - TicketComment
|
Comment that triggered this history entry |
commentId - HashedId
|
Identifier of the comment added alongside this change, if any |
created - Timestamp!
|
Timestamp when this history entry was created |
id - HashedId!
|
Unique identifier of the ticket history entry |
ticketId - HashedId!
|
Identifier of the ticket this history entry belongs to |
trigger - TicketHistoryTrigger!
|
What initiated this history event such as user action or automation |
triggeredByUser - User
|
User who triggered this ticket history interface |
triggeredByUserId - HashedId
|
Identifier of the user who triggered this change, null for automated actions |
type - TicketHistoryType!
|
Ticket history event type discriminator |
updated - Timestamp
|
Timestamp when this history entry was last updated |
workOrder - WorkOrderV2!
|
Work order whose reopening reopened this ticket |
workOrderId - HashedId!
|
Work order identifier |
workOrderOnHoldReasonKey - WorkOrderOnHoldReason
|
Reason selected when the linked work order was put on hold, if any |
workOrderOnHoldReasonNote - String
|
Free-text reason supplied when the linked work order was put on hold, if any |
Example
{
"comment": TicketComment,
"commentId": HashedId,
"created": 1592577642,
"id": HashedId,
"ticketId": HashedId,
"trigger": "AUTOMATION",
"triggeredByUser": User,
"triggeredByUserId": HashedId,
"type": "AFTER_APPROVAL_ASSIGNEE_NOT_FOUND",
"updated": 1592577642,
"workOrder": WorkOrderV2,
"workOrderId": HashedId,
"workOrderOnHoldReasonKey": "CUSTOMER_NOT_ON_SITE",
"workOrderOnHoldReasonNote": "xyz789"
}
Timestamp
Description
Date type as integer. Type represents date and time as number of milliseconds from start of UNIX epoch.
Example
1592577642
TranslateResultDto
Description
Translate result dto record
Fields
| Field Name | Description |
|---|---|
sourceLanguage - String!
|
Source language |
sourceText - String!
|
Source text |
translatedText - JSONObject!
|
Translated text |
Example
{
"sourceLanguage": "abc123",
"sourceText": "abc123",
"translatedText": {}
}
Translation
Description
A translatable text entry with values for multiple languages
Fields
| Field Name | Description |
|---|---|
created - Timestamp!
|
Timestamp when the entity was created |
de_de - String!
|
De_de |
en_us - String!
|
En_us |
id - HashedId!
|
Unique identifier of the entity |
languages - [TranslationItem!]!
|
Languages |
translations - String!
|
Translations |
updated - Timestamp
|
Timestamp when the entity was last updated |
Example
{
"created": 1592577642,
"de_de": "xyz789",
"en_us": "xyz789",
"id": HashedId,
"languages": [TranslationItem],
"translations": "abc123",
"updated": 1592577642
}
TranslationInput
TranslationItem
Description
Translation item record
Fields
| Field Name | Description |
|---|---|
code - LanguageLocaleEnum!
|
Code |
id - HashedId!
|
Unique identifier |
text - String!
|
Text |
Example
{
"code": "ar_ar",
"id": HashedId,
"text": "abc123"
}
Trip
Description
A recorded vehicle trip with GPS tracking data
Fields
| Field Name | Description |
|---|---|
active - Boolean!
|
Whether trip is still ongoing (active) |
asset - Asset!
|
Associated asset |
assetId - HashedId!
|
Associated asset ID |
avgSpeed - Float!
|
Average speed over this trip, in distance units per hour |
avgSpeedRaw - Float!
|
Average speed over this trip, kilometers per hour |
created - Timestamp!
|
Timestamp when the entity was created |
datapoints - [Datapoint!]!
|
List of routes and events points with direction |
distance - Float!
|
Distance traveled in distance units |
distanceRaw - Float!
|
Distance traveled in kilometers |
distanceUnit - String!
|
Unit of measurement for distance values (e.g. km, mi) |
driverId - String
|
Driver ID associated with this trip |
driverName - String
|
Driver name |
duration - Float!
|
Trip duration in seconds |
endLocation - Address
|
Resolved end location |
endTime - Float!
|
Trip end time |
eventPoints - [EventPoint!]!
|
List of event points |
fuelConsumed - Float!
|
Fuel consumption volume, fuel units |
fuelConsumedPercentage - Int!
|
Fuel consumption volume, percentage |
fuelConsumedRaw - Int!
|
Fuel consumption volume, liters |
fuelUnit - String!
|
Unit of measurement for fuel consumption values (e.g. l, gal) |
group - Group
|
Group this trip belongs to |
id - String!
|
Trip identifier |
imei - String!
|
Associated module IMEI |
isPrivate - Boolean!
|
Whether this is private and not publicly visible |
linearDistance - Float!
|
Linear distance traveled in distance units |
linearDistanceRaw - Float!
|
Linear distance traveled in kilometers |
maxSpeed - Float!
|
Maximum speed within this trip, in distance units |
maxSpeedRaw - Float!
|
Maximum speed within this trip, kilometers per hour |
nextIsPrivateGap - Boolean!
|
Whether the chronologically next trip is private and was filtered from this caller |
points - [RoutePoint!]!
|
List of trip's route points |
pointsInRange - [RoutePoint!]!
|
List of trip's route points within the search area |
Arguments
|
|
responsiblePerson - String
|
Responsible person |
route - String!
|
Encoded route string |
startLocation - Address
|
Resolved start location |
startTime - Float!
|
Trip start time |
stopDuration - Float!
|
Duration of stop after this trip |
timestamp - Float!
|
Trip timestamp |
tripId - ID!
|
Compound trip ID combining asset ID with Flespi trip ID |
updated - Timestamp
|
Timestamp when the entity was last updated |
Example
{
"active": true,
"asset": Asset,
"assetId": HashedId,
"avgSpeed": 987.65,
"avgSpeedRaw": 987.65,
"created": 1592577642,
"datapoints": [Datapoint],
"distance": 123.45,
"distanceRaw": 123.45,
"distanceUnit": "xyz789",
"driverId": "abc123",
"driverName": "abc123",
"duration": 987.65,
"endLocation": Address,
"endTime": 987.65,
"eventPoints": [EventPoint],
"fuelConsumed": 987.65,
"fuelConsumedPercentage": 123,
"fuelConsumedRaw": 987,
"fuelUnit": "xyz789",
"group": Group,
"id": "xyz789",
"imei": "xyz789",
"isPrivate": false,
"linearDistance": 987.65,
"linearDistanceRaw": 123.45,
"maxSpeed": 123.45,
"maxSpeedRaw": 987.65,
"nextIsPrivateGap": false,
"points": [RoutePoint],
"pointsInRange": [RoutePoint],
"responsiblePerson": "abc123",
"route": "xyz789",
"startLocation": Address,
"startTime": 987.65,
"stopDuration": 987.65,
"timestamp": 987.65,
"tripId": "4",
"updated": 1592577642
}
TripColumnsEnum
Description
Identifiers of the trip list columns available for filtering, sorting and export
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"averageFuelConsumption"
TripDateFilter
TripDateRange
Description
Trip date range record
Fields
| Field Name | Description |
|---|---|
from - Timestamp!
|
Start timestamp of the trip date range |
to - Timestamp!
|
End timestamp of the trip date range |
Example
{"from": 1592577642, "to": 1592577642}
TripExportRequestInput
Description
Data required to request a trip list export
Fields
| Input Field | Description |
|---|---|
activeOnly - Boolean
|
Active only |
columnKeys - [TripColumnsEnum!]
|
Subset of exportable columns to include, in the requested order. Defaults to every exportable column when omitted |
dateFilter - TripDateFilter
|
Date filter |
filters - [FilterParamsInput]
|
Filter criteria |
locationFilter - TripLocationFilter
|
Location filter |
locationLabel - String
|
Human-readable label of the searched target area, used by the export column |
search - String
|
Text search query for filtering results |
Example
{
"activeOnly": true,
"columnKeys": ["averageFuelConsumption"],
"dateFilter": TripDateFilter,
"filters": [FilterParamsInput],
"locationFilter": TripLocationFilter,
"locationLabel": "abc123",
"search": "xyz789"
}
TripIsPrivateUpdateInput
TripLatest
Description
Trip latest record
Fields
| Field Name | Description |
|---|---|
active - Boolean!
|
Whether trip is still ongoing (active) |
asset - Asset!
|
Associated asset |
assetId - HashedId!
|
Associated asset ID |
created - Timestamp!
|
Timestamp when the entity was created |
distanceUnit - String!
|
Unit of measurement for distance values (e.g. km, mi) |
driverId - String
|
Driver ID associated with this trip |
driverName - String
|
Driver name |
endTime - Float!
|
Trip end time |
groupId - HashedId!
|
Group identifier |
id - HashedId!
|
Unique identifier of the entity |
imei - String!
|
Associated module IMEI |
latestDirection - Float!
|
Latest direction |
latestPointDistance - Float!
|
Latest point distance in distance units |
latestPointId - Int!
|
Latest point identifier |
latestPointLat - Float!
|
Latest point lat |
latestPointLng - Float!
|
Latest point lng |
latestPointSpeed - Int!
|
Latest point speed in distance units per hour, rounded to a whole number |
latestPointTime - DateTime!
|
Latest point time |
responsiblePerson - String
|
Responsible person |
startTime - Float!
|
Trip start time |
trip - Trip!
|
Trip |
tripId - HashedId!
|
Trip identifier |
updated - Timestamp
|
Timestamp when the entity was last updated |
Example
{
"active": false,
"asset": Asset,
"assetId": HashedId,
"created": 1592577642,
"distanceUnit": "abc123",
"driverId": "xyz789",
"driverName": "xyz789",
"endTime": 123.45,
"groupId": HashedId,
"id": HashedId,
"imei": "abc123",
"latestDirection": 987.65,
"latestPointDistance": 987.65,
"latestPointId": 987,
"latestPointLat": 123.45,
"latestPointLng": 123.45,
"latestPointSpeed": 987,
"latestPointTime": "2007-12-03T10:15:30Z",
"responsiblePerson": "abc123",
"startTime": 987.65,
"trip": Trip,
"tripId": HashedId,
"updated": 1592577642
}
TripLatestPaginatedResult
Description
Trip latest paginated result record
Fields
| Field Name | Description |
|---|---|
meta - PaginationMeta!
|
Pagination metadata including total count and page info |
rows - [TripLatest!]!
|
List of records for the current page |
Example
{
"meta": PaginationMeta,
"rows": [TripLatest]
}
TripLocation
Description
Trip-based location for vehicle assets
Fields
| Field Name | Description |
|---|---|
id - HashedId!
|
|
latitude - String!
|
|
locationType - LocationTypeEnum!
|
Location type indicator |
longitude - String!
|
|
timestamp - Timestamp!
|
Timestamp of the location |
Example
{
"id": HashedId,
"latitude": "xyz789",
"locationType": "LAST_BUSINESS_TRIP",
"longitude": "abc123",
"timestamp": 1592577642
}
TripLocationFilter
TripPaginatedResult
Description
Trip paginated result record
Fields
| Field Name | Description |
|---|---|
meta - PaginationMeta!
|
Pagination metadata including total count and page info |
rows - [Trip!]!
|
List of records for the current page |
Example
{
"meta": PaginationMeta,
"rows": [Trip]
}
TripsView
Description
configuration for a trips view
Fields
| Field Name | Description |
|---|---|
created - Timestamp!
|
Timestamp when the entity was created |
displayMode - ViewDisplayMode!
|
display mode that this view uses (e.g. MAP) |
forEntity - ViewEntityEnum!
|
type of entity that this view is for (e.g. ASSET) |
id - HashedId!
|
id (hashed) of the view. can be used to re-order the view, or adjust sharing etc. |
isActive - Boolean!
|
whether this view is enabled for this account |
isDeletable - Boolean!
|
whether this account can delete this view |
isEditable - Boolean!
|
whether this account can change this view's display mode, name or options |
isShareable - Boolean!
|
whether this account can share or unshare this view to this group and sub-groups |
isShared - Boolean!
|
whether this view can be seen by other members of this group, and sub-groups |
isSystemView - Boolean!
|
whether this is a system view (inherited from toolsense system). System views can only be shared/unshared; they cannot be edited. |
isUnsharedByParentGroup - Boolean!
|
whether this view has been unshared by a parent of this group |
options - TripsViewOptions!
|
options describing pagination, filters and columns available in the view |
title - Translation!
|
User-defined name for this saved view |
titleId - HashedId!
|
human-readable, user-input name that is given upon view creation. EXCEPT when isSystemView is true, then this is a string identifier for the view (e.g. "asset-gantt") |
updated - Timestamp
|
Timestamp when the entity was last updated |
Example
{
"created": 1592577642,
"displayMode": "GANTT",
"forEntity": "ASSET",
"id": HashedId,
"isActive": false,
"isDeletable": false,
"isEditable": false,
"isShareable": false,
"isShared": true,
"isSystemView": false,
"isUnsharedByParentGroup": false,
"options": TripsViewOptions,
"title": Translation,
"titleId": HashedId,
"updated": 1592577642
}
TripsViewCreateInput
Description
input used to create a new trips view
Fields
| Input Field | Description |
|---|---|
displayMode - ViewDisplayMode!
|
display mode that this view uses (e.g. MAP) |
options - TripsViewOptionsInput!
|
display options to be stored with this view |
title - TranslationInput!
|
Name to assign to the new saved view |
Example
{
"displayMode": "GANTT",
"options": TripsViewOptionsInput,
"title": TranslationInput
}
TripsViewOptions
Description
Display settings for pagination, filters, and columns in a trips view
Fields
| Field Name | Description |
|---|---|
columns - [String!]!
|
trips columns enabled for this view |
filters - [Filters]
|
well defined filters for this view |
itemsPerPage - Int!
|
number of items per page in this view |
search - String
|
general search string to filter the items in this view |
Example
{
"columns": ["abc123"],
"filters": [Filters],
"itemsPerPage": 123,
"search": "xyz789"
}
TripsViewOptionsInput
Description
Pagination, filter, and column settings for a trips view
Fields
| Input Field | Description |
|---|---|
columns - [String!]!
|
ordered trips columns that are to be displayed in this view |
filters - [FilterParamsInput]
|
Filter criteria |
itemsPerPage - Int!
|
number of trips per page in the view |
search - String
|
Text search query for filtering results |
Example
{
"columns": ["xyz789"],
"filters": [FilterParamsInput],
"itemsPerPage": 123,
"search": "abc123"
}
TripsViewUpdateInput
Description
input for updating a trips view
Fields
| Input Field | Description |
|---|---|
displayMode - ViewDisplayMode!
|
display mode that this view uses (e.g. MAP) |
id - HashedId!
|
Unique identifier of the entity |
options - TripsViewOptionsInput!
|
options for displaying trips in this view |
title - TranslationInput!
|
Updated name for the saved view |
Example
{
"displayMode": "GANTT",
"id": HashedId,
"options": TripsViewOptionsInput,
"title": TranslationInput
}
UnitEnum
Description
Measurement units for IoT sensor parameters and telemetry data, including electrical, temperature, distance, time, and other physical quantities
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"AH"
Upcoming
Description
What is due, starting or ending in a window, and what to plan now
Fields
| Field Name | Description |
|---|---|
days - [UpcomingDay!]!
|
Checks and work orders due per day over everything in scope, days with work only |
hints - [UpcomingHint!]!
|
Up to 5 patterns across the days worth planning for |
items - [UpcomingItem!]!
|
Items by day, critical first within a day, up to the limit |
kindCounts - [UpcomingKindCount!]!
|
Items per included kind over everything in scope |
scope - AttentionScope!
|
Applied scope: ALL when a user without responsibilities asked for MINE |
Example
{
"days": [UpcomingDay],
"hints": [UpcomingHint],
"items": [UpcomingItem],
"kindCounts": [UpcomingKindCount],
"scope": "ALL"
}
UpcomingConfidence
Description
How far a projected date can be trusted, from the days of usage it is based on
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
Example
"LOW"
UpcomingDay
Description
Checks and work orders due on one day
Fields
| Field Name | Description |
|---|---|
date - Date!
|
Day (yyyy-MM-dd) |
sites - [UpcomingDaySite!]!
|
The day total per site, busiest first |
total - Int!
|
Checks and work orders due that day |
Example
{
"date": "2007-12-03",
"sites": [UpcomingDaySite],
"total": 123
}
UpcomingDaySite
Description
Checks and work orders due at one site on a day
Example
{
"site": Site,
"siteId": HashedId,
"total": 123
}
UpcomingFacts
Description
Facts to judge an upcoming item by
Fields
| Field Name | Description |
|---|---|
assigned - Boolean
|
The work order has an assignee or worker |
dailyUsage - Float
|
Average daily usage over the measured days, in usageUnit |
measuredDays - Int
|
Days of runtime data the projection is based on, at most 30 |
openTicket - Boolean
|
The asset has an open ticket |
remainingUsage - Float
|
Usage left until the check is due, in usageUnit |
renewal - Boolean
|
The day is the renewal date of the lease or rental, not its end |
ruleCritical - Boolean
|
The check comes from a critical rule |
usageUnit - RuleEntryScheduleTriggerParameterUnit
|
Unit of the usage counter the check is due at |
Example
{
"assigned": true,
"dailyUsage": 987.65,
"measuredDays": 987,
"openTicket": true,
"remainingUsage": 123.45,
"renewal": false,
"ruleCritical": true,
"usageUnit": "HOURS"
}
UpcomingHint
Description
A pattern across upcoming work worth planning for
Fields
| Field Name | Description |
|---|---|
from - Date!
|
First day of the pattern (yyyy-MM-dd) |
kind - UpcomingHintKind!
|
Pattern found across the items |
ruleEntryId - HashedId
|
Rule of the bundled checks |
site - Site
|
Site of the pattern |
siteId - HashedId
|
Site of the pattern |
suggestedAction - AttentionAction!
|
The one action the hint ends in |
title - String
|
Title of the bundled checks |
to - Date!
|
Last day of the pattern (yyyy-MM-dd) |
total - Int!
|
Checks and work orders the pattern covers |
usualTotal - Float
|
Median load of the days with work at the site in the window, for a peak day |
visitsSaved - Int
|
Service visits saved by doing the bundled checks at once |
Example
{
"from": "2007-12-03",
"kind": "BUNDLE_VISIT",
"ruleEntryId": HashedId,
"site": Site,
"siteId": HashedId,
"suggestedAction": "ASSIGN",
"title": "abc123",
"to": "2007-12-03",
"total": 123,
"usualTotal": 123.45,
"visitsSaved": 123
}
UpcomingHintKind
Description
Pattern across upcoming items worth planning for
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
Example
"BUNDLE_VISIT"
UpcomingItem
Description
Something due, starting or ending in the window
Fields
| Field Name | Description |
|---|---|
asset - Asset
|
Asset the item is about |
assetId - HashedId
|
Asset the item is about |
confidence - UpcomingConfidence
|
How far the projection can be trusted, null for a recorded date |
date - Date!
|
Day it is due, starts or ends (yyyy-MM-dd) |
entity - EntityEnum!
|
Entity type of the record |
estimate - Boolean!
|
The day is projected from usage, not a recorded date |
facts - UpcomingFacts!
|
Facts to judge the item by |
id - HashedId!
|
Id of the record |
kind - UpcomingItemKind!
|
What is coming |
moneyAtStake - MoneyAtStake
|
Money at stake, only from recorded data |
site - Site
|
Site the item is at |
siteId - HashedId
|
Site the item is at |
suggestedAction - AttentionAction!
|
The one action to plan now |
title - String
|
Title of the check or work order |
Example
{
"asset": Asset,
"assetId": HashedId,
"confidence": "LOW",
"date": "2007-12-03",
"entity": "ASSET",
"estimate": false,
"facts": UpcomingFacts,
"id": HashedId,
"kind": "CHECK_DUE",
"moneyAtStake": MoneyAtStake,
"site": Site,
"siteId": HashedId,
"suggestedAction": "ASSIGN",
"title": "xyz789"
}
UpcomingItemKind
Description
What an upcoming item is: a check due, a scheduled work order or an ending deadline
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"CHECK_DUE"
UpcomingKindCount
Description
Upcoming items of one kind
Fields
| Field Name | Description |
|---|---|
kind - UpcomingItemKind!
|
Kind counted |
total - Int!
|
Items of the kind in the window, before the limit; checks due by usage are projected from at most 200 upcoming usage checks |
Example
{"kind": "CHECK_DUE", "total": 123}
UpdateCommentEventInput
Description
Fields to update on an existing ticket comment event
Fields
| Input Field | Description |
|---|---|
assetId - HashedId!
|
Asset associated with the cost event |
id - HashedId
|
Comment event to update |
title - TranslationInput!
|
Translated event title |
Example
{
"assetId": HashedId,
"id": HashedId,
"title": TranslationInput
}
Upload
Description
The Upload scalar type represents a file upload.
Example
Upload
User
Description
A platform user who can be a technician, manager, administrator, or viewer
Fields
| Field Name | Description |
|---|---|
activated - Timestamp
|
Timestamp when the user first confirmed their account and completed onboarding |
additionalGroups - [Group!]!
|
Secondary groups the user has been granted access to beyond their primary group |
apiKey - String
|
Always null; stored API key credentials are never returned Use hasApiKey instead |
belongsToGroup - Group!
|
Belongs to group Use "group" instead |
belongsToGroupId - HashedId!
|
Group this record belongs to Use "groupId" instead |
canConvertServiceJotforms - Boolean!
|
Whether the admin user can convert and revert Jotform forms |
canEditInspectionsAssignee - Boolean!
|
Whether this user can edit the assignee of rule entry events (Inspections) |
canEditOnlyOwnDocuments - Boolean!
|
Whether this user can only edit and delete their own documents |
canEditTicketTags - Boolean!
|
Whether this user can add or remove tags on tickets when the group setting ticketTagsByPermission is on |
canManageIntegrations - Boolean!
|
Whether the admin user can manage integrations |
canScheduleDisposition - Boolean!
|
Whether the user can schedule work orders on the disposition Gantt |
canShareViews - Boolean!
|
Whether the user can share views |
checkPassword - Boolean
|
Check password No implementation for this field |
created - Timestamp!
|
Timestamp when the entity was created |
dashboard - JSON
|
Personalized dashboard configuration defining the widgets and layout for this user No implementation for this field |
dashboardId - HashedId
|
Dashboard identifier |
deleted - Timestamp
|
Timestamp when this user was soft-deleted, null if active |
email - String!
|
Email address |
firstname - String
|
First name |
fullName - String!
|
Full name composed from first and last name |
group - Group!
|
Associated organization group |
groupId - HashedId!
|
Identifier of the organization group this user belongs to |
groups - [Group!]!
|
Associated organization groups |
hasAccessToPersonnelManagement - Boolean!
|
Whether the user can manage the personnel database |
hasApiKey - Boolean!
|
Whether this user has an API key configured |
hasMultipleGroups - Boolean!
|
Whether the user belongs to more than one group |
id - HashedId!
|
Unique identifier of the entity |
image - String
|
Image URL |
info - JSON
|
Additional contextual details about the user, such as department or job title |
isAnyAdmin - Boolean!
|
Whether this user is a support admin, a ToolSense admin or a SuperUser, the decision the API applies to admin-only operations |
isCostEnabled - Boolean!
|
Whether this user has access to cost tracking and financial features |
isSSOEnabled - Boolean!
|
Whether single sign-on (SSO) authentication is enabled for this user |
isServicing - Boolean!
|
Whether this user is currently assigned as a service technician on active work orders |
isSupportAdmin - Boolean!
|
Whether this user has administrative privileges for the support portal |
label - String
|
Computed display name shown in dropdowns and user selection lists |
language - HashedId
|
Preferred UI language for the application (e.g. 'en', 'de') Use "languageId" instead |
languageCode - LanguageLocaleEnum
|
ISO language code for localization of emails and notifications |
languageId - HashedId
|
Language preference identifier |
lastLogin - DateTime
|
Last login |
lastname - String
|
Last name |
locale - LanguageTag
|
Locale tag |
loginInterruptIds - [HashedId!]
|
Login interrupt identifiers No implementation for this field |
loginInterrupts - JSON
|
Pending actions or agreements the user must complete before accessing the application No implementation for this field |
notificationIds - [HashedId!]
|
List of notification rule IDs that are active for this user No implementation for this field |
notifications - [JSON!]
|
Notification preference settings controlling how and when this user receives alerts No implementation for this field |
password - String!
|
Always empty; retained for client compatibility Authentication credentials should not be queried |
personnel - Personnel
|
Personnel record linked to this user |
phone - String
|
Phone number |
publicId - Int!
|
Public numeric identifier |
resolvedLocale - LanguageTag!
|
Locale resolved from the user's own preference, falling back to the group default |
resolvedTimezone - String
|
Timezone resolved from the user's own preference, falling back to the group default |
role - Role!
|
Assigned permission role |
roleId - HashedId!
|
Role identifier |
roleKey - RoleKey!
|
Role key |
services - [JSON!]
|
Service packages assigned to this user that define their available maintenance workflows No implementation for this field |
settings - JSON!
|
Configuration settings |
stripeSubscriptionId - String
|
Stripe subscription identifier |
subscription - StripeSubscriptionPlan
|
Billing subscription plan associated with this user's organization |
supportAdmin - Boolean!
|
Support admin Use "isSupportAdmin" instead |
teams - [Team!]!
|
Team assigned to this user |
Arguments
|
|
timezone - String
|
Timezone identifier |
toolsenseAdmin - Boolean!
|
Toolsense admin |
unavailability - [UserUnavailability!]!
|
Unavailability |
Arguments
|
|
updated - Timestamp
|
Timestamp when the entity was last updated |
username - String
|
Username for authentication Use "email" instead |
Example
{
"activated": 1592577642,
"additionalGroups": [Group],
"apiKey": "abc123",
"belongsToGroup": Group,
"belongsToGroupId": HashedId,
"canConvertServiceJotforms": false,
"canEditInspectionsAssignee": true,
"canEditOnlyOwnDocuments": true,
"canEditTicketTags": false,
"canManageIntegrations": false,
"canScheduleDisposition": false,
"canShareViews": true,
"checkPassword": true,
"created": 1592577642,
"dashboard": {},
"dashboardId": HashedId,
"deleted": 1592577642,
"email": "abc123",
"firstname": "xyz789",
"fullName": "xyz789",
"group": Group,
"groupId": HashedId,
"groups": [Group],
"hasAccessToPersonnelManagement": true,
"hasApiKey": false,
"hasMultipleGroups": false,
"id": HashedId,
"image": "abc123",
"info": {},
"isAnyAdmin": true,
"isCostEnabled": false,
"isSSOEnabled": true,
"isServicing": false,
"isSupportAdmin": true,
"label": "xyz789",
"language": HashedId,
"languageCode": "ar_ar",
"languageId": HashedId,
"lastLogin": "2007-12-03T10:15:30Z",
"lastname": "abc123",
"locale": LanguageTag,
"loginInterruptIds": [HashedId],
"loginInterrupts": {},
"notificationIds": [HashedId],
"notifications": [{}],
"password": "abc123",
"personnel": Personnel,
"phone": "xyz789",
"publicId": 987,
"resolvedLocale": LanguageTag,
"resolvedTimezone": "abc123",
"role": Role,
"roleId": HashedId,
"roleKey": "EditorUser",
"services": [{}],
"settings": {},
"stripeSubscriptionId": "xyz789",
"subscription": StripeSubscriptionPlan,
"supportAdmin": false,
"teams": [Team],
"timezone": "abc123",
"toolsenseAdmin": true,
"unavailability": [UserUnavailability],
"updated": 1592577642,
"username": "xyz789"
}
UserBulkAssignAdditionalGroupsInput
Fields
| Input Field | Description |
|---|---|
addGroupIds - [HashedId!]!
|
Group identifiers. Default = [] |
excludeUserIds - [HashedId!]
|
User IDs to exclude from the selection |
filterInput - AssetFilterInput
|
Filter criteria to dynamically select users |
removeGroupIds - [HashedId!]!
|
Group identifiers. Default = [] |
userIds - [HashedId!]
|
Explicit list of user IDs to include in the operation |
Example
{
"addGroupIds": [HashedId],
"excludeUserIds": [HashedId],
"filterInput": AssetFilterInput,
"removeGroupIds": [HashedId],
"userIds": [HashedId]
}
UserBulkAssignRoleInput
Fields
| Input Field | Description |
|---|---|
excludeUserIds - [HashedId!]
|
User IDs to exclude from the selection |
filterInput - AssetFilterInput
|
Filter criteria to dynamically select users |
roleId - HashedId!
|
Role identifier |
userIds - [HashedId!]
|
Explicit list of user IDs to include in the operation |
Example
{
"excludeUserIds": [HashedId],
"filterInput": AssetFilterInput,
"roleId": HashedId,
"userIds": [HashedId]
}
UserBulkSwitchLoginMethodInput
Fields
| Input Field | Description |
|---|---|
activationRoute - String
|
Route of the set-password page in the reset link emailed to users switched to password login |
excludeUserIds - [HashedId!]
|
User IDs to exclude from the selection |
filterInput - AssetFilterInput
|
Filter criteria to dynamically select users |
loginMethod - UserLoginMethodEnum!
|
Login method the users are switched to |
userIds - [HashedId!]
|
Explicit list of user IDs to include in the operation |
Example
{
"activationRoute": "xyz789",
"excludeUserIds": [HashedId],
"filterInput": AssetFilterInput,
"loginMethod": "PASSWORD",
"userIds": [HashedId]
}
UserBulkUpdateChangesInput
Fields
| Input Field | Description |
|---|---|
belongsToGroupId - HashedId
|
Group this record belongs to |
canConvertServiceJotforms - Boolean
|
Whether the admin user can convert and revert Jotform forms |
canEditInspectionsAssignee - Boolean
|
Whether this user can edit the assignee of rule entry events (Inspections) |
canEditOnlyOwnDocuments - Boolean
|
Whether this user can only edit and delete their own documents |
canScheduleDisposition - Boolean
|
Whether the user can schedule work orders on the disposition Gantt |
canShareViews - Boolean
|
Whether the user can share views |
email - String
|
Email address |
firstname - String
|
First name |
hasAccessToPersonnelManagement - Boolean
|
Whether the user can manage the personnel database |
isCostEnabled - Boolean
|
Whether cost enabled |
label - String
|
Display label |
languageId - HashedId
|
Language preference identifier |
lastname - String
|
Last name |
locale - String
|
Locale tag |
phone - String
|
Phone number |
timezone - String
|
Timezone identifier |
Example
{
"belongsToGroupId": HashedId,
"canConvertServiceJotforms": false,
"canEditInspectionsAssignee": true,
"canEditOnlyOwnDocuments": false,
"canScheduleDisposition": false,
"canShareViews": false,
"email": "abc123",
"firstname": "abc123",
"hasAccessToPersonnelManagement": true,
"isCostEnabled": false,
"label": "abc123",
"languageId": HashedId,
"lastname": "xyz789",
"locale": "abc123",
"phone": "xyz789",
"timezone": "xyz789"
}
UserBulkUpdateInput
Fields
| Input Field | Description |
|---|---|
changes - UserBulkUpdateChangesInput!
|
|
excludeUserIds - [HashedId!]
|
User IDs to exclude from the selection |
filterInput - AssetFilterInput
|
Filter criteria to dynamically select users |
userIds - [HashedId!]
|
Explicit list of user IDs to include in the operation |
Example
{
"changes": UserBulkUpdateChangesInput,
"excludeUserIds": [HashedId],
"filterInput": AssetFilterInput,
"userIds": [HashedId]
}
UserColumnEnum
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"activated"
UserExportRequestInput
Description
Data required to request a user list export
Fields
| Input Field | Description |
|---|---|
columnKeys - [UserColumnEnum!]!
|
Columns to include in the export |
filters - [FilterParamsInput]
|
Filter criteria |
search - String
|
Text search query |
Example
{
"columnKeys": ["activated"],
"filters": [FilterParamsInput],
"search": "xyz789"
}
UserLoginMethodEnum
Description
Way a user signs in
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
Example
"PASSWORD"
UserLoginMethodSwitchFailureReasonEnum
Description
Why a user could not be switched between SSO and password login
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
Example
"ACCESS_DENIED"
UserLoginMethodSwitchInput
Description
Users to switch between SSO and password login
Fields
| Input Field | Description |
|---|---|
activationRoute - String
|
Route of the set-password page in the reset link emailed to users switched to password login |
loginMethod - UserLoginMethodEnum!
|
Login method the users are switched to |
password - String
|
Password to set when switching to password login; omitting it emails a set-password link |
userIds - [HashedId!]!
|
Users whose login method is switched |
Example
{
"activationRoute": "xyz789",
"loginMethod": "PASSWORD",
"password": "abc123",
"userIds": [HashedId]
}
UserLoginMethodSwitchResult
Description
Outcome of switching one user between SSO and password login
Fields
| Field Name | Description |
|---|---|
failureReason - UserLoginMethodSwitchFailureReasonEnum
|
Why the user could not be switched, set when status is FAILED |
status - UserLoginMethodSwitchStatusEnum!
|
Whether the user was switched, skipped or failed |
userId - HashedId!
|
User the result belongs to |
Example
{
"failureReason": "ACCESS_DENIED",
"status": "FAILED",
"userId": HashedId
}
UserLoginMethodSwitchStatusEnum
Description
Outcome of switching one user between SSO and password login
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
Example
"FAILED"
UserMassEditFailure
Description
Single user failure entry from a bulk operation
Fields
| Field Name | Description |
|---|---|
reason - UserMassEditFailureReason!
|
Reason the user could not be processed |
userId - HashedId!
|
User ID that failed |
Example
{
"reason": "ADDITIONAL_GROUPS_NOT_FOUND",
"userId": HashedId
}
UserMassEditFailureReason
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"ADDITIONAL_GROUPS_NOT_FOUND"
UserMassEditResult
Description
Summary result of a mass edit operation on users
Fields
| Field Name | Description |
|---|---|
failed - [UserMassEditFailure!]!
|
|
retainedIds - [HashedId!]!
|
Selected ids the user can still edit after the operation; empty after a delete or archive |
skipped - Int!
|
|
succeeded - Int!
|
Example
{
"failed": [UserMassEditFailure],
"retainedIds": [HashedId],
"skipped": 987,
"succeeded": 987
}
UserMassEditSelectionInput
Description
Selection criteria for user mass edit operations
Fields
| Input Field | Description |
|---|---|
excludeUserIds - [HashedId!]
|
User IDs to exclude from the selection |
filterInput - AssetFilterInput
|
Filter criteria to dynamically select users |
userIds - [HashedId!]
|
Explicit list of user IDs to include in the operation |
Example
{
"excludeUserIds": [HashedId],
"filterInput": AssetFilterInput,
"userIds": [HashedId]
}
UserPaginatedResult
Description
Paginated list of users with cursor-based navigation
Fields
| Field Name | Description |
|---|---|
meta - PaginationMeta!
|
Pagination metadata including total count and page info |
rows - [User!]!
|
List of user records for the current page of results |
Example
{
"meta": PaginationMeta,
"rows": [User]
}
UserPublic
Description
Name-only user projection exposed on public roots, without contact details
Example
{
"firstname": "abc123",
"fullName": "xyz789",
"lastname": "xyz789"
}
UtilizationBucket
ViewDisplayMode
Description
Visual layout mode for rendering a saved view: list (table rows), map (geographic positions), Gantt (timeline chart), or tiles (card grid)
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
Example
"GANTT"
ViewEntityEnum
Description
Entity types that support saved views with custom filters and column configurations, such as assets, tickets, asset site assignments, trips, asset events, rule entries, and operational costs
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"ASSET"
Webhook
Description
HTTP callback endpoint that receives notifications when entity changes occur
Fields
| Field Name | Description |
|---|---|
created - Timestamp!
|
Timestamp when the entity was created |
forAssetPackages - Boolean!
|
whether this webhook will be called for asset packages in the given group. |
forAssets - Boolean!
|
whether this webhook will be called for assets in the given group. |
forReservations - Boolean!
|
whether this webhook will be called for reservations in the given group. |
forSites - Boolean!
|
whether this webhook will be called for sites in the given group. |
forTickets - Boolean!
|
whether this webhook will be called for tickets in the given group. |
forWorkOrders - Boolean!
|
whether this webhook will be called for work orders in the given group. |
groupId - HashedId!
|
group to which this webhook applies |
id - HashedId!
|
Unique identifier of the entity |
updated - Timestamp
|
Timestamp when the entity was last updated |
url - String!
|
url of the webhook |
Example
{
"created": 1592577642,
"forAssetPackages": false,
"forAssets": false,
"forReservations": false,
"forSites": false,
"forTickets": true,
"forWorkOrders": false,
"groupId": HashedId,
"id": HashedId,
"updated": 1592577642,
"url": "abc123"
}
WebhookCreateInput
Description
Data required to create a new webhook
Fields
| Input Field | Description |
|---|---|
forAssetPackages - Boolean!
|
whether this webhook will be called for asset packages in the given group. Default = false |
forAssets - Boolean!
|
whether this webhook will be called for assets in the given group. |
forReservations - Boolean!
|
whether this webhook will be called for reservations in the given group. |
forSites - Boolean!
|
whether this webhook will be called for sites in the given group. |
forTickets - Boolean!
|
whether this webhook will be called for tickets in the given group. |
forWorkOrders - Boolean!
|
whether this webhook will be called for work orders in the given group. |
groupId - HashedId!
|
group to which this webhook applies |
url - String!
|
url of the webhook |
Example
{
"forAssetPackages": true,
"forAssets": true,
"forReservations": true,
"forSites": false,
"forTickets": false,
"forWorkOrders": true,
"groupId": HashedId,
"url": "xyz789"
}
WebhookUpdateInput
Description
Fields to update on an existing webhook
Fields
| Input Field | Description |
|---|---|
forAssetPackages - Boolean!
|
whether this webhook will be called for asset packages in the given group. Default = false |
forAssets - Boolean!
|
whether this webhook will be called for assets in the given group. |
forReservations - Boolean!
|
whether this webhook will be called for reservations in the given group. |
forSites - Boolean!
|
whether this webhook will be called for sites in the given group. |
forTickets - Boolean!
|
whether this webhook will be called for tickets in the given group. |
forWorkOrders - Boolean!
|
whether this webhook will be called for work orders in the given group. |
id - HashedId!
|
Unique identifier of the entity |
url - String!
|
url of the webhook |
Example
{
"forAssetPackages": true,
"forAssets": true,
"forReservations": false,
"forSites": false,
"forTickets": false,
"forWorkOrders": false,
"id": HashedId,
"url": "xyz789"
}
WeekdayEnum
Description
Days of the week used to define working hours, schedules, and availability windows
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"Friday"
WhatsappSettings
Description
WhatsApp Business credentials a group tree uses instead of the deployment defaults
Fields
| Field Name | Description |
|---|---|
accessToken - NonEmptyString
|
Access token the group WhatsApp number sends its answers with |
apiUrl - String
|
Graph API base URL used with the group WhatsApp credentials |
appSecret - NonEmptyString
|
Meta app secret that signs the webhooks of the group WhatsApp number |
phoneNumberId - NonEmptyString
|
WhatsApp Business phone number id of the group number |
verifyToken - NonEmptyString
|
Token Meta sends back when it verifies the group webhook URL |
Example
{
"accessToken": "string",
"apiUrl": "xyz789",
"appSecret": "string",
"phoneNumberId": "string",
"verifyToken": "string"
}
WhatsappSettingsInput
Description
Input data for WhatsApp settings
Fields
| Input Field | Description |
|---|---|
accessToken - NonEmptyString
|
Access token the group WhatsApp number sends its answers with |
apiUrl - String
|
Graph API base URL used with the group WhatsApp credentials |
appSecret - NonEmptyString
|
Meta app secret that signs the webhooks of the group WhatsApp number |
phoneNumberId - NonEmptyString
|
WhatsApp Business phone number id of the group number |
verifyToken - NonEmptyString
|
Token Meta sends back when it verifies the group webhook URL |
Example
{
"accessToken": "string",
"apiUrl": "abc123",
"appSecret": "string",
"phoneNumberId": "string",
"verifyToken": "string"
}
WorkOrderAssetCollection
Description
Work order asset collection record
Fields
| Field Name | Description |
|---|---|
assets - [Asset!]!
|
Assets grouped under this work order asset collection Use WorkOrderV2.assets instead. |
widgetHint - String
|
Legacy dashboard widget grouping hint Work order assets are no longer grouped by widget hint. |
workOrderId - HashedId!
|
Work order identifier Legacy work order association surface. Will be removed once all clients migrate to typed work order fields. |
Example
{
"assets": [Asset],
"widgetHint": "xyz789",
"workOrderId": HashedId
}
WorkOrderAssetsAddedHistory
Description
Records when assets are added to a work order
Fields
| Field Name | Description |
|---|---|
assets - [Asset!]!
|
Assets associated with this work order history entry |
comment - WorkOrderComment
|
Comment associated with this work order history entry |
created - Timestamp!
|
Timestamp when this history entry was created |
id - HashedId!
|
Unique identifier of the work order history entry |
trigger - WorkOrderHistoryTrigger!
|
What initiated this history event such as user action or automation |
triggeredByUser - User
|
User who triggered this change, null for automated actions |
triggeredByUserId - HashedId
|
Identifier of the user who triggered this change, null for automated actions |
type - WorkOrderHistoryType!
|
Work order history event type discriminator |
updated - Timestamp
|
Timestamp when this history entry was last updated |
Example
{
"assets": [Asset],
"comment": WorkOrderComment,
"created": 1592577642,
"id": HashedId,
"trigger": "AUTOMATION",
"triggeredByUser": User,
"triggeredByUserId": HashedId,
"type": "ASSETS_ADDED",
"updated": 1592577642
}
WorkOrderAssetsFieldChange
Description
Work order assets field change record
Fields
| Field Name | Description |
|---|---|
addedAssets - [Asset!]!
|
Added assets Use historyV2 instead |
field - WorkOrderHistoryField!
|
Work order field that was changed in this history entry Use historyV2 instead |
removedAssets - [Asset!]!
|
Removed assets Use historyV2 instead |
Example
{
"addedAssets": [Asset],
"field": "ASSETS",
"removedAssets": [Asset]
}
WorkOrderAssetsRemovedHistory
Description
Records when assets are removed from a work order
Fields
| Field Name | Description |
|---|---|
assets - [Asset!]!
|
Assets associated with this work order history entry |
comment - WorkOrderComment
|
Comment associated with this work order history entry |
created - Timestamp!
|
Timestamp when this history entry was created |
id - HashedId!
|
Unique identifier of the work order history entry |
trigger - WorkOrderHistoryTrigger!
|
What initiated this history event such as user action or automation |
triggeredByUser - User
|
User who triggered this change, null for automated actions |
triggeredByUserId - HashedId
|
Identifier of the user who triggered this change, null for automated actions |
type - WorkOrderHistoryType!
|
Work order history event type discriminator |
updated - Timestamp
|
Timestamp when this history entry was last updated |
Example
{
"assets": [Asset],
"comment": WorkOrderComment,
"created": 1592577642,
"id": HashedId,
"trigger": "AUTOMATION",
"triggeredByUser": User,
"triggeredByUserId": HashedId,
"type": "ASSETS_ADDED",
"updated": 1592577642
}
WorkOrderAssigneeAddedHistory
Description
Records when an assignee is added to a work order
Fields
| Field Name | Description |
|---|---|
comment - WorkOrderComment
|
Comment associated with this work order history entry |
created - Timestamp!
|
Timestamp when this history entry was created |
externalEmail - String
|
External email address of the handler, for non-platform users |
group - Group
|
Group involved in this handler change |
groupId - HashedId
|
Identifier of the group involved in this handler change |
groupTicketHandler - GroupTicketHandler
|
Group ticket handler involved in this handler change |
groupTicketHandlerId - HashedId
|
Identifier of the group ticket handler involved in this handler change |
id - HashedId!
|
Unique identifier of the work order history entry |
personnel - PersonnelValue
|
Personnel involved in this handler change if handler is personnel-backed |
personnelId - HashedId
|
Personnel identifier |
team - Team
|
Team involved in this handler change |
teamId - HashedId
|
Identifier of the team involved in this handler change |
trigger - WorkOrderHistoryTrigger!
|
What initiated this history event such as user action or automation |
triggeredByUser - User
|
User who triggered this change, null for automated actions |
triggeredByUserId - HashedId
|
Identifier of the user who triggered this change, null for automated actions |
type - WorkOrderHistoryType!
|
Work order history event type discriminator |
updated - Timestamp
|
Timestamp when this history entry was last updated |
user - User
|
User involved in this handler change |
userId - HashedId
|
Identifier of the user involved in this handler change |
Example
{
"comment": WorkOrderComment,
"created": 1592577642,
"externalEmail": "abc123",
"group": Group,
"groupId": HashedId,
"groupTicketHandler": GroupTicketHandler,
"groupTicketHandlerId": HashedId,
"id": HashedId,
"personnel": PersonnelValue,
"personnelId": HashedId,
"team": Team,
"teamId": HashedId,
"trigger": "AUTOMATION",
"triggeredByUser": User,
"triggeredByUserId": HashedId,
"type": "ASSETS_ADDED",
"updated": 1592577642,
"user": User,
"userId": HashedId
}
WorkOrderAssigneeChangeNotification
Description
Work order assignee change notification data
Fields
| Field Name | Description |
|---|---|
current - ProcessHandler
|
Assignee after the change, null if the assignee was removed |
previous - ProcessHandler
|
Assignee before the change, null if no one was previously assigned |
Example
{
"current": ProcessHandler,
"previous": ProcessHandler
}
WorkOrderAssigneeRemovedHistory
Description
Records when an assignee is removed from a work order
Fields
| Field Name | Description |
|---|---|
comment - WorkOrderComment
|
Comment associated with this work order history entry |
created - Timestamp!
|
Timestamp when this history entry was created |
externalEmail - String
|
External email address of the handler, for non-platform users |
group - Group
|
Group involved in this handler change |
groupId - HashedId
|
Identifier of the group involved in this handler change |
groupTicketHandler - GroupTicketHandler
|
Group ticket handler involved in this handler change |
groupTicketHandlerId - HashedId
|
Identifier of the group ticket handler involved in this handler change |
id - HashedId!
|
Unique identifier of the work order history entry |
personnel - PersonnelValue
|
Personnel involved in this handler change if handler is personnel-backed |
personnelId - HashedId
|
Personnel identifier |
team - Team
|
Team involved in this handler change |
teamId - HashedId
|
Identifier of the team involved in this handler change |
trigger - WorkOrderHistoryTrigger!
|
What initiated this history event such as user action or automation |
triggeredByUser - User
|
User who triggered this change, null for automated actions |
triggeredByUserId - HashedId
|
Identifier of the user who triggered this change, null for automated actions |
type - WorkOrderHistoryType!
|
Work order history event type discriminator |
updated - Timestamp
|
Timestamp when this history entry was last updated |
user - User
|
User involved in this handler change |
userId - HashedId
|
Identifier of the user involved in this handler change |
Example
{
"comment": WorkOrderComment,
"created": 1592577642,
"externalEmail": "abc123",
"group": Group,
"groupId": HashedId,
"groupTicketHandler": GroupTicketHandler,
"groupTicketHandlerId": HashedId,
"id": HashedId,
"personnel": PersonnelValue,
"personnelId": HashedId,
"team": Team,
"teamId": HashedId,
"trigger": "AUTOMATION",
"triggeredByUser": User,
"triggeredByUserId": HashedId,
"type": "ASSETS_ADDED",
"updated": 1592577642,
"user": User,
"userId": HashedId
}
WorkOrderAttachablePersonnel
Description
Legacy work order attachable personnel surface, superseded by the typed work order handler system
Fields
| Field Name | Description |
|---|---|
displayName - String!
|
Formatted display name of the personnel member Use typed work order handler fields instead. |
groupId - HashedId
|
ID of the group this personnel member belongs to Use typed work order handler fields instead. |
teamId - HashedId
|
ID of the team assigned as personnel on this work order Use typed work order handler fields instead. |
userId - HashedId
|
ID of the user assigned as personnel on this work order Use typed work order handler fields instead. |
Example
{
"displayName": "abc123",
"groupId": HashedId,
"teamId": HashedId,
"userId": HashedId
}
WorkOrderAttachableWorker
Description
Worker that can be attached to a work order
Example
{
"email": "abc123",
"firstname": "xyz789",
"id": HashedId,
"lastname": "abc123"
}
WorkOrderAttachableWorkerPaginatedResult
Description
Paginated list of workers attachable to a work order
Fields
| Field Name | Description |
|---|---|
meta - PaginationMeta!
|
Pagination metadata including total count and page info |
rows - [WorkOrderAttachableWorker!]!
|
List of records for the current page |
Example
{
"meta": PaginationMeta,
"rows": [WorkOrderAttachableWorker]
}
WorkOrderColumnEnum
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
"assetPublicId"
WorkOrderComment
Description
An append-only comment thread entry on a work order, optionally with attachments
Fields
| Field Name | Description |
|---|---|
attachments - [Document!]!
|
Documents attached to this work order comment |
content - String!
|
Comment body; may be empty when attachments are present |
created - Timestamp!
|
Timestamp when the entity was created |
createdByGroupId - HashedId!
|
Group this comment was created under |
createdByUser - User
|
User who authored the comment; null for system-generated comments |
createdByUserId - HashedId
|
User who authored the comment; null for system-generated comments |
deleted - Timestamp
|
Soft deletion timestamp, null if active |
history - [WorkOrderCommentHistory!]!
|
All content revisions for this work order comment |
id - HashedId!
|
Unique identifier of the entity |
internal - Boolean!
|
Whether visible only to internal team members |
updated - Timestamp
|
Timestamp when the entity was last updated |
workOrderId - HashedId!
|
Work order this comment belongs to |
Example
{
"attachments": [Document],
"content": "xyz789",
"created": 1592577642,
"createdByGroupId": HashedId,
"createdByUser": User,
"createdByUserId": HashedId,
"deleted": 1592577642,
"history": [WorkOrderCommentHistory],
"id": HashedId,
"internal": false,
"updated": 1592577642,
"workOrderId": HashedId
}
WorkOrderCommentAddedHistory
Description
Records when a comment is added to a work order
Fields
| Field Name | Description |
|---|---|
comment - WorkOrderComment
|
Comment associated with this history entry |
created - Timestamp!
|
Timestamp when this history entry was created |
id - HashedId!
|
Unique identifier of the work order history entry |
trigger - WorkOrderHistoryTrigger!
|
What initiated this history event such as user action or automation |
triggeredByUser - User
|
User who triggered this change, null for automated actions |
triggeredByUserId - HashedId
|
Identifier of the user who triggered this change, null for automated actions |
type - WorkOrderHistoryType!
|
Work order history event type discriminator |
updated - Timestamp
|
Timestamp when this history entry was last updated |
Example
{
"comment": WorkOrderComment,
"created": 1592577642,
"id": HashedId,
"trigger": "AUTOMATION",
"triggeredByUser": User,
"triggeredByUserId": HashedId,
"type": "ASSETS_ADDED",
"updated": 1592577642
}
WorkOrderCommentCreateInput
Description
Data required to create a comment on a work order
Fields
| Input Field | Description |
|---|---|
attachmentDocumentIds - [HashedId!]!
|
Identifiers of pre-uploaded documents to attach to the comment |
content - String!
|
Comment body; may be empty when attachments are present |
internal - Boolean
|
Whether this comment is visible only to internal team members |
uploadIds - [String!]
|
Opaque S3 upload identifiers to promote and attach to the comment |
workOrderId - HashedId!
|
Work order this comment belongs to |
Example
{
"attachmentDocumentIds": [HashedId],
"content": "xyz789",
"internal": false,
"uploadIds": ["abc123"],
"workOrderId": HashedId
}
WorkOrderCommentHistory
Description
A version of a work order comment body
Fields
| Field Name | Description |
|---|---|
content - String!
|
Comment body in this version |
created - Timestamp!
|
Timestamp when the entity was created |
createdByGroupId - HashedId!
|
Group this comment version was created under |
createdByUser - User
|
User who created this comment version |
createdByUserId - HashedId
|
User who created this comment version |
id - HashedId!
|
Unique identifier of the entity |
updated - Timestamp
|
Timestamp when the entity was last updated |
workOrderCommentId - HashedId!
|
Parent work order comment identifier |
Example
{
"content": "xyz789",
"created": 1592577642,
"createdByGroupId": HashedId,
"createdByUser": User,
"createdByUserId": HashedId,
"id": HashedId,
"updated": 1592577642,
"workOrderCommentId": HashedId
}
WorkOrderCommentRemovedHistory
Description
Records when a comment is removed from a work order
Fields
| Field Name | Description |
|---|---|
comment - WorkOrderComment
|
Comment associated with this history entry |
created - Timestamp!
|
Timestamp when this history entry was created |
id - HashedId!
|
Unique identifier of the work order history entry |
trigger - WorkOrderHistoryTrigger!
|
What initiated this history event such as user action or automation |
triggeredByUser - User
|
User who triggered this change, null for automated actions |
triggeredByUserId - HashedId
|
Identifier of the user who triggered this change, null for automated actions |
type - WorkOrderHistoryType!
|
Work order history event type discriminator |
updated - Timestamp
|
Timestamp when this history entry was last updated |
Example
{
"comment": WorkOrderComment,
"created": 1592577642,
"id": HashedId,
"trigger": "AUTOMATION",
"triggeredByUser": User,
"triggeredByUserId": HashedId,
"type": "ASSETS_ADDED",
"updated": 1592577642
}
WorkOrderCommentUpdateInput
Description
Fields to update on an existing work order comment
Fields
| Input Field | Description |
|---|---|
attachmentDocumentIds - [HashedId!]
|
Identifiers of pre-uploaded documents to attach to the comment |
content - String
|
Comment body; may be empty when attachments are present |
documentsIdsToDelete - [HashedId!]
|
Attached documents to remove |
internal - Boolean
|
Whether this comment is visible only to internal team members |
uploadIds - [String!]
|
Opaque S3 upload identifiers to promote and attach to the comment |
Example
{
"attachmentDocumentIds": [HashedId],
"content": "abc123",
"documentsIdsToDelete": [HashedId],
"internal": false,
"uploadIds": ["xyz789"]
}
WorkOrderCommentUpdatedHistory
Description
Records when a work order comment is updated
Fields
| Field Name | Description |
|---|---|
comment - WorkOrderComment
|
Comment associated with this history entry |
created - Timestamp!
|
Timestamp when this history entry was created |
id - HashedId!
|
Unique identifier of the work order history entry |
trigger - WorkOrderHistoryTrigger!
|
What initiated this history event such as user action or automation |
triggeredByUser - User
|
User who triggered this change, null for automated actions |
triggeredByUserId - HashedId
|
Identifier of the user who triggered this change, null for automated actions |
type - WorkOrderHistoryType!
|
Work order history event type discriminator |
updated - Timestamp
|
Timestamp when this history entry was last updated |
Example
{
"comment": WorkOrderComment,
"created": 1592577642,
"id": HashedId,
"trigger": "AUTOMATION",
"triggeredByUser": User,
"triggeredByUserId": HashedId,
"type": "ASSETS_ADDED",
"updated": 1592577642
}
WorkOrderConvertedFromTicketHistory
Description
Records when a work order is created by converting an existing ticket
Fields
| Field Name | Description |
|---|---|
comment - WorkOrderComment
|
Comment associated with this work order history entry |
convertedFromTicket - Ticket
|
Ticket this work order was converted from |
convertedFromTicketId - HashedId
|
Identifier of the ticket this work order was converted from |
created - Timestamp!
|
Timestamp when this history entry was created |
id - HashedId!
|
Unique identifier of the work order history entry |
trigger - WorkOrderHistoryTrigger!
|
What initiated this history event such as user action or automation |
triggeredByUser - User
|
User who triggered this change, null for automated actions |
triggeredByUserId - HashedId
|
Identifier of the user who triggered this change, null for automated actions |
type - WorkOrderHistoryType!
|
Work order history event type discriminator |
updated - Timestamp
|
Timestamp when this history entry was last updated |
Example
{
"comment": WorkOrderComment,
"convertedFromTicket": Ticket,
"convertedFromTicketId": HashedId,
"created": 1592577642,
"id": HashedId,
"trigger": "AUTOMATION",
"triggeredByUser": User,
"triggeredByUserId": HashedId,
"type": "ASSETS_ADDED",
"updated": 1592577642
}
WorkOrderCost
Description
Work order cost record
Fields
| Field Name | Description |
|---|---|
costType - WorkOrderCostType!
|
What type of cost kind is represented by this object |
currency - Currency!
|
Currency of the work order cost |
id - HashedId!
|
Unique identifier of this work order association record Legacy work order association surface. Will be removed once all clients migrate to typed work order fields. |
valueCents - Int!
|
Amount of the work order cost |
widgetHint - String
|
Legacy dashboard widget grouping hint Work order costs are no longer grouped by widget hint. |
workOrderId - HashedId!
|
Work order identifier Legacy work order association surface. Will be removed once all clients migrate to typed work order fields. |
Example
{
"costType": "DAILY_RATE",
"currency": "AED",
"id": HashedId,
"valueCents": 123,
"widgetHint": "xyz789",
"workOrderId": HashedId
}
WorkOrderCostAddedHistory
Description
Records when a cost entry is added to a work order
Fields
| Field Name | Description |
|---|---|
comment - WorkOrderComment
|
Comment associated with this work order history entry |
cost - Cost!
|
Cost added to the work order |
costId - HashedId!
|
Cost identifier |
created - Timestamp!
|
Timestamp when this history entry was created |
id - HashedId!
|
Unique identifier of the work order history entry |
trigger - WorkOrderHistoryTrigger!
|
What initiated this history event such as user action or automation |
triggeredByUser - User
|
User who triggered this change, null for automated actions |
triggeredByUserId - HashedId
|
Identifier of the user who triggered this change, null for automated actions |
type - WorkOrderHistoryType!
|
Work order history event type discriminator |
updated - Timestamp
|
Timestamp when this history entry was last updated |
Example
{
"comment": WorkOrderComment,
"cost": Cost,
"costId": HashedId,
"created": 1592577642,
"id": HashedId,
"trigger": "AUTOMATION",
"triggeredByUser": User,
"triggeredByUserId": HashedId,
"type": "ASSETS_ADDED",
"updated": 1592577642
}
WorkOrderCostCenter
Description
Work order cost center option
Fields
| Field Name | Description |
|---|---|
value - String!
|
Cost center value |
Example
{"value": "abc123"}
WorkOrderCostCenterPaginatedResult
Description
Paginated list of work order cost centers
Fields
| Field Name | Description |
|---|---|
meta - PaginationMeta!
|
Pagination metadata including total count and page info |
rows - [WorkOrderCostCenter!]!
|
List of records for the current page |
Example
{
"meta": PaginationMeta,
"rows": [WorkOrderCostCenter]
}
WorkOrderCostCenterUpdatedHistory
Description
Records when the cost center of a work order is changed
Fields
| Field Name | Description |
|---|---|
comment - WorkOrderComment
|
Comment associated with this work order history entry |
created - Timestamp!
|
Timestamp when this history entry was created |
id - HashedId!
|
Unique identifier of the work order history entry |
newCostCenter - String
|
Cost center the work order was changed to |
oldCostCenter - String
|
Cost center the work order was changed from |
trigger - WorkOrderHistoryTrigger!
|
What initiated this history event such as user action or automation |
triggeredByUser - User
|
User who triggered this change, null for automated actions |
triggeredByUserId - HashedId
|
Identifier of the user who triggered this change, null for automated actions |
type - WorkOrderHistoryType!
|
Work order history event type discriminator |
updated - Timestamp
|
Timestamp when this history entry was last updated |
Example
{
"comment": WorkOrderComment,
"created": 1592577642,
"id": HashedId,
"newCostCenter": "abc123",
"oldCostCenter": "xyz789",
"trigger": "AUTOMATION",
"triggeredByUser": User,
"triggeredByUserId": HashedId,
"type": "ASSETS_ADDED",
"updated": 1592577642
}
WorkOrderCostInput
Description
Input data specifying cost details for a work order
Fields
| Input Field | Description |
|---|---|
costType - WorkOrderCostType!
|
What type of cost kind is represented by this object |
currency - Currency!
|
Currency of the work order cost |
valueCents - Int!
|
Amount of the work order cost |
Example
{"costType": "DAILY_RATE", "currency": "AED", "valueCents": 123}
WorkOrderCostRemovedHistory
Description
Records when a cost entry is removed from a work order
Fields
| Field Name | Description |
|---|---|
comment - WorkOrderComment
|
Comment associated with this work order history entry |
cost - Cost!
|
Cost removed from the work order |
costId - HashedId!
|
Cost identifier |
created - Timestamp!
|
Timestamp when this history entry was created |
id - HashedId!
|
Unique identifier of the work order history entry |
trigger - WorkOrderHistoryTrigger!
|
What initiated this history event such as user action or automation |
triggeredByUser - User
|
User who triggered this change, null for automated actions |
triggeredByUserId - HashedId
|
Identifier of the user who triggered this change, null for automated actions |
type - WorkOrderHistoryType!
|
Work order history event type discriminator |
updated - Timestamp
|
Timestamp when this history entry was last updated |
Example
{
"comment": WorkOrderComment,
"cost": Cost,
"costId": HashedId,
"created": 1592577642,
"id": HashedId,
"trigger": "AUTOMATION",
"triggeredByUser": User,
"triggeredByUserId": HashedId,
"type": "ASSETS_ADDED",
"updated": 1592577642
}
WorkOrderCostStoredHistory
WorkOrderCostType
Description
Cost calculation methods for work orders, such as daily rate billing
Values
| Enum Value | Description |
|---|---|
|
|
Calculates work order cost from a configured daily rate |
Example
"DAILY_RATE"
WorkOrderCreateInput
Description
Data required to create a new work order
Fields
| Input Field | Description |
|---|---|
assetIds - [HashedId!]
|
Asset identifiers to assign to the work order on creation |
costCenter - String
|
Accounting cost center for financial allocation |
customerName - String
|
Customer name |
description - TranslationInput
|
Localised description of the work order |
endDate - DateTime!
|
End date of the period |
idempotencyKey - String
|
|
locations - [WorkOrderLocationInput!]
|
Locations to assign to the work order on creation |
procedureTemplateId - HashedId
|
Procedure template identifier |
siteId - HashedId
|
Site identifier |
sourceTicketId - HashedId
|
Source ticket identifier |
startDate - DateTime!
|
Start date of the period |
status - WorkOrderStatus!
|
Current operational status. Default = DRAFT |
title - TranslationInput
|
Localised title of the work order |
Example
{
"assetIds": [HashedId],
"costCenter": "xyz789",
"customerName": "xyz789",
"description": TranslationInput,
"endDate": "2007-12-03T10:15:30Z",
"idempotencyKey": "xyz789",
"locations": [WorkOrderLocationInput],
"procedureTemplateId": HashedId,
"siteId": HashedId,
"sourceTicketId": HashedId,
"startDate": "2007-12-03T10:15:30Z",
"status": "CANCELLED",
"title": TranslationInput
}
WorkOrderCreatedHistory
Description
Records when a work order is created
Fields
| Field Name | Description |
|---|---|
comment - WorkOrderComment
|
Comment associated with this work order history entry |
created - Timestamp!
|
Timestamp when this history entry was created |
id - HashedId!
|
Unique identifier of the work order history entry |
trigger - WorkOrderHistoryTrigger!
|
What initiated this history event such as user action or automation |
triggeredByUser - User
|
User who triggered this change, null for automated actions |
triggeredByUserId - HashedId
|
Identifier of the user who triggered this change, null for automated actions |
type - WorkOrderHistoryType!
|
Work order history event type discriminator |
updated - Timestamp
|
Timestamp when this history entry was last updated |
Example
{
"comment": WorkOrderComment,
"created": 1592577642,
"id": HashedId,
"trigger": "AUTOMATION",
"triggeredByUser": User,
"triggeredByUserId": HashedId,
"type": "ASSETS_ADDED",
"updated": 1592577642
}
WorkOrderCustomerSignature
Description
Customer signature captured on completion of a work order
Fields
| Field Name | Description |
|---|---|
capturedByUserId - HashedId
|
User who captured the signature on behalf of the customer |
document - Document
|
Document containing the captured signature image |
documentId - HashedId!
|
Document containing the captured signature image |
signedAt - DateTime!
|
Moment the signature was captured |
signerName - String!
|
Name supplied by the customer when signing |
workOrderId - HashedId!
|
Work order the customer signature belongs to |
Example
{
"capturedByUserId": HashedId,
"document": Document,
"documentId": HashedId,
"signedAt": "2007-12-03T10:15:30Z",
"signerName": "xyz789",
"workOrderId": HashedId
}
WorkOrderCustomerSignatureCaptureInput
Description
Data required to capture a customer signature on a work order
Example
{
"signatureDocumentId": HashedId,
"signerName": "xyz789",
"uploadIds": ["abc123"]
}
WorkOrderCustomerSignatureCapturedHistory
Description
Records when a work order customer signature is captured
Fields
| Field Name | Description |
|---|---|
comment - WorkOrderComment
|
Comment associated with this work order history entry |
created - Timestamp!
|
Timestamp when this history entry was created |
id - HashedId!
|
Unique identifier of the work order history entry |
trigger - WorkOrderHistoryTrigger!
|
What initiated this history event such as user action or automation |
triggeredByUser - User
|
User who triggered this change, null for automated actions |
triggeredByUserId - HashedId
|
Identifier of the user who triggered this change, null for automated actions |
type - WorkOrderHistoryType!
|
Work order history event type discriminator |
updated - Timestamp
|
Timestamp when this history entry was last updated |
Example
{
"comment": WorkOrderComment,
"created": 1592577642,
"id": HashedId,
"trigger": "AUTOMATION",
"triggeredByUser": User,
"triggeredByUserId": HashedId,
"type": "ASSETS_ADDED",
"updated": 1592577642
}
WorkOrderCustomerSignatureVoidedHistory
Description
Records when a work order customer signature is voided
Fields
| Field Name | Description |
|---|---|
comment - WorkOrderComment
|
Comment associated with this work order history entry |
created - Timestamp!
|
Timestamp when this history entry was created |
id - HashedId!
|
Unique identifier of the work order history entry |
trigger - WorkOrderHistoryTrigger!
|
What initiated this history event such as user action or automation |
triggeredByUser - User
|
User who triggered this change, null for automated actions |
triggeredByUserId - HashedId
|
Identifier of the user who triggered this change, null for automated actions |
type - WorkOrderHistoryType!
|
Work order history event type discriminator |
updated - Timestamp
|
Timestamp when this history entry was last updated |
Example
{
"comment": WorkOrderComment,
"created": 1592577642,
"id": HashedId,
"trigger": "AUTOMATION",
"triggeredByUser": User,
"triggeredByUserId": HashedId,
"type": "ASSETS_ADDED",
"updated": 1592577642
}
WorkOrderDailyRateFieldChange
Description
Work order daily rate field change data
Fields
| Field Name | Description |
|---|---|
currentDailyRate - WorkOrderCostStoredHistory
|
Current daily rate Use historyV2 instead |
field - WorkOrderHistoryField!
|
Work order field that was changed in this history entry Use historyV2 instead |
previousDailyRate - WorkOrderCostStoredHistory
|
Previous daily rate Use historyV2 instead |
Example
{
"currentDailyRate": WorkOrderCostStoredHistory,
"field": "ASSETS",
"previousDailyRate": WorkOrderCostStoredHistory
}
WorkOrderDailyRateUpdatedHistory
Description
Records when the daily rate of a work order is changed
Fields
| Field Name | Description |
|---|---|
comment - WorkOrderComment
|
Comment associated with this work order history entry |
created - Timestamp!
|
Timestamp when this history entry was created |
id - HashedId!
|
Unique identifier of the work order history entry |
newDailyRate - Float
|
Daily rate the work order was changed to |
newDailyRateCurrency - Currency
|
Currency of the new daily rate |
oldDailyRate - Float
|
Daily rate the work order was changed from |
oldDailyRateCurrency - Currency
|
Currency of the previous daily rate |
trigger - WorkOrderHistoryTrigger!
|
What initiated this history event such as user action or automation |
triggeredByUser - User
|
User who triggered this change, null for automated actions |
triggeredByUserId - HashedId
|
Identifier of the user who triggered this change, null for automated actions |
type - WorkOrderHistoryType!
|
Work order history event type discriminator |
updated - Timestamp
|
Timestamp when this history entry was last updated |
Example
{
"comment": WorkOrderComment,
"created": 1592577642,
"id": HashedId,
"newDailyRate": 987.65,
"newDailyRateCurrency": "AED",
"oldDailyRate": 987.65,
"oldDailyRateCurrency": "AED",
"trigger": "AUTOMATION",
"triggeredByUser": User,
"triggeredByUserId": HashedId,
"type": "ASSETS_ADDED",
"updated": 1592577642
}
WorkOrderDateFieldChange
Description
Work order date field change record
Fields
| Field Name | Description |
|---|---|
currentDate - Timestamp!
|
Current date Use historyV2 instead |
field - WorkOrderHistoryField!
|
Work order field that was changed in this history entry Use historyV2 instead |
previousDate - Timestamp
|
Previous date Use historyV2 instead |
Example
{"currentDate": 1592577642, "field": "ASSETS", "previousDate": 1592577642}
WorkOrderDatesInput
Description
Input for work order date range and identification
Example
{
"endDate": "2007-12-03T10:15:30Z",
"id": HashedId,
"startDate": "2007-12-03T10:15:30Z"
}
WorkOrderDescriptionUpdatedHistory
Description
Records when the description of a work order is changed
Fields
| Field Name | Description |
|---|---|
comment - WorkOrderComment
|
Comment associated with this work order history entry |
created - Timestamp!
|
Timestamp when this history entry was created |
id - HashedId!
|
Unique identifier of the work order history entry |
trigger - WorkOrderHistoryTrigger!
|
What initiated this history event such as user action or automation |
triggeredByUser - User
|
User who triggered this change, null for automated actions |
triggeredByUserId - HashedId
|
Identifier of the user who triggered this change, null for automated actions |
type - WorkOrderHistoryType!
|
Work order history event type discriminator |
updated - Timestamp
|
Timestamp when this history entry was last updated |
Example
{
"comment": WorkOrderComment,
"created": 1592577642,
"id": HashedId,
"trigger": "AUTOMATION",
"triggeredByUser": User,
"triggeredByUserId": HashedId,
"type": "ASSETS_ADDED",
"updated": 1592577642
}
WorkOrderEndDateUpdatedHistory
Description
Records when the end date of a work order is changed
Fields
| Field Name | Description |
|---|---|
comment - WorkOrderComment
|
Comment associated with this work order history entry |
created - Timestamp!
|
Timestamp when this history entry was created |
id - HashedId!
|
Unique identifier of the work order history entry |
newDate - DateTime
|
End date the work order was changed to |
oldDate - DateTime
|
End date the work order was changed from |
trigger - WorkOrderHistoryTrigger!
|
What initiated this history event such as user action or automation |
triggeredByUser - User
|
User who triggered this change, null for automated actions |
triggeredByUserId - HashedId
|
Identifier of the user who triggered this change, null for automated actions |
type - WorkOrderHistoryType!
|
Work order history event type discriminator |
updated - Timestamp
|
Timestamp when this history entry was last updated |
Example
{
"comment": WorkOrderComment,
"created": 1592577642,
"id": HashedId,
"newDate": "2007-12-03T10:15:30Z",
"oldDate": "2007-12-03T10:15:30Z",
"trigger": "AUTOMATION",
"triggeredByUser": User,
"triggeredByUserId": HashedId,
"type": "ASSETS_ADDED",
"updated": 1592577642
}
WorkOrderExportRequestInput
Description
Data required to request a work order list export
Fields
| Input Field | Description |
|---|---|
columnKeys - [WorkOrderColumnEnum!]
|
Subset of exportable columns to include, in the requested order. Defaults to every exportable column when omitted |
costTypeColumnKeys - [String]
|
Cost type column keys to include, in the requested order. Defaults to every accessible cost type when columnKeys is also omitted; no cost type columns when columnKeys is provided without this field |
filters - [FilterParamsInput]
|
Filter criteria |
search - String
|
Text search query for filtering results |
Example
{
"columnKeys": ["assetPublicId"],
"costTypeColumnKeys": ["xyz789"],
"filters": [FilterParamsInput],
"search": "abc123"
}
WorkOrderFieldChange
Example
WorkOrderAssetsFieldChange
WorkOrderHandlerExternalEmail
Description
Work order handler external email record
Fields
| Field Name | Description |
|---|---|
created - Timestamp!
|
Timestamp when the entity was created |
deleted - Timestamp
|
Timestamp when this handler was removed from the work order, null if active |
email - String!
|
Email address |
id - HashedId!
|
Unique identifier of the entity |
isNotifiable - Boolean!
|
Whether the handler receives notifications for work order updates |
isRemovable - Boolean!
|
Whether the handler can be removed from the work order |
role - WorkOrderHandlerRoleEnum!
|
Assigned permission role |
updated - Timestamp
|
Timestamp when the entity was last updated |
widgetHint - String
|
Legacy work order personnel widget grouping hint Legacy work order personnel widget grouping hint. Typed work order handlers no longer persist it. |
workOrderId - HashedId!
|
Work order identifier |
Example
{
"created": 1592577642,
"deleted": 1592577642,
"email": "xyz789",
"id": HashedId,
"isNotifiable": true,
"isRemovable": false,
"role": "ASSIGNEE",
"updated": 1592577642,
"widgetHint": "xyz789",
"workOrderId": HashedId
}
WorkOrderHandlerExternalEmailCreateInput
WorkOrderHandlerGroup
Description
Work order handler group record
Fields
| Field Name | Description |
|---|---|
created - Timestamp!
|
Timestamp when the entity was created |
deleted - Timestamp
|
Timestamp when this handler was removed from the work order, null if active |
group - Group!
|
Group this work order handler group belongs to |
groupId - HashedId!
|
Group identifier |
id - HashedId!
|
Unique identifier of the entity |
isNotifiable - Boolean!
|
Whether the handler receives notifications for work order updates |
isRemovable - Boolean!
|
Whether the handler can be removed from the work order |
role - WorkOrderHandlerRoleEnum!
|
Assigned permission role |
updated - Timestamp
|
Timestamp when the entity was last updated |
widgetHint - String
|
Legacy work order personnel widget grouping hint Legacy work order personnel widget grouping hint. Typed work order handlers no longer persist it. |
workOrderId - HashedId!
|
Work order identifier |
Example
{
"created": 1592577642,
"deleted": 1592577642,
"group": Group,
"groupId": HashedId,
"id": HashedId,
"isNotifiable": false,
"isRemovable": false,
"role": "ASSIGNEE",
"updated": 1592577642,
"widgetHint": "xyz789",
"workOrderId": HashedId
}
WorkOrderHandlerGroupCreateInput
Description
Data required to assign a group as a work order handler
Fields
| Input Field | Description |
|---|---|
groupId - HashedId!
|
Group identifier |
isNotifiable - Boolean!
|
Whether the group receives notifications for work order updates |
role - WorkOrderHandlerRoleEnum!
|
Assigned permission role |
workOrderId - HashedId!
|
Work order identifier |
Example
{
"groupId": HashedId,
"isNotifiable": true,
"role": "ASSIGNEE",
"workOrderId": HashedId
}
WorkOrderHandlerGroupTicketHandler
Description
A group-level ticket handler configuration assigned to a specific work order
Fields
| Field Name | Description |
|---|---|
created - Timestamp!
|
Timestamp when the entity was created |
deleted - Timestamp
|
Timestamp when this handler was removed from the work order, null if active |
groupTicketHandler - GroupTicketHandler!
|
Group ticket handler attached to this work order handler row |
groupTicketHandlerId - HashedId!
|
Group ticket handler identifier |
id - HashedId!
|
Unique identifier of the entity |
isNotifiable - Boolean!
|
Whether the handler receives notifications for work order updates |
isRemovable - Boolean!
|
Whether the handler can be removed from the work order |
role - WorkOrderHandlerRoleEnum!
|
Assigned permission role |
updated - Timestamp
|
Timestamp when the entity was last updated |
widgetHint - String
|
Legacy work order personnel widget grouping hint Legacy work order personnel widget grouping hint. Typed work order handlers no longer persist it. |
workOrderId - HashedId!
|
Work order identifier |
Example
{
"created": 1592577642,
"deleted": 1592577642,
"groupTicketHandler": GroupTicketHandler,
"groupTicketHandlerId": HashedId,
"id": HashedId,
"isNotifiable": false,
"isRemovable": false,
"role": "ASSIGNEE",
"updated": 1592577642,
"widgetHint": "abc123",
"workOrderId": HashedId
}
WorkOrderHandlerGroupTicketHandlerCreateInput
Description
Data required to assign a group ticket handler as a work order handler
Fields
| Input Field | Description |
|---|---|
groupTicketHandlerId - HashedId!
|
Group ticket handler identifier |
isNotifiable - Boolean!
|
Whether the handler receives notifications for work order updates |
role - WorkOrderHandlerRoleEnum!
|
Assigned permission role |
workOrderId - HashedId!
|
Work order identifier |
Example
{
"groupTicketHandlerId": HashedId,
"isNotifiable": false,
"role": "ASSIGNEE",
"workOrderId": HashedId
}
WorkOrderHandlerGroupTicketHandlerUpdateInput
Description
Fields to update on an existing work order handler group ticket handler
Fields
| Input Field | Description |
|---|---|
isNotifiable - Boolean!
|
Whether the handler receives notifications for work order updates |
Example
{"isNotifiable": false}
WorkOrderHandlerHistory
Description
Work order history entries that involve assignee, worker, or viewer handler changes
Fields
| Field Name | Description |
|---|---|
comment - WorkOrderComment
|
Comment associated with this work order history entry |
created - Timestamp!
|
Timestamp when this history entry was created |
externalEmail - String
|
External email address of the handler, for non-platform users |
group - Group
|
Group involved in this handler change |
groupId - HashedId
|
Identifier of the group involved in this handler change |
groupTicketHandler - GroupTicketHandler
|
Group ticket handler involved in this handler change |
groupTicketHandlerId - HashedId
|
Identifier of the group ticket handler involved in this handler change |
id - HashedId!
|
Unique identifier of the work order history entry |
personnel - PersonnelValue
|
Personnel involved in this handler change if handler is personnel-backed |
team - Team
|
Team involved in this handler change |
teamId - HashedId
|
Identifier of the team involved in this handler change |
trigger - WorkOrderHistoryTrigger!
|
What initiated this history event such as user action or automation |
triggeredByUser - User
|
User who triggered this change, null for automated actions |
triggeredByUserId - HashedId
|
Identifier of the user who triggered this change, null for automated actions |
type - WorkOrderHistoryType!
|
Discriminator indicating the specific type of work order change recorded |
updated - Timestamp
|
Timestamp when this history entry was last updated |
user - User
|
User involved in this handler change |
userId - HashedId
|
Identifier of the user involved in this handler change |
Possible Types
| WorkOrderHandlerHistory Types |
|---|
Example
{
"comment": WorkOrderComment,
"created": 1592577642,
"externalEmail": "xyz789",
"group": Group,
"groupId": HashedId,
"groupTicketHandler": GroupTicketHandler,
"groupTicketHandlerId": HashedId,
"id": HashedId,
"personnel": PersonnelValue,
"team": Team,
"teamId": HashedId,
"trigger": "AUTOMATION",
"triggeredByUser": User,
"triggeredByUserId": HashedId,
"type": "ASSETS_ADDED",
"updated": 1592577642,
"user": User,
"userId": HashedId
}
WorkOrderHandlerNotificationsDisabledHistory
Description
Records when notifications are disabled for a work order handler
Fields
| Field Name | Description |
|---|---|
comment - WorkOrderComment
|
Comment associated with this work order history entry |
created - Timestamp!
|
Timestamp when this history entry was created |
externalEmail - String
|
External email address of the handler, for non-platform users |
group - Group
|
Group involved in this handler change |
groupId - HashedId
|
Identifier of the group involved in this handler change |
groupTicketHandler - GroupTicketHandler
|
Group ticket handler involved in this handler change |
groupTicketHandlerId - HashedId
|
Identifier of the group ticket handler involved in this handler change |
id - HashedId!
|
Unique identifier of the work order history entry |
personnel - PersonnelValue
|
Personnel involved in this handler change if handler is personnel-backed |
personnelId - HashedId
|
Personnel identifier |
team - Team
|
Team involved in this handler change |
teamId - HashedId
|
Identifier of the team involved in this handler change |
trigger - WorkOrderHistoryTrigger!
|
What initiated this history event such as user action or automation |
triggeredByUser - User
|
User who triggered this change, null for automated actions |
triggeredByUserId - HashedId
|
Identifier of the user who triggered this change, null for automated actions |
type - WorkOrderHistoryType!
|
Work order history event type discriminator |
updated - Timestamp
|
Timestamp when this history entry was last updated |
user - User
|
User involved in this handler change |
userId - HashedId
|
Identifier of the user involved in this handler change |
Example
{
"comment": WorkOrderComment,
"created": 1592577642,
"externalEmail": "xyz789",
"group": Group,
"groupId": HashedId,
"groupTicketHandler": GroupTicketHandler,
"groupTicketHandlerId": HashedId,
"id": HashedId,
"personnel": PersonnelValue,
"personnelId": HashedId,
"team": Team,
"teamId": HashedId,
"trigger": "AUTOMATION",
"triggeredByUser": User,
"triggeredByUserId": HashedId,
"type": "ASSETS_ADDED",
"updated": 1592577642,
"user": User,
"userId": HashedId
}
WorkOrderHandlerNotificationsEnabledHistory
Description
Records when notifications are enabled for a work order handler
Fields
| Field Name | Description |
|---|---|
comment - WorkOrderComment
|
Comment associated with this work order history entry |
created - Timestamp!
|
Timestamp when this history entry was created |
externalEmail - String
|
External email address of the handler, for non-platform users |
group - Group
|
Group involved in this handler change |
groupId - HashedId
|
Identifier of the group involved in this handler change |
groupTicketHandler - GroupTicketHandler
|
Group ticket handler involved in this handler change |
groupTicketHandlerId - HashedId
|
Identifier of the group ticket handler involved in this handler change |
id - HashedId!
|
Unique identifier of the work order history entry |
personnel - PersonnelValue
|
Personnel involved in this handler change if handler is personnel-backed |
personnelId - HashedId
|
Personnel identifier |
team - Team
|
Team involved in this handler change |
teamId - HashedId
|
Identifier of the team involved in this handler change |
trigger - WorkOrderHistoryTrigger!
|
What initiated this history event such as user action or automation |
triggeredByUser - User
|
User who triggered this change, null for automated actions |
triggeredByUserId - HashedId
|
Identifier of the user who triggered this change, null for automated actions |
type - WorkOrderHistoryType!
|
Work order history event type discriminator |
updated - Timestamp
|
Timestamp when this history entry was last updated |
user - User
|
User involved in this handler change |
userId - HashedId
|
Identifier of the user involved in this handler change |
Example
{
"comment": WorkOrderComment,
"created": 1592577642,
"externalEmail": "abc123",
"group": Group,
"groupId": HashedId,
"groupTicketHandler": GroupTicketHandler,
"groupTicketHandlerId": HashedId,
"id": HashedId,
"personnel": PersonnelValue,
"personnelId": HashedId,
"team": Team,
"teamId": HashedId,
"trigger": "AUTOMATION",
"triggeredByUser": User,
"triggeredByUserId": HashedId,
"type": "ASSETS_ADDED",
"updated": 1592577642,
"user": User,
"userId": HashedId
}
WorkOrderHandlerPersonnel
Description
Work order handler personnel record
Fields
| Field Name | Description |
|---|---|
created - Timestamp!
|
Timestamp when the entity was created |
deleted - Timestamp
|
Timestamp when this handler was removed from the work order, null if active |
id - HashedId!
|
Unique identifier of the entity |
isNotifiable - Boolean!
|
Whether the handler receives notifications for work order updates |
isRemovable - Boolean!
|
Whether the handler can be removed from the work order |
personnel - PersonnelValue!
|
Personnel assigned to handle this work order |
personnelId - HashedId!
|
Personnel identifier |
role - WorkOrderHandlerPersonnelRoleEnum!
|
Assigned permission role |
updated - Timestamp
|
Timestamp when the entity was last updated |
widgetHint - String
|
Legacy work order personnel widget grouping hint Legacy work order personnel widget grouping hint. Typed work order handlers no longer persist it. |
workOrderId - HashedId!
|
Work order identifier |
Example
{
"created": 1592577642,
"deleted": 1592577642,
"id": HashedId,
"isNotifiable": false,
"isRemovable": false,
"personnel": PersonnelValue,
"personnelId": HashedId,
"role": "ASSIGNEE",
"updated": 1592577642,
"widgetHint": "xyz789",
"workOrderId": HashedId
}
WorkOrderHandlerPersonnelCreateInput
Description
Data required to create a new work order handler personnel
Fields
| Input Field | Description |
|---|---|
isNotifiable - Boolean!
|
Whether the handler receives notifications for work order updates |
personnelId - HashedId!
|
Personnel identifier |
role - WorkOrderHandlerRoleEnum!
|
Assigned permission role |
workOrderId - HashedId!
|
Work order identifier |
Example
{
"isNotifiable": true,
"personnelId": HashedId,
"role": "ASSIGNEE",
"workOrderId": HashedId
}
WorkOrderHandlerPersonnelRoleEnum
Description
Personnel-specific role within a work order handler assignment, extending handler roles with a creator role
Values
| Enum Value | Description |
|---|---|
|
|
Personnel primarily responsible for the work order |
|
|
Personnel that created the work order handler context |
|
|
Personnel that can view work order updates without active assignment |
|
|
Personnel assigned to perform work on the work order |
Example
"ASSIGNEE"
WorkOrderHandlerPersonnelUpdateInput
Description
Fields to update on an existing work order handler personnel
Fields
| Input Field | Description |
|---|---|
isNotifiable - Boolean!
|
Whether the handler receives notifications for work order updates |
Example
{"isNotifiable": false}
WorkOrderHandlerRoleEnum
Description
Role assigned to a work order handler, either as an assignee, worker, or viewer
Values
| Enum Value | Description |
|---|---|
|
|
Primary handler responsible for the work order |
|
|
Handler that can view work order updates without active assignment |
|
|
Handler assigned to perform work on the work order |
Example
"ASSIGNEE"
WorkOrderHandlerSiteManager
Description
Work order handler site manager record
Fields
| Field Name | Description |
|---|---|
created - Timestamp!
|
Timestamp when the entity was created |
deleted - Timestamp
|
Timestamp when this handler was removed from the work order, null if active |
id - HashedId!
|
Unique identifier of the entity |
isNotifiable - Boolean!
|
Whether the handler receives notifications for work order updates |
isRemovable - Boolean!
|
Whether the handler can be removed from the work order |
role - WorkOrderHandlerRoleEnum!
|
Assigned permission role |
updated - Timestamp
|
Timestamp when the entity was last updated |
widgetHint - String
|
Legacy work order personnel widget grouping hint Legacy work order personnel widget grouping hint. Typed work order handlers no longer persist it. |
workOrderId - HashedId!
|
Work order identifier |
Example
{
"created": 1592577642,
"deleted": 1592577642,
"id": HashedId,
"isNotifiable": true,
"isRemovable": false,
"role": "ASSIGNEE",
"updated": 1592577642,
"widgetHint": "abc123",
"workOrderId": HashedId
}
WorkOrderHandlerTeam
Description
Work order handler team record
Fields
| Field Name | Description |
|---|---|
created - Timestamp!
|
Timestamp when the entity was created |
deleted - Timestamp
|
Timestamp when this handler was removed from the work order, null if active |
id - HashedId!
|
Unique identifier of the entity |
isNotifiable - Boolean!
|
Whether the handler receives notifications for work order updates |
isRemovable - Boolean!
|
Whether the handler can be removed from the work order |
role - WorkOrderHandlerRoleEnum!
|
Assigned permission role |
team - Team!
|
Associated team assigned to handle this work order |
teamId - HashedId!
|
Team identifier |
updated - Timestamp
|
Timestamp when the entity was last updated |
widgetHint - String
|
Legacy work order personnel widget grouping hint Legacy work order personnel widget grouping hint. Typed work order handlers no longer persist it. |
workOrderId - HashedId!
|
Work order identifier |
Example
{
"created": 1592577642,
"deleted": 1592577642,
"id": HashedId,
"isNotifiable": true,
"isRemovable": false,
"role": "ASSIGNEE",
"team": Team,
"teamId": HashedId,
"updated": 1592577642,
"widgetHint": "xyz789",
"workOrderId": HashedId
}
WorkOrderHandlerTeamCreateInput
Description
Data required to assign a team as a work order handler
Fields
| Input Field | Description |
|---|---|
isNotifiable - Boolean!
|
Whether the handler receives notifications for work order updates |
role - WorkOrderHandlerRoleEnum!
|
Assigned permission role |
teamId - HashedId!
|
Team identifier |
workOrderId - HashedId!
|
Work order identifier |
Example
{
"isNotifiable": false,
"role": "ASSIGNEE",
"teamId": HashedId,
"workOrderId": HashedId
}
WorkOrderHandlerTeamUpdateInput
Description
Fields to update on an existing work order handler team
Fields
| Input Field | Description |
|---|---|
isNotifiable - Boolean!
|
Whether the handler receives notifications for work order updates |
Example
{"isNotifiable": false}
WorkOrderHandlerUser
Description
Work order handler user record
Fields
| Field Name | Description |
|---|---|
created - Timestamp!
|
Timestamp when the entity was created |
deleted - Timestamp
|
Timestamp when this handler was removed from the work order, null if active |
id - HashedId!
|
Unique identifier of the entity |
isNotifiable - Boolean!
|
Whether the handler receives notifications for work order updates |
isRemovable - Boolean!
|
Whether the handler can be removed from the work order |
personnel - PersonnelValue
|
Personnel assigned to this user handler if user is linked to personnel |
role - WorkOrderHandlerUserRoleEnum!
|
Assigned permission role |
updated - Timestamp
|
Timestamp when the entity was last updated |
user - User!
|
Associated user assigned to handle this work order |
userId - HashedId!
|
User identifier |
widgetHint - String
|
Legacy work order personnel widget grouping hint Legacy work order personnel widget grouping hint. Typed work order handlers no longer persist it. |
workOrderId - HashedId!
|
Work order identifier |
Example
{
"created": 1592577642,
"deleted": 1592577642,
"id": HashedId,
"isNotifiable": false,
"isRemovable": true,
"personnel": PersonnelValue,
"role": "ASSIGNEE",
"updated": 1592577642,
"user": User,
"userId": HashedId,
"widgetHint": "xyz789",
"workOrderId": HashedId
}
WorkOrderHandlerUserCreateInput
Description
Data required to create a new work order handler user
Fields
| Input Field | Description |
|---|---|
isNotifiable - Boolean!
|
Whether the handler receives notifications for work order updates |
role - WorkOrderHandlerRoleEnum!
|
Assigned permission role |
userId - HashedId!
|
User identifier |
workOrderId - HashedId!
|
Work order identifier |
Example
{
"isNotifiable": false,
"role": "ASSIGNEE",
"userId": HashedId,
"workOrderId": HashedId
}
WorkOrderHandlerUserRoleEnum
Description
User-specific role within a work order handler assignment, extending handler roles with a creator role
Values
| Enum Value | Description |
|---|---|
|
|
User primarily responsible for the work order |
|
|
User that created the work order handler context |
|
|
User that can view work order updates without active assignment |
|
|
User assigned to perform work on the work order |
Example
"ASSIGNEE"
WorkOrderHandlerUserUpdateInput
Description
Fields to update on an existing work order handler user
Fields
| Input Field | Description |
|---|---|
isNotifiable - Boolean!
|
Whether the handler receives notifications for work order updates |
Example
{"isNotifiable": true}
WorkOrderHistory
Description
Base interface for all work order history entries that track changes made to a work order
Fields
| Field Name | Description |
|---|---|
comment - WorkOrderComment
|
Comment associated with this work order history entry |
created - Timestamp!
|
Timestamp when this history entry was created |
id - HashedId!
|
Unique identifier of the work order history entry |
trigger - WorkOrderHistoryTrigger!
|
What initiated this history event such as user action or automation |
triggeredByUser - User
|
User who triggered this change, null for automated actions |
triggeredByUserId - HashedId
|
Identifier of the user who triggered this change, null for automated actions |
type - WorkOrderHistoryType!
|
Discriminator indicating the specific type of work order change recorded |
updated - Timestamp
|
Timestamp when this history entry was last updated |
Possible Types
| WorkOrderHistory Types |
|---|
Example
{
"comment": WorkOrderComment,
"created": 1592577642,
"id": HashedId,
"trigger": "AUTOMATION",
"triggeredByUser": User,
"triggeredByUserId": HashedId,
"type": "ASSETS_ADDED",
"updated": 1592577642
}
WorkOrderHistoryEntry
Description
Work order history entry record
Fields
| Field Name | Description |
|---|---|
changes - [WorkOrderFieldChange!]!
|
Individual field-level changes captured in this history entry Use historyV2 instead |
createdByUser - User!
|
Created by user Use historyV2 instead |
date - DateTime!
|
Timestamp when this history entry was recorded Use historyV2 instead |
id - HashedId!
|
Unique identifier of this work order history entry Use historyV2 instead |
type - WorkOrderHistoryEntryType!
|
Category of change recorded by this history entry Use historyV2 instead |
Example
{
"changes": [WorkOrderAssetsFieldChange],
"createdByUser": User,
"date": "2007-12-03T10:15:30Z",
"id": HashedId,
"type": "ADDED"
}
WorkOrderHistoryEntryType
Description
Type of modification recorded in a work order history entry, indicating whether a value was newly added or an existing value was changed
Values
| Enum Value | Description |
|---|---|
|
|
History entry records a newly added value Use typed work order history entries instead. |
|
|
History entry records a changed value Use typed work order history entries instead. |
Example
"ADDED"
WorkOrderHistoryField
Description
Specific field within a work order that was modified, such as status, assignee, followers, workers, start/end dates, site, notes, assets, locations, cost center, or daily rate
Values
| Enum Value | Description |
|---|---|
|
|
Work order assets field Use typed work order history entries instead. |
|
|
Work order assignee field Use typed work order history entries instead. |
|
|
Work order cost center field Use typed work order history entries instead. |
|
|
Work order daily rate field Use typed work order history entries instead. |
|
|
Work order end date field Use typed work order history entries instead. |
|
|
Legacy work order followers field Use typed work order history entries instead. |
|
|
Work order locations field Use typed work order history entries instead. |
|
|
Work order notes field Use typed work order history entries instead. |
|
|
Work order site field Use typed work order history entries instead. |
|
|
Work order start date field Use typed work order history entries instead. |
|
|
Work order status field Use typed work order history entries instead. |
|
|
Work order workers field Use typed work order history entries instead. |
Example
"ASSETS"
WorkOrderHistoryLocation
WorkOrderHistoryTrigger
Description
Origin of a work-order history entry: a direct user action or an automation rule
Values
| Enum Value | Description |
|---|---|
|
|
History entry was triggered by an automation rule |
|
|
History entry was triggered by a direct user action |
Example
"AUTOMATION"
WorkOrderHistoryType
Description
Discriminator for a typed work-order history entry: the specific kind of change captured by the row
Values
| Enum Value | Description |
|---|---|
|
|
Assets were added to the work order |
|
|
Assets were removed from the work order |
|
|
Assignee was added to the work order |
|
|
Assignee was removed from the work order |
|
|
A comment was added to the work order |
|
|
A work order comment was removed |
|
|
A work order comment was updated |
|
|
The work order was converted from a ticket |
|
|
A cost was added to the work order |
|
|
The work order cost center was updated |
|
|
A cost was removed from the work order |
|
|
The work order was created |
|
|
A customer signature was captured on the work order |
|
|
A customer signature was voided on the work order |
|
|
The work order daily rate was updated |
|
|
The work order description was updated |
|
|
The work order end date was updated |
|
|
Notifications were disabled for a work order handler |
|
|
Notifications were enabled for a work order handler |
|
|
Locations were added to the work order |
|
|
Locations were removed from the work order |
|
|
A part was issued to the work order |
|
|
The work order site was updated |
|
|
The work order start date was updated |
|
|
The work order status was updated |
|
|
A work order time entry was added manually |
|
|
A work order time entry was deleted |
|
|
A work order time entry was started |
|
|
A work order time entry was stopped |
|
|
A work order time entry was updated |
|
|
Viewer was added to the work order |
|
|
Viewer was removed from the work order |
|
|
Worker was added to the work order |
|
|
Worker was removed from the work order |
Example
"ASSETS_ADDED"
WorkOrderHistoryWithAssets
Description
Work order history entries that involve changes to associated assets
Fields
| Field Name | Description |
|---|---|
assets - [Asset!]!
|
Assets associated with this work order history entry |
comment - WorkOrderComment
|
Comment associated with this work order history entry |
created - Timestamp!
|
Timestamp when this history entry was created |
id - HashedId!
|
Unique identifier of the work order history entry |
trigger - WorkOrderHistoryTrigger!
|
What initiated this history event such as user action or automation |
triggeredByUser - User
|
User who triggered this change, null for automated actions |
triggeredByUserId - HashedId
|
Identifier of the user who triggered this change, null for automated actions |
type - WorkOrderHistoryType!
|
Discriminator indicating the specific type of work order change recorded |
updated - Timestamp
|
Timestamp when this history entry was last updated |
Possible Types
| WorkOrderHistoryWithAssets Types |
|---|
Example
{
"assets": [Asset],
"comment": WorkOrderComment,
"created": 1592577642,
"id": HashedId,
"trigger": "AUTOMATION",
"triggeredByUser": User,
"triggeredByUserId": HashedId,
"type": "ASSETS_ADDED",
"updated": 1592577642
}
WorkOrderHistoryWithLocations
Description
Work order history entries that involve changes to associated locations
Fields
| Field Name | Description |
|---|---|
comment - WorkOrderComment
|
Comment associated with this work order history entry |
created - Timestamp!
|
Timestamp when this history entry was created |
id - HashedId!
|
Unique identifier of the work order history entry |
locationNames - [String!]!
|
Names of locations involved in this history event Use locations instead. |
locations - [WorkOrderHistoryLocation!]!
|
Locations involved in this history event |
trigger - WorkOrderHistoryTrigger!
|
What initiated this history event such as user action or automation |
triggeredByUser - User
|
User who triggered this change, null for automated actions |
triggeredByUserId - HashedId
|
Identifier of the user who triggered this change, null for automated actions |
type - WorkOrderHistoryType!
|
Discriminator indicating the specific type of work order change recorded |
updated - Timestamp
|
Timestamp when this history entry was last updated |
Possible Types
| WorkOrderHistoryWithLocations Types |
|---|
Example
{
"comment": WorkOrderComment,
"created": 1592577642,
"id": HashedId,
"locationNames": ["abc123"],
"locations": [WorkOrderHistoryLocation],
"trigger": "AUTOMATION",
"triggeredByUser": User,
"triggeredByUserId": HashedId,
"type": "ASSETS_ADDED",
"updated": 1592577642
}
WorkOrderLocation
Description
Work order location record
Fields
| Field Name | Description |
|---|---|
address - String
|
Street address |
id - HashedId!
|
Unique identifier of this work order association record Legacy work order association surface. Will be removed once all clients migrate to typed work order fields. |
lat - String
|
Latitude coordinate of the work order location |
lng - String
|
Longitude coordinate of the work order location |
name - String!
|
Human-readable name of the work order location |
site - Site
|
Site associated with this work order location |
siteId - HashedId
|
ID of the site associated with this work order location |
widgetHint - String
|
Legacy dashboard widget grouping hint Work order locations are no longer grouped by widget hint. |
workOrderId - HashedId!
|
Work order identifier Legacy work order association surface. Will be removed once all clients migrate to typed work order fields. |
Example
{
"address": "xyz789",
"id": HashedId,
"lat": "xyz789",
"lng": "xyz789",
"name": "abc123",
"site": Site,
"siteId": HashedId,
"widgetHint": "abc123",
"workOrderId": HashedId
}
WorkOrderLocationInput
Description
Input data specifying a physical location for a work order
Fields
| Input Field | Description |
|---|---|
address - String
|
Street address |
id - HashedId
|
ID of the location record being updated, null when creating new |
lat - String
|
Latitude coordinate of the work order location |
lng - String
|
Longitude coordinate of the work order location |
name - String!
|
Human-readable name of the work order location |
siteId - HashedId
|
ID of the site associated with this work order location |
Example
{
"address": "abc123",
"id": HashedId,
"lat": "abc123",
"lng": "abc123",
"name": "abc123",
"siteId": HashedId
}
WorkOrderLocationStoredHistory
Description
Work order location stored history data
Fields
| Field Name | Description |
|---|---|
address - String
|
Street address |
lat - String
|
Latitude coordinate of the work order location |
lng - String
|
Longitude coordinate of the work order location |
name - String!
|
Human-readable name of the work order location |
siteId - HashedId
|
ID of the site associated with this work order location |
Example
{
"address": "abc123",
"lat": "xyz789",
"lng": "xyz789",
"name": "abc123",
"siteId": HashedId
}
WorkOrderLocationsAddedHistory
Description
Records when locations are added to a work order
Fields
| Field Name | Description |
|---|---|
comment - WorkOrderComment
|
Comment associated with this work order history entry |
created - Timestamp!
|
Timestamp when this history entry was created |
id - HashedId!
|
Unique identifier of the work order history entry |
locationNames - [String!]!
|
Names of locations involved in this history event Use locations instead. |
locations - [WorkOrderHistoryLocation!]!
|
Locations involved in this history event |
trigger - WorkOrderHistoryTrigger!
|
What initiated this history event such as user action or automation |
triggeredByUser - User
|
User who triggered this change, null for automated actions |
triggeredByUserId - HashedId
|
Identifier of the user who triggered this change, null for automated actions |
type - WorkOrderHistoryType!
|
Work order history event type discriminator |
updated - Timestamp
|
Timestamp when this history entry was last updated |
Example
{
"comment": WorkOrderComment,
"created": 1592577642,
"id": HashedId,
"locationNames": ["xyz789"],
"locations": [WorkOrderHistoryLocation],
"trigger": "AUTOMATION",
"triggeredByUser": User,
"triggeredByUserId": HashedId,
"type": "ASSETS_ADDED",
"updated": 1592577642
}
WorkOrderLocationsFieldChange
Description
Work order locations field change data
Fields
| Field Name | Description |
|---|---|
addedLocations - [WorkOrderLocationStoredHistory!]!
|
Added locations Use historyV2 instead |
field - WorkOrderHistoryField!
|
Work order field that was changed in this history entry Use historyV2 instead |
nameChanges - [WorkOrderNameChange!]!
|
Name changes Use historyV2 instead |
removedLocations - [WorkOrderLocationStoredHistory!]!
|
Removed locations Use historyV2 instead |
Example
{
"addedLocations": [WorkOrderLocationStoredHistory],
"field": "ASSETS",
"nameChanges": [WorkOrderNameChange],
"removedLocations": [WorkOrderLocationStoredHistory]
}
WorkOrderLocationsRemovedHistory
Description
Records when locations are removed from a work order
Fields
| Field Name | Description |
|---|---|
comment - WorkOrderComment
|
Comment associated with this work order history entry |
created - Timestamp!
|
Timestamp when this history entry was created |
id - HashedId!
|
Unique identifier of the work order history entry |
locationNames - [String!]!
|
Names of locations involved in this history event Use locations instead. |
locations - [WorkOrderHistoryLocation!]!
|
Locations involved in this history event |
trigger - WorkOrderHistoryTrigger!
|
What initiated this history event such as user action or automation |
triggeredByUser - User
|
User who triggered this change, null for automated actions |
triggeredByUserId - HashedId
|
Identifier of the user who triggered this change, null for automated actions |
type - WorkOrderHistoryType!
|
Work order history event type discriminator |
updated - Timestamp
|
Timestamp when this history entry was last updated |
Example
{
"comment": WorkOrderComment,
"created": 1592577642,
"id": HashedId,
"locationNames": ["xyz789"],
"locations": [WorkOrderHistoryLocation],
"trigger": "AUTOMATION",
"triggeredByUser": User,
"triggeredByUserId": HashedId,
"type": "ASSETS_ADDED",
"updated": 1592577642
}
WorkOrderMassEditFailure
Description
Single work order failure entry from a bulk operation
Fields
| Field Name | Description |
|---|---|
reason - WorkOrderMassEditFailureReason!
|
Reason the work order could not be processed |
workOrderId - HashedId!
|
Work order ID that failed |
Example
{"reason": "ISSUED_PARTS", "workOrderId": HashedId}
WorkOrderMassEditFailureReason
Values
| Enum Value | Description |
|---|---|
|
|
|
|
|
Example
"ISSUED_PARTS"
WorkOrderMassEditResult
Description
Summary result of a mass edit operation on work orders
Fields
| Field Name | Description |
|---|---|
failed - [WorkOrderMassEditFailure!]!
|
|
retainedIds - [HashedId!]!
|
Selected ids the user can still edit after the operation; empty after a delete or archive |
skipped - Int!
|
|
succeeded - Int!
|
Example
{
"failed": [WorkOrderMassEditFailure],
"retainedIds": [HashedId],
"skipped": 123,
"succeeded": 123
}
WorkOrderMassEditSelectionInput
Description
Selection criteria for work order mass edit operations
Fields
| Input Field | Description |
|---|---|
excludeWorkOrderIds - [HashedId!]
|
Work order IDs to exclude from the selection |
filterInput - AssetFilterInput
|
Filter criteria to dynamically select work orders |
workOrderIds - [HashedId!]
|
Explicit list of work order IDs to include in the operation |
Example
{
"excludeWorkOrderIds": [HashedId],
"filterInput": AssetFilterInput,
"workOrderIds": [HashedId]
}
WorkOrderNameChange
WorkOrderNotesFieldChange
Description
Work order notes field change record
Fields
| Field Name | Description |
|---|---|
currentNotes - Translation
|
Current notes Use historyV2 instead |
field - WorkOrderHistoryField!
|
Work order field that was changed in this history entry Use historyV2 instead |
previousNotes - Translation
|
Previous notes Use historyV2 instead |
Example
{
"currentNotes": Translation,
"field": "ASSETS",
"previousNotes": Translation
}
WorkOrderNotifications
Description
Work order notifications record
Fields
| Field Name | Description |
|---|---|
assetsAssigned - [Asset!]!
|
Assets assigned |
assetsUnassigned - [Asset!]!
|
Assets unassigned |
assigneeChanged - WorkOrderAssigneeChangeNotification
|
Assignee changed |
created - WorkOrderV2
|
Created for this event work order notification |
followersAdded - [ProcessHandler!]!
|
Followers added Use viewersAdded instead. |
followersRemoved - [ProcessHandler!]!
|
Followers removed Use viewersRemoved instead. |
statusChanged - WorkOrderStatusChangeNotification
|
Status changed |
viewersAdded - [ProcessHandler!]!
|
Viewers added |
viewersRemoved - [ProcessHandler!]!
|
Viewers removed |
Example
{
"assetsAssigned": [Asset],
"assetsUnassigned": [Asset],
"assigneeChanged": WorkOrderAssigneeChangeNotification,
"created": WorkOrderV2,
"followersAdded": [ProcessHandler],
"followersRemoved": [ProcessHandler],
"statusChanged": WorkOrderStatusChangeNotification,
"viewersAdded": [ProcessHandler],
"viewersRemoved": [ProcessHandler]
}
WorkOrderOnHoldReason
Description
Reason classification supplied when a work order is put on hold
Values
| Enum Value | Description |
|---|---|
|
|
Work order is on hold because the customer is not on site |
|
|
Work order is on hold because the equipment is unsafe to work on |
|
|
Work order is on hold because more time is needed to complete it |
|
|
Work order is on hold for a reason not covered by the other options |
|
|
Work order is on hold because required parts are missing |
Example
"CUSTOMER_NOT_ON_SITE"
WorkOrderPartIssuedHistory
Description
Records when a part is issued to a work order
Fields
| Field Name | Description |
|---|---|
comment - WorkOrderComment
|
Comment associated with this work order history entry |
created - Timestamp!
|
Timestamp when this history entry was created |
id - HashedId!
|
Unique identifier of the work order history entry |
partMoving - PartMoving!
|
Part moving issued to the work order |
partMovingId - HashedId!
|
Part moving identifier |
trigger - WorkOrderHistoryTrigger!
|
What initiated this history event such as user action or automation |
triggeredByUser - User
|
User who triggered this change, null for automated actions |
triggeredByUserId - HashedId
|
Identifier of the user who triggered this change, null for automated actions |
type - WorkOrderHistoryType!
|
Work order history event type discriminator |
updated - Timestamp
|
Timestamp when this history entry was last updated |
Example
{
"comment": WorkOrderComment,
"created": 1592577642,
"id": HashedId,
"partMoving": PartMoving,
"partMovingId": HashedId,
"trigger": "AUTOMATION",
"triggeredByUser": User,
"triggeredByUserId": HashedId,
"type": "ASSETS_ADDED",
"updated": 1592577642
}
WorkOrderPersonnelContact
Description
Work order personnel contact record
Fields
| Field Name | Description |
|---|---|
type - WorkOrderPersonnelContactValueType!
|
Type of contact value such as email or phone Legacy work order personnel surface, superseded by the typed work order handler system. Will be removed once all clients migrate. |
value - String!
|
Stored value Legacy work order personnel surface, superseded by the typed work order handler system. Will be removed once all clients migrate. |
Example
{"type": "EXTERNALEMAIL", "value": "abc123"}
WorkOrderPersonnelContactValueType
Description
Legacy work order personnel contact value type, superseded by typed work order handler target types
Values
| Enum Value | Description |
|---|---|
|
|
Legacy personnel contact represented by an external email address Use typed work order handler target types instead. |
|
|
Legacy personnel contact represented by a free-text name Use typed work order handler target types instead. |
|
|
Legacy personnel contact represented by the work order site manager Use typed work order handler target types instead. |
Example
"EXTERNALEMAIL"
WorkOrderPersonnelFollowerCollectionInput
Description
Input data for work order personnel viewer
Fields
| Input Field | Description |
|---|---|
groupIds - [HashedId!]!
|
Group identifiers |
Example
{"groupIds": [HashedId]}
WorkOrderPersonnelInput
Description
Input data for work order personnel
Fields
| Input Field | Description |
|---|---|
followers - WorkOrderPersonnelFollowerCollectionInput!
|
Users and teams subscribed to receive updates on this work order |
workerCollections - [WorkOrderPersonnelWorkerCollectionInput!]!
|
Grouped collections of workers assigned to this work order |
Example
{
"followers": WorkOrderPersonnelFollowerCollectionInput,
"workerCollections": [
WorkOrderPersonnelWorkerCollectionInput
]
}
WorkOrderPersonnelV2
Description
A user assigned to a work order as a worker or follower
Fields
| Field Name | Description |
|---|---|
contact - WorkOrderPersonnelContact
|
Contact details for this work order personnel member Use typed work order handler fields instead. |
deleted - Timestamp
|
Soft deletion timestamp, null if active Use typed work order handler fields instead. |
displayName - String!
|
Formatted display name of the personnel member Use typed work order handler fields instead. |
group - Group
|
Associated organization group Use typed work order handler fields instead. |
groupId - HashedId
|
ID of the group this personnel member belongs to Use typed work order handler fields instead. |
id - HashedId!
|
Unique identifier of this work order association record Legacy work order association surface. Will be removed once all clients migrate to typed work order fields. |
personnel - PersonnelValue
|
Personnel record assigned as personnel on this work order Use typed work order handler fields instead. |
removable - Boolean!
|
Whether this personnel assignment can be removed from the work order Use typed work order handler fields instead. |
team - Team
|
Team assigned as personnel on this work order Use typed work order handler fields instead. |
teamId - HashedId
|
ID of the team assigned as personnel on this work order Use typed work order handler fields instead. |
user - User
|
User assigned as personnel on this work order Use typed work order handler fields instead. |
userId - HashedId
|
ID of the user assigned as personnel on this work order Use typed work order handler fields instead. |
widgetHint - String
|
Legacy dashboard widget grouping hint Work order personnel are no longer grouped by widget hint. |
workOrderId - HashedId!
|
Work order identifier Legacy work order association surface. Will be removed once all clients migrate to typed work order fields. |
Example
{
"contact": WorkOrderPersonnelContact,
"deleted": 1592577642,
"displayName": "abc123",
"group": Group,
"groupId": HashedId,
"id": HashedId,
"personnel": PersonnelValue,
"removable": true,
"team": Team,
"teamId": HashedId,
"user": User,
"userId": HashedId,
"widgetHint": "xyz789",
"workOrderId": HashedId
}
WorkOrderPersonnelWorkerCollectionInput
Description
Input data for work order personnel worker collection
Example
{}
WorkOrderSiteFieldChange
Description
Work order site field change record
Fields
| Field Name | Description |
|---|---|
currentSite - Site
|
Current site Use historyV2 instead |
field - WorkOrderHistoryField!
|
Work order field that was changed in this history entry Use historyV2 instead |
previousSite - Site
|
Previous site Use historyV2 instead |
Example
{
"currentSite": Site,
"field": "ASSETS",
"previousSite": Site
}
WorkOrderSiteUpdatedHistory
Description
Records when the site of a work order is changed
Fields
| Field Name | Description |
|---|---|
comment - WorkOrderComment
|
Comment associated with this work order history entry |
created - Timestamp!
|
Timestamp when this history entry was created |
id - HashedId!
|
Unique identifier of the work order history entry |
newSite - Site
|
Site the work order was changed to |
newSiteId - HashedId
|
New site identifier |
oldSite - Site
|
Site the work order was changed from |
oldSiteId - HashedId
|
Previous site identifier |
trigger - WorkOrderHistoryTrigger!
|
What initiated this history event such as user action or automation |
triggeredByUser - User
|
User who triggered this change, null for automated actions |
triggeredByUserId - HashedId
|
Identifier of the user who triggered this change, null for automated actions |
type - WorkOrderHistoryType!
|
Work order history event type discriminator |
updated - Timestamp
|
Timestamp when this history entry was last updated |
Example
{
"comment": WorkOrderComment,
"created": 1592577642,
"id": HashedId,
"newSite": Site,
"newSiteId": HashedId,
"oldSite": Site,
"oldSiteId": HashedId,
"trigger": "AUTOMATION",
"triggeredByUser": User,
"triggeredByUserId": HashedId,
"type": "ASSETS_ADDED",
"updated": 1592577642
}
WorkOrderStartDateUpdatedHistory
Description
Records when the start date of a work order is changed
Fields
| Field Name | Description |
|---|---|
comment - WorkOrderComment
|
Comment associated with this work order history entry |
created - Timestamp!
|
Timestamp when this history entry was created |
id - HashedId!
|
Unique identifier of the work order history entry |
newDate - DateTime
|
Start date the work order was changed to |
oldDate - DateTime
|
Start date the work order was changed from |
trigger - WorkOrderHistoryTrigger!
|
What initiated this history event such as user action or automation |
triggeredByUser - User
|
User who triggered this change, null for automated actions |
triggeredByUserId - HashedId
|
Identifier of the user who triggered this change, null for automated actions |
type - WorkOrderHistoryType!
|
Work order history event type discriminator |
updated - Timestamp
|
Timestamp when this history entry was last updated |
Example
{
"comment": WorkOrderComment,
"created": 1592577642,
"id": HashedId,
"newDate": "2007-12-03T10:15:30Z",
"oldDate": "2007-12-03T10:15:30Z",
"trigger": "AUTOMATION",
"triggeredByUser": User,
"triggeredByUserId": HashedId,
"type": "ASSETS_ADDED",
"updated": 1592577642
}
WorkOrderStatus
Description
Lifecycle status of a work order from draft through pending, confirmed, in progress, on hold, done, or cancelled
Values
| Enum Value | Description |
|---|---|
|
|
Work order was cancelled and should not continue |
|
|
Work order is confirmed and ready to start |
|
|
Work order has been completed |
|
|
Work order is being prepared and is not ready for execution |
|
|
Work order execution is currently in progress |
|
|
Work order execution is paused until a blocker is resolved |
|
|
Work order is waiting for confirmation or scheduling |
Example
"CANCELLED"
WorkOrderStatusChangeNotification
Description
Work order status change notification data
Fields
| Field Name | Description |
|---|---|
current - WorkOrderStatus!
|
Work order status after the transition |
previous - WorkOrderStatus!
|
Work order status before the transition |
Example
{"current": "CANCELLED", "previous": "CANCELLED"}
WorkOrderStatusFieldChange
Description
Work order status field change record
Fields
| Field Name | Description |
|---|---|
currentStatus - WorkOrderStatus!
|
Current operational status Use historyV2 instead |
field - WorkOrderHistoryField!
|
Work order field that was changed in this history entry Use historyV2 instead |
previousStatus - WorkOrderStatus
|
Previous status Use historyV2 instead |
Example
{"currentStatus": "CANCELLED", "field": "ASSETS", "previousStatus": "CANCELLED"}
WorkOrderStatusUpdateInput
Description
Data required to update the status of a work order
Fields
| Input Field | Description |
|---|---|
onHoldReasonKey - WorkOrderOnHoldReason
|
Reason selected when the work order was put on hold |
onHoldReasonNote - String
|
Additional note entered when the work order was put on hold |
status - WorkOrderStatus!
|
Current operational status |
Example
{
"onHoldReasonKey": "CUSTOMER_NOT_ON_SITE",
"onHoldReasonNote": "abc123",
"status": "CANCELLED"
}
WorkOrderStatusUpdatedHistory
Description
Records when the status of a work order is changed
Fields
| Field Name | Description |
|---|---|
comment - WorkOrderComment
|
Comment associated with this work order history entry |
created - Timestamp!
|
Timestamp when this history entry was created |
id - HashedId!
|
Unique identifier of the work order history entry |
newStatus - WorkOrderStatus!
|
Status the work order was changed to |
oldStatus - WorkOrderStatus!
|
Status the work order was changed from |
onHoldReasonKey - WorkOrderOnHoldReason
|
Reason selected when the work order was put on hold |
onHoldReasonNote - String
|
Additional note entered when the work order was put on hold |
trigger - WorkOrderHistoryTrigger!
|
What initiated this history event such as user action or automation |
triggeredByUser - User
|
User who triggered this change, null for automated actions |
triggeredByUserId - HashedId
|
Identifier of the user who triggered this change, null for automated actions |
type - WorkOrderHistoryType!
|
Work order history event type discriminator |
updated - Timestamp
|
Timestamp when this history entry was last updated |
Example
{
"comment": WorkOrderComment,
"created": 1592577642,
"id": HashedId,
"newStatus": "CANCELLED",
"oldStatus": "CANCELLED",
"onHoldReasonKey": "CUSTOMER_NOT_ON_SITE",
"onHoldReasonNote": "abc123",
"trigger": "AUTOMATION",
"triggeredByUser": User,
"triggeredByUserId": HashedId,
"type": "ASSETS_ADDED",
"updated": 1592577642
}
WorkOrderStringArrayFieldChange
Description
Work order string array field change data
Fields
| Field Name | Description |
|---|---|
added - [String!]!
|
String values added in this field change Use historyV2 instead |
field - WorkOrderHistoryField!
|
Work order field that was changed in this history entry Use historyV2 instead |
removed - [String!]!
|
String values removed in this field change Use historyV2 instead |
Example
{
"added": ["xyz789"],
"field": "ASSETS",
"removed": ["xyz789"]
}
WorkOrderStringFieldChange
Description
Work order string field change record
Fields
| Field Name | Description |
|---|---|
current - String
|
Current string value after this field change Use historyV2 instead |
field - WorkOrderHistoryField!
|
Work order field that was changed in this history entry Use historyV2 instead |
previous - String
|
Previous string value before this field change Use historyV2 instead |
Example
{
"current": "abc123",
"field": "ASSETS",
"previous": "abc123"
}
WorkOrderSummary
Description
Work order summary record
Fields
| Field Name | Description |
|---|---|
id - HashedId!
|
Unique identifier of the entity |
name - String!
|
Human-readable title of the work order Use title instead |
title - Translation
|
Localised title of the work order |
workOrderNumber - Int!
|
Work order number |
Example
{
"id": HashedId,
"name": "xyz789",
"title": Translation,
"workOrderNumber": 987
}
WorkOrderTicketCreateInput
Description
Input required to create a work order from a ticket
Fields
| Input Field | Description |
|---|---|
ticketId - HashedId!
|
ID of the ticket to create the work order from |
Example
{"ticketId": HashedId}
WorkOrderTimeEntry
Description
A single time interval logged against a work order by a specific handler row
Fields
| Field Name | Description |
|---|---|
created - Timestamp!
|
Timestamp when the entity was created |
createdByGroupId - HashedId!
|
Group this time entry was created under |
createdByUserId - HashedId!
|
User who created this time entry |
createdManually - Boolean!
|
Whether this time entry was added manually as a completed period instead of being tracked with the timer |
endedAt - DateTime
|
Moment the interval ended; null while the entry is still running |
groupTicketHandlerHandler - WorkOrderHandlerGroupTicketHandler
|
GroupTicketHandler handler row this time entry was logged against, when applicable |
id - HashedId!
|
Unique identifier of the entity |
kind - WorkOrderTimeEntryKind!
|
Activity classification recorded for this time entry |
note - String
|
Free-form note attached to the time entry |
personnelHandler - WorkOrderHandlerPersonnel
|
Personnel handler row this time entry was logged against, when applicable |
startedAt - DateTime!
|
Moment the interval started |
teamHandler - WorkOrderHandlerTeam
|
Team handler row this time entry was logged against, when applicable |
updated - Timestamp
|
Timestamp when the entity was last updated |
userHandler - WorkOrderHandlerUser
|
User handler row this time entry was logged against, when applicable |
workOrderHandlerGroupTicketHandlerId - HashedId
|
GroupTicketHandler handler row this time entry was logged against, when set |
workOrderHandlerPersonnelId - HashedId
|
Personnel handler row this time entry was logged against, when set |
workOrderHandlerTeamId - HashedId
|
Team handler row this time entry was logged against, when set |
workOrderHandlerUserId - HashedId
|
User handler row this time entry was logged against, when set |
workOrderId - HashedId!
|
Work order this time entry belongs to |
Example
{
"created": 1592577642,
"createdByGroupId": HashedId,
"createdByUserId": HashedId,
"createdManually": true,
"endedAt": "2007-12-03T10:15:30Z",
"groupTicketHandlerHandler": WorkOrderHandlerGroupTicketHandler,
"id": HashedId,
"kind": "BREAK",
"note": "abc123",
"personnelHandler": WorkOrderHandlerPersonnel,
"startedAt": "2007-12-03T10:15:30Z",
"teamHandler": WorkOrderHandlerTeam,
"updated": 1592577642,
"userHandler": WorkOrderHandlerUser,
"workOrderHandlerGroupTicketHandlerId": HashedId,
"workOrderHandlerPersonnelId": HashedId,
"workOrderHandlerTeamId": HashedId,
"workOrderHandlerUserId": HashedId,
"workOrderId": HashedId
}
WorkOrderTimeEntryAddedHistory
Description
Records when a work order time entry is added manually
Fields
| Field Name | Description |
|---|---|
comment - WorkOrderComment
|
Comment associated with this work order history entry |
created - Timestamp!
|
Timestamp when this history entry was created |
groupTicketHandler - GroupTicketHandler
|
Group ticket handler the added time entry is attributed to |
groupTicketHandlerId - HashedId
|
Group ticket handler identifier |
id - HashedId!
|
Unique identifier of the work order history entry |
personnel - PersonnelValue
|
Personnel the added time entry is attributed to |
personnelId - HashedId
|
Personnel identifier |
team - Team
|
Team the added time entry is attributed to |
teamId - HashedId
|
Team identifier |
timeEntryEndedAt - DateTime
|
Time entry end timestamp associated with this history entry |
timeEntryId - HashedId
|
Identifier of the time entry associated with this history entry |
timeEntryKind - WorkOrderTimeEntryKind
|
Time entry kind associated with this history entry |
timeEntryNote - String
|
Time entry note associated with this history entry |
timeEntryStartedAt - DateTime
|
Time entry start timestamp associated with this history entry |
timeEntryStopCause - WorkOrderTimeEntryStopCause
|
Reason the time entry was stopped, when available |
trigger - WorkOrderHistoryTrigger!
|
What initiated this history event such as user action or automation |
triggeredByUser - User
|
User who triggered this change, null for automated actions |
triggeredByUserId - HashedId
|
Identifier of the user who triggered this change, null for automated actions |
type - WorkOrderHistoryType!
|
Work order history event type discriminator |
updated - Timestamp
|
Timestamp when this history entry was last updated |
user - User
|
User the added time entry is attributed to |
userId - HashedId
|
User identifier |
Example
{
"comment": WorkOrderComment,
"created": 1592577642,
"groupTicketHandler": GroupTicketHandler,
"groupTicketHandlerId": HashedId,
"id": HashedId,
"personnel": PersonnelValue,
"personnelId": HashedId,
"team": Team,
"teamId": HashedId,
"timeEntryEndedAt": "2007-12-03T10:15:30Z",
"timeEntryId": HashedId,
"timeEntryKind": "BREAK",
"timeEntryNote": "abc123",
"timeEntryStartedAt": "2007-12-03T10:15:30Z",
"timeEntryStopCause": "AUTO_CLOSE_PRIOR",
"trigger": "AUTOMATION",
"triggeredByUser": User,
"triggeredByUserId": HashedId,
"type": "ASSETS_ADDED",
"updated": 1592577642,
"user": User,
"userId": HashedId
}
WorkOrderTimeEntryCreateInput
Description
Data required to create a completed work order time entry manually
Fields
| Input Field | Description |
|---|---|
endedAt - DateTime!
|
Moment the interval ended |
kind - WorkOrderTimeEntryKind!
|
Activity classification recorded for this time entry |
note - String
|
Free-form note attached to the time entry |
startedAt - DateTime!
|
Moment the interval started |
workOrderHandlerGroupTicketHandlerId - HashedId
|
GroupTicketHandler handler row this time entry was logged against, when set |
workOrderHandlerPersonnelId - HashedId
|
Personnel handler row this time entry was logged against, when set |
workOrderHandlerTeamId - HashedId
|
Team handler row this time entry was logged against, when set |
workOrderHandlerUserId - HashedId
|
User handler row this time entry was logged against, when set |
Example
{
"endedAt": "2007-12-03T10:15:30Z",
"kind": "BREAK",
"note": "abc123",
"startedAt": "2007-12-03T10:15:30Z",
"workOrderHandlerGroupTicketHandlerId": HashedId,
"workOrderHandlerPersonnelId": HashedId,
"workOrderHandlerTeamId": HashedId,
"workOrderHandlerUserId": HashedId
}
WorkOrderTimeEntryDeletedHistory
Description
Records when a work order time entry is deleted
Fields
| Field Name | Description |
|---|---|
comment - WorkOrderComment
|
Comment associated with this work order history entry |
created - Timestamp!
|
Timestamp when this history entry was created |
id - HashedId!
|
Unique identifier of the work order history entry |
timeEntryEndedAt - DateTime
|
Time entry end timestamp associated with this history entry |
timeEntryId - HashedId
|
Identifier of the time entry associated with this history entry |
timeEntryKind - WorkOrderTimeEntryKind
|
Time entry kind associated with this history entry |
timeEntryNote - String
|
Time entry note associated with this history entry |
timeEntryStartedAt - DateTime
|
Time entry start timestamp associated with this history entry |
timeEntryStopCause - WorkOrderTimeEntryStopCause
|
Reason the time entry was stopped, when available |
trigger - WorkOrderHistoryTrigger!
|
What initiated this history event such as user action or automation |
triggeredByUser - User
|
User who triggered this change, null for automated actions |
triggeredByUserId - HashedId
|
Identifier of the user who triggered this change, null for automated actions |
type - WorkOrderHistoryType!
|
Work order history event type discriminator |
updated - Timestamp
|
Timestamp when this history entry was last updated |
Example
{
"comment": WorkOrderComment,
"created": 1592577642,
"id": HashedId,
"timeEntryEndedAt": "2007-12-03T10:15:30Z",
"timeEntryId": HashedId,
"timeEntryKind": "BREAK",
"timeEntryNote": "abc123",
"timeEntryStartedAt": "2007-12-03T10:15:30Z",
"timeEntryStopCause": "AUTO_CLOSE_PRIOR",
"trigger": "AUTOMATION",
"triggeredByUser": User,
"triggeredByUserId": HashedId,
"type": "ASSETS_ADDED",
"updated": 1592577642
}
WorkOrderTimeEntryKind
Description
Activity classification logged for a work order time entry: travel, work, or break
Values
| Enum Value | Description |
|---|---|
|
|
Break time recorded during work order execution |
|
|
Time spent travelling for the work order |
|
|
Time spent actively working on the work order |
Example
"BREAK"
WorkOrderTimeEntryStartInput
Description
Data required to start a work order time entry on a handler row
Fields
| Input Field | Description |
|---|---|
kind - WorkOrderTimeEntryKind!
|
Activity classification recorded for this time entry |
note - String
|
Free-form note attached to the time entry |
workOrderHandlerGroupTicketHandlerId - HashedId
|
GroupTicketHandler handler row this time entry was logged against, when set |
workOrderHandlerPersonnelId - HashedId
|
Personnel handler row this time entry was logged against, when set |
workOrderHandlerTeamId - HashedId
|
Team handler row this time entry was logged against, when set |
workOrderHandlerUserId - HashedId
|
User handler row this time entry was logged against, when set |
Example
{
"kind": "BREAK",
"note": "xyz789",
"workOrderHandlerGroupTicketHandlerId": HashedId,
"workOrderHandlerPersonnelId": HashedId,
"workOrderHandlerTeamId": HashedId,
"workOrderHandlerUserId": HashedId
}
WorkOrderTimeEntryStartedHistory
Description
Records when a work order time entry is started
Fields
| Field Name | Description |
|---|---|
comment - WorkOrderComment
|
Comment associated with this work order history entry |
created - Timestamp!
|
Timestamp when this history entry was created |
id - HashedId!
|
Unique identifier of the work order history entry |
timeEntryEndedAt - DateTime
|
Time entry end timestamp associated with this history entry |
timeEntryId - HashedId
|
Identifier of the time entry associated with this history entry |
timeEntryKind - WorkOrderTimeEntryKind
|
Time entry kind associated with this history entry |
timeEntryNote - String
|
Time entry note associated with this history entry |
timeEntryStartedAt - DateTime
|
Time entry start timestamp associated with this history entry |
timeEntryStopCause - WorkOrderTimeEntryStopCause
|
Reason the time entry was stopped, when available |
trigger - WorkOrderHistoryTrigger!
|
What initiated this history event such as user action or automation |
triggeredByUser - User
|
User who triggered this change, null for automated actions |
triggeredByUserId - HashedId
|
Identifier of the user who triggered this change, null for automated actions |
type - WorkOrderHistoryType!
|
Work order history event type discriminator |
updated - Timestamp
|
Timestamp when this history entry was last updated |
Example
{
"comment": WorkOrderComment,
"created": 1592577642,
"id": HashedId,
"timeEntryEndedAt": "2007-12-03T10:15:30Z",
"timeEntryId": HashedId,
"timeEntryKind": "BREAK",
"timeEntryNote": "xyz789",
"timeEntryStartedAt": "2007-12-03T10:15:30Z",
"timeEntryStopCause": "AUTO_CLOSE_PRIOR",
"trigger": "AUTOMATION",
"triggeredByUser": User,
"triggeredByUserId": HashedId,
"type": "ASSETS_ADDED",
"updated": 1592577642
}
WorkOrderTimeEntryStopCause
Description
Reason a work order time entry was stopped
Values
| Enum Value | Description |
|---|---|
|
|
Time entry was stopped automatically before starting a new entry |
|
|
Time entry was stopped because the work order was cancelled |
|
|
Time entry was stopped because the work order was completed |
|
|
Time entry was stopped because the related handler was removed |
|
|
Time entry was stopped because the work order was put on hold |
|
|
Time entry was stopped by a user action |
Example
"AUTO_CLOSE_PRIOR"
WorkOrderTimeEntryStoppedHistory
Description
Records when a work order time entry is stopped
Fields
| Field Name | Description |
|---|---|
comment - WorkOrderComment
|
Comment associated with this work order history entry |
created - Timestamp!
|
Timestamp when this history entry was created |
id - HashedId!
|
Unique identifier of the work order history entry |
timeEntryEndedAt - DateTime
|
Time entry end timestamp associated with this history entry |
timeEntryId - HashedId
|
Identifier of the time entry associated with this history entry |
timeEntryKind - WorkOrderTimeEntryKind
|
Time entry kind associated with this history entry |
timeEntryNote - String
|
Time entry note associated with this history entry |
timeEntryStartedAt - DateTime
|
Time entry start timestamp associated with this history entry |
timeEntryStopCause - WorkOrderTimeEntryStopCause
|
Reason the time entry was stopped, when available |
trigger - WorkOrderHistoryTrigger!
|
What initiated this history event such as user action or automation |
triggeredByUser - User
|
User who triggered this change, null for automated actions |
triggeredByUserId - HashedId
|
Identifier of the user who triggered this change, null for automated actions |
type - WorkOrderHistoryType!
|
Work order history event type discriminator |
updated - Timestamp
|
Timestamp when this history entry was last updated |
Example
{
"comment": WorkOrderComment,
"created": 1592577642,
"id": HashedId,
"timeEntryEndedAt": "2007-12-03T10:15:30Z",
"timeEntryId": HashedId,
"timeEntryKind": "BREAK",
"timeEntryNote": "abc123",
"timeEntryStartedAt": "2007-12-03T10:15:30Z",
"timeEntryStopCause": "AUTO_CLOSE_PRIOR",
"trigger": "AUTOMATION",
"triggeredByUser": User,
"triggeredByUserId": HashedId,
"type": "ASSETS_ADDED",
"updated": 1592577642
}
WorkOrderTimeEntrySummary
Description
Aggregated time totals across all time entries on a work order
Example
{"breakMs": 123.45, "travelMs": 123.45, "workMs": 987.65}
WorkOrderTimeEntryUpdateInput
Description
Data required to update an existing work order time entry
Fields
| Input Field | Description |
|---|---|
endedAt - DateTime
|
Moment the interval ended; null while the entry is still running |
kind - WorkOrderTimeEntryKind
|
Activity classification recorded for this time entry |
note - String
|
Free-form note attached to the time entry |
startedAt - DateTime
|
Moment the interval started |
Example
{
"endedAt": "2007-12-03T10:15:30Z",
"kind": "BREAK",
"note": "xyz789",
"startedAt": "2007-12-03T10:15:30Z"
}
WorkOrderTimeEntryUpdatedHistory
Description
Records when a work order time entry is updated
Fields
| Field Name | Description |
|---|---|
comment - WorkOrderComment
|
Comment associated with this work order history entry |
created - Timestamp!
|
Timestamp when this history entry was created |
id - HashedId!
|
Unique identifier of the work order history entry |
timeEntryEndedAt - DateTime
|
Time entry end timestamp associated with this history entry |
timeEntryId - HashedId
|
Identifier of the time entry associated with this history entry |
timeEntryKind - WorkOrderTimeEntryKind
|
Time entry kind associated with this history entry |
timeEntryNote - String
|
Time entry note associated with this history entry |
timeEntryStartedAt - DateTime
|
Time entry start timestamp associated with this history entry |
timeEntryStopCause - WorkOrderTimeEntryStopCause
|
Reason the time entry was stopped, when available |
trigger - WorkOrderHistoryTrigger!
|
What initiated this history event such as user action or automation |
triggeredByUser - User
|
User who triggered this change, null for automated actions |
triggeredByUserId - HashedId
|
Identifier of the user who triggered this change, null for automated actions |
type - WorkOrderHistoryType!
|
Work order history event type discriminator |
updated - Timestamp
|
Timestamp when this history entry was last updated |
Example
{
"comment": WorkOrderComment,
"created": 1592577642,
"id": HashedId,
"timeEntryEndedAt": "2007-12-03T10:15:30Z",
"timeEntryId": HashedId,
"timeEntryKind": "BREAK",
"timeEntryNote": "xyz789",
"timeEntryStartedAt": "2007-12-03T10:15:30Z",
"timeEntryStopCause": "AUTO_CLOSE_PRIOR",
"trigger": "AUTOMATION",
"triggeredByUser": User,
"triggeredByUserId": HashedId,
"type": "ASSETS_ADDED",
"updated": 1592577642
}
WorkOrderUpdateAssetsInput
Fields
| Input Field | Description |
|---|---|
assetIds - [HashedId!]!
|
Asset identifiers. Default = [] |
Example
{"assetIds": [HashedId]}
WorkOrderUpdateCostsInput
Fields
| Input Field | Description |
|---|---|
costs - [WorkOrderCostInput!]!
|
Cost entries to assign to the work order |
Example
{"costs": [WorkOrderCostInput]}
WorkOrderUpdateFollowersInput
Fields
| Input Field | Description |
|---|---|
personnel - WorkOrderPersonnelInput!
|
Personnel assignment details for the work order |
Example
{"personnel": WorkOrderPersonnelInput}
WorkOrderUpdateInput
Description
Fields to update on an existing work order
Example
{}
WorkOrderUpdateLocationsInput
Fields
| Input Field | Description |
|---|---|
locations - [WorkOrderLocationInput!]!
|
Location entries to assign to the work order |
Example
{"locations": [WorkOrderLocationInput]}
WorkOrderUpdateV2Input
Description
Fields to update on an existing work order
Fields
| Input Field | Description |
|---|---|
costCenter - String
|
Accounting cost center for financial allocation |
customerName - String
|
Customer name |
description - TranslationInput
|
Localised description of the work order |
endDate - DateTime
|
End date of the period |
expectedUpdatedAt - DateTime
|
Optimistic concurrency token: the updated timestamp the client last observed; when stale the mutation is rejected |
procedureTemplateId - HashedId
|
Procedure template identifier |
siteId - HashedId
|
Site identifier |
startDate - DateTime
|
Start date of the period |
status - WorkOrderStatus
|
Current operational status |
title - TranslationInput
|
Localised title of the work order |
Example
{
"costCenter": "abc123",
"customerName": "abc123",
"description": TranslationInput,
"endDate": "2007-12-03T10:15:30Z",
"expectedUpdatedAt": "2007-12-03T10:15:30Z",
"procedureTemplateId": HashedId,
"siteId": HashedId,
"startDate": "2007-12-03T10:15:30Z",
"status": "CANCELLED",
"title": TranslationInput
}
WorkOrderV2
Description
A planned maintenance task or repair job assigned to technicians
Fields
| Field Name | Description |
|---|---|
assetCollections - [WorkOrderAssetCollection!]!
|
Asset collections for this work order Use WorkOrderV2.assets
|
assets - [Asset!]!
|
Assets that are the subject of this work order |
assignee - WorkOrderPersonnelV2
|
Personnel member primarily responsible for this work order Legacy work order personnel field, superseded by typed work order handler fields. |
comments - [WorkOrderComment!]!
|
Comments posted on this work order, ordered newest first |
costCenter - String
|
Accounting cost center for financial allocation |
costs - [WorkOrderCost!]!
|
all costs currently attached to this work order. Use operatingCosts instead. |
created - Timestamp!
|
Timestamp when the entity was created |
createdByGroup - Group!
|
Group this work order belongs to |
createdByGroupId - HashedId!
|
Created by group identifier |
creationDate - DateTime!
|
Timestamp when this work order was first created |
creator - User!
|
Associated user |
creatorId - HashedId!
|
Created by user identifier |
customerName - String
|
Customer name |
customerSignatures - [WorkOrderCustomerSignature!]!
|
Customer signatures captured on this work order, ordered newest first |
dailyRate - WorkOrderCost
|
the cost from this work order that is its daily rate, if any. Use operatingCosts instead. |
deleted - Timestamp
|
Soft deletion timestamp, null if active |
description - Translation
|
Localised description of the work order |
endDate - DateTime!
|
End date of the period |
externalEmailHandlers - [WorkOrderHandlerExternalEmail!]!
|
External email handler assignments on this work order |
followers - [WorkOrderPersonnelV2!]!
|
Personnel members subscribed to updates on this work order Legacy work order personnel field, superseded by typed work order handler fields. |
groupHandlers - [WorkOrderHandlerGroup!]!
|
Group handler assignments on this work order |
groupTicketHandlerHandlers - [WorkOrderHandlerGroupTicketHandler!]!
|
Group ticket handler assignments on this work order |
history - [WorkOrderHistoryEntry!]!
|
History entries for this work order Use historyV2 instead |
historyV2 - [WorkOrderHistory!]!
|
Typed history entries for this work order, ordered newest first. Coexists with the legacy history field which serves older mobile clients. |
id - HashedId!
|
Unique identifier of the entity |
linkedTickets - [Ticket!]!
|
Tickets created from services opened within this work order |
locations - [WorkOrderLocation!]!
|
Physical locations where work is to be performed |
name - String!
|
Human-readable title of the work order Use title instead |
notes - Translation
|
Additional notes Use description instead |
notesId - HashedId
|
Notes identifier Use description instead |
operatingCosts - [Cost!]!
|
Generic operating costs attached to this work order |
partsUsed - [TicketPartUsage!]!
|
Aggregated parts consumption for this work order |
personnel - [WorkOrderCost!]!
|
Personnel costs for this work order Is not used and returns wrong type |
personnelHandlers - [WorkOrderHandlerPersonnel!]!
|
Personnel handler assignments on this work order |
procedureTemplate - ProcedureTemplate
|
Procedure template used to guide execution of this work order |
procedureTemplateId - HashedId
|
Procedure template identifier |
site - Site
|
Site associated with this work order |
siteId - HashedId
|
Site identifier |
siteManagerHandler - WorkOrderHandlerSiteManager
|
Site manager handler assignment on this work order |
sourceTicket - Ticket
|
Ticket this work order was created from |
sourceTicketId - HashedId
|
Source ticket identifier |
startDate - DateTime!
|
Start date of the period |
status - WorkOrderStatus!
|
Current operational status |
teamHandlers - [WorkOrderHandlerTeam!]!
|
Team handler assignments on this work order |
timeEntries - [WorkOrderTimeEntry!]!
|
Time entries logged on this work order, ordered by start time |
timeEntriesSummary - WorkOrderTimeEntrySummary!
|
Aggregated time totals computed across all time entries |
title - Translation
|
Localised title of the work order |
totalPartsCost - Float
|
Net cost of parts consumed on this work order. Null when priced parts span multiple currencies or no parts are priced. |
updated - Timestamp
|
Timestamp when the entity was last updated |
userHandlers - [WorkOrderHandlerUser!]!
|
User handler assignments on this work order Use personnelHandlers instead. |
workOrderNumber - Int!
|
Work order number |
workers - [WorkOrderPersonnelV2!]!
|
Personnel members assigned to carry out this work order Legacy work order personnel field, superseded by typed work order handler fields. |
Example
{
"assetCollections": [WorkOrderAssetCollection],
"assets": [Asset],
"assignee": WorkOrderPersonnelV2,
"comments": [WorkOrderComment],
"costCenter": "xyz789",
"costs": [WorkOrderCost],
"created": 1592577642,
"createdByGroup": Group,
"createdByGroupId": HashedId,
"creationDate": "2007-12-03T10:15:30Z",
"creator": User,
"creatorId": HashedId,
"customerName": "abc123",
"customerSignatures": [WorkOrderCustomerSignature],
"dailyRate": WorkOrderCost,
"deleted": 1592577642,
"description": Translation,
"endDate": "2007-12-03T10:15:30Z",
"externalEmailHandlers": [
WorkOrderHandlerExternalEmail
],
"followers": [WorkOrderPersonnelV2],
"groupHandlers": [WorkOrderHandlerGroup],
"groupTicketHandlerHandlers": [
WorkOrderHandlerGroupTicketHandler
],
"history": [WorkOrderHistoryEntry],
"historyV2": [WorkOrderHistory],
"id": HashedId,
"linkedTickets": [Ticket],
"locations": [WorkOrderLocation],
"name": "abc123",
"notes": Translation,
"notesId": HashedId,
"operatingCosts": [Cost],
"partsUsed": [TicketPartUsage],
"personnel": [WorkOrderCost],
"personnelHandlers": [WorkOrderHandlerPersonnel],
"procedureTemplate": ProcedureTemplate,
"procedureTemplateId": HashedId,
"site": Site,
"siteId": HashedId,
"siteManagerHandler": WorkOrderHandlerSiteManager,
"sourceTicket": Ticket,
"sourceTicketId": HashedId,
"startDate": "2007-12-03T10:15:30Z",
"status": "CANCELLED",
"teamHandlers": [WorkOrderHandlerTeam],
"timeEntries": [WorkOrderTimeEntry],
"timeEntriesSummary": WorkOrderTimeEntrySummary,
"title": Translation,
"totalPartsCost": 123.45,
"updated": 1592577642,
"userHandlers": [WorkOrderHandlerUser],
"workOrderNumber": 123,
"workers": [WorkOrderPersonnelV2]
}
WorkOrderView
Description
configuration for a work order view
Fields
| Field Name | Description |
|---|---|
created - Timestamp!
|
Timestamp when the entity was created |
displayMode - ViewDisplayMode!
|
display mode that this view uses (e.g. MAP) |
forEntity - ViewEntityEnum!
|
type of entity that this view is for (e.g. ASSET) |
id - HashedId!
|
id (hashed) of the view. can be used to re-order the view, or adjust sharing etc. |
isActive - Boolean!
|
whether this view is enabled for this account |
isDeletable - Boolean!
|
whether this account can delete this view |
isEditable - Boolean!
|
whether this account can change this view's display mode, name or options |
isShareable - Boolean!
|
whether this account can share or unshare this view to this group and sub-groups |
isShared - Boolean!
|
whether this view can be seen by other members of this group, and sub-groups |
isSystemView - Boolean!
|
whether this is a system view (inherited from toolsense system). System views can only be shared/unshared; they cannot be edited. |
isUnsharedByParentGroup - Boolean!
|
whether this view has been unshared by a parent of this group |
options - WorkOrderViewOptions!
|
options describing pagination, filters and columns available in the view |
title - Translation!
|
User-defined name for this saved view |
titleId - HashedId!
|
human-readable, user-input name that is given upon view creation. EXCEPT when isSystemView is true, then this is a string identifier for the view (e.g. "asset-gantt") |
updated - Timestamp
|
Timestamp when the entity was last updated |
Example
{
"created": 1592577642,
"displayMode": "GANTT",
"forEntity": "ASSET",
"id": HashedId,
"isActive": true,
"isDeletable": false,
"isEditable": true,
"isShareable": true,
"isShared": true,
"isSystemView": true,
"isUnsharedByParentGroup": true,
"options": WorkOrderViewOptions,
"title": Translation,
"titleId": HashedId,
"updated": 1592577642
}
WorkOrderViewCreateInput
Description
input used to create a new work order view
Fields
| Input Field | Description |
|---|---|
displayMode - ViewDisplayMode!
|
display mode that this view uses (e.g. MAP) |
options - WorkOrderViewOptionsInput!
|
display options to be stored with this view |
title - TranslationInput!
|
Name to assign to the new saved view |
Example
{
"displayMode": "GANTT",
"options": WorkOrderViewOptionsInput,
"title": TranslationInput
}
WorkOrderViewOptions
Description
Display settings for pagination, filters, and columns in a work order view
Fields
| Field Name | Description |
|---|---|
columns - [String!]!
|
work order columns enabled for this view |
filters - [Filters]
|
well defined filters for this view |
itemsPerPage - Int!
|
number of items per page in this view |
search - String
|
general search string to filter the items in this view |
Example
{
"columns": ["abc123"],
"filters": [Filters],
"itemsPerPage": 987,
"search": "xyz789"
}
WorkOrderViewOptionsInput
Description
Pagination, filter, and column settings for a work order view
Fields
| Input Field | Description |
|---|---|
columns - [String!]!
|
ordered work order columns that are to be displayed in this view |
filters - [FilterParamsInput]
|
Filter criteria |
itemsPerPage - Int!
|
number of work orders per page in the view |
search - String
|
Text search query for filtering results |
Example
{
"columns": ["xyz789"],
"filters": [FilterParamsInput],
"itemsPerPage": 987,
"search": "abc123"
}
WorkOrderViewUpdateInput
Description
input for updating a work order view
Fields
| Input Field | Description |
|---|---|
displayMode - ViewDisplayMode!
|
display mode that this view uses (e.g. MAP) |
id - HashedId!
|
Unique identifier of the entity |
options - WorkOrderViewOptionsInput!
|
options for displaying work orders in this view |
title - TranslationInput!
|
Updated name for the saved view |
Example
{
"displayMode": "GANTT",
"id": HashedId,
"options": WorkOrderViewOptionsInput,
"title": TranslationInput
}
WorkOrderViewerAddedHistory
Description
Records when a viewer is added to a work order
Fields
| Field Name | Description |
|---|---|
comment - WorkOrderComment
|
Comment associated with this work order history entry |
created - Timestamp!
|
Timestamp when this history entry was created |
externalEmail - String
|
External email address of the handler, for non-platform users |
group - Group
|
Group involved in this handler change |
groupId - HashedId
|
Identifier of the group involved in this handler change |
groupTicketHandler - GroupTicketHandler
|
Group ticket handler involved in this handler change |
groupTicketHandlerId - HashedId
|
Identifier of the group ticket handler involved in this handler change |
id - HashedId!
|
Unique identifier of the work order history entry |
personnel - PersonnelValue
|
Personnel involved in this handler change if handler is personnel-backed |
personnelId - HashedId
|
Personnel identifier |
team - Team
|
Team involved in this handler change |
teamId - HashedId
|
Identifier of the team involved in this handler change |
trigger - WorkOrderHistoryTrigger!
|
What initiated this history event such as user action or automation |
triggeredByUser - User
|
User who triggered this change, null for automated actions |
triggeredByUserId - HashedId
|
Identifier of the user who triggered this change, null for automated actions |
type - WorkOrderHistoryType!
|
Work order history event type discriminator |
updated - Timestamp
|
Timestamp when this history entry was last updated |
user - User
|
User involved in this handler change |
userId - HashedId
|
Identifier of the user involved in this handler change |
Example
{
"comment": WorkOrderComment,
"created": 1592577642,
"externalEmail": "abc123",
"group": Group,
"groupId": HashedId,
"groupTicketHandler": GroupTicketHandler,
"groupTicketHandlerId": HashedId,
"id": HashedId,
"personnel": PersonnelValue,
"personnelId": HashedId,
"team": Team,
"teamId": HashedId,
"trigger": "AUTOMATION",
"triggeredByUser": User,
"triggeredByUserId": HashedId,
"type": "ASSETS_ADDED",
"updated": 1592577642,
"user": User,
"userId": HashedId
}
WorkOrderViewerRemovedHistory
Description
Records when a viewer is removed from a work order
Fields
| Field Name | Description |
|---|---|
comment - WorkOrderComment
|
Comment associated with this work order history entry |
created - Timestamp!
|
Timestamp when this history entry was created |
externalEmail - String
|
External email address of the handler, for non-platform users |
group - Group
|
Group involved in this handler change |
groupId - HashedId
|
Identifier of the group involved in this handler change |
groupTicketHandler - GroupTicketHandler
|
Group ticket handler involved in this handler change |
groupTicketHandlerId - HashedId
|
Identifier of the group ticket handler involved in this handler change |
id - HashedId!
|
Unique identifier of the work order history entry |
personnel - PersonnelValue
|
Personnel involved in this handler change if handler is personnel-backed |
personnelId - HashedId
|
Personnel identifier |
team - Team
|
Team involved in this handler change |
teamId - HashedId
|
Identifier of the team involved in this handler change |
trigger - WorkOrderHistoryTrigger!
|
What initiated this history event such as user action or automation |
triggeredByUser - User
|
User who triggered this change, null for automated actions |
triggeredByUserId - HashedId
|
Identifier of the user who triggered this change, null for automated actions |
type - WorkOrderHistoryType!
|
Work order history event type discriminator |
updated - Timestamp
|
Timestamp when this history entry was last updated |
user - User
|
User involved in this handler change |
userId - HashedId
|
Identifier of the user involved in this handler change |
Example
{
"comment": WorkOrderComment,
"created": 1592577642,
"externalEmail": "xyz789",
"group": Group,
"groupId": HashedId,
"groupTicketHandler": GroupTicketHandler,
"groupTicketHandlerId": HashedId,
"id": HashedId,
"personnel": PersonnelValue,
"personnelId": HashedId,
"team": Team,
"teamId": HashedId,
"trigger": "AUTOMATION",
"triggeredByUser": User,
"triggeredByUserId": HashedId,
"type": "ASSETS_ADDED",
"updated": 1592577642,
"user": User,
"userId": HashedId
}
WorkOrderWorkerAddedHistory
Description
Records when a worker is added to a work order
Fields
| Field Name | Description |
|---|---|
comment - WorkOrderComment
|
Comment associated with this work order history entry |
created - Timestamp!
|
Timestamp when this history entry was created |
externalEmail - String
|
External email address of the handler, for non-platform users |
group - Group
|
Group involved in this handler change |
groupId - HashedId
|
Identifier of the group involved in this handler change |
groupTicketHandler - GroupTicketHandler
|
Group ticket handler involved in this handler change |
groupTicketHandlerId - HashedId
|
Identifier of the group ticket handler involved in this handler change |
id - HashedId!
|
Unique identifier of the work order history entry |
personnel - PersonnelValue
|
Personnel involved in this handler change if handler is personnel-backed |
personnelId - HashedId
|
Personnel identifier |
team - Team
|
Team involved in this handler change |
teamId - HashedId
|
Identifier of the team involved in this handler change |
trigger - WorkOrderHistoryTrigger!
|
What initiated this history event such as user action or automation |
triggeredByUser - User
|
User who triggered this change, null for automated actions |
triggeredByUserId - HashedId
|
Identifier of the user who triggered this change, null for automated actions |
type - WorkOrderHistoryType!
|
Work order history event type discriminator |
updated - Timestamp
|
Timestamp when this history entry was last updated |
user - User
|
User involved in this handler change |
userId - HashedId
|
Identifier of the user involved in this handler change |
Example
{
"comment": WorkOrderComment,
"created": 1592577642,
"externalEmail": "xyz789",
"group": Group,
"groupId": HashedId,
"groupTicketHandler": GroupTicketHandler,
"groupTicketHandlerId": HashedId,
"id": HashedId,
"personnel": PersonnelValue,
"personnelId": HashedId,
"team": Team,
"teamId": HashedId,
"trigger": "AUTOMATION",
"triggeredByUser": User,
"triggeredByUserId": HashedId,
"type": "ASSETS_ADDED",
"updated": 1592577642,
"user": User,
"userId": HashedId
}
WorkOrderWorkerInput
WorkOrderWorkerRemovedHistory
Description
Records when a worker is removed from a work order
Fields
| Field Name | Description |
|---|---|
comment - WorkOrderComment
|
Comment associated with this work order history entry |
created - Timestamp!
|
Timestamp when this history entry was created |
externalEmail - String
|
External email address of the handler, for non-platform users |
group - Group
|
Group involved in this handler change |
groupId - HashedId
|
Identifier of the group involved in this handler change |
groupTicketHandler - GroupTicketHandler
|
Group ticket handler involved in this handler change |
groupTicketHandlerId - HashedId
|
Identifier of the group ticket handler involved in this handler change |
id - HashedId!
|
Unique identifier of the work order history entry |
personnel - PersonnelValue
|
Personnel involved in this handler change if handler is personnel-backed |
personnelId - HashedId
|
Personnel identifier |
team - Team
|
Team involved in this handler change |
teamId - HashedId
|
Identifier of the team involved in this handler change |
trigger - WorkOrderHistoryTrigger!
|
What initiated this history event such as user action or automation |
triggeredByUser - User
|
User who triggered this change, null for automated actions |
triggeredByUserId - HashedId
|
Identifier of the user who triggered this change, null for automated actions |
type - WorkOrderHistoryType!
|
Work order history event type discriminator |
updated - Timestamp
|
Timestamp when this history entry was last updated |
user - User
|
User involved in this handler change |
userId - HashedId
|
Identifier of the user involved in this handler change |
Example
{
"comment": WorkOrderComment,
"created": 1592577642,
"externalEmail": "abc123",
"group": Group,
"groupId": HashedId,
"groupTicketHandler": GroupTicketHandler,
"groupTicketHandlerId": HashedId,
"id": HashedId,
"personnel": PersonnelValue,
"personnelId": HashedId,
"team": Team,
"teamId": HashedId,
"trigger": "AUTOMATION",
"triggeredByUser": User,
"triggeredByUserId": HashedId,
"type": "ASSETS_ADDED",
"updated": 1592577642,
"user": User,
"userId": HashedId
}
WorkOrdersPaginatedResult
Description
Work orders paginated result record
Fields
| Field Name | Description |
|---|---|
meta - PaginationMeta!
|
Pagination metadata including total count and page info |
rows - [WorkOrderV2!]!
|
List of records for the current page |
Example
{
"meta": PaginationMeta,
"rows": [WorkOrderV2]
}