GET api/Notes/{id}?mainEntityType={mainEntityType}
Get all Histories linked to a main entity record. Supported Headers: Filter, Take, Skip, Sort, SortDesc, SelectField, IncludeLink, DetailFormat
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
Id of the main entity record |
globally unique identifier |
Required |
mainEntityType | MainEntityType |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of NoteName | Description | Type | Additional information |
---|---|---|---|
HasAttachment | boolean |
None. |
|
Attachment | Attachment |
None. |
|
EditDate |
SQL Column Name: [EDIT_DATE] |
date |
None. |
CreateDate |
SQL Column Name: [CREATE_DATE] |
date |
None. |
DisplayDate |
SQL Column Name: [NOTE_DATE] |
date |
None. |
NoteText |
SQL Column Name: [NOTE] |
string |
None. |
NoteTypeID |
SQL Column Name: [NOTETYPEID] |
integer |
None. |
ID |
SQL Column Name: [NOTEID] |
globally unique identifier |
None. |
ManageUserID | globally unique identifier |
None. |
|
ManageUserName |
SQL Column Name: [RECORD_MANAGER] |
string |
None. |
CreateUserID | globally unique identifier |
None. |
|
CreateUserName |
SQL Column Name: [RECORD_CREATOR] |
string |
None. |
EditUserID | globally unique identifier |
None. |
|
EditUserName |
SQL Column Name: [LAST_EDITED_BY] |
string |
None. |
IsPrivate |
SQL Column Name: [PRIVATE] |
boolean |
None. |
LinkedEntities | LinkedEntities |
None. |
Response Formats
application/json, text/json
Sample:
[ { "HasAttachment": true, "Attachment": { "DisplayName": "sample string 1", "FileSize": 2.1, "LastModified": "2024-12-05T02:44:28Z", "FileType": "sample string 4", "FileExtension": "sample string 5", "FileName": "sample string 6", "Personal": true, "Shortcut": true }, "EditDate": "2024-12-05T02:44:28Z", "CreateDate": "2024-12-05T02:44:28Z", "DisplayDate": "2024-12-05T02:44:28Z", "NoteText": "sample string 5", "NoteTypeID": 6, "ID": "5fc40af5-362d-4f94-9cbe-cd30e0834a59", "ManageUserID": "173887e7-032e-4224-876c-328fbd8d04a9", "ManageUserName": "sample string 9", "CreateUserID": "1839e716-b574-40cb-bfbb-f3cb76a5a4aa", "CreateUserName": "sample string 11", "EditUserID": "3f1d84e1-0aea-4a08-b677-1a9a49c7243c", "EditUserName": "sample string 13", "IsPrivate": true, "LinkedEntities": { "Contacts": [ "48599290-6e28-45c8-8202-a902e2c8f0d5", "ad9ed459-c084-4a9e-8315-9478ccfef36b" ], "Companies": [ "8b776538-31b1-4c0f-8051-20cb25f5c601", "fa0a23b3-c955-416c-83e5-48d71ce39f0e" ], "Groups": [ "a3465f2f-c867-437c-a58f-91bd7174b4b7", "06f1dabb-681a-4732-9959-816f410f9c4e" ], "Opportunities": [ "2e69c04a-c060-4f32-85f5-a097c1ad6db8", "760b3c71-77e7-45b8-9956-18b4a77c258a" ] } }, { "HasAttachment": true, "Attachment": { "DisplayName": "sample string 1", "FileSize": 2.1, "LastModified": "2024-12-05T02:44:28Z", "FileType": "sample string 4", "FileExtension": "sample string 5", "FileName": "sample string 6", "Personal": true, "Shortcut": true }, "EditDate": "2024-12-05T02:44:28Z", "CreateDate": "2024-12-05T02:44:28Z", "DisplayDate": "2024-12-05T02:44:28Z", "NoteText": "sample string 5", "NoteTypeID": 6, "ID": "5fc40af5-362d-4f94-9cbe-cd30e0834a59", "ManageUserID": "173887e7-032e-4224-876c-328fbd8d04a9", "ManageUserName": "sample string 9", "CreateUserID": "1839e716-b574-40cb-bfbb-f3cb76a5a4aa", "CreateUserName": "sample string 11", "EditUserID": "3f1d84e1-0aea-4a08-b677-1a9a49c7243c", "EditUserName": "sample string 13", "IsPrivate": true, "LinkedEntities": { "Contacts": [ "48599290-6e28-45c8-8202-a902e2c8f0d5", "ad9ed459-c084-4a9e-8315-9478ccfef36b" ], "Companies": [ "8b776538-31b1-4c0f-8051-20cb25f5c601", "fa0a23b3-c955-416c-83e5-48d71ce39f0e" ], "Groups": [ "a3465f2f-c867-437c-a58f-91bd7174b4b7", "06f1dabb-681a-4732-9959-816f410f9c4e" ], "Opportunities": [ "2e69c04a-c060-4f32-85f5-a097c1ad6db8", "760b3c71-77e7-45b8-9956-18b4a77c258a" ] } } ]