POST api/device/heartbeat
Request Information
URI Parameters
None.
Body Parameters
Device| Name | Description | Type | Additional information |
|---|---|---|---|
| DeviceId | string |
None. |
|
| Hostname | string |
None. |
|
| OS | string |
None. |
|
| AgentVersion | string |
None. |
|
| LastSeen | date |
None. |
|
| EnableWidget | boolean |
None. |
|
| EnableWallpaper | boolean |
None. |
|
| UsbLock | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"DeviceId": "sample string 1",
"Hostname": "sample string 2",
"OS": "sample string 3",
"AgentVersion": "sample string 4",
"LastSeen": "2026-03-24T13:17:58.581918+05:30",
"EnableWidget": true,
"EnableWallpaper": true,
"UsbLock": true
}
application/xml, text/xml
Sample:
<Device xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/"> <AgentVersion>sample string 4</AgentVersion> <DeviceId>sample string 1</DeviceId> <EnableWallpaper>true</EnableWallpaper> <EnableWidget>true</EnableWidget> <Hostname>sample string 2</Hostname> <LastSeen>2026-03-24T13:17:58.581918+05:30</LastSeen> <OS>sample string 3</OS> <UsbLock>true</UsbLock> </Device>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.