POST api/BootStats
API Endpoint that will log machine and OS info to the ECNStats.LastBootTime table. Parameters must be provided in the body of the web request and in JSON format.
Request Information
URI Parameters
None.
Body Parameters
BootStatsRequest| Name | Description | Type | Additional information | 
|---|---|---|---|
| MachineName | string | None. | |
| LastBootTime | date | None. | |
| OSVer | string | None. | |
| Lab | boolean | None. | |
| Laptop | boolean | None. | |
| VM | boolean | None. | |
| Token | globally unique identifier | None. | |
| MachineDomain | string | None. | 
Request Formats
application/json, text/json
            Sample:
        
{
  "MachineName": "sample string 1",
  "LastBootTime": "2025-10-31T13:23:20.5504027-04:00",
  "OSVer": "sample string 3",
  "Lab": true,
  "Laptop": true,
  "VM": true,
  "Token": "6ee773da-03fb-495c-a197-5be40dc78711",
  "MachineDomain": "sample string 8"
}
        application/xml, text/xml
            Sample:
        <BootStatsRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WinAPI.Requests"> <MachineDomain>sample string 8</MachineDomain> <Token>6ee773da-03fb-495c-a197-5be40dc78711</Token> <Lab>true</Lab> <Laptop>true</Laptop> <LastBootTime>2025-10-31T13:23:20.5504027-04:00</LastBootTime> <MachineName>sample string 1</MachineName> <OSVer>sample string 3</OSVer> <VM>true</VM> </BootStatsRequest>
application/x-www-form-urlencoded
            Sample:
    
Sample not available.
Response Information
Resource Description
stringResponse Formats
application/json, text/json
            Sample:
        "sample string 1"
application/xml, text/xml
            Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>