POST General/getactivities
Get changed Activity data.
Request Information
URI Parameters
None.
Body Parameters
GetVersionedRequestName | Description | Type | Additional information |
---|---|---|---|
versionID |
Version ID |
integer |
Required |
token |
API access token |
globally unique identifier |
Required |
Request Formats
application/json, text/json
Sample:
{ "versionID": 1, "token": "e30caa59-c557-4526-8ea5-f72298ab1189" }
application/xml, text/xml
Sample:
<GetVersionedRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AutoAlert.API.Models.General"> <token xmlns="http://schemas.datacontract.org/2004/07/AutoAlert.API.Models">e30caa59-c557-4526-8ea5-f72298ab1189</token> <versionID>1</versionID> </GetVersionedRequest>
Response Information
Resource Description
ActivitiesListName | Description | Type | Additional information |
---|---|---|---|
code |
API result code |
integer |
None. |
error |
API error message |
string |
None. |
Activities | Collection of Activity |
None. |
|
VersionID | integer |
None. |
|
ExpirationInDays | integer |
None. |
|
APIVersion |
API Version |
integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "Activities": [ { "ActivityID": 1, "ActivityTypeID": 1, "AssignedToUserID": 1, "DueDate": "2024-11-20T22:26:19.5703004-08:00", "Notes": "sample string 2", "EntityID": "bff23ed2-6030-4683-80b1-97799d85d8db", "FullName": "sample string 3", "TrimID": 1, "IsAlert": true, "IsFlexAlert": true, "IsMileageAlert": true, "IsWarrantyAlert": true, "IsContractEnd": true, "IsServiceAlert": true, "IsServiceApptAlert": true, "IsCreditConvert": true, "IsInMarketAlert": true, "IsEngagedAlert": true, "Kind": "sample string 4" }, { "ActivityID": 1, "ActivityTypeID": 1, "AssignedToUserID": 1, "DueDate": "2024-11-20T22:26:19.5703004-08:00", "Notes": "sample string 2", "EntityID": "bff23ed2-6030-4683-80b1-97799d85d8db", "FullName": "sample string 3", "TrimID": 1, "IsAlert": true, "IsFlexAlert": true, "IsMileageAlert": true, "IsWarrantyAlert": true, "IsContractEnd": true, "IsServiceAlert": true, "IsServiceApptAlert": true, "IsCreditConvert": true, "IsInMarketAlert": true, "IsEngagedAlert": true, "Kind": "sample string 4" } ], "VersionID": 1, "ExpirationInDays": 2, "APIVersion": 3, "code": 200, "error": "sample string 1" }
application/xml, text/xml
Sample:
<ActivitiesList 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">3</APIVersion> <error xmlns="http://schemas.datacontract.org/2004/07/AutoAlert.API">sample string 1</error> <ExpirationInDays>2</ExpirationInDays> <VersionID>1</VersionID> <Activities> <Activity> <Kind>sample string 4</Kind> <EntityID>bff23ed2-6030-4683-80b1-97799d85d8db</EntityID> <FullName>sample string 3</FullName> <IsAlert>true</IsAlert> <IsContractEnd>true</IsContractEnd> <IsCreditConvert>true</IsCreditConvert> <IsEngagedAlert>true</IsEngagedAlert> <IsFlexAlert>true</IsFlexAlert> <IsInMarketAlert>true</IsInMarketAlert> <IsMileageAlert>true</IsMileageAlert> <IsServiceAlert>true</IsServiceAlert> <IsServiceApptAlert>true</IsServiceApptAlert> <IsWarrantyAlert>true</IsWarrantyAlert> <TrimID>1</TrimID> <ActivityID>1</ActivityID> <ActivityTypeID>1</ActivityTypeID> <AssignedToUserID>1</AssignedToUserID> <DueDate>2024-11-20T22:26:19.5703004-08:00</DueDate> <Notes>sample string 2</Notes> </Activity> <Activity> <Kind>sample string 4</Kind> <EntityID>bff23ed2-6030-4683-80b1-97799d85d8db</EntityID> <FullName>sample string 3</FullName> <IsAlert>true</IsAlert> <IsContractEnd>true</IsContractEnd> <IsCreditConvert>true</IsCreditConvert> <IsEngagedAlert>true</IsEngagedAlert> <IsFlexAlert>true</IsFlexAlert> <IsInMarketAlert>true</IsInMarketAlert> <IsMileageAlert>true</IsMileageAlert> <IsServiceAlert>true</IsServiceAlert> <IsServiceApptAlert>true</IsServiceApptAlert> <IsWarrantyAlert>true</IsWarrantyAlert> <TrimID>1</TrimID> <ActivityID>1</ActivityID> <ActivityTypeID>1</ActivityTypeID> <AssignedToUserID>1</AssignedToUserID> <DueDate>2024-11-20T22:26:19.5703004-08:00</DueDate> <Notes>sample string 2</Notes> </Activity> </Activities> </ActivitiesList>