POST api/Histories

Create a new History

Request Information

URI Parameters

None.

Body Parameters

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": "f147d51f-c2ac-4804-898e-5d2a93d262bf",
  "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": "2026-02-28T23:48:17Z",
    "FileType": "sample string 4",
    "FileExtension": "sample string 5",
    "FileName": "sample string 6",
    "Personal": true,
    "Shortcut": true
  },
  "IsPrivate": true,
  "ManageUserId": "9cfec7ff-1477-4319-9920-278404575cc7",
  "EditDate": "2026-02-28T23:48:17Z",
  "CreateDate": "2026-02-28T23:48:17Z",
  "StartTime": "2026-02-28T23:48:17Z",
  "EndTime": "2026-02-28T23:48:17Z",
  "Details": "sample string 12",
  "LinkedEntities": {
    "Contacts": [
      "a2d05437-5b44-475e-8b4d-3b3d5e02028a",
      "fdded879-9b66-4e23-bb9b-91070976eb36"
    ],
    "Companies": [
      "43c82abb-59db-48c0-aff3-193a44b00a2c",
      "a68877cc-fe3f-4972-8cc7-a32da850192a"
    ],
    "Groups": [
      "c994ca58-76c5-4ea7-a89b-505614caa307",
      "c79df227-78b8-4da3-a090-ae356ea19011"
    ],
    "Opportunities": [
      "fedf8dac-4c18-468f-94ef-7f2d7bea9121",
      "6068eb90-7823-478d-a7c4-fc3965e695ec"
    ]
  }
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Id of the new history record

globally unique identifier

Response Formats

application/json, text/json

Sample:
"fb9ace60-1bcb-41df-95e3-e8b5c201a27a"