POST api/Notifications/LatestEvents?authKey={authKey}&vehicleId={vehicleId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
authKey | string |
Required |
|
vehicleId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of NotificationViewModelName | Description | Type | Additional information |
---|---|---|---|
Message | string |
None. |
|
TrackingTime | string |
None. |
|
EventType | integer |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Message": "sample string 1", "TrackingTime": "sample string 2", "EventType": 3 }, { "Message": "sample string 1", "TrackingTime": "sample string 2", "EventType": 3 } ]
text/html
Sample:
[{"Message":"sample string 1","TrackingTime":"sample string 2","EventType":3},{"Message":"sample string 1","TrackingTime":"sample string 2","EventType":3}]
application/xml, text/xml
Sample:
<ArrayOfNotificationViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Dolphin.Controllers"> <NotificationViewModel> <EventType>3</EventType> <Message>sample string 1</Message> <TrackingTime>sample string 2</TrackingTime> </NotificationViewModel> <NotificationViewModel> <EventType>3</EventType> <Message>sample string 1</Message> <TrackingTime>sample string 2</TrackingTime> </NotificationViewModel> </ArrayOfNotificationViewModel>