Mutation
mutation CreateProjectArea($input: CreateProjectAreaInput!) {
createProjectArea(input: $input) {
result {
id
label
slug
description
icon
active
}
errors {
message
code
fields
path
}
}
}Variables
{
"input": {
"label": "string"
}
}Response
{
"data": {
"createProjectArea": {
"result": {
"id": "id",
"label": "string",
"slug": "string",
"description": "string",
"icon": "string",
"active": true
},
"errors": [
{
"message": "string",
"code": "string",
"fields": [
"string"
],
"path": [
"string"
]
}
]
}
}
}Mutations
createProjectArea
MUTATION
createProjectArea(input: CreateProjectAreaInput!): CreateProjectAreaResult!Arguments
input
required
Returns
result
The successful result of the mutation
errors
[MutationError!]!
Any errors generated, if the mutation failed
Mutation
mutation CreateProjectArea($input: CreateProjectAreaInput!) {
createProjectArea(input: $input) {
result {
id
label
slug
description
icon
active
}
errors {
message
code
fields
path
}
}
}Variables
{
"input": {
"label": "string"
}
}Response
{
"data": {
"createProjectArea": {
"result": {
"id": "id",
"label": "string",
"slug": "string",
"description": "string",
"icon": "string",
"active": true
},
"errors": [
{
"message": "string",
"code": "string",
"fields": [
"string"
],
"path": [
"string"
]
}
]
}
}
}