POST api/Staff/StaffEducation

Request Information

URI Parameters

None.

Body Parameters

StaffEducationViewModel
NameDescriptionTypeAdditional information
id

integer

None.

StaffId

integer

None.

Education

string

None.

ShortName

string

None.

University

string

None.

StartDate

date

None.

EndDate

date

None.

AcademicYear

string

None.

Description

string

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "StaffId": 2,
  "Education": "sample string 3",
  "ShortName": "sample string 4",
  "University": "sample string 5",
  "StartDate": "2020-08-04T09:21:17.2642821-04:00",
  "EndDate": "2020-08-04T09:21:17.2642821-04:00",
  "AcademicYear": "sample string 7",
  "Description": "sample string 8"
}

application/xml, text/xml

Sample:
<StaffEducationViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SchoolERP.API.ViewModels.StaffDetails">
  <AcademicYear>sample string 7</AcademicYear>
  <Description>sample string 8</Description>
  <Education>sample string 3</Education>
  <EndDate>2020-08-04T09:21:17.2642821-04:00</EndDate>
  <ShortName>sample string 4</ShortName>
  <StaffId>2</StaffId>
  <StartDate>2020-08-04T09:21:17.2642821-04:00</StartDate>
  <University>sample string 5</University>
  <id>1</id>
</StaffEducationViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.