PUT api/Histories/{id}
Update an existing History. This is not a partial update therefore, please pass in the full History object to your request. For partial updates, use the PATCH endpoint
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
Activity ID |
globally unique identifier |
Required |
Body Parameters
Serialized Activity record in the body of the request
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": "d3ea0018-81c4-494a-8e87-a2738313b669", "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-05T09:28:32Z", "FileType": "sample string 4", "FileExtension": "sample string 5", "FileName": "sample string 6", "Personal": true, "Shortcut": true }, "IsPrivate": true, "ManageUserId": "1c691f0a-fc22-40d7-8f86-b83e597699f7", "EditDate": "2025-07-05T09:28:32Z", "CreateDate": "2025-07-05T09:28:32Z", "StartTime": "2025-07-05T09:28:32Z", "EndTime": "2025-07-05T09:28:32Z", "Details": "sample string 12", "LinkedEntities": { "Contacts": [ "1857cbba-7cf7-47d9-8e73-60d9ce7601c9", "77a341ed-38cb-4026-89e5-cf461ecd77b8" ], "Companies": [ "18c13f56-82ff-4513-87c2-7260391f1574", "0389fd31-0097-4962-b7e3-cba731387754" ], "Groups": [ "2c1b4813-fc70-4d0f-a456-f706165e3a97", "e2856b1d-f8f1-4866-bd8a-99056a9969de" ], "Opportunities": [ "372af9bc-c1c7-4455-94cb-d850882168fc", "3e5d98ef-64de-4920-86ec-8c97ebb17abb" ] } }
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.