GET v2/TcuSubscriptions/{imei}
Gets the current subscription for the supplied IMEI
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
imei |
The TCU IMEI |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
The current subscription
Lhp.EquipmentIntelligence.WebApi.Models.V2.TcuSubscription.TcuSubscriptionName | Description | Type | Additional information |
---|---|---|---|
Name |
The subscription name |
string |
None. |
StartsOn |
If not idle, the date on which the subcription started (formatted yyyy-MM-dd) |
string |
None. |
ExpiresOn |
The date on which the subscription expires (formatted yyyy-MM-dd) |
string |
None. |
Status |
The current status of the subscription |
Lhp.EquipmentIntelligence.CustomerTcuSubscriptionStatuses |
None. |
TcuType |
The TCU type name |
string |
None. |
TcuImei |
The TCU IMEI |
string |
None. |
TcuLastReportedOn |
The date/time the TCU last reported |
date |
None. |
AssetName |
The name of the asset on which the TCU is installed |
string |
None. |
AssetVin |
The VIN of the asset on which the TCU is installed |
string |
None. |
AssetSerialNumber |
The Serial Number of the asset on which the TCU is installed |
string |
None. |
AssetOwner |
The current owner of the asset on which the TCU is installed |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Name": "sample string 1", "StartsOn": "sample string 2", "ExpiresOn": "sample string 3", "Status": "None", "TcuType": "sample string 4", "TcuImei": "sample string 5", "TcuLastReportedOn": "2024-09-07T17:54:01.2484768+00:00", "AssetName": "sample string 6", "AssetVin": "sample string 7", "AssetSerialNumber": "sample string 8", "AssetOwner": "sample string 9" }
application/xml, text/xml
Sample:
<TcuSubscription xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Name>sample string 1</Name> <StartsOn>sample string 2</StartsOn> <ExpiresOn>sample string 3</ExpiresOn> <Status>None</Status> <TcuType>sample string 4</TcuType> <TcuImei>sample string 5</TcuImei> <TcuLastReportedOn>2024-09-07T17:54:01.2484768+00:00</TcuLastReportedOn> <AssetName>sample string 6</AssetName> <AssetVin>sample string 7</AssetVin> <AssetSerialNumber>sample string 8</AssetSerialNumber> <AssetOwner>sample string 9</AssetOwner> </TcuSubscription>