POST DealSheet/postactivity

Post Activity.

Request Information

URI Parameters

None.

Body Parameters

PostActivityRequest
NameDescriptionTypeAdditional information
entityId

GUID that uniquely identifies the Entity

globally unique identifier

None.

activityActionId

Activity Action ID

integer

None.

activityId

Activity ID

integer

None.

notes

Notes

string

None.

recordingUrl

Recording Url

string

None.

resultId

Result ID

integer

None.

dueDate

Due Date

date

None.

sendReminder

Send Reminder

boolean

None.

assignTo

Assign To

integer

None.

activityActionSubTypeID

Assign To

byte

None.

token

API access token

globally unique identifier

Required

Request Formats

application/json, text/json

Sample:
{
  "entityId": "28ae2778-16b0-48b3-acab-15a22e1878ac",
  "activityActionId": 2,
  "activityId": 1,
  "notes": "sample string 3",
  "recordingUrl": "sample string 4",
  "resultId": 1,
  "dueDate": "2024-11-20T23:08:37.3736601-08:00",
  "sendReminder": true,
  "assignTo": 1,
  "activityActionSubTypeID": 64,
  "token": "8afc254b-ca34-47d7-b002-455e72051fe4"
}

application/xml, text/xml

Sample:
<PostActivityRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AutoAlert.API.Models.DealSheet">
  <token xmlns="http://schemas.datacontract.org/2004/07/AutoAlert.API.Models">8afc254b-ca34-47d7-b002-455e72051fe4</token>
  <activityActionId>2</activityActionId>
  <activityActionSubTypeID>64</activityActionSubTypeID>
  <activityId>1</activityId>
  <assignTo>1</assignTo>
  <dueDate>2024-11-20T23:08:37.3736601-08:00</dueDate>
  <entityId>28ae2778-16b0-48b3-acab-15a22e1878ac</entityId>
  <notes>sample string 3</notes>
  <recordingUrl>sample string 4</recordingUrl>
  <resultId>1</resultId>
  <sendReminder>true</sendReminder>
</PostActivityRequest>

Response Information

Resource Description

ActivityDetailsList
NameDescriptionTypeAdditional information
code

API result code

integer

None.

error

API error message

string

None.

Activities

Collection of ActivityDetails

None.

APIVersion

API Version

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Activities": [
    {
      "ActivityID": 1,
      "ActivityActionID": 2,
      "ActivityTypeID": 3,
      "ActivityStatusID": 4,
      "ActivityResultID": 1,
      "SetByUserID": 5,
      "AssignedToUserID": 1,
      "SetDate": "2024-11-20T23:08:37.3836684-08:00",
      "DueDate": "2024-11-20T23:08:37.3836684-08:00",
      "Notes": "sample string 7",
      "RecordingUrl": "sample string 8",
      "ActivityActionSubTypeID": 64
    },
    {
      "ActivityID": 1,
      "ActivityActionID": 2,
      "ActivityTypeID": 3,
      "ActivityStatusID": 4,
      "ActivityResultID": 1,
      "SetByUserID": 5,
      "AssignedToUserID": 1,
      "SetDate": "2024-11-20T23:08:37.3836684-08:00",
      "DueDate": "2024-11-20T23:08:37.3836684-08:00",
      "Notes": "sample string 7",
      "RecordingUrl": "sample string 8",
      "ActivityActionSubTypeID": 64
    }
  ],
  "APIVersion": 1,
  "code": 200,
  "error": "sample string 1"
}

application/xml, text/xml

Sample:
<ActivityDetailsList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AutoAlert.API.Models.Mobile">
  <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>
  <Activities>
    <ActivityDetails>
      <ActivityActionID>2</ActivityActionID>
      <ActivityActionSubTypeID>64</ActivityActionSubTypeID>
      <ActivityID>1</ActivityID>
      <ActivityResultID>1</ActivityResultID>
      <ActivityStatusID>4</ActivityStatusID>
      <ActivityTypeID>3</ActivityTypeID>
      <AssignedToUserID>1</AssignedToUserID>
      <DueDate>2024-11-20T23:08:37.3836684-08:00</DueDate>
      <Notes>sample string 7</Notes>
      <RecordingUrl>sample string 8</RecordingUrl>
      <SetByUserID>5</SetByUserID>
      <SetDate>2024-11-20T23:08:37.3836684-08:00</SetDate>
    </ActivityDetails>
    <ActivityDetails>
      <ActivityActionID>2</ActivityActionID>
      <ActivityActionSubTypeID>64</ActivityActionSubTypeID>
      <ActivityID>1</ActivityID>
      <ActivityResultID>1</ActivityResultID>
      <ActivityStatusID>4</ActivityStatusID>
      <ActivityTypeID>3</ActivityTypeID>
      <AssignedToUserID>1</AssignedToUserID>
      <DueDate>2024-11-20T23:08:37.3836684-08:00</DueDate>
      <Notes>sample string 7</Notes>
      <RecordingUrl>sample string 8</RecordingUrl>
      <SetByUserID>5</SetByUserID>
      <SetDate>2024-11-20T23:08:37.3836684-08:00</SetDate>
    </ActivityDetails>
  </Activities>
</ActivityDetailsList>