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": "855b6681-4e1e-44be-82d2-6d6034a82ec3",
"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-04-15T17:02:15Z",
"FileType": "sample string 4",
"FileExtension": "sample string 5",
"FileName": "sample string 6",
"Personal": true,
"Shortcut": true
},
"IsPrivate": true,
"ManageUserId": "77829405-1a03-4191-80a9-d7214639ffb1",
"EditDate": "2026-04-15T17:02:15Z",
"CreateDate": "2026-04-15T17:02:15Z",
"StartTime": "2026-04-15T17:02:15Z",
"EndTime": "2026-04-15T17:02:15Z",
"Details": "sample string 12",
"LinkedEntities": {
"Contacts": [
"903515ee-17dc-41d9-af85-f4475ad8673f",
"0fb4aa1e-2f90-4cee-a2dc-1542da81a480"
],
"Companies": [
"12511fdb-6873-4707-ba6a-96b82cffa72a",
"ee467d30-bef2-49f9-93d4-85c63d0aa3fb"
],
"Groups": [
"7501c64f-8df4-4570-a2b4-1f8c242b29fc",
"674c2e40-6c62-4a03-b2bb-0156fa2656a3"
],
"Opportunities": [
"b4f68f51-24fe-4382-93d4-b79feb959124",
"7428ca6f-ca2b-4058-bf41-8d660b495722"
]
}
},
{
"Id": "855b6681-4e1e-44be-82d2-6d6034a82ec3",
"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-04-15T17:02:15Z",
"FileType": "sample string 4",
"FileExtension": "sample string 5",
"FileName": "sample string 6",
"Personal": true,
"Shortcut": true
},
"IsPrivate": true,
"ManageUserId": "77829405-1a03-4191-80a9-d7214639ffb1",
"EditDate": "2026-04-15T17:02:15Z",
"CreateDate": "2026-04-15T17:02:15Z",
"StartTime": "2026-04-15T17:02:15Z",
"EndTime": "2026-04-15T17:02:15Z",
"Details": "sample string 12",
"LinkedEntities": {
"Contacts": [
"903515ee-17dc-41d9-af85-f4475ad8673f",
"0fb4aa1e-2f90-4cee-a2dc-1542da81a480"
],
"Companies": [
"12511fdb-6873-4707-ba6a-96b82cffa72a",
"ee467d30-bef2-49f9-93d4-85c63d0aa3fb"
],
"Groups": [
"7501c64f-8df4-4570-a2b4-1f8c242b29fc",
"674c2e40-6c62-4a03-b2bb-0156fa2656a3"
],
"Opportunities": [
"b4f68f51-24fe-4382-93d4-b79feb959124",
"7428ca6f-ca2b-4058-bf41-8d660b495722"
]
}
}
]