POST Dealer/getscheduledactivity
Get a list of scheduled activities optionally filtered by Activity Type.
Request Information
URI Parameters
None.
Body Parameters
GetScheduledActivityRequestName | Description | Type | Additional information |
---|---|---|---|
activityType |
Activity Type |
string |
None. |
token |
API access token |
globally unique identifier |
Required |
Request Formats
application/json, text/json
Sample:
{ "activityType": "sample string 1", "token": "8c351a8e-9699-440f-ad0e-0f3a3da54590" }
application/xml, text/xml
Sample:
<GetScheduledActivityRequest 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">8c351a8e-9699-440f-ad0e-0f3a3da54590</token> <activityType>sample string 1</activityType> </GetScheduledActivityRequest>
Response Information
Resource Description
GetScheduledActivityResponseName | Description | Type | Additional information |
---|---|---|---|
code |
API result code |
integer |
None. |
error |
API error message |
string |
None. |
ScheduledActivityList |
Scheduled Activity list |
Collection of ScheduledActivityItem |
None. |
APIVersion |
API Version |
integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "ScheduledActivityList": [ { "EntityID": "0ec87320-8bd8-496d-8876-4338a172193d", "ActivityID": 2 }, { "EntityID": "0ec87320-8bd8-496d-8876-4338a172193d", "ActivityID": 2 } ], "APIVersion": 1, "code": 200, "error": "sample string 1" }
application/xml, text/xml
Sample:
<GetScheduledActivityResponse 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> <ScheduledActivityList> <ScheduledActivityItem> <ActivityID>2</ActivityID> <EntityID>0ec87320-8bd8-496d-8876-4338a172193d</EntityID> </ScheduledActivityItem> <ScheduledActivityItem> <ActivityID>2</ActivityID> <EntityID>0ec87320-8bd8-496d-8876-4338a172193d</EntityID> </ScheduledActivityItem> </ScheduledActivityList> </GetScheduledActivityResponse>