POST api/Events/GetEventHistory
Request Information
URI Parameters
None.
Body Parameters
EventHistoryName | Description | Type | Additional information |
---|---|---|---|
assetID | integer |
None. |
|
eventType | integer |
None. |
|
numberOfDataPoints | integer |
None. |
|
hours | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "assetID": 1, "eventType": 2, "numberOfDataPoints": 1, "hours": 1 }
application/xml, text/xml
Sample:
<EventHistory xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AirIQ.Online.WebApi.ViewModels"> <assetID>1</assetID> <eventType>2</eventType> <hours>1</hours> <numberOfDataPoints>1</numberOfDataPoints> </EventHistory>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.