POST DealSheet/postactivity
Post Activity.
Request Information
URI Parameters
None.
Body Parameters
PostActivityRequestName | Description | Type | Additional 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": "a8ef9eb2-5b52-47e0-bc33-51bf6b42dea0", "activityActionId": 2, "activityId": 1, "notes": "sample string 3", "recordingUrl": "sample string 4", "resultId": 1, "dueDate": "2024-12-08T01:51:55.9966485-08:00", "sendReminder": true, "assignTo": 1, "activityActionSubTypeID": 64, "token": "5f7c064d-e2ae-4ae5-b77f-b1042595e253" }
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">5f7c064d-e2ae-4ae5-b77f-b1042595e253</token> <activityActionId>2</activityActionId> <activityActionSubTypeID>64</activityActionSubTypeID> <activityId>1</activityId> <assignTo>1</assignTo> <dueDate>2024-12-08T01:51:55.9966485-08:00</dueDate> <entityId>a8ef9eb2-5b52-47e0-bc33-51bf6b42dea0</entityId> <notes>sample string 3</notes> <recordingUrl>sample string 4</recordingUrl> <resultId>1</resultId> <sendReminder>true</sendReminder> </PostActivityRequest>
Response Information
Resource Description
ActivityDetailsListName | Description | Type | Additional 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-12-08T01:51:56.0056507-08:00", "DueDate": "2024-12-08T01:51:56.0056507-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-12-08T01:51:56.0056507-08:00", "DueDate": "2024-12-08T01:51:56.0056507-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-12-08T01:51:56.0056507-08:00</DueDate> <Notes>sample string 7</Notes> <RecordingUrl>sample string 8</RecordingUrl> <SetByUserID>5</SetByUserID> <SetDate>2024-12-08T01:51:56.0056507-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-12-08T01:51:56.0056507-08:00</DueDate> <Notes>sample string 7</Notes> <RecordingUrl>sample string 8</RecordingUrl> <SetByUserID>5</SetByUserID> <SetDate>2024-12-08T01:51:56.0056507-08:00</SetDate> </ActivityDetails> </Activities> </ActivityDetailsList>