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-07T07:39:08Z", "FileType": "sample string 4", "FileExtension": "sample string 5", "FileName": "sample string 6", "Personal": true, "Shortcut": true }, "EditDate": "2024-05-07T07:39:08Z", "CreateDate": "2024-05-07T07:39:08Z", "DisplayDate": "2024-05-07T07:39:08Z", "NoteText": "sample string 5", "NoteTypeID": 6, "ID": "62a188e4-1786-43d8-a0f3-9154d7261cba", "ManageUserID": "f2c0355a-4084-4d82-9f99-34ec4cc3a4a2", "ManageUserName": "sample string 9", "CreateUserID": "a9e9fc62-4fc2-4702-b599-d9307b75805e", "CreateUserName": "sample string 11", "EditUserID": "ad73f170-2eb1-4849-8511-b8d72d933d8a", "EditUserName": "sample string 13", "IsPrivate": true, "LinkedEntities": { "Contacts": [ "2b6e7a71-430d-445f-a383-de06e753c6cb", "329fca93-c9cb-4b7d-af52-8878d8e6f52d" ], "Companies": [ "d1ec78b5-7795-4b36-8e26-abc8c5a20899", "43027898-2929-4255-b86e-e7b7c9af0fe4" ], "Groups": [ "7060c984-ab57-4198-9b2c-bced9acdb085", "e958c213-e15c-4924-97c4-434c6a278351" ], "Opportunities": [ "61bfae1c-182c-472f-86d5-b987b9739fff", "55b01a89-5644-4667-badd-98c70cd4f2b6" ] } }, { "HasAttachment": true, "Attachment": { "DisplayName": "sample string 1", "FileSize": 2.1, "LastModified": "2024-05-07T07:39:08Z", "FileType": "sample string 4", "FileExtension": "sample string 5", "FileName": "sample string 6", "Personal": true, "Shortcut": true }, "EditDate": "2024-05-07T07:39:08Z", "CreateDate": "2024-05-07T07:39:08Z", "DisplayDate": "2024-05-07T07:39:08Z", "NoteText": "sample string 5", "NoteTypeID": 6, "ID": "62a188e4-1786-43d8-a0f3-9154d7261cba", "ManageUserID": "f2c0355a-4084-4d82-9f99-34ec4cc3a4a2", "ManageUserName": "sample string 9", "CreateUserID": "a9e9fc62-4fc2-4702-b599-d9307b75805e", "CreateUserName": "sample string 11", "EditUserID": "ad73f170-2eb1-4849-8511-b8d72d933d8a", "EditUserName": "sample string 13", "IsPrivate": true, "LinkedEntities": { "Contacts": [ "2b6e7a71-430d-445f-a383-de06e753c6cb", "329fca93-c9cb-4b7d-af52-8878d8e6f52d" ], "Companies": [ "d1ec78b5-7795-4b36-8e26-abc8c5a20899", "43027898-2929-4255-b86e-e7b7c9af0fe4" ], "Groups": [ "7060c984-ab57-4198-9b2c-bced9acdb085", "e958c213-e15c-4924-97c4-434c6a278351" ], "Opportunities": [ "61bfae1c-182c-472f-86d5-b987b9739fff", "55b01a89-5644-4667-badd-98c70cd4f2b6" ] } } ]