POST v1/CustomerTcus

Sells a TCU

Request Information

URI Parameters

None.

Body Parameters

Lhp.EquipmentIntelligence.WebApi.Models.V1.CustomerTcuModel
NameDescriptionTypeAdditional information
CustomerId

The ID of the customer that is receiving the TCU

integer

None.

TcuId

The TCU ID

integer

None.

CustomerTcuStatusId

The TCU status

integer

None.

BuildId

The build ID

integer

None.

TcuTypeId

The TCU Type

integer

None.

Name

The TCU name

string

None.

SerialNumber

The TCU serial number

string

None.

CustomerTcuTypeSubscriptionId

The subscription ID if applicable

integer

None.

SubscriptionLength

The subscription length in months

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "CustomerId": 1,
  "TcuId": 2,
  "CustomerTcuStatusId": 3,
  "BuildId": 1,
  "TcuTypeId": 4,
  "Name": "sample string 5",
  "SerialNumber": "sample string 6",
  "CustomerTcuTypeSubscriptionId": 1,
  "SubscriptionLength": 1
}

application/xml, text/xml

Sample:
<CustomerTcuModel xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <CustomerId>1</CustomerId>
  <TcuId>2</TcuId>
  <CustomerTcuStatusId>3</CustomerTcuStatusId>
  <BuildId>1</BuildId>
  <TcuTypeId>4</TcuTypeId>
  <Name>sample string 5</Name>
  <SerialNumber>sample string 6</SerialNumber>
  <CustomerTcuTypeSubscriptionId>1</CustomerTcuTypeSubscriptionId>
  <SubscriptionLength>1</SubscriptionLength>
</CustomerTcuModel>

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.