POST Dealer/getactivityhistory

Get a list of activities by FromDateUTC and optionally filtered by Activity Type.

Request Information

URI Parameters

None.

Body Parameters

GetActivityHistoryRequest
NameDescriptionTypeAdditional information
fromDateUTC

UTC Date/time to filter requests. This date is compared with the InsertDate.

date

Required

rowLimit

Optional maximum number of rows to return. Returns first N rows since fromDateUTC. Set value to null or 0 to returrn all rows.

integer

None.

activityType

Activity Type

string

None.

token

API access token

globally unique identifier

Required

Request Formats

application/json, text/json

Sample:
{
  "fromDateUTC": "2024-07-16T05:49:27.272521-07:00",
  "rowLimit": 1,
  "activityType": "sample string 2",
  "token": "842d34ea-5f6a-420a-83cc-2a3e465be6ac"
}

application/xml, text/xml

Sample:
<GetActivityHistoryRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AutoAlert.API.Models.Dealer">
  <token xmlns="http://schemas.datacontract.org/2004/07/AutoAlert.API.Models">842d34ea-5f6a-420a-83cc-2a3e465be6ac</token>
  <activityType>sample string 2</activityType>
  <fromDateUTC>2024-07-16T05:49:27.272521-07:00</fromDateUTC>
  <rowLimit>1</rowLimit>
</GetActivityHistoryRequest>

Response Information

Resource Description

GetActivityHistoryResponse
NameDescriptionTypeAdditional information
code

API result code

integer

None.

error

API error message

string

None.

ActivityHistoryList

Activity History list

Collection of ActivityHistoryItem

None.

APIVersion

API Version

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "ActivityHistoryList": [
    {
      "EntityID": "f60fe426-c992-435a-bae4-621cbc8a29ed",
      "ActivityHistoryID": 2,
      "ActivityID": 3,
      "ActivityType": "sample string 4",
      "ActivityStatus": "sample string 5",
      "ActionName": "sample string 6",
      "InsertDate": "2024-07-16T05:49:27.2765375-07:00",
      "Notes": "sample string 8",
      "ActivityActionResult": "sample string 9",
      "PerformedByID": 10,
      "PerformedByFirst": "sample string 11",
      "PerformedByMiddle": "sample string 12",
      "PerformedByLast": "sample string 13",
      "DueDate": "2024-07-16T05:49:27.2765375-07:00"
    },
    {
      "EntityID": "f60fe426-c992-435a-bae4-621cbc8a29ed",
      "ActivityHistoryID": 2,
      "ActivityID": 3,
      "ActivityType": "sample string 4",
      "ActivityStatus": "sample string 5",
      "ActionName": "sample string 6",
      "InsertDate": "2024-07-16T05:49:27.2765375-07:00",
      "Notes": "sample string 8",
      "ActivityActionResult": "sample string 9",
      "PerformedByID": 10,
      "PerformedByFirst": "sample string 11",
      "PerformedByMiddle": "sample string 12",
      "PerformedByLast": "sample string 13",
      "DueDate": "2024-07-16T05:49:27.2765375-07:00"
    }
  ],
  "APIVersion": 1,
  "code": 200,
  "error": "sample string 1"
}

application/xml, text/xml

Sample:
<GetActivityHistoryResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AutoAlert.API.Models.Dealer">
  <APIVersion xmlns="http://schemas.datacontract.org/2004/07/AutoAlert.API">1</APIVersion>
  <error xmlns="http://schemas.datacontract.org/2004/07/AutoAlert.API">sample string 1</error>
  <ActivityHistoryList>
    <ActivityHistoryItem>
      <ActionName>sample string 6</ActionName>
      <ActivityActionResult>sample string 9</ActivityActionResult>
      <ActivityHistoryID>2</ActivityHistoryID>
      <ActivityID>3</ActivityID>
      <ActivityStatus>sample string 5</ActivityStatus>
      <ActivityType>sample string 4</ActivityType>
      <DueDate>2024-07-16T05:49:27.2765375-07:00</DueDate>
      <EntityID>f60fe426-c992-435a-bae4-621cbc8a29ed</EntityID>
      <InsertDate>2024-07-16T05:49:27.2765375-07:00</InsertDate>
      <Notes>sample string 8</Notes>
      <PerformedByFirst>sample string 11</PerformedByFirst>
      <PerformedByID>10</PerformedByID>
      <PerformedByLast>sample string 13</PerformedByLast>
      <PerformedByMiddle>sample string 12</PerformedByMiddle>
    </ActivityHistoryItem>
    <ActivityHistoryItem>
      <ActionName>sample string 6</ActionName>
      <ActivityActionResult>sample string 9</ActivityActionResult>
      <ActivityHistoryID>2</ActivityHistoryID>
      <ActivityID>3</ActivityID>
      <ActivityStatus>sample string 5</ActivityStatus>
      <ActivityType>sample string 4</ActivityType>
      <DueDate>2024-07-16T05:49:27.2765375-07:00</DueDate>
      <EntityID>f60fe426-c992-435a-bae4-621cbc8a29ed</EntityID>
      <InsertDate>2024-07-16T05:49:27.2765375-07:00</InsertDate>
      <Notes>sample string 8</Notes>
      <PerformedByFirst>sample string 11</PerformedByFirst>
      <PerformedByID>10</PerformedByID>
      <PerformedByLast>sample string 13</PerformedByLast>
      <PerformedByMiddle>sample string 12</PerformedByMiddle>
    </ActivityHistoryItem>
  </ActivityHistoryList>
</GetActivityHistoryResponse>