PUT api/Exam/UpdateExam
Request Information
URI Parameters
None.
Body Parameters
ExamName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
Class | Class |
None. |
|
Subject | Subject |
None. |
|
Title | string |
None. |
|
Time | string |
None. |
|
Date | string |
None. |
|
CreatedBy | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "Class": { "$id": "2", "ClassId": 1, "ClassName": "sample string 2", "Course": { "$id": "3", "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" } }, "Subject": { "$id": "4", "Id": 1, "CourseId": 2, "ClassId": 3, "SectionId": 4, "Title": "sample string 5", "SubjectTypeId": 6, "SubjectType": "sample string 7", "Marks": "sample string 8", "SubjectCode": "sample string 9", "CreatedBy": "sample string 10", "CreatedDate": "2024-12-01T09:42:07.7816878+05:30", "UpdatedBy": "sample string 12", "UpdatedDate": "2024-12-01T09:42:07.7816878+05:30" }, "Title": "sample string 2", "Time": "sample string 3", "Date": "sample string 4", "CreatedBy": "sample string 5" }
application/octet-stream
Sample:
{"$id":"1","Id":1,"Class":{"$id":"2","ClassId":1,"ClassName":"sample string 2","Course":{"$id":"3","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"}},"Subject":{"$id":"4","Id":1,"CourseId":2,"ClassId":3,"SectionId":4,"Title":"sample string 5","SubjectTypeId":6,"SubjectType":"sample string 7","Marks":"sample string 8","SubjectCode":"sample string 9","CreatedBy":"sample string 10","CreatedDate":"2024-12-01T09:42:07.7816878+05:30","UpdatedBy":"sample string 12","UpdatedDate":"2024-12-01T09:42:07.7816878+05:30"},"Title":"sample string 2","Time":"sample string 3","Date":"sample string 4","CreatedBy":"sample string 5"}
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/octet-stream
Sample:
Sample not available.