GET api/Program/All
Get A List of Programs in a School
Response Information
List of Programs
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>