POST v1/Tcus

Create a new TCU.

Request Information

URI Parameters

None.

Body Parameters

Details of the new TCU.

Lhp.EquipmentIntelligence.WebApi.Models.V1.TcuModel
NameDescriptionTypeAdditional information
TcuId

integer

None.

BuildId

integer

None.

TcuTypeId

Lhp.EquipmentIntelligence.TcuTypes

None.

Name

string

None.

SerialNumber

string

None.

Imei

string

None.

SimId

integer

None.

OwningCustomerId

ID of the customer that currently owns the TCU

integer

None.

OriginatingCustomerId

ID of the customer that originated the TCU. May be different from the owner if the TCU has been sold down.

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "TcuId": 1,
  "BuildId": 1,
  "TcuTypeId": 0,
  "Name": "sample string 2",
  "SerialNumber": "sample string 3",
  "Imei": "sample string 4",
  "SimId": 1,
  "OwningCustomerId": 5,
  "OriginatingCustomerId": 6
}

application/xml, text/xml

Sample:
<TcuModel 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>
  <Name>sample string 2</Name>
  <SerialNumber>sample string 3</SerialNumber>
  <Imei>sample string 4</Imei>
  <SimId>1</SimId>
  <OwningCustomerId>5</OwningCustomerId>
  <OriginatingCustomerId>6</OriginatingCustomerId>
</TcuModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

System.Net.Http.HttpResponseMessage
NameDescriptionTypeAdditional 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.