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": "cb8724a1-794c-4ce8-ab18-e09514c59667",
"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-02-28T23:50:26Z",
"FileType": "sample string 4",
"FileExtension": "sample string 5",
"FileName": "sample string 6",
"Personal": true,
"Shortcut": true
},
"IsPrivate": true,
"ManageUserId": "12b5914f-1e63-411b-b6b5-8b69780d86e3",
"EditDate": "2026-02-28T23:50:26Z",
"CreateDate": "2026-02-28T23:50:26Z",
"StartTime": "2026-02-28T23:50:26Z",
"EndTime": "2026-02-28T23:50:26Z",
"Details": "sample string 12",
"LinkedEntities": {
"Contacts": [
"2cac0a5c-4d6b-4557-ad65-f916a0a748dc",
"50399f89-cab4-4ac6-bcf9-ae1e8315c26b"
],
"Companies": [
"d04f14fd-36d2-4666-a8ec-4f8e0b1098c3",
"ad2a8391-5c6e-4b8a-b123-f0e669aeea20"
],
"Groups": [
"5111ff79-03d2-488f-9444-3b504ca802a8",
"db3a0e9f-c3c7-46de-8b87-85c2a700bcd7"
],
"Opportunities": [
"29d5b596-e9d7-45a2-af21-a3e661520711",
"cdfe80b4-00a9-4929-b05f-96f393925640"
]
}
},
{
"Id": "cb8724a1-794c-4ce8-ab18-e09514c59667",
"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-02-28T23:50:26Z",
"FileType": "sample string 4",
"FileExtension": "sample string 5",
"FileName": "sample string 6",
"Personal": true,
"Shortcut": true
},
"IsPrivate": true,
"ManageUserId": "12b5914f-1e63-411b-b6b5-8b69780d86e3",
"EditDate": "2026-02-28T23:50:26Z",
"CreateDate": "2026-02-28T23:50:26Z",
"StartTime": "2026-02-28T23:50:26Z",
"EndTime": "2026-02-28T23:50:26Z",
"Details": "sample string 12",
"LinkedEntities": {
"Contacts": [
"2cac0a5c-4d6b-4557-ad65-f916a0a748dc",
"50399f89-cab4-4ac6-bcf9-ae1e8315c26b"
],
"Companies": [
"d04f14fd-36d2-4666-a8ec-4f8e0b1098c3",
"ad2a8391-5c6e-4b8a-b123-f0e669aeea20"
],
"Groups": [
"5111ff79-03d2-488f-9444-3b504ca802a8",
"db3a0e9f-c3c7-46de-8b87-85c2a700bcd7"
],
"Opportunities": [
"29d5b596-e9d7-45a2-af21-a3e661520711",
"cdfe80b4-00a9-4929-b05f-96f393925640"
]
}
}
]