POST api/Course/GetIdealCourse

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

clsIdealCourseResponse
NameDescriptionTypeAdditional information
IdealCourse

Collection of clsIdealCourse

None.

Message

string

None.

ResponseCode

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "IdealCourse": [
    {
      "CourseName": "sample string 1",
      "standards": [
        {
          "StandardID": 1,
          "StandardName": "sample string 2",
          "Semester": [
            {
              "SemesterID": 1,
              "SemesterName": "sample string 2"
            },
            {
              "SemesterID": 1,
              "SemesterName": "sample string 2"
            }
          ],
          "HasSemester": true
        },
        {
          "StandardID": 1,
          "StandardName": "sample string 2",
          "Semester": [
            {
              "SemesterID": 1,
              "SemesterName": "sample string 2"
            },
            {
              "SemesterID": 1,
              "SemesterName": "sample string 2"
            }
          ],
          "HasSemester": true
        }
      ],
      "BoardId": 2,
      "BoardName": "sample string 3",
      "MediumId": 4,
      "MediumName": "sample string 5"
    },
    {
      "CourseName": "sample string 1",
      "standards": [
        {
          "StandardID": 1,
          "StandardName": "sample string 2",
          "Semester": [
            {
              "SemesterID": 1,
              "SemesterName": "sample string 2"
            },
            {
              "SemesterID": 1,
              "SemesterName": "sample string 2"
            }
          ],
          "HasSemester": true
        },
        {
          "StandardID": 1,
          "StandardName": "sample string 2",
          "Semester": [
            {
              "SemesterID": 1,
              "SemesterName": "sample string 2"
            },
            {
              "SemesterID": 1,
              "SemesterName": "sample string 2"
            }
          ],
          "HasSemester": true
        }
      ],
      "BoardId": 2,
      "BoardName": "sample string 3",
      "MediumId": 4,
      "MediumName": "sample string 5"
    }
  ],
  "Message": "sample string 1",
  "ResponseCode": 2
}

application/xml, text/xml

Sample:
<clsIdealCourseResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LiveTextBooksModel.Entity">
  <IdealCourse>
    <clsIdealCourse>
      <BoardId>2</BoardId>
      <BoardName>sample string 3</BoardName>
      <CourseName>sample string 1</CourseName>
      <MediumId>4</MediumId>
      <MediumName>sample string 5</MediumName>
      <standards>
        <CourseStandard>
          <HasSemester>true</HasSemester>
          <Semester>
            <CourseSemester>
              <SemesterID>1</SemesterID>
              <SemesterName>sample string 2</SemesterName>
            </CourseSemester>
            <CourseSemester>
              <SemesterID>1</SemesterID>
              <SemesterName>sample string 2</SemesterName>
            </CourseSemester>
          </Semester>
          <StandardID>1</StandardID>
          <StandardName>sample string 2</StandardName>
        </CourseStandard>
        <CourseStandard>
          <HasSemester>true</HasSemester>
          <Semester>
            <CourseSemester>
              <SemesterID>1</SemesterID>
              <SemesterName>sample string 2</SemesterName>
            </CourseSemester>
            <CourseSemester>
              <SemesterID>1</SemesterID>
              <SemesterName>sample string 2</SemesterName>
            </CourseSemester>
          </Semester>
          <StandardID>1</StandardID>
          <StandardName>sample string 2</StandardName>
        </CourseStandard>
      </standards>
    </clsIdealCourse>
    <clsIdealCourse>
      <BoardId>2</BoardId>
      <BoardName>sample string 3</BoardName>
      <CourseName>sample string 1</CourseName>
      <MediumId>4</MediumId>
      <MediumName>sample string 5</MediumName>
      <standards>
        <CourseStandard>
          <HasSemester>true</HasSemester>
          <Semester>
            <CourseSemester>
              <SemesterID>1</SemesterID>
              <SemesterName>sample string 2</SemesterName>
            </CourseSemester>
            <CourseSemester>
              <SemesterID>1</SemesterID>
              <SemesterName>sample string 2</SemesterName>
            </CourseSemester>
          </Semester>
          <StandardID>1</StandardID>
          <StandardName>sample string 2</StandardName>
        </CourseStandard>
        <CourseStandard>
          <HasSemester>true</HasSemester>
          <Semester>
            <CourseSemester>
              <SemesterID>1</SemesterID>
              <SemesterName>sample string 2</SemesterName>
            </CourseSemester>
            <CourseSemester>
              <SemesterID>1</SemesterID>
              <SemesterName>sample string 2</SemesterName>
            </CourseSemester>
          </Semester>
          <StandardID>1</StandardID>
          <StandardName>sample string 2</StandardName>
        </CourseStandard>
      </standards>
    </clsIdealCourse>
  </IdealCourse>
  <Message>sample string 1</Message>
  <ResponseCode>2</ResponseCode>
</clsIdealCourseResponse>