GET api/Course?userID={userID}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
userID | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of CourseName | Description | Type | Additional information |
---|---|---|---|
CourseID | integer |
None. |
|
CourseName | string |
None. |
|
QCode | string |
None. |
|
CreatedBy | string |
None. |
|
UpdatedBy | string |
None. |
|
CreatedDate | string |
None. |
|
UpdatedDate | string |
None. |
|
Active | boolean |
None. |
|
ObjectId | string |
None. |
|
Department | string |
None. |
|
Version | string |
None. |
|
Description | string |
None. |
|
FavCourse | integer |
None. |
Response Formats
application/json, text/json
Sample:
[ { "CourseID": 1, "CourseName": "sample string 2", "QCode": "sample string 3", "CreatedBy": "sample string 4", "UpdatedBy": "sample string 5", "CreatedDate": "sample string 6", "UpdatedDate": "sample string 7", "Active": true, "ObjectId": "sample string 9", "Department": "sample string 10", "Version": "sample string 11", "Description": "sample string 12", "FavCourse": 13 }, { "CourseID": 1, "CourseName": "sample string 2", "QCode": "sample string 3", "CreatedBy": "sample string 4", "UpdatedBy": "sample string 5", "CreatedDate": "sample string 6", "UpdatedDate": "sample string 7", "Active": true, "ObjectId": "sample string 9", "Department": "sample string 10", "Version": "sample string 11", "Description": "sample string 12", "FavCourse": 13 } ]
text/html
Sample:
[{"CourseID":1,"CourseName":"sample string 2","QCode":"sample string 3","CreatedBy":"sample string 4","UpdatedBy":"sample string 5","CreatedDate":"sample string 6","UpdatedDate":"sample string 7","Active":true,"ObjectId":"sample string 9","Department":"sample string 10","Version":"sample string 11","Description":"sample string 12","FavCourse":13},{"CourseID":1,"CourseName":"sample string 2","QCode":"sample string 3","CreatedBy":"sample string 4","UpdatedBy":"sample string 5","CreatedDate":"sample string 6","UpdatedDate":"sample string 7","Active":true,"ObjectId":"sample string 9","Department":"sample string 10","Version":"sample string 11","Description":"sample string 12","FavCourse":13}]
application/xml, text/xml
Sample:
<ArrayOfCourse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TammaBusinessObjects"> <Course> <Active>true</Active> <CourseID>1</CourseID> <CourseName>sample string 2</CourseName> <CreatedBy>sample string 4</CreatedBy> <CreatedDate>sample string 6</CreatedDate> <Department>sample string 10</Department> <Description>sample string 12</Description> <FavCourse>13</FavCourse> <ObjectId>sample string 9</ObjectId> <QCode>sample string 3</QCode> <UpdatedBy>sample string 5</UpdatedBy> <UpdatedDate>sample string 7</UpdatedDate> <Version>sample string 11</Version> </Course> <Course> <Active>true</Active> <CourseID>1</CourseID> <CourseName>sample string 2</CourseName> <CreatedBy>sample string 4</CreatedBy> <CreatedDate>sample string 6</CreatedDate> <Department>sample string 10</Department> <Description>sample string 12</Description> <FavCourse>13</FavCourse> <ObjectId>sample string 9</ObjectId> <QCode>sample string 3</QCode> <UpdatedBy>sample string 5</UpdatedBy> <UpdatedDate>sample string 7</UpdatedDate> <Version>sample string 11</Version> </Course> </ArrayOfCourse>