# Equipment Data API
TIP
Resources API should supply the Authorization parameter in the Header when making the request to ensure that right data are being returned.
# Authorization
| Parameter | Type | Required | Value |
|---|---|---|---|
| Authorization | String | Yes | Bearer {Access Token} |
# 1.Get real-time equipment MCU data
Request Parameter
| Parameter | Type | Required | Description |
|---|---|---|---|
| deviceList | Array<String> | Yes | Machine SN, one or more |
Example
POST Get real-time equipment MCU data
https://ilinkopenapi.liugong.com/service/open/OpenOutImp/devsRealTimeMcu
# 2.Get real-time equipment engine data
Request Parameter
| Parameter | Type | Required | Description |
|---|---|---|---|
| deviceList | Array<String> | Yes | Machine SN, one or more |
Example
POST Get real-time equipment engine data
https://ilinkopenapi.liugong.com/service/open/OpenOutImp/devsRealTimeEngine
# 3.Last Known Location
Request Parameter
| Parameter | Type | Required | Description |
|---|---|---|---|
| deviceList | Array<String> | Yes | Machine SN,input one or more |
Example
POST Get Last Known Location
https://ilinkopenapi.liugong.com/service/open/OpenOutImp/getDeviceLastGps
# 4.Get history locations
Request Parameter
| Parameter | Type | Required | Description |
|---|---|---|---|
| serialNumber | String | Yes | Machine SN Only one |
| startTime | Date | No | data from the current date to the day before as default |
| endTime | Date | No | data from the current date to the day before as default |
Example
POST Get equipment history locations
https://ilinkopenapi.liugong.com/service/open/OpenOutImp/getDeviceListGps
# 5.Equipment McuHistory Data
Request Parameter
| Parameter | Type | Required | Description |
|---|---|---|---|
| deviceSn | String | Yes | Machine SN only one |
| startTime | Long | Yes | start time, millisecond timestamp |
| endTime | Long | Yes | end time, millisecond timestamp |
Example
POST Get history data
https://ilinkopenapi.liugong.com/service/open/OpenOutImp/devMcuHistory
# 6.Equipment EngineHistory Data
Request Parameter
| Parameter | Type | Required | Description |
|---|---|---|---|
| deviceSn | String | Yes | Machine SN only one |
| startTime | Long | Yes | start time, millisecond timestamp |
| endTime | Long | Yes | end time, millisecond timestamp |
Example
POST Get history data
https://ilinkopenapi.liugong.com/service/open/OpenOutImp/devEngineHistory