GET api/Histories/{id}?mainEntityType={mainEntityType}

Get all Histories linked to a main entity record. Supported Headers: SelectField, IncludeLink, DetailFormat

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

Id of the main entity record

globally unique identifier

Required

mainEntityType

MainEntityType

Required

Body Parameters

None.

Response Information

Resource Description

Collection of 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.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": "494fdc21-c7c7-4148-a7b5-487e6707a20d",
    "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-04T16:29:39Z",
      "FileType": "sample string 4",
      "FileExtension": "sample string 5",
      "FileName": "sample string 6",
      "Personal": true,
      "Shortcut": true
    },
    "IsPrivate": true,
    "ManageUserId": "2b234b79-56af-464b-a3c8-79c9bf61ca97",
    "EditDate": "2024-05-04T16:29:39Z",
    "CreateDate": "2024-05-04T16:29:39Z",
    "StartTime": "2024-05-04T16:29:39Z",
    "EndTime": "2024-05-04T16:29:39Z",
    "Details": "sample string 12",
    "LinkedEntities": {
      "Contacts": [
        "64b9db55-81e6-4841-adfc-1a0cb414f10d",
        "e3878839-8ca9-421a-a5fc-28bbc6cfb06f"
      ],
      "Companies": [
        "be13b7d0-77e6-404c-9681-f9cc351450c0",
        "5a233e5a-a439-4b08-b12a-5905dc5f1582"
      ],
      "Groups": [
        "deaf69e6-6321-4555-aa4d-0b27c5c7a411",
        "be7cf129-4868-4457-a1ad-d81bbb2d1fc5"
      ],
      "Opportunities": [
        "49cb69ce-fe22-4c80-b1c7-132d7d87d6fd",
        "6bf73c75-4c47-44c1-9969-7aaccfcbacea"
      ]
    }
  },
  {
    "Id": "494fdc21-c7c7-4148-a7b5-487e6707a20d",
    "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-04T16:29:39Z",
      "FileType": "sample string 4",
      "FileExtension": "sample string 5",
      "FileName": "sample string 6",
      "Personal": true,
      "Shortcut": true
    },
    "IsPrivate": true,
    "ManageUserId": "2b234b79-56af-464b-a3c8-79c9bf61ca97",
    "EditDate": "2024-05-04T16:29:39Z",
    "CreateDate": "2024-05-04T16:29:39Z",
    "StartTime": "2024-05-04T16:29:39Z",
    "EndTime": "2024-05-04T16:29:39Z",
    "Details": "sample string 12",
    "LinkedEntities": {
      "Contacts": [
        "64b9db55-81e6-4841-adfc-1a0cb414f10d",
        "e3878839-8ca9-421a-a5fc-28bbc6cfb06f"
      ],
      "Companies": [
        "be13b7d0-77e6-404c-9681-f9cc351450c0",
        "5a233e5a-a439-4b08-b12a-5905dc5f1582"
      ],
      "Groups": [
        "deaf69e6-6321-4555-aa4d-0b27c5c7a411",
        "be7cf129-4868-4457-a1ad-d81bbb2d1fc5"
      ],
      "Opportunities": [
        "49cb69ce-fe22-4c80-b1c7-132d7d87d6fd",
        "6bf73c75-4c47-44c1-9969-7aaccfcbacea"
      ]
    }
  }
]