GET v1/Subscriptions/{tcuTypeId}/Customers/{customerId}

Gets available subscriptions for the specific TCU type and customer

Request Information

URI Parameters

NameDescriptionTypeAdditional information
tcuTypeId

The TCU type ID.

integer

Required

customerId

The customer ID.

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of Lhp.EquipmentIntelligence.WebApi.Client.Models.SubscriptionModel
NameDescriptionTypeAdditional information
CustomerTcuTypeSubscriptionId

The customer TCU type subscription ID

integer

None.

Name

The subscription name

string

None.

MonthlyCostUnlimited

The monthly cost for an unlimited subscription

decimal number

None.

TotalCost1Year

The monthly cost for a 1 year subscription

decimal number

None.

TotalCost2Year

The monthly cost for a 2 year subscription

decimal number

None.

TotalCost3Year

The monthly cost for a 3 year subscription

decimal number

None.

TotalCost4Year

The monthly cost for a 4 year subscription

decimal number

None.

TotalCost5Year

The monthly cost for a 5 year subscription

decimal number

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "CustomerTcuTypeSubscriptionId": 1,
    "Name": "sample string 2",
    "MonthlyCostUnlimited": 1.0,
    "TotalCost1Year": 1.0,
    "TotalCost2Year": 1.0,
    "TotalCost3Year": 1.0,
    "TotalCost4Year": 1.0,
    "TotalCost5Year": 1.0
  },
  {
    "CustomerTcuTypeSubscriptionId": 1,
    "Name": "sample string 2",
    "MonthlyCostUnlimited": 1.0,
    "TotalCost1Year": 1.0,
    "TotalCost2Year": 1.0,
    "TotalCost3Year": 1.0,
    "TotalCost4Year": 1.0,
    "TotalCost5Year": 1.0
  }
]

application/xml, text/xml

Sample:
<ArrayOfSubscriptionModel xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <SubscriptionModel>
    <CustomerTcuTypeSubscriptionId>1</CustomerTcuTypeSubscriptionId>
    <Name>sample string 2</Name>
    <MonthlyCostUnlimited>1</MonthlyCostUnlimited>
    <TotalCost1Year>1</TotalCost1Year>
    <TotalCost2Year>1</TotalCost2Year>
    <TotalCost3Year>1</TotalCost3Year>
    <TotalCost4Year>1</TotalCost4Year>
    <TotalCost5Year>1</TotalCost5Year>
  </SubscriptionModel>
  <SubscriptionModel>
    <CustomerTcuTypeSubscriptionId>1</CustomerTcuTypeSubscriptionId>
    <Name>sample string 2</Name>
    <MonthlyCostUnlimited>1</MonthlyCostUnlimited>
    <TotalCost1Year>1</TotalCost1Year>
    <TotalCost2Year>1</TotalCost2Year>
    <TotalCost3Year>1</TotalCost3Year>
    <TotalCost4Year>1</TotalCost4Year>
    <TotalCost5Year>1</TotalCost5Year>
  </SubscriptionModel>
</ArrayOfSubscriptionModel>