Mutation
mutation AddEquipmentInteraction($equipmentId: String!, $input: EquipmentInteractionInput!) {
addEquipmentInteraction(equipmentId: $equipmentId, input: $input) {
interaction {
byKnown
byUser
documents
equipmentId
id
notes
}
knownExternal {
id
name
}
}
}Variables
{
"equipmentId": "string",
"input": {
"occursAt": "value",
"type": "string"
}
}Response
{
"data": {
"addEquipmentInteraction": {
"interaction": {
"byKnown": "string",
"byUser": "string",
"documents": [
"string"
],
"equipmentId": "string",
"id": "string",
"notes": "string"
},
"knownExternal": {
"id": "string",
"name": "string"
}
}
}
}Mutations
addEquipmentInteraction
Adds a service record to a piece of equipment and returns it.
MUTATION
addEquipmentInteraction(equipmentId: String!, input: EquipmentInteractionInput!): AddEquipmentInteractionResult!Arguments
equipmentId
String!
required
Id of the equipment that was serviced.
input
required
The service record to add.
Returns
interaction
The service entry that was recorded.
knownExternal
The external service provider matched or created from knownExternalName.
Mutation
mutation AddEquipmentInteraction($equipmentId: String!, $input: EquipmentInteractionInput!) {
addEquipmentInteraction(equipmentId: $equipmentId, input: $input) {
interaction {
byKnown
byUser
documents
equipmentId
id
notes
}
knownExternal {
id
name
}
}
}Variables
{
"equipmentId": "string",
"input": {
"occursAt": "value",
"type": "string"
}
}Response
{
"data": {
"addEquipmentInteraction": {
"interaction": {
"byKnown": "string",
"byUser": "string",
"documents": [
"string"
],
"equipmentId": "string",
"id": "string",
"notes": "string"
},
"knownExternal": {
"id": "string",
"name": "string"
}
}
}
}