POST api/ProductLine/SubscribeToProductLines

Request Information

URI Parameters

None.

Body Parameters

AddProductLinesToAccountModel
NameDescriptionTypeAdditional information
ProductLines

Collection of ProductLineToAccountModel

None.

Request Formats

application/json, text/json

Sample:
{
  "ProductLines": [
    {
      "ProductLineId": 1,
      "PriceTypeId": 2,
      "paymentCycleId": 1
    },
    {
      "ProductLineId": 1,
      "PriceTypeId": 2,
      "paymentCycleId": 1
    }
  ]
}

application/xml, text/xml

Sample:
<AddProductLinesToAccountModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AccountManagement.Models">
  <ProductLines>
    <ProductLineToAccountModel>
      <PriceTypeId>2</PriceTypeId>
      <ProductLineId>1</ProductLineId>
      <paymentCycleId>1</paymentCycleId>
    </ProductLineToAccountModel>
    <ProductLineToAccountModel>
      <PriceTypeId>2</PriceTypeId>
      <ProductLineId>1</ProductLineId>
      <paymentCycleId>1</paymentCycleId>
    </ProductLineToAccountModel>
  </ProductLines>
</AddProductLinesToAccountModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.