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 Note| Name | 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": "2025-12-04T17:25:01Z",
"FileType": "sample string 4",
"FileExtension": "sample string 5",
"FileName": "sample string 6",
"Personal": true,
"Shortcut": true
},
"EditDate": "2025-12-04T17:25:01Z",
"CreateDate": "2025-12-04T17:25:01Z",
"DisplayDate": "2025-12-04T17:25:01Z",
"NoteText": "sample string 5",
"NoteTypeID": 6,
"ID": "3520b97d-170a-4260-baac-54adfbce1cfa",
"ManageUserID": "ffeb0506-ac77-4fbe-8ccd-dc68dd483341",
"ManageUserName": "sample string 9",
"CreateUserID": "fc6587d7-c077-4a59-aa3f-63867a158e6e",
"CreateUserName": "sample string 11",
"EditUserID": "8088b969-5f6a-4112-9cb4-c5ac351ab974",
"EditUserName": "sample string 13",
"IsPrivate": true,
"LinkedEntities": {
"Contacts": [
"f264f3f4-4e20-479b-a826-eca37592e03c",
"1cefb40e-282b-42ae-931d-b1143b10e759"
],
"Companies": [
"4fc62de3-3f7a-4235-854a-a9fbb43918a4",
"de5c5e51-3413-4a55-98b5-7421bd1cf8ba"
],
"Groups": [
"47943b01-717d-4368-9a58-f876efa9aae0",
"faa96b92-3229-4950-9c56-dc39eb4b9369"
],
"Opportunities": [
"76b62117-3654-4232-b60e-4561e51d84d7",
"f6104456-168c-40cd-8ad2-a89c2b7264e7"
]
}
},
{
"HasAttachment": true,
"Attachment": {
"DisplayName": "sample string 1",
"FileSize": 2.1,
"LastModified": "2025-12-04T17:25:01Z",
"FileType": "sample string 4",
"FileExtension": "sample string 5",
"FileName": "sample string 6",
"Personal": true,
"Shortcut": true
},
"EditDate": "2025-12-04T17:25:01Z",
"CreateDate": "2025-12-04T17:25:01Z",
"DisplayDate": "2025-12-04T17:25:01Z",
"NoteText": "sample string 5",
"NoteTypeID": 6,
"ID": "3520b97d-170a-4260-baac-54adfbce1cfa",
"ManageUserID": "ffeb0506-ac77-4fbe-8ccd-dc68dd483341",
"ManageUserName": "sample string 9",
"CreateUserID": "fc6587d7-c077-4a59-aa3f-63867a158e6e",
"CreateUserName": "sample string 11",
"EditUserID": "8088b969-5f6a-4112-9cb4-c5ac351ab974",
"EditUserName": "sample string 13",
"IsPrivate": true,
"LinkedEntities": {
"Contacts": [
"f264f3f4-4e20-479b-a826-eca37592e03c",
"1cefb40e-282b-42ae-931d-b1143b10e759"
],
"Companies": [
"4fc62de3-3f7a-4235-854a-a9fbb43918a4",
"de5c5e51-3413-4a55-98b5-7421bd1cf8ba"
],
"Groups": [
"47943b01-717d-4368-9a58-f876efa9aae0",
"faa96b92-3229-4950-9c56-dc39eb4b9369"
],
"Opportunities": [
"76b62117-3654-4232-b60e-4561e51d84d7",
"f6104456-168c-40cd-8ad2-a89c2b7264e7"
]
}
}
]