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": "103f3cd7-c3ef-46d2-b5e8-1da5939fb3dd", "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-10-16T14:48:25Z", "FileType": "sample string 4", "FileExtension": "sample string 5", "FileName": "sample string 6", "Personal": true, "Shortcut": true }, "IsPrivate": true, "ManageUserId": "99216ba3-9ac7-4a70-a005-36f9e14efa34", "EditDate": "2025-10-16T14:48:25Z", "CreateDate": "2025-10-16T14:48:25Z", "StartTime": "2025-10-16T14:48:25Z", "EndTime": "2025-10-16T14:48:25Z", "Details": "sample string 12", "LinkedEntities": { "Contacts": [ "78933d32-e18a-44b9-a362-e1af94015752", "d7ee11dc-fd50-40ab-ac32-001fb5567a5f" ], "Companies": [ "3158464c-c746-473a-9b22-7eda8380fb02", "baea6ae3-eabc-489b-9fe4-92a4ed4cd686" ], "Groups": [ "279fb7d3-d023-410f-8ac5-32f336d5fa20", "06a3fa82-f379-48fe-8071-ab6f8e775689" ], "Opportunities": [ "e306ab4d-6ccf-4cff-a07c-3726f9520a6c", "f3716222-c880-4621-96d6-00c1b46e33ef" ] } }
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:
"8d9d0e64-5fac-4b62-9a42-ec3ac0e63846"