POST api/SubjectMaster/GetSubjectByUserType?userid={userid}&bmsid={bmsid}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| userid | integer |
Required |
|
| bmsid | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of Subjects| Name | Description | Type | Additional information |
|---|---|---|---|
| SubjectStandardID | integer |
None. |
|
| SSMId | string |
None. |
|
| SubjectID | integer |
None. |
|
| SubjectName | string |
None. |
|
| SubjectImg | string |
None. |
|
| NoOfVideos | integer |
None. |
|
| Price | integer |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"SubjectStandardID": 1,
"SSMId": "sample string 2",
"SubjectID": 3,
"SubjectName": "sample string 4",
"SubjectImg": "sample string 5",
"NoOfVideos": 6,
"Price": 1
},
{
"SubjectStandardID": 1,
"SSMId": "sample string 2",
"SubjectID": 3,
"SubjectName": "sample string 4",
"SubjectImg": "sample string 5",
"NoOfVideos": 6,
"Price": 1
}
]
application/xml, text/xml
Sample:
<ArrayOfSubjects xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LiveTextBooksModel.Entity">
<Subjects>
<NoOfVideos>6</NoOfVideos>
<Price>1</Price>
<SSMId>sample string 2</SSMId>
<SubjectID>3</SubjectID>
<SubjectImg>sample string 5</SubjectImg>
<SubjectName>sample string 4</SubjectName>
<SubjectStandardID>1</SubjectStandardID>
</Subjects>
<Subjects>
<NoOfVideos>6</NoOfVideos>
<Price>1</Price>
<SSMId>sample string 2</SSMId>
<SubjectID>3</SubjectID>
<SubjectImg>sample string 5</SubjectImg>
<SubjectName>sample string 4</SubjectName>
<SubjectStandardID>1</SubjectStandardID>
</Subjects>
</ArrayOfSubjects>