POST api/Histories
Create a new History
Request Information
URI Parameters
None.
Body Parameters
HistoryName | 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": "77702602-a11d-4563-ba52-eb7b42257b7a", "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": "2025-07-19T05:44:35Z", "FileType": "sample string 4", "FileExtension": "sample string 5", "FileName": "sample string 6", "Personal": true, "Shortcut": true }, "IsPrivate": true, "ManageUserId": "9f16b555-c73e-4aa4-8c64-0ae394083bba", "EditDate": "2025-07-19T05:44:35Z", "CreateDate": "2025-07-19T05:44:35Z", "StartTime": "2025-07-19T05:44:35Z", "EndTime": "2025-07-19T05:44:35Z", "Details": "sample string 12", "LinkedEntities": { "Contacts": [ "e35089e6-f100-4bff-a321-85c615563c56", "338217d2-6724-4d44-a2b3-9deca4cf2a54" ], "Companies": [ "6401e738-daef-4bba-8b19-14d138b59a26", "8d9ef183-d7d9-41d3-afa6-75156bd2f30b" ], "Groups": [ "2b431a3f-6760-4b98-946c-7e5418db4c3a", "0202ec05-02f1-4432-8808-cd3a27c9ed6f" ], "Opportunities": [ "fa6b1639-67db-402b-979a-4d5fa5ebc951", "6834e67d-c414-4358-88d8-fe7a77e41176" ] } }
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:
"0109fafd-a6c0-4382-b84a-4b38fb63b4b5"