POST v2/Tcus
Create a TCU
Request Information
URI Parameters
None.
Body Parameters
The TCU model
Lhp.EquipmentIntelligence.WebApi.Client.Models.TcuName | Description | Type | Additional information |
---|---|---|---|
TcuId |
The TCU ID |
integer |
None. |
BuildId |
The TCU's build ID |
integer |
None. |
TcuTypeId |
The TCU type ID |
Lhp.EquipmentIntelligence.TcuTypes |
None. |
TcuTypeName |
The TCU type name |
string |
None. |
Name |
The TCU name (usually IMEI) |
string |
None. |
SerialNumber |
The TCU serial number |
string |
None. |
Imei |
The TCU International Mobile Equipment Identity (IMEI) |
string |
None. |
SimId |
Gets or sets the sim identifier. |
integer |
None. |
Sim |
The TCU SIM |
Lhp.EquipmentIntelligence.WebApi.Client.Models.Sim |
None. |
Configuration |
Details concerning the configuration applied to the telematics unit. |
Lhp.EquipmentIntelligence.WebApi.Client.Models.TcuConfiguration |
None. |
Request Formats
application/json, text/json
Sample:
{ "TcuId": 1, "BuildId": 1, "TcuTypeId": 0, "TcuTypeName": "sample string 2", "Name": "sample string 3", "SerialNumber": "sample string 4", "Imei": "sample string 5", "SimId": 1, "Sim": { "SimId": 1, "OwnerCustomerId": 2, "ProviderId": 3, "ProviderName": "sample string 4", "Iccid": "sample string 5", "Imsi": "sample string 6", "Msisdn": "sample string 7", "SerialNumber": "sample string 8", "PhoneNumber": "sample string 9" }, "Configuration": { "BuildId": 1, "ConfigurationNumber": 2, "ApplicationVersion": "sample string 3", "ConfigurationVersion": "sample string 4", "OsVersion": "sample string 5", "DateFrom": "2024-09-07T17:51:53.6305279+00:00" } }
application/xml, text/xml
Sample:
<Tcu xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <TcuId>1</TcuId> <BuildId>1</BuildId> <TcuTypeId>None</TcuTypeId> <TcuTypeName>sample string 2</TcuTypeName> <Name>sample string 3</Name> <SerialNumber>sample string 4</SerialNumber> <Imei>sample string 5</Imei> <SimId>1</SimId> <Sim> <SimId>1</SimId> <OwnerCustomerId>2</OwnerCustomerId> <ProviderId>3</ProviderId> <ProviderName>sample string 4</ProviderName> <Iccid>sample string 5</Iccid> <Imsi>sample string 6</Imsi> <Msisdn>sample string 7</Msisdn> <SerialNumber>sample string 8</SerialNumber> <PhoneNumber>sample string 9</PhoneNumber> </Sim> <Configuration> <BuildId>1</BuildId> <ConfigurationNumber>2</ConfigurationNumber> <ApplicationVersion>sample string 3</ApplicationVersion> <ConfigurationVersion>sample string 4</ConfigurationVersion> <OsVersion>sample string 5</OsVersion> <DateFrom>2024-09-07T17:51:53.6305279+00:00</DateFrom> </Configuration> </Tcu>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
System.Net.Http.HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | System.Version |
None. |
|
Content | System.Net.Http.HttpContent |
None. |
|
StatusCode | System.Net.HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | System.Net.Http.HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |