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": "ac677f56-55b6-43da-9f73-1dd6481cf7f4",
  "activityActionId": 2,
  "activityId": 1,
  "notes": "sample string 3",
  "recordingUrl": "sample string 4",
  "resultId": 1,
  "dueDate": "2024-07-15T04:15:13.1727616-07:00",
  "sendReminder": true,
  "assignTo": 1,
  "activityActionSubTypeID": 64,
  "token": "ebd5fabd-4180-4a44-bafe-f88ad97cc0c7"
}

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">ebd5fabd-4180-4a44-bafe-f88ad97cc0c7</token>
  <activityActionId>2</activityActionId>
  <activityActionSubTypeID>64</activityActionSubTypeID>
  <activityId>1</activityId>
  <assignTo>1</assignTo>
  <dueDate>2024-07-15T04:15:13.1727616-07:00</dueDate>
  <entityId>ac677f56-55b6-43da-9f73-1dd6481cf7f4</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-07-15T04:15:13.2197664-07:00",
      "DueDate": "2024-07-15T04:15:13.2197664-07: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-07-15T04:15:13.2197664-07:00",
      "DueDate": "2024-07-15T04:15:13.2197664-07: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-07-15T04:15:13.2197664-07:00</DueDate>
      <Notes>sample string 7</Notes>
      <RecordingUrl>sample string 8</RecordingUrl>
      <SetByUserID>5</SetByUserID>
      <SetDate>2024-07-15T04:15:13.2197664-07: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-07-15T04:15:13.2197664-07:00</DueDate>
      <Notes>sample string 7</Notes>
      <RecordingUrl>sample string 8</RecordingUrl>
      <SetByUserID>5</SetByUserID>
      <SetDate>2024-07-15T04:15:13.2197664-07:00</SetDate>
    </ActivityDetails>
  </Activities>
</ActivityDetailsList>