WCUInfo Data Type
Describes general info related to a WCU
name | data type | constraints | description |
---|---|---|---|
wcu-id | string | The WCU ID of the WCU | |
vin | string | The VIN of the vehicle (if any) the WCU is connected to. | |
vehicle-connected | number | required long | If the WCU is connected to a vehicle, this is the unix timestamp when the WCU connected to the vehicle. |
vehicle-disconnected | number | required long | If the WCU is not connected to a vehicle, this is the unix timestamp when the WCU was last disconnected from a vehicle. |
platform-type | string | The WCUs platform type | |
platform-sub-type | string | The WCUs platform sub type | |
last-connected | number | required long | The unix timestamp when the WCU last connected to the WICE portal. |
last-uploaded | number | required long | The unix timestamp when the WCU last uploaded data to the WICE portal. |
last-weeks-uptime | number | required long | The last weeks uptime for the WCU expressed in minutes. |
resource-group | string | The resource group (if any) the WCU is part of. | |
is-active | boolean | required boolean | If the WCU is set as active or not. |
certificate-data | WCUCertificateData | Describes the WCUs certificate if such exists on the WCU. If no certificate exists, null is returned. | |
number-of-vehicles | number | required int | The number of unique vehicles in which the WCU has been installed. |
number-of-finalized-refurbish | number | required int | The number of times the unit has been refurbished. |
wice-registration-date | string | The date, as an ISO-8601 string in UTC (2023-12-07T13:57:43Z), when the WCU connected with the WICE backend for the first time. | |
iccdid | string | The ICCDID (the sim card ID) for the WCUs SIM card. An empty string if no iccdid exists. |
Example
{ "wcu-id" : "...", "vin" : "...", "vehicle-connected" : 12345, "vehicle-disconnected" : 12345, "platform-type" : "...", "platform-sub-type" : "...", "last-connected" : 12345, "last-uploaded" : 12345, "last-weeks-uptime" : 12345, "resource-group" : "...", "is-active" : true, "certificate-data" : { "expiry-date" : "2023-06-23T06:26:08Z", "fingerprint" : "SHA1.Fingerprint=2aae6c35c94fcfb415dbe95f408b9ce91ee846ed" }, "number-of-vehicles" : 2, "number-of-finalized-refurbish" : 1, "wice-registration-date" : "2023-12-07T13:57:43Z", "iccdid" : "891004234814455936F" }