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": "08bf2d83-7dda-443d-bb13-e21282b934cb",
  "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-05-06T12:21:15Z",
    "FileType": "sample string 4",
    "FileExtension": "sample string 5",
    "FileName": "sample string 6",
    "Personal": true,
    "Shortcut": true
  },
  "IsPrivate": true,
  "ManageUserId": "3df9c9f9-d24a-41a6-8af3-aa89db757229",
  "EditDate": "2024-05-06T12:21:15Z",
  "CreateDate": "2024-05-06T12:21:15Z",
  "StartTime": "2024-05-06T12:21:15Z",
  "EndTime": "2024-05-06T12:21:15Z",
  "Details": "sample string 12",
  "LinkedEntities": {
    "Contacts": [
      "4dcdb091-b24c-434f-9cc7-570a495f7e62",
      "374386d1-b63d-465e-b82f-7841534ba189"
    ],
    "Companies": [
      "06a7de14-baba-425d-bb2c-2d0fb921cd30",
      "6dfbe8b9-c7fa-46b9-b853-355c77fa936d"
    ],
    "Groups": [
      "999872c3-9612-47c2-b447-72212c8807d1",
      "b00182b8-4d80-413f-9456-14d3c4b0ad54"
    ],
    "Opportunities": [
      "901f14dc-dc7f-4a0d-a118-c02b7f1f9f99",
      "04c2d80b-f82d-44b0-9e2f-b034802fe27d"
    ]
  }
}

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:
"d6e950bd-a775-4c7a-8333-8c90c22c62df"