Description: Returns a list of notes. If no staff Id is provided it will use the current users.
Example: https://api.totalsynergy.com/api/v2/Organisation/testOrg/Notes?StaffId=35856
Optional Parameters:
StaffId |
long value - id of staff to filter notes. If no id is given the current user's id will be used |
ProjectId |
long value - id of project to filter notes |
StageId |
long value - id of stage to filter notes |
TaskId |
long value - id of task to filter notes |
ContactId |
long value - id of contact to filter notes |
InvoiceId |
long value - id of invoice to filter notes |
PortalId |
long value - id of portal to filter notes |
ChatId |
long value - id of chat to filter notes |
Response:
{
"totalItems": 1,
"items": [
{
"id": 86,
"subject": "ola",
"text": "ola",
"isActive": true,
"date": "2016-07-26T04:49:43.09",
"dateFormatted": "26/07/2016 4:49:43 AM",
"contactId": 35856,
"name": "Adam Hannigano",
"email": "adam.hannigan@totalsynergy.com",
"imageUrl": 'https://profileimages.azurewebsites.net/synergy/40/AH.jpg\',
"tags": "",
"isNotifyingCurrentUserOfChanges": false,
"links": [],
"comments": [],
"documents": [],
"isLiked": false,
"likeCount": 0,
"hasDocument": false,
"isRead": false,
"timeFrame": null
}
],
"currentPage": 1,
"pageSize": 10,
"totalPages": 1,
"hasNext": false
}