POST api/MultiChoice/FetchMultiChoiceProductsAddOns

Request Information

URI Parameters

None.

Body Parameters

MultiChoiceProductAddOnsParam
NameDescriptionTypeAdditional information
serviceId

string

None.

primaryProductCode

string

None.

Request Formats

application/json, text/json

Sample:
{
  "serviceId": "sample string 1",
  "primaryProductCode": "sample string 2"
}

application/xml, text/xml

Sample:
<MultiChoiceProductAddOnsParam xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CorporateAPI.RequestObjs">
  <primaryProductCode>sample string 2</primaryProductCode>
  <serviceId>sample string 1</serviceId>
</MultiChoiceProductAddOnsParam>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

MuiltchProductAddonsResponsedata
NameDescriptionTypeAdditional information
Responsecode

string

None.

ResponseDescription

string

None.

ProductAddons

AddOnPrdsStatusDescription

None.

Response Formats

application/json, text/json

Sample:
{
  "Responsecode": "sample string 1",
  "ResponseDescription": "sample string 2",
  "ProductAddons": {
    "items": [
      {
        "code": "sample string 1",
        "price": 2,
        "name": "sample string 3",
        "period": "sample string 4",
        "month": "sample string 5"
      },
      {
        "code": "sample string 1",
        "price": 2,
        "name": "sample string 3",
        "period": "sample string 4",
        "month": "sample string 5"
      }
    ]
  }
}

application/xml, text/xml

Sample:
<MuiltchProductAddonsResponsedata xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CorporateAPI.ResponseObjs">
  <ProductAddons>
    <items>
      <AddonPrdsItem>
        <code>sample string 1</code>
        <month>sample string 5</month>
        <name>sample string 3</name>
        <period>sample string 4</period>
        <price>2</price>
      </AddonPrdsItem>
      <AddonPrdsItem>
        <code>sample string 1</code>
        <month>sample string 5</month>
        <name>sample string 3</name>
        <period>sample string 4</period>
        <price>2</price>
      </AddonPrdsItem>
    </items>
  </ProductAddons>
  <ResponseDescription>sample string 2</ResponseDescription>
  <Responsecode>sample string 1</Responsecode>
</MuiltchProductAddonsResponsedata>