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-05-15T04:35:26Z", "FileType": "sample string 4", "FileExtension": "sample string 5", "FileName": "sample string 6", "Personal": true, "Shortcut": true }, "EditDate": "2024-05-15T04:35:26Z", "CreateDate": "2024-05-15T04:35:26Z", "DisplayDate": "2024-05-15T04:35:26Z", "NoteText": "sample string 5", "NoteTypeID": 6, "ID": "7eb5ebb7-41a9-4b9a-9ec1-f8fe3c81376a", "ManageUserID": "5fa4df63-6b69-4e77-91e1-88c1b929c37b", "ManageUserName": "sample string 9", "CreateUserID": "b0344774-a2cc-4f94-9995-537578e1193e", "CreateUserName": "sample string 11", "EditUserID": "3fcd389e-1fec-4c4d-859b-701a54871f8f", "EditUserName": "sample string 13", "IsPrivate": true, "LinkedEntities": { "Contacts": [ "d35fd6bc-094b-43c9-8f69-e6c1833f946c", "32b81c53-b143-4112-afb0-38f720fb59ed" ], "Companies": [ "aa75dc2d-12b2-42d5-8740-bfe94fe3a9f7", "9b3c3a52-64d3-4ce0-9c31-632e6f94a5c0" ], "Groups": [ "655d5a4a-8a22-4329-b901-f251a3ad4161", "2e53ec6a-20b0-4333-baf4-86c6ca5e664e" ], "Opportunities": [ "1e4d0322-e2fa-42e5-8459-553f0c870d4e", "1774ece0-f29c-4bbc-8aa4-6a2c0a9aac79" ] } }, { "HasAttachment": true, "Attachment": { "DisplayName": "sample string 1", "FileSize": 2.1, "LastModified": "2024-05-15T04:35:26Z", "FileType": "sample string 4", "FileExtension": "sample string 5", "FileName": "sample string 6", "Personal": true, "Shortcut": true }, "EditDate": "2024-05-15T04:35:26Z", "CreateDate": "2024-05-15T04:35:26Z", "DisplayDate": "2024-05-15T04:35:26Z", "NoteText": "sample string 5", "NoteTypeID": 6, "ID": "7eb5ebb7-41a9-4b9a-9ec1-f8fe3c81376a", "ManageUserID": "5fa4df63-6b69-4e77-91e1-88c1b929c37b", "ManageUserName": "sample string 9", "CreateUserID": "b0344774-a2cc-4f94-9995-537578e1193e", "CreateUserName": "sample string 11", "EditUserID": "3fcd389e-1fec-4c4d-859b-701a54871f8f", "EditUserName": "sample string 13", "IsPrivate": true, "LinkedEntities": { "Contacts": [ "d35fd6bc-094b-43c9-8f69-e6c1833f946c", "32b81c53-b143-4112-afb0-38f720fb59ed" ], "Companies": [ "aa75dc2d-12b2-42d5-8740-bfe94fe3a9f7", "9b3c3a52-64d3-4ce0-9c31-632e6f94a5c0" ], "Groups": [ "655d5a4a-8a22-4329-b901-f251a3ad4161", "2e53ec6a-20b0-4333-baf4-86c6ca5e664e" ], "Opportunities": [ "1e4d0322-e2fa-42e5-8459-553f0c870d4e", "1774ece0-f29c-4bbc-8aa4-6a2c0a9aac79" ] } } ]