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": "6de1daf7-6b98-4ff7-8687-a881e85a99d8", "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-18T16:04:52Z", "FileType": "sample string 4", "FileExtension": "sample string 5", "FileName": "sample string 6", "Personal": true, "Shortcut": true }, "IsPrivate": true, "ManageUserId": "8592c32a-6056-4dd7-a8a5-e143c4312c1a", "EditDate": "2025-10-18T16:04:52Z", "CreateDate": "2025-10-18T16:04:52Z", "StartTime": "2025-10-18T16:04:52Z", "EndTime": "2025-10-18T16:04:52Z", "Details": "sample string 12", "LinkedEntities": { "Contacts": [ "0e5c6063-b1a0-4c4a-90d3-f987b4014cf1", "3431a7c9-9103-4888-a284-2d84603cdd0f" ], "Companies": [ "896ec4f2-ff8c-4992-aa00-a55ada926f05", "dabaf05e-76ba-42bc-97d4-95beed3a3c1f" ], "Groups": [ "dcb16373-2003-445d-b9a7-1a86740c8036", "0f26ed6a-8453-4ced-a752-86d77b072880" ], "Opportunities": [ "30099ea5-94bc-40f8-9b98-61aa7edf9246", "656015f3-05a3-486c-92e2-58ed0452456f" ] } }
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:
"b09b6107-587e-4297-b043-f14ec0b0bea6"