POST api/pg/GetPackageSubjectDetails
Request Information
URI Parameters
None.
Body Parameters
clsPackageRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| StdId | string |
None. |
|
| PackageId | string |
None. |
|
| Version | string |
None. |
|
| ClientIP | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"StdId": "sample string 1",
"PackageId": "sample string 2",
"Version": "sample string 3",
"ClientIP": "sample string 4"
}
application/xml, text/xml
Sample:
<clsPackageRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LiveTextBooksModel.Entity"> <ClientIP>sample string 4</ClientIP> <PackageId>sample string 2</PackageId> <StdId>sample string 1</StdId> <Version>sample string 3</Version> </clsPackageRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
clsPurchasePackageResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| ScratchCardNo | string |
None. |
|
| PackageName | string |
None. |
|
| Validity | integer |
None. |
|
| Standard | string |
None. |
|
| subjects | Collection of SubjectVideo |
None. |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"ScratchCardNo": "sample string 1",
"PackageName": "sample string 2",
"Validity": 3,
"Standard": "sample string 4",
"subjects": [
{
"SubjectName": "sample string 1",
"TotalVideos": 2,
"TotalHours": 3
},
{
"SubjectName": "sample string 1",
"TotalVideos": 2,
"TotalHours": 3
}
],
"Message": "sample string 5"
}
application/xml, text/xml
Sample:
<clsPurchasePackageResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LiveTextBooksModel.Entity">
<Message>sample string 5</Message>
<PackageName>sample string 2</PackageName>
<ScratchCardNo>sample string 1</ScratchCardNo>
<Standard>sample string 4</Standard>
<Validity>3</Validity>
<subjects>
<SubjectVideo>
<SubjectName>sample string 1</SubjectName>
<TotalHours>3</TotalHours>
<TotalVideos>2</TotalVideos>
</SubjectVideo>
<SubjectVideo>
<SubjectName>sample string 1</SubjectName>
<TotalHours>3</TotalHours>
<TotalVideos>2</TotalVideos>
</SubjectVideo>
</subjects>
</clsPurchasePackageResponse>