POST api/Subject/AddSubject
Request Information
URI Parameters
None.
Body Parameters
SubjectName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
CourseId | integer |
None. |
|
SectionId | integer |
None. |
|
Title | string |
None. |
|
SubjectType | string |
None. |
|
Marks | string |
None. |
|
CreatedBy | string |
None. |
|
CreatedDate | date |
None. |
|
UpdatedBy | string |
None. |
|
UpdatedDate | date |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "CourseId": 2, "SectionId": 3, "Title": "sample string 4", "SubjectType": "sample string 5", "Marks": "sample string 6", "CreatedBy": "sample string 7", "CreatedDate": "2024-12-01T08:16:58.5630281+05:30", "UpdatedBy": "sample string 9", "UpdatedDate": "2024-12-01T08:16:58.5630281+05:30" }
application/octet-stream
Sample:
{"$id":"1","Id":1,"CourseId":2,"SectionId":3,"Title":"sample string 4","SubjectType":"sample string 5","Marks":"sample string 6","CreatedBy":"sample string 7","CreatedDate":"2024-12-01T08:16:58.5630281+05:30","UpdatedBy":"sample string 9","UpdatedDate":"2024-12-01T08:16:58.5630281+05:30"}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/octet-stream
Sample:
Sample not available.