POST api/Staff/StaffExperience

Request Information

URI Parameters

None.

Body Parameters

StaffExperienceViewModel
NameDescriptionTypeAdditional information
id

integer

None.

StaffId

integer

None.

SchoolName

string

None.

Address

string

None.

StartDate

date

None.

EndDate

date

None.

Description

string

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "StaffId": 2,
  "SchoolName": "sample string 3",
  "Address": "sample string 4",
  "StartDate": "2020-08-03T19:57:09.4644503-04:00",
  "EndDate": "2020-08-03T19:57:09.4644503-04:00",
  "Description": "sample string 7"
}

application/xml, text/xml

Sample:
<StaffExperienceViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SchoolERP.API.ViewModels.StaffDetails">
  <Address>sample string 4</Address>
  <Description>sample string 7</Description>
  <EndDate>2020-08-03T19:57:09.4644503-04:00</EndDate>
  <SchoolName>sample string 3</SchoolName>
  <StaffId>2</StaffId>
  <StartDate>2020-08-03T19:57:09.4644503-04:00</StartDate>
  <id>1</id>
</StaffExperienceViewModel>

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.