GET onlinestore/ProductPlanDetails?ProductCode={ProductCode}&PlanId={PlanId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
ProductCode

string

Required

PlanId

string

Required

Body Parameters

None.

Response Information

Resource Description

SubjectChapterData
NameDescriptionTypeAdditional information
SubjectChapterList

Collection of SubjectChapterListdetails

None.

PSD

ProductSubscriptionDetails

None.

Response Formats

application/json, text/json

Sample:
{
  "SubjectChapterList": [
    {
      "Subdetails": {
        "SubjectCode": "sample string 1",
        "SubjectDisplayName": "sample string 2"
      },
      "ChapterList": [
        {
          "ChapterCode": "sample string 1",
          "ChapterDisplayName": "sample string 2"
        },
        {
          "ChapterCode": "sample string 1",
          "ChapterDisplayName": "sample string 2"
        }
      ]
    },
    {
      "Subdetails": {
        "SubjectCode": "sample string 1",
        "SubjectDisplayName": "sample string 2"
      },
      "ChapterList": [
        {
          "ChapterCode": "sample string 1",
          "ChapterDisplayName": "sample string 2"
        },
        {
          "ChapterCode": "sample string 1",
          "ChapterDisplayName": "sample string 2"
        }
      ]
    }
  ],
  "PSD": {
    "productCode": "sample string 1",
    "IsSUbscription": "sample string 2",
    "PlanPrice": "sample string 3",
    "TotalAvailMonths": "sample string 4",
    "PlanID": "sample string 5"
  }
}

application/xml, text/xml

Sample:
<OnlineStore.SubjectChapterData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities">
  <PSD>
    <IsSUbscription>sample string 2</IsSUbscription>
    <PlanID>sample string 5</PlanID>
    <PlanPrice>sample string 3</PlanPrice>
    <TotalAvailMonths>sample string 4</TotalAvailMonths>
    <productCode>sample string 1</productCode>
  </PSD>
  <SubjectChapterList>
    <OnlineStore.SubjectChapterListdetails>
      <ChapterList>
        <OnlineStore.ChapterDetails>
          <ChapterCode>sample string 1</ChapterCode>
          <ChapterDisplayName>sample string 2</ChapterDisplayName>
        </OnlineStore.ChapterDetails>
        <OnlineStore.ChapterDetails>
          <ChapterCode>sample string 1</ChapterCode>
          <ChapterDisplayName>sample string 2</ChapterDisplayName>
        </OnlineStore.ChapterDetails>
      </ChapterList>
      <Subdetails>
        <SubjectCode>sample string 1</SubjectCode>
        <SubjectDisplayName>sample string 2</SubjectDisplayName>
      </Subdetails>
    </OnlineStore.SubjectChapterListdetails>
    <OnlineStore.SubjectChapterListdetails>
      <ChapterList>
        <OnlineStore.ChapterDetails>
          <ChapterCode>sample string 1</ChapterCode>
          <ChapterDisplayName>sample string 2</ChapterDisplayName>
        </OnlineStore.ChapterDetails>
        <OnlineStore.ChapterDetails>
          <ChapterCode>sample string 1</ChapterCode>
          <ChapterDisplayName>sample string 2</ChapterDisplayName>
        </OnlineStore.ChapterDetails>
      </ChapterList>
      <Subdetails>
        <SubjectCode>sample string 1</SubjectCode>
        <SubjectDisplayName>sample string 2</SubjectDisplayName>
      </Subdetails>
    </OnlineStore.SubjectChapterListdetails>
  </SubjectChapterList>
</OnlineStore.SubjectChapterData>