GET api/Histories/{id}?mainEntityType={mainEntityType}
Get all Histories linked to a main entity record. Supported Headers: 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 History| Name | Description | Type | Additional information |
|---|---|---|---|
| Id |
SQL Column Name: [HISTORYID] |
globally unique identifier |
None. |
| Regarding |
SQL Column Name: [REGARDING] |
string |
None. |
| Duration |
SQL Column Name: [DURATION] |
string |
None. |
| OutlookID | string |
None. |
|
| HistoryTypeID |
SQL Column Name: [HISTORYTYPEID] |
integer |
None. |
| HistoryType | HistoryType |
None. |
|
| Attachment | Attachment |
None. |
|
| IsPrivate | boolean |
None. |
|
| ManageUserId | globally unique identifier |
None. |
|
| EditDate |
SQL Column Name: [EDIT_DATE] |
date |
None. |
| CreateDate |
SQL Column Name: [CREATE_DATE] |
date |
None. |
| StartTime |
SQL Column Name: [START_DATE_TIME] |
date |
None. |
| EndTime |
SQL Column Name: [END_DATE_TIME] |
date |
None. |
| Details |
SQL Column Name: [DETAILS] |
string |
None. |
| LinkedEntities | LinkedEntities |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": "fc68cc54-c004-4ee2-b683-343e64b82404",
"Regarding": "sample string 2",
"Duration": "sample string 3",
"OutlookID": "sample string 4",
"HistoryTypeID": 5,
"HistoryType": {
"Name": "sample string 1",
"HistoryTypeId": 2,
"Description": "sample string 3",
"ActivityTypeID": "sample string 4",
"ActivityTypeName": "sample string 5",
"IsActive": true,
"IsCustom": true,
"IsDefault": true,
"IsUserRecordable": true
},
"Attachment": {
"DisplayName": "sample string 1",
"FileSize": 2.1,
"LastModified": "2026-01-14T05:24:58Z",
"FileType": "sample string 4",
"FileExtension": "sample string 5",
"FileName": "sample string 6",
"Personal": true,
"Shortcut": true
},
"IsPrivate": true,
"ManageUserId": "5f79a7c7-1f8b-4f2f-bf55-2c306cf487b3",
"EditDate": "2026-01-14T05:24:58Z",
"CreateDate": "2026-01-14T05:24:58Z",
"StartTime": "2026-01-14T05:24:58Z",
"EndTime": "2026-01-14T05:24:58Z",
"Details": "sample string 12",
"LinkedEntities": {
"Contacts": [
"828745bc-ca5a-46ed-8a95-58d1345c684d",
"83da7e0b-d83b-4844-b001-0ae4dc1461ba"
],
"Companies": [
"6a3f65e1-b56b-4b4a-9b85-a6da5cfdeec5",
"3722522a-d9d9-464d-8548-286b873a4042"
],
"Groups": [
"a15f224a-5abd-4478-8bea-1b6414eeb966",
"7cbb2470-2d10-4f24-a90c-342ae552bb54"
],
"Opportunities": [
"6ee84fa6-8d40-4102-a579-9901f547f2f5",
"0416e68f-2d5b-47b3-b7c2-9c959513ba72"
]
}
},
{
"Id": "fc68cc54-c004-4ee2-b683-343e64b82404",
"Regarding": "sample string 2",
"Duration": "sample string 3",
"OutlookID": "sample string 4",
"HistoryTypeID": 5,
"HistoryType": {
"Name": "sample string 1",
"HistoryTypeId": 2,
"Description": "sample string 3",
"ActivityTypeID": "sample string 4",
"ActivityTypeName": "sample string 5",
"IsActive": true,
"IsCustom": true,
"IsDefault": true,
"IsUserRecordable": true
},
"Attachment": {
"DisplayName": "sample string 1",
"FileSize": 2.1,
"LastModified": "2026-01-14T05:24:58Z",
"FileType": "sample string 4",
"FileExtension": "sample string 5",
"FileName": "sample string 6",
"Personal": true,
"Shortcut": true
},
"IsPrivate": true,
"ManageUserId": "5f79a7c7-1f8b-4f2f-bf55-2c306cf487b3",
"EditDate": "2026-01-14T05:24:58Z",
"CreateDate": "2026-01-14T05:24:58Z",
"StartTime": "2026-01-14T05:24:58Z",
"EndTime": "2026-01-14T05:24:58Z",
"Details": "sample string 12",
"LinkedEntities": {
"Contacts": [
"828745bc-ca5a-46ed-8a95-58d1345c684d",
"83da7e0b-d83b-4844-b001-0ae4dc1461ba"
],
"Companies": [
"6a3f65e1-b56b-4b4a-9b85-a6da5cfdeec5",
"3722522a-d9d9-464d-8548-286b873a4042"
],
"Groups": [
"a15f224a-5abd-4478-8bea-1b6414eeb966",
"7cbb2470-2d10-4f24-a90c-342ae552bb54"
],
"Opportunities": [
"6ee84fa6-8d40-4102-a579-9901f547f2f5",
"0416e68f-2d5b-47b3-b7c2-9c959513ba72"
]
}
}
]