Return a list of note types
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 |
{- "noteTypes": [
- {
- "id": "118dbd8c-5ba0-47a9-a850-34bbb1dbf3b7",
- "name": "Important Note"
}, - {
- "id": "46669e09-8b45-4ede-afbd-ca73bb89cdb3",
- "label": "Urgent Note"
}
], - "totalRecords": 2
}
Create a new note type.
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 | |||||||||||||||||
|
{- "id": "118dbd8c-5ba0-47a9-a850-34bbb1dbf3b7",
- "name": "Important Note"
}
{- "id": "118dbd8c-5ba0-47a9-a850-34bbb1dbf3b7",
- "name": "Important Note"
}
Update note type with given ID
id required | string <uuid> (uuid) The UUID of a resource |
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 | |||||||||||||||||
|
{- "id": "118dbd8c-5ba0-47a9-a850-34bbb1dbf3b7",
- "name": "Important Note"
}
unable to perform action -- unauthorized
Return a list of notes
query | |
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 |
{- "notes": [
- {
- "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": [
- {
- "id": "1234-5678",
- "type": "package"
}
], - "metadata": {
- "createdDate": "2019-08-24T14:15:22Z",
- "createdByUserId": "4d2aef9a-17b0-44e6-902e-616812033620",
- "createdByUsername": "string",
- "createdBy": {
- "lastName": "Doe",
- "firstName": "John",
- "middleName": "X."
}, - "updatedDate": "2019-08-24T14:15:22Z",
- "updatedByUserId": "b38eaad7-8efa-49e7-b0aa-619916a3821e",
- "updatedByUsername": "string",
- "updatedBy": {
- "lastName": "Doe",
- "firstName": "John",
- "middleName": "X."
}
}
}
], - "totalRecords": 0
}
Create a new note.
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
| |||||||||||||||||
object (Metadata) Metadata about creation and changes to records | |||||||||||||||||
|
{- "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": [
- {
- "id": "1234-5678",
- "type": "package"
}
], - "metadata": {
- "createdDate": "2019-08-24T14:15:22Z",
- "createdByUserId": "4d2aef9a-17b0-44e6-902e-616812033620",
- "createdByUsername": "string",
- "createdBy": {
- "lastName": "Doe",
- "firstName": "John",
- "middleName": "X."
}, - "updatedDate": "2019-08-24T14:15:22Z",
- "updatedByUserId": "b38eaad7-8efa-49e7-b0aa-619916a3821e",
- "updatedByUsername": "string",
- "updatedBy": {
- "lastName": "Doe",
- "firstName": "John",
- "middleName": "X."
}
}
}
{- "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": [
- {
- "id": "1234-5678",
- "type": "package"
}
], - "metadata": {
- "createdDate": "2019-08-24T14:15:22Z",
- "createdByUserId": "4d2aef9a-17b0-44e6-902e-616812033620",
- "createdByUsername": "string",
- "createdBy": {
- "lastName": "Doe",
- "firstName": "John",
- "middleName": "X."
}, - "updatedDate": "2019-08-24T14:15:22Z",
- "updatedByUserId": "b38eaad7-8efa-49e7-b0aa-619916a3821e",
- "updatedByUsername": "string",
- "updatedBy": {
- "lastName": "Doe",
- "firstName": "John",
- "middleName": "X."
}
}
}
Retrieve note with given ID
id required | string <uuid> (uuid) The UUID of a resource |
{- "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": [
- {
- "id": "1234-5678",
- "type": "package"
}
], - "metadata": {
- "createdDate": "2019-08-24T14:15:22Z",
- "createdByUserId": "4d2aef9a-17b0-44e6-902e-616812033620",
- "createdByUsername": "string",
- "createdBy": {
- "lastName": "Doe",
- "firstName": "John",
- "middleName": "X."
}, - "updatedDate": "2019-08-24T14:15:22Z",
- "updatedByUserId": "b38eaad7-8efa-49e7-b0aa-619916a3821e",
- "updatedByUsername": "string",
- "updatedBy": {
- "lastName": "Doe",
- "firstName": "John",
- "middleName": "X."
}
}
}
Update note with given ID
id required | string <uuid> (uuid) The UUID of a resource |
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
| |||||||||||||||||
object (Metadata) Metadata about creation and changes to records | |||||||||||||||||
|
{- "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": [
- {
- "id": "1234-5678",
- "type": "package"
}
], - "metadata": {
- "createdDate": "2019-08-24T14:15:22Z",
- "createdByUserId": "4d2aef9a-17b0-44e6-902e-616812033620",
- "createdByUsername": "string",
- "createdBy": {
- "lastName": "Doe",
- "firstName": "John",
- "middleName": "X."
}, - "updatedDate": "2019-08-24T14:15:22Z",
- "updatedByUserId": "b38eaad7-8efa-49e7-b0aa-619916a3821e",
- "updatedByUsername": "string",
- "updatedBy": {
- "lastName": "Doe",
- "firstName": "John",
- "middleName": "X."
}
}
}
unable to perform action -- unauthorized
Add or delete links to specified list of notes
objectType required | string The type of link's object |
objectId required | string The ID of link's object |
Collection of note links
required | Array of objects (noteLinkUpdate) | ||||
Array
|
{- "notes": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "status": "ASSIGNED"
}
]
}
unable to perform action -- unauthorized
Return a list of notes by status. A maximum of 1000 notes can be returned per request.
domain required | string The domain of note |
objectType required | string The type of link's object |
objectId required | string The ID of link's object |
search | string Partial match case-insensitive search term for note title and note content |
noteType | Array of strings Search string for note type. Note(s) is returned only if it equals to specified word or sequence of words in the titleseparated by com type name. Multiple types should be declared with query parameter sequentially as follows "noteType=a¬eType=b". |
status | string (linkStatusFilter) Default: "all" Enum: "assigned" "unassigned" "all" Filtering records by status. Possible values are ASSIGNED, UNASSIGNED, ALL. |
orderBy | string (notesOrderBy) Enum: "title" "content" "noteType" "updatedDate" Field by which notes are ordered. Possible values are title, content, noteType, updatedDate. The default ascending sorting is applied for title, content, noteType parameters. For updatedDate is descending. |
order | string (orderDirection) Enum: "asc" "desc" Indicates order of notes. Possible values asc, desc. |
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 |
{- "notes": [
- {
- "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": [
- {
- "id": "1234-5678",
- "type": "package"
}
], - "metadata": {
- "createdDate": "2019-08-24T14:15:22Z",
- "createdByUserId": "4d2aef9a-17b0-44e6-902e-616812033620",
- "createdByUsername": "string",
- "createdBy": {
- "lastName": "Doe",
- "firstName": "John",
- "middleName": "X."
}, - "updatedDate": "2019-08-24T14:15:22Z",
- "updatedByUserId": "b38eaad7-8efa-49e7-b0aa-619916a3821e",
- "updatedByUsername": "string",
- "updatedBy": {
- "lastName": "Doe",
- "firstName": "John",
- "middleName": "X."
}
}
}
], - "totalRecords": 0
}