POST api/Education/AddEducation

Request Information

URI Parameters

None.

Body Parameters

Education
NameDescriptionTypeAdditional information
StudentId

integer

None.

Examination

string

None.

Board

string

None.

Year

string

None.

Marks

string

None.

Subject

string

None.

Request Formats

application/json, text/json

Sample:
{
  "StudentId": 1,
  "Examination": "sample string 2",
  "Board": "sample string 3",
  "Year": "sample string 4",
  "Marks": "sample string 5",
  "Subject": "sample string 6"
}

application/octet-stream

Sample:
{"$id":"1","StudentId":1,"Examination":"sample string 2","Board":"sample string 3","Year":"sample string 4","Marks":"sample string 5","Subject":"sample string 6"}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'Education'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/octet-stream

Sample:

Sample not available.