Mutation
mutation CreateContactNote($input: CreateContactNoteInput!) {
createContactNote(input: $input) {
result {
id
body
display
insertedAt
updatedAt
createdByUser {
id
email
firstName
lastName
}
}
errors {
message
code
fields
path
}
}
}Variables
{
"input": {
"body": "string",
"contactId": "id"
}
}Response
{
"data": {
"createContactNote": {
"result": {
"id": "id",
"body": "string",
"display": true,
"insertedAt": "value",
"updatedAt": "value",
"createdByUser": {
"id": "id",
"email": "string",
"firstName": "string",
"lastName": "string"
}
},
"errors": [
{
"message": "string",
"code": "string",
"fields": [
"string"
],
"path": [
"string"
]
}
]
}
}
}Mutations
createContactNote
MUTATION
createContactNote(input: CreateContactNoteInput!): CreateContactNoteResult!Arguments
input
required
Returns
result
The successful result of the mutation
errors
[MutationError!]!
Any errors generated, if the mutation failed
Mutation
mutation CreateContactNote($input: CreateContactNoteInput!) {
createContactNote(input: $input) {
result {
id
body
display
insertedAt
updatedAt
createdByUser {
id
email
firstName
lastName
}
}
errors {
message
code
fields
path
}
}
}Variables
{
"input": {
"body": "string",
"contactId": "id"
}
}Response
{
"data": {
"createContactNote": {
"result": {
"id": "id",
"body": "string",
"display": true,
"insertedAt": "value",
"updatedAt": "value",
"createdByUser": {
"id": "id",
"email": "string",
"firstName": "string",
"lastName": "string"
}
},
"errors": [
{
"message": "string",
"code": "string",
"fields": [
"string"
],
"path": [
"string"
]
}
]
}
}
}