query EquipmentStatusChanges {
equipmentStatusChanges {
changedAt
changedById
equipmentId
fromStatus
id
note
}
}{
"data": {
"equipmentStatusChanges": [
{
"changedAt": "value",
"changedById": "string",
"equipmentId": "string",
"fromStatus": "string",
"id": "string",
"note": "string"
}
]
}
}equipmentStatusChanges
Status changes of the organization’s equipment, narrowed by the arguments given. Empty if there are no status changes.
equipmentStatusChanges(equipmentId: String, from: DateTime, siteId: Int, statuses: [String!], to: DateTime): [EquipmentStatusChange!]!Arguments
Id of the equipment whose status changes to return.
Earliest change time to include.
Id of the site whose equipment to include.
New statuses to include, any of 'OPERATIONAL' (Operational) or 'OUT_OF_ORDER' (Out of order). Set as an empty list if there are no statuses to narrow by.
Latest change time to include.
Returns
When the status changed.
Id of the user who changed the status.
Id of the equipment whose status changed.
Status before the change, one of 'OPERATIONAL' (Operational) or 'OUT_OF_ORDER' (Out of order).
Id of the status change.
Note explaining the change.
Status after the change, one of 'OPERATIONAL' (Operational) or 'OUT_OF_ORDER' (Out of order).
query EquipmentStatusChanges {
equipmentStatusChanges {
changedAt
changedById
equipmentId
fromStatus
id
note
}
}{
"data": {
"equipmentStatusChanges": [
{
"changedAt": "value",
"changedById": "string",
"equipmentId": "string",
"fromStatus": "string",
"id": "string",
"note": "string"
}
]
}
}