GET api/Class/GetClassById/{Id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
Id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
ClassName | Description | Type | Additional information |
---|---|---|---|
ClassId | integer |
None. |
|
ClassName | string |
None. |
|
Course | Course |
None. |
Response Formats
application/json, text/json
Sample:
{ "ClassId": 1, "ClassName": "sample string 2", "Course": { "$id": "2", "CourseId": 1, "Name": "sample string 2", "Description": "sample string 3", "CourseType": "sample string 4", "Fees": "sample string 5", "CreatedBy": "sample string 6", "CreatedDate": "sample string 7", "UpdatedBy": "sample string 8", "UpdatedDate": "sample string 9" } }
application/octet-stream
Sample:
{"$id":"1","ClassId":1,"ClassName":"sample string 2","Course":{"$id":"2","CourseId":1,"Name":"sample string 2","Description":"sample string 3","CourseType":"sample string 4","Fees":"sample string 5","CreatedBy":"sample string 6","CreatedDate":"sample string 7","UpdatedBy":"sample string 8","UpdatedDate":"sample string 9"}}