POST api/Packages/BuyPackageInfo
Request Information
URI Parameters
None.
Body Parameters
clsBuyPackageRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| StdId | string |
None. |
|
| PackageId | string |
None. |
|
| Version | string |
None. |
|
| UserId | string |
None. |
|
| ClientIP | string |
None. |
|
| Android | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Android": 1,
"StdId": "sample string 1",
"PackageId": "sample string 2",
"Version": "sample string 3",
"UserId": "sample string 4",
"ClientIP": "sample string 5"
}
application/xml, text/xml
Sample:
<clsBuyPackageRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LiveTextBooksModel.Entity"> <Android>1</Android> <ClientIP>sample string 5</ClientIP> <PackageId>sample string 2</PackageId> <StdId>sample string 1</StdId> <UserId>sample string 4</UserId> <Version>sample string 3</Version> </clsBuyPackageRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
clsBuyPackageResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| PInfo | PackageInfo |
None. |
|
| subInfo | Collection of SubjectInfo |
None. |
|
| SubjectChapTopList | Collection of SubjectChapTopList |
None. |
Response Formats
application/json, text/json
Sample:
{
"PInfo": {
"PackageID": "sample string 1",
"ENCP": "sample string 2",
"Version": "sample string 3",
"ENCV": "sample string 4",
"PackageName": "sample string 5",
"BMSID": "sample string 6",
"ENCB": "sample string 7",
"Standard": "sample string 8",
"Semester": "sample string 9",
"SSMValue": "sample string 10",
"Subjects": "sample string 11",
"PackageType": "sample string 12",
"NoOfDays": 1,
"TaxSystemId": 1,
"Price": 1.0,
"DiscPrice": 1.0,
"TaxAmount": 1.0,
"TotalAmount": 1.0,
"RemainingDays": 13,
"StartDate": "2025-12-13T10:10:31.0377681+05:30",
"CurrDate": "2025-12-13T10:10:31.0377681+05:30",
"EndDate": "2025-12-13T10:10:31.0377681+05:30",
"IsPurchased": true
},
"subInfo": [
{
"SSMId": 1,
"SubjectName": "sample string 2",
"ChapterName": "sample string 3",
"NumVideos": 4
},
{
"SSMId": 1,
"SubjectName": "sample string 2",
"ChapterName": "sample string 3",
"NumVideos": 4
}
],
"SubjectChapTopList": [
{
"SubjectId": 1,
"SubjectName": "sample string 2",
"ChapTopList": [
{
"ChapterID": 1,
"ChapterNumber": 1,
"ChapterName": "sample string 2",
"ChapterWeightage": 1,
"TopicList": [
{
"TopicID": 1,
"EncyTopicID": "sample string 2",
"ChapterID": 3,
"TopicName": "sample string 4",
"IsTopicLinked": true
},
{
"TopicID": 1,
"EncyTopicID": "sample string 2",
"ChapterID": 3,
"TopicName": "sample string 4",
"IsTopicLinked": true
}
]
},
{
"ChapterID": 1,
"ChapterNumber": 1,
"ChapterName": "sample string 2",
"ChapterWeightage": 1,
"TopicList": [
{
"TopicID": 1,
"EncyTopicID": "sample string 2",
"ChapterID": 3,
"TopicName": "sample string 4",
"IsTopicLinked": true
},
{
"TopicID": 1,
"EncyTopicID": "sample string 2",
"ChapterID": 3,
"TopicName": "sample string 4",
"IsTopicLinked": true
}
]
}
]
},
{
"SubjectId": 1,
"SubjectName": "sample string 2",
"ChapTopList": [
{
"ChapterID": 1,
"ChapterNumber": 1,
"ChapterName": "sample string 2",
"ChapterWeightage": 1,
"TopicList": [
{
"TopicID": 1,
"EncyTopicID": "sample string 2",
"ChapterID": 3,
"TopicName": "sample string 4",
"IsTopicLinked": true
},
{
"TopicID": 1,
"EncyTopicID": "sample string 2",
"ChapterID": 3,
"TopicName": "sample string 4",
"IsTopicLinked": true
}
]
},
{
"ChapterID": 1,
"ChapterNumber": 1,
"ChapterName": "sample string 2",
"ChapterWeightage": 1,
"TopicList": [
{
"TopicID": 1,
"EncyTopicID": "sample string 2",
"ChapterID": 3,
"TopicName": "sample string 4",
"IsTopicLinked": true
},
{
"TopicID": 1,
"EncyTopicID": "sample string 2",
"ChapterID": 3,
"TopicName": "sample string 4",
"IsTopicLinked": true
}
]
}
]
}
]
}
application/xml, text/xml
Sample:
<clsBuyPackageResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LiveTextBooksModel.Entity">
<PInfo>
<BMSID>sample string 6</BMSID>
<CurrDate>2025-12-13T10:10:31.0377681+05:30</CurrDate>
<DiscPrice>1</DiscPrice>
<ENCB>sample string 7</ENCB>
<ENCP>sample string 2</ENCP>
<ENCV>sample string 4</ENCV>
<EndDate>2025-12-13T10:10:31.0377681+05:30</EndDate>
<IsPurchased>true</IsPurchased>
<NoOfDays>1</NoOfDays>
<PackageID>sample string 1</PackageID>
<PackageName>sample string 5</PackageName>
<PackageType>sample string 12</PackageType>
<Price>1</Price>
<RemainingDays>13</RemainingDays>
<SSMValue>sample string 10</SSMValue>
<Semester>sample string 9</Semester>
<Standard>sample string 8</Standard>
<StartDate>2025-12-13T10:10:31.0377681+05:30</StartDate>
<Subjects>sample string 11</Subjects>
<TaxAmount>1</TaxAmount>
<TaxSystemId>1</TaxSystemId>
<TotalAmount>1</TotalAmount>
<Version>sample string 3</Version>
</PInfo>
<SubjectChapTopList>
<SubjectChapTopList>
<ChapTopList>
<ChapterTopicsList>
<ChapterID>1</ChapterID>
<ChapterName>sample string 2</ChapterName>
<ChapterNumber>1</ChapterNumber>
<ChapterWeightage>1</ChapterWeightage>
<TopicList>
<Topics>
<ChapterID>3</ChapterID>
<EncyTopicID>sample string 2</EncyTopicID>
<IsTopicLinked>true</IsTopicLinked>
<TopicID>1</TopicID>
<TopicName>sample string 4</TopicName>
</Topics>
<Topics>
<ChapterID>3</ChapterID>
<EncyTopicID>sample string 2</EncyTopicID>
<IsTopicLinked>true</IsTopicLinked>
<TopicID>1</TopicID>
<TopicName>sample string 4</TopicName>
</Topics>
</TopicList>
</ChapterTopicsList>
<ChapterTopicsList>
<ChapterID>1</ChapterID>
<ChapterName>sample string 2</ChapterName>
<ChapterNumber>1</ChapterNumber>
<ChapterWeightage>1</ChapterWeightage>
<TopicList>
<Topics>
<ChapterID>3</ChapterID>
<EncyTopicID>sample string 2</EncyTopicID>
<IsTopicLinked>true</IsTopicLinked>
<TopicID>1</TopicID>
<TopicName>sample string 4</TopicName>
</Topics>
<Topics>
<ChapterID>3</ChapterID>
<EncyTopicID>sample string 2</EncyTopicID>
<IsTopicLinked>true</IsTopicLinked>
<TopicID>1</TopicID>
<TopicName>sample string 4</TopicName>
</Topics>
</TopicList>
</ChapterTopicsList>
</ChapTopList>
<SubjectId>1</SubjectId>
<SubjectName>sample string 2</SubjectName>
</SubjectChapTopList>
<SubjectChapTopList>
<ChapTopList>
<ChapterTopicsList>
<ChapterID>1</ChapterID>
<ChapterName>sample string 2</ChapterName>
<ChapterNumber>1</ChapterNumber>
<ChapterWeightage>1</ChapterWeightage>
<TopicList>
<Topics>
<ChapterID>3</ChapterID>
<EncyTopicID>sample string 2</EncyTopicID>
<IsTopicLinked>true</IsTopicLinked>
<TopicID>1</TopicID>
<TopicName>sample string 4</TopicName>
</Topics>
<Topics>
<ChapterID>3</ChapterID>
<EncyTopicID>sample string 2</EncyTopicID>
<IsTopicLinked>true</IsTopicLinked>
<TopicID>1</TopicID>
<TopicName>sample string 4</TopicName>
</Topics>
</TopicList>
</ChapterTopicsList>
<ChapterTopicsList>
<ChapterID>1</ChapterID>
<ChapterName>sample string 2</ChapterName>
<ChapterNumber>1</ChapterNumber>
<ChapterWeightage>1</ChapterWeightage>
<TopicList>
<Topics>
<ChapterID>3</ChapterID>
<EncyTopicID>sample string 2</EncyTopicID>
<IsTopicLinked>true</IsTopicLinked>
<TopicID>1</TopicID>
<TopicName>sample string 4</TopicName>
</Topics>
<Topics>
<ChapterID>3</ChapterID>
<EncyTopicID>sample string 2</EncyTopicID>
<IsTopicLinked>true</IsTopicLinked>
<TopicID>1</TopicID>
<TopicName>sample string 4</TopicName>
</Topics>
</TopicList>
</ChapterTopicsList>
</ChapTopList>
<SubjectId>1</SubjectId>
<SubjectName>sample string 2</SubjectName>
</SubjectChapTopList>
</SubjectChapTopList>
<subInfo>
<SubjectInfo>
<ChapterName>sample string 3</ChapterName>
<NumVideos>4</NumVideos>
<SSMId>1</SSMId>
<SubjectName>sample string 2</SubjectName>
</SubjectInfo>
<SubjectInfo>
<ChapterName>sample string 3</ChapterName>
<NumVideos>4</NumVideos>
<SSMId>1</SSMId>
<SubjectName>sample string 2</SubjectName>
</SubjectInfo>
</subInfo>
</clsBuyPackageResponse>