Notes API (3.0.0)

note-types

getNoteTypeCollection

Return a list of note types

query Parameters
query
string
Default: "cql.allRecords=1"

A query expressed as a CQL string, for details see Note Types API

offset
integer [ 0 .. 2147483647 ]
Default: 0

Skip over a number of elements by specifying an offset value for the query

limit
integer [ 1 .. 2147483647 ]
Default: 1000

Limit the number of elements returned in the response

Responses

Response samples

Content type
application/json
{
  • "noteTypes": [
    ],
  • "totalRecords": 2
}

createNoteType

Create a new note type.

Request Body schema: application/json

Note type object

id
string <uuid> (uuid)
name
required
string <= 255 characters

The unique name of this type

object (Metadata)

Metadata about creation and changes to records

createdDate
required
string <date-time>

Date and time when the record was created

createdByUserId
string <uuid> (uuid)
createdByUsername
string

Username of the user who created the record (when available)

object (userInfo)

User Display Information

updatedDate
string <date-time>

Date and time when the record was last updated

updatedByUserId
string <uuid> (uuid)
updatedByUsername
string

Username of the user who updated the record (when available)

object (userInfo)

User Display Information

Responses

Request samples

Content type
application/json
{
  • "id": "118dbd8c-5ba0-47a9-a850-34bbb1dbf3b7",
  • "name": "Important Note"
}

Response samples

Content type
application/json
{
  • "id": "118dbd8c-5ba0-47a9-a850-34bbb1dbf3b7",
  • "name": "Important Note"
}

getNoteType

Retrieve note type with given ID

path Parameters
id
required
string <uuid> (uuid)

The UUID of a resource

Responses

Response samples

Content type
application/json
{
  • "id": "118dbd8c-5ba0-47a9-a850-34bbb1dbf3b7",
  • "name": "Important Note"
}

updateNoteType

Update note type with given ID

path Parameters
id
required
string <uuid> (uuid)

The UUID of a resource

Request Body schema: application/json

Note type object

id
string <uuid> (uuid)
name
required
string <= 255 characters

The unique name of this type

object (Metadata)

Metadata about creation and changes to records

createdDate
required
string <date-time>

Date and time when the record was created

createdByUserId
string <uuid> (uuid)
createdByUsername
string

Username of the user who created the record (when available)

object (userInfo)

User Display Information

updatedDate
string <date-time>

Date and time when the record was last updated

updatedByUserId
string <uuid> (uuid)
updatedByUsername
string

Username of the user who updated the record (when available)

object (userInfo)

User Display Information

Responses

Request samples

Content type
application/json
{
  • "id": "118dbd8c-5ba0-47a9-a850-34bbb1dbf3b7",
  • "name": "Important Note"
}

Response samples

Content type
text/plain
unable to perform action -- unauthorized

deleteNoteType

Delete note type with given ID

path Parameters
id
required
string <uuid> (uuid)

The UUID of a resource

Responses

Response samples

Content type
text/plain
unable to perform action -- unauthorized

notes

getNoteCollection

Return a list of notes

query Parameters
query
string
Default: "cql.allRecords=1"

A query expressed as a CQL string, for details see Notes API

offset
integer [ 0 .. 2147483647 ]
Default: 0

Skip over a number of elements by specifying an offset value for the query

limit
integer [ 1 .. 2147483647 ]
Default: 1000

Limit the number of elements returned in the response

Responses

Response samples

Content type
application/json
{
  • "notes": [
    ],
  • "totalRecords": 0
}

createNote

Create a new note.

Request Body schema: application/json

Note object

id
string <uuid> (uuid)
typeId
required
string <uuid> (uuid)
type
string

Type of note (configured in settings)

title
required
string

Note title

domain
required
string

Domain associated with this note

content
string

Content of the note

popUpOnCheckOut
boolean

Flag that specify need of pop-up on check-out app

popUpOnUser
boolean

Flag that specify need of pop-up on users app

Array of objects (Note link)

Collection of links to associated objects

Array
id
required
string

Id of object linked to note

type
required
string

Type of object linked to note

object (Metadata)

Metadata about creation and changes to records

createdDate
required
string <date-time>

Date and time when the record was created

createdByUserId
string <uuid> (uuid)
createdByUsername
string

Username of the user who created the record (when available)

object (userInfo)

User Display Information

updatedDate
string <date-time>

Date and time when the record was last updated

updatedByUserId
string <uuid> (uuid)
updatedByUsername
string

Username of the user who updated the record (when available)

object (userInfo)

User Display Information

Responses

Request samples

Content type
application/json
{
  • "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  • "typeId": "caab7c42-4ce7-4bd5-bbab-6017cec730b7",
  • "type": "string",
  • "title": "string",
  • "domain": "string",
  • "content": "string",
  • "popUpOnCheckOut": true,
  • "popUpOnUser": true,
  • "links": [
    ],
  • "metadata": {
    }
}

Response samples

Content type
application/json
{
  • "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  • "typeId": "caab7c42-4ce7-4bd5-bbab-6017cec730b7",
  • "type": "string",
  • "title": "string",
  • "domain": "string",
  • "content": "string",
  • "popUpOnCheckOut": true,
  • "popUpOnUser": true,
  • "links": [
    ],
  • "metadata": {
    }
}

getNote

Retrieve note with given ID

path Parameters
id
required
string <uuid> (uuid)

The UUID of a resource

Responses

Response samples

Content type
application/json
{
  • "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  • "typeId": "caab7c42-4ce7-4bd5-bbab-6017cec730b7",
  • "type": "string",
  • "title": "string",
  • "domain": "string",
  • "content": "string",
  • "popUpOnCheckOut": true,
  • "popUpOnUser": true,
  • "links": [
    ],
  • "metadata": {
    }
}

updateNote

Update note with given ID

path Parameters
id
required
string <uuid> (uuid)

The UUID of a resource

Request Body schema: application/json

Note object

id
string <uuid> (uuid)
typeId
required
string <uuid> (uuid)
type
string

Type of note (configured in settings)

title
required
string

Note title

domain
required
string

Domain associated with this note

content
string

Content of the note

popUpOnCheckOut
boolean

Flag that specify need of pop-up on check-out app

popUpOnUser
boolean

Flag that specify need of pop-up on users app

Array of objects (Note link)

Collection of links to associated objects

Array
id
required
string

Id of object linked to note

type
required
string

Type of object linked to note

object (Metadata)

Metadata about creation and changes to records

createdDate
required
string <date-time>

Date and time when the record was created

createdByUserId
string <uuid> (uuid)
createdByUsername
string

Username of the user who created the record (when available)

object (userInfo)

User Display Information

updatedDate
string <date-time>

Date and time when the record was last updated

updatedByUserId
string <uuid> (uuid)
updatedByUsername
string

Username of the user who updated the record (when available)

object (userInfo)

User Display Information

Responses

Request samples

Content type
application/json
{
  • "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  • "typeId": "caab7c42-4ce7-4bd5-bbab-6017cec730b7",
  • "type": "string",
  • "title": "string",
  • "domain": "string",
  • "content": "string",
  • "popUpOnCheckOut": true,
  • "popUpOnUser": true,
  • "links": [
    ],
  • "metadata": {
    }
}

Response samples

Content type
text/plain
unable to perform action -- unauthorized

deleteNote

Delete note with given ID

path Parameters
id
required
string <uuid> (uuid)

The UUID of a resource

Responses

Response samples

Content type
text/plain
unable to perform action -- unauthorized