POST api/Histories
Create a new History
Request Information
URI Parameters
None.
Body Parameters
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. |
Request Formats
application/json, text/json
Sample:
{
"Id": "33119dcf-29a2-4487-bded-96e000415b5f",
"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-03-02T11:39:01Z",
"FileType": "sample string 4",
"FileExtension": "sample string 5",
"FileName": "sample string 6",
"Personal": true,
"Shortcut": true
},
"IsPrivate": true,
"ManageUserId": "4e4da507-1cee-4d12-9b5a-dd6f1532b762",
"EditDate": "2026-03-02T11:39:01Z",
"CreateDate": "2026-03-02T11:39:01Z",
"StartTime": "2026-03-02T11:39:01Z",
"EndTime": "2026-03-02T11:39:01Z",
"Details": "sample string 12",
"LinkedEntities": {
"Contacts": [
"92f030b2-c27f-4b67-abb4-076cb91d0963",
"a240478b-40f7-43b9-8887-1f6124846cc4"
],
"Companies": [
"90031bd0-bcef-4424-9bc3-8fc3c1e0a212",
"3436e251-8154-4a15-ad31-6b35ce203bdb"
],
"Groups": [
"9eb8a43a-fafa-49b8-9413-bcf4bb5956b3",
"7530784d-37b2-41c1-8761-1bf4544ce11d"
],
"Opportunities": [
"7ea5437a-9156-4d18-ad1b-3d6ce7f1ace5",
"c035d7b9-ade0-438d-a95b-e97c36e039f7"
]
}
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Id of the new history record
globally unique identifierResponse Formats
application/json, text/json
Sample:
"377b3e14-0cd2-407a-85af-17a4f6795d36"