Create a note
Creates a new note associated with a specific entity (required scope notes:write)
Header Parameters
The customer identifier
Request Body
- contact: Associated with a contact entity
- job: Associated with a job entity
- stockItem: Associated with a stock item entity
- resource: Associated with a resource entity
- vehicle: Associated with a vehicle entity
- salesOpportunity: Associated with a sales opportunity entity
- contract: Associated with a contract entity
- open: Open
- completed: Completed
- cancelled: Cancelled
- Array [
- ]
Possible values: [contact
, job
, stockItem
, resource
, vehicle
, salesOpportunity
, contract
]
The type of entity that the note is associated to
Possible values:
The unique identifier of the associated entity that owns the note, relative to the entityType
The unique identifier of the note type definition associated to this note
Possible values: non-empty
The subject of the note
The unique id of the user who owns the note. Must have an active licence. If not provided, this will be set to the default user in the note type or the user ID of the API request
The unique identifier of the parent note of this note
The UTC timestamp of when this note is due for completion
The internal reference of the note - should usually be unique. If not provided, this will be auto-generated
Possible values: [open
, completed
, cancelled
]
The status of the note
Possible values:
The completion text for the note
The detailed textual content about the note
customFields object[] nullable
Custom fields associated with the contact
The unique identifier of the associated custom field definition
The value of this custom field. If set to null, any existing value will be unset
- 201
- 400
- 403
- 422
- 500
Created
Schema
Identifier of the newly created record
{
"id": 0
}
Bad Request
Schema
A URI reference [RFC3986] that identifies the problem type
A short, human-readable summary of the problem type
The HTTP status code([RFC7231], Section 6) generated by the origin server for this occurrence of the problem
A human-readable explanation specific to this occurrence of the problem
A URI reference that identifies the specific occurrence of the problem
{
"type": "https://example.com/probs/out-of-credit",
"title": "You do not have enough credit",
"status": 403,
"detail": "Your current balance is 30, but that costs 50",
"instance": "/account/12345/msgs/abc"
}
Forbidden
Schema
A URI reference [RFC3986] that identifies the problem type
A short, human-readable summary of the problem type
The HTTP status code([RFC7231], Section 6) generated by the origin server for this occurrence of the problem
A human-readable explanation specific to this occurrence of the problem
A URI reference that identifies the specific occurrence of the problem
{
"type": "https://example.com/probs/out-of-credit",
"title": "You do not have enough credit",
"status": 403,
"detail": "Your current balance is 30, but that costs 50",
"instance": "/account/12345/msgs/abc"
}
Client Error
Schema
- Array [
- ]
errors object
property name* string[]
string
A URI reference [RFC3986] that identifies the problem type
A short, human-readable summary of the problem type
The HTTP status code([RFC7231], Section 6) generated by the origin server for this occurrence of the problem
A human-readable explanation specific to this occurrence of the problem
A URI reference that identifies the specific occurrence of the problem
{
"errors": {},
"type": "https://example.com/probs/out-of-credit",
"title": "You do not have enough credit",
"status": 403,
"detail": "Your current balance is 30, but that costs 50",
"instance": "/account/12345/msgs/abc"
}
Server Error
Schema
A URI reference [RFC3986] that identifies the problem type
A short, human-readable summary of the problem type
The HTTP status code([RFC7231], Section 6) generated by the origin server for this occurrence of the problem
A human-readable explanation specific to this occurrence of the problem
A URI reference that identifies the specific occurrence of the problem
{
"type": "https://example.com/probs/out-of-credit",
"title": "You do not have enough credit",
"status": 403,
"detail": "Your current balance is 30, but that costs 50",
"instance": "/account/12345/msgs/abc"
}