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": "28958895-1757-4bb7-9215-b474023e29a8",
  "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-01-01T11:01:39Z",
    "FileType": "sample string 4",
    "FileExtension": "sample string 5",
    "FileName": "sample string 6",
    "Personal": true,
    "Shortcut": true
  },
  "IsPrivate": true,
  "ManageUserId": "caad8330-a9fe-4b5e-b400-8c4d442b4472",
  "EditDate": "2026-01-01T11:01:39Z",
  "CreateDate": "2026-01-01T11:01:39Z",
  "StartTime": "2026-01-01T11:01:39Z",
  "EndTime": "2026-01-01T11:01:39Z",
  "Details": "sample string 12",
  "LinkedEntities": {
    "Contacts": [
      "c581f4e1-1c1f-4536-8411-e7a6ff246a34",
      "600b3ef6-3482-40f5-ba8b-f40b86de6e8e"
    ],
    "Companies": [
      "e761dfaf-3f48-411b-b03e-e2a672e0c605",
      "f9b45e77-cda9-4bf3-a7fd-77acf92457c0"
    ],
    "Groups": [
      "2462a8f8-7c08-4810-b552-478121d7e58d",
      "d58b207f-a289-456b-8f1c-225d12b2cb70"
    ],
    "Opportunities": [
      "b73fc793-f1a0-46e4-95d7-79552f5aa79e",
      "3c01a665-25d3-4a83-9f80-96d47cbd4f78"
    ]
  }
}

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:
"2d8c9d34-c262-4407-902c-33654508d0f8"