GET api/Department/CourseOfStudy?departmentId={departmentId}
Get a List of Courses of Study by Department
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
departmentId | No documentation available. |
Define this parameter in the request URI. |
Response Information
A List of Courses of Study
Response body formats
application/json, text/json
Sample:
[ { "Name": "sample string 1", "MainDepartmentId": 2, "MainDepartment": "sample string 3", "Id": 4 }, { "Name": "sample string 1", "MainDepartmentId": 2, "MainDepartment": "sample string 3", "Id": 4 }, { "Name": "sample string 1", "MainDepartmentId": 2, "MainDepartment": "sample string 3", "Id": 4 } ]
application/xml, text/xml
Sample:
<ArrayOfCourseOfStudyModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Eduportal.API.Models"> <CourseOfStudyModel> <Id>4</Id> <MainDepartment>sample string 3</MainDepartment> <MainDepartmentId>2</MainDepartmentId> <Name>sample string 1</Name> </CourseOfStudyModel> <CourseOfStudyModel> <Id>4</Id> <MainDepartment>sample string 3</MainDepartment> <MainDepartmentId>2</MainDepartmentId> <Name>sample string 1</Name> </CourseOfStudyModel> <CourseOfStudyModel> <Id>4</Id> <MainDepartment>sample string 3</MainDepartment> <MainDepartmentId>2</MainDepartmentId> <Name>sample string 1</Name> </CourseOfStudyModel> </ArrayOfCourseOfStudyModel>