POST Api/IdentityPortal/Subscription/ManageFeatures

Request Information

URI Parameters

None.

Body Parameters

CurrentFeaturesModel
NameDescriptionTypeAdditional information
CustomerPlan_Id

integer

None.

invoice_Id

integer

None.

CustomerFeatures

Collection of CustomerFeaturesModel

None.

Request Formats

application/json, text/json

Sample:
{
  "CustomerPlan_Id": 1,
  "invoice_Id": 2,
  "CustomerFeatures": [
    {
      "CustomerFeature_Id": 1,
      "Feature_Id": 2,
      "IsBasePrice": true,
      "UnitPrice": 4.0
    },
    {
      "CustomerFeature_Id": 1,
      "Feature_Id": 2,
      "IsBasePrice": true,
      "UnitPrice": 4.0
    }
  ]
}

application/xml, text/xml

Sample:
<CurrentFeaturesModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ALOHA.GLOBAL.Models.IdentityPortal">
  <CustomerFeatures>
    <CustomerFeaturesModel>
      <CustomerFeature_Id>1</CustomerFeature_Id>
      <Feature_Id>2</Feature_Id>
      <IsBasePrice>true</IsBasePrice>
      <UnitPrice>4</UnitPrice>
    </CustomerFeaturesModel>
    <CustomerFeaturesModel>
      <CustomerFeature_Id>1</CustomerFeature_Id>
      <Feature_Id>2</Feature_Id>
      <IsBasePrice>true</IsBasePrice>
      <UnitPrice>4</UnitPrice>
    </CustomerFeaturesModel>
  </CustomerFeatures>
  <CustomerPlan_Id>1</CustomerPlan_Id>
  <invoice_Id>2</invoice_Id>
</CurrentFeaturesModel>

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.