Mutation
mutation CreateRequestOutcomeReason($input: CreateRequestOutcomeReasonInput!) {
createRequestOutcomeReason(input: $input) {
result {
id
outcome
label
position
}
errors {
message
code
fields
path
}
}
}Variables
{
"input": {
"outcome": "string",
"label": "string"
}
}Response
{
"data": {
"createRequestOutcomeReason": {
"result": {
"id": "id",
"outcome": "string",
"label": "string",
"position": 1
},
"errors": [
{
"message": "string",
"code": "string",
"fields": [
"string"
],
"path": [
"string"
]
}
]
}
}
}Mutations
createRequestOutcomeReason
MUTATION
createRequestOutcomeReason(input: CreateRequestOutcomeReasonInput!): CreateRequestOutcomeReasonResult!Arguments
input
required
Returns
result
The successful result of the mutation
errors
[MutationError!]!
Any errors generated, if the mutation failed
Mutation
mutation CreateRequestOutcomeReason($input: CreateRequestOutcomeReasonInput!) {
createRequestOutcomeReason(input: $input) {
result {
id
outcome
label
position
}
errors {
message
code
fields
path
}
}
}Variables
{
"input": {
"outcome": "string",
"label": "string"
}
}Response
{
"data": {
"createRequestOutcomeReason": {
"result": {
"id": "id",
"outcome": "string",
"label": "string",
"position": 1
},
"errors": [
{
"message": "string",
"code": "string",
"fields": [
"string"
],
"path": [
"string"
]
}
]
}
}
}