Mutation
mutation AutoScheduleJob($id: ID!) {
autoScheduleJob(id: $id) {
result {
id
number
jobTypes
valueCents
currency
laborHours
}
errors {
message
code
fields
path
}
}
}Variables
{
"id": "id"
}Response
{
"data": {
"autoScheduleJob": {
"result": {
"id": "id",
"number": 1,
"jobTypes": [
"string"
],
"valueCents": 1,
"currency": "string",
"laborHours": "value"
},
"errors": [
{
"message": "string",
"code": "string",
"fields": [
"string"
],
"path": [
"string"
]
}
]
}
}
}Mutations
autoScheduleJob
MUTATION
autoScheduleJob(id: ID!): AutoScheduleJobResult!Arguments
id
ID!
required
Returns
result
The successful result of the mutation
errors
[MutationError!]!
Any errors generated, if the mutation failed
Mutation
mutation AutoScheduleJob($id: ID!) {
autoScheduleJob(id: $id) {
result {
id
number
jobTypes
valueCents
currency
laborHours
}
errors {
message
code
fields
path
}
}
}Variables
{
"id": "id"
}Response
{
"data": {
"autoScheduleJob": {
"result": {
"id": "id",
"number": 1,
"jobTypes": [
"string"
],
"valueCents": 1,
"currency": "string",
"laborHours": "value"
},
"errors": [
{
"message": "string",
"code": "string",
"fields": [
"string"
],
"path": [
"string"
]
}
]
}
}
}