GET v2/Subscriptions/{id}

Get available subscription lengths for the supplied customer TCU type subscription ID

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

The customer TCU type subscription ID

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of Lhp.EquipmentIntelligence.WebApi.Client.Models.SubscriptionLengthModel
NameDescriptionTypeAdditional information
Years

The length in years

integer

None.

Name

The name

string

None.

Cost

The cost per month

decimal number

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Years": 1,
    "Name": "sample string 1",
    "Cost": 2.0
  },
  {
    "Years": 1,
    "Name": "sample string 1",
    "Cost": 2.0
  }
]

application/xml, text/xml

Sample:
<ArrayOfSubscriptionLengthModel xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <SubscriptionLengthModel>
    <Years>1</Years>
    <Name>sample string 1</Name>
    <Cost>2</Cost>
  </SubscriptionLengthModel>
  <SubscriptionLengthModel>
    <Years>1</Years>
    <Name>sample string 1</Name>
    <Cost>2</Cost>
  </SubscriptionLengthModel>
</ArrayOfSubscriptionLengthModel>