Mutation
mutation DeleteJobConstraint($id: ID!) {
deleteJobConstraint(id: $id) {
result {
id
constraintType
startDate
endDate
notes
insertedAt
}
errors {
message
code
fields
path
}
}
}Variables
{
"id": "id"
}Response
{
"data": {
"deleteJobConstraint": {
"result": {
"id": "id",
"constraintType": "string",
"startDate": "value",
"endDate": "value",
"notes": "string",
"insertedAt": "value"
},
"errors": [
{
"message": "string",
"code": "string",
"fields": [
"string"
],
"path": [
"string"
]
}
]
}
}
}Mutations
deleteJobConstraint
MUTATION
deleteJobConstraint(id: ID!): DeleteJobConstraintResult!Arguments
id
ID!
required
Returns
result
The record that was successfully deleted
errors
[MutationError!]!
Any errors generated, if the mutation failed
Mutation
mutation DeleteJobConstraint($id: ID!) {
deleteJobConstraint(id: $id) {
result {
id
constraintType
startDate
endDate
notes
insertedAt
}
errors {
message
code
fields
path
}
}
}Variables
{
"id": "id"
}Response
{
"data": {
"deleteJobConstraint": {
"result": {
"id": "id",
"constraintType": "string",
"startDate": "value",
"endDate": "value",
"notes": "string",
"insertedAt": "value"
},
"errors": [
{
"message": "string",
"code": "string",
"fields": [
"string"
],
"path": [
"string"
]
}
]
}
}
}