Mutation
mutation UpdateWorkBlock($id: ID!) {
updateWorkBlock(id: $id) {
result {
id
title
startAt
endAt
status
requestId
}
errors {
message
code
fields
path
}
}
}Variables
{
"id": "id"
}Response
{
"data": {
"updateWorkBlock": {
"result": {
"id": "id",
"title": "string",
"startAt": "value",
"endAt": "value",
"status": "string",
"requestId": "id"
},
"errors": [
{
"message": "string",
"code": "string",
"fields": [
"string"
],
"path": [
"string"
]
}
]
}
}
}Mutations
updateWorkBlock
MUTATION
updateWorkBlock(id: ID!, input: UpdateWorkBlockInput): UpdateWorkBlockResult!Arguments
id
ID!
required
input
Returns
result
The successful result of the mutation
errors
[MutationError!]!
Any errors generated, if the mutation failed
Mutation
mutation UpdateWorkBlock($id: ID!) {
updateWorkBlock(id: $id) {
result {
id
title
startAt
endAt
status
requestId
}
errors {
message
code
fields
path
}
}
}Variables
{
"id": "id"
}Response
{
"data": {
"updateWorkBlock": {
"result": {
"id": "id",
"title": "string",
"startAt": "value",
"endAt": "value",
"status": "string",
"requestId": "id"
},
"errors": [
{
"message": "string",
"code": "string",
"fields": [
"string"
],
"path": [
"string"
]
}
]
}
}
}