GET api/CourseOfStudy/Program?CourseOfStudyId={CourseOfStudyId}

Get A List of Program with or without a Course of Study ID

Request Information

Parameters

NameDescriptionAdditional information
CourseOfStudyId
Course Of Study ID

Define this parameter in the request URI.

Response Information

List of Program

Response body formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "Name": "sample string 2",
    "Description": "sample string 3",
    "Years": 4,
    "SemestersPerSession": 5,
    "IsActive": true,
    "IsApproved": true,
    "IsHidden": true,
    "ActiveSession": 9,
    "ActiveSemester": 10
  },
  {
    "Id": 1,
    "Name": "sample string 2",
    "Description": "sample string 3",
    "Years": 4,
    "SemestersPerSession": 5,
    "IsActive": true,
    "IsApproved": true,
    "IsHidden": true,
    "ActiveSession": 9,
    "ActiveSemester": 10
  },
  {
    "Id": 1,
    "Name": "sample string 2",
    "Description": "sample string 3",
    "Years": 4,
    "SemestersPerSession": 5,
    "IsActive": true,
    "IsApproved": true,
    "IsHidden": true,
    "ActiveSession": 9,
    "ActiveSemester": 10
  }
]

application/xml, text/xml

Sample:
<ArrayOfProgramModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Eduportal.API.Models">
  <ProgramModel>
    <ActiveSemester>10</ActiveSemester>
    <ActiveSession>9</ActiveSession>
    <Description>sample string 3</Description>
    <Id>1</Id>
    <IsActive>true</IsActive>
    <IsApproved>true</IsApproved>
    <IsHidden>true</IsHidden>
    <Name>sample string 2</Name>
    <SemestersPerSession>5</SemestersPerSession>
    <Years>4</Years>
  </ProgramModel>
  <ProgramModel>
    <ActiveSemester>10</ActiveSemester>
    <ActiveSession>9</ActiveSession>
    <Description>sample string 3</Description>
    <Id>1</Id>
    <IsActive>true</IsActive>
    <IsApproved>true</IsApproved>
    <IsHidden>true</IsHidden>
    <Name>sample string 2</Name>
    <SemestersPerSession>5</SemestersPerSession>
    <Years>4</Years>
  </ProgramModel>
  <ProgramModel>
    <ActiveSemester>10</ActiveSemester>
    <ActiveSession>9</ActiveSession>
    <Description>sample string 3</Description>
    <Id>1</Id>
    <IsActive>true</IsActive>
    <IsApproved>true</IsApproved>
    <IsHidden>true</IsHidden>
    <Name>sample string 2</Name>
    <SemestersPerSession>5</SemestersPerSession>
    <Years>4</Years>
  </ProgramModel>
</ArrayOfProgramModel>