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

NameDescriptionTypeAdditional information
id

Activity ID

globally unique identifier

Required

Body Parameters

Serialized Activity record in the body of the request

History
NameDescriptionTypeAdditional 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": "e665d89d-d544-439d-b58c-b512ca0e968b",
  "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": "2024-12-05T02:24:00Z",
    "FileType": "sample string 4",
    "FileExtension": "sample string 5",
    "FileName": "sample string 6",
    "Personal": true,
    "Shortcut": true
  },
  "IsPrivate": true,
  "ManageUserId": "07cae551-c29d-411b-a749-510cd66aa032",
  "EditDate": "2024-12-05T02:24:00Z",
  "CreateDate": "2024-12-05T02:24:00Z",
  "StartTime": "2024-12-05T02:24:00Z",
  "EndTime": "2024-12-05T02:24:00Z",
  "Details": "sample string 12",
  "LinkedEntities": {
    "Contacts": [
      "9bc4c796-c8bd-48f0-8345-c8b81d68c7da",
      "ff921b00-696a-47ee-aa18-af6413ef2c5c"
    ],
    "Companies": [
      "f75fdac5-4f9c-4102-8ff6-233b3da85892",
      "46042225-4a1a-444a-b9b3-53fdbfa383b9"
    ],
    "Groups": [
      "64a69621-3b10-42b4-bd0f-5c1ce285218d",
      "a0c6f75b-e8fc-48bf-b18a-efb981e915f0"
    ],
    "Opportunities": [
      "17877c76-b505-4c22-98ec-becdec6b278e",
      "348e00a6-8262-4e17-8e88-e97b545b7b3e"
    ]
  }
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.