POST api/SubjectMaster/SubjectsByStdId

Request Information

URI Parameters

None.

Body Parameters

clsStandardUserRequest
NameDescriptionTypeAdditional information
StdId

string

None.

PackageId

string

None.

Version

string

None.

UserId

string

None.

ClientIP

string

None.

Request Formats

application/json, text/json

Sample:
{
  "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:
<clsStandardUserRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LiveTextBooksModel.Entity">
  <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>
</clsStandardUserRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of clsSubjectListResponse
NameDescriptionTypeAdditional information
STDorSemID

integer

None.

STDorSemName

string

None.

ParentID

integer

None.

ParentName

string

None.

subList

Collection of Subjects

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "STDorSemID": 1,
    "STDorSemName": "sample string 2",
    "ParentID": 3,
    "ParentName": "sample string 4",
    "subList": [
      {
        "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
      }
    ]
  },
  {
    "STDorSemID": 1,
    "STDorSemName": "sample string 2",
    "ParentID": 3,
    "ParentName": "sample string 4",
    "subList": [
      {
        "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:
<ArrayOfclsSubjectListResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LiveTextBooksModel.Entity">
  <clsSubjectListResponse>
    <ParentID>3</ParentID>
    <ParentName>sample string 4</ParentName>
    <STDorSemID>1</STDorSemID>
    <STDorSemName>sample string 2</STDorSemName>
    <subList>
      <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>
    </subList>
  </clsSubjectListResponse>
  <clsSubjectListResponse>
    <ParentID>3</ParentID>
    <ParentName>sample string 4</ParentName>
    <STDorSemID>1</STDorSemID>
    <STDorSemName>sample string 2</STDorSemName>
    <subList>
      <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>
    </subList>
  </clsSubjectListResponse>
</ArrayOfclsSubjectListResponse>