GET api/Staff/StaffExperiences/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of StaffExperienceViewModel
NameDescriptionTypeAdditional information
id

integer

None.

StaffId

integer

None.

SchoolName

string

None.

Address

string

None.

StartDate

date

None.

EndDate

date

None.

Description

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "id": 1,
    "StaffId": 2,
    "SchoolName": "sample string 3",
    "Address": "sample string 4",
    "StartDate": "2020-10-30T02:42:54.233583-04:00",
    "EndDate": "2020-10-30T02:42:54.233583-04:00",
    "Description": "sample string 7"
  },
  {
    "id": 1,
    "StaffId": 2,
    "SchoolName": "sample string 3",
    "Address": "sample string 4",
    "StartDate": "2020-10-30T02:42:54.233583-04:00",
    "EndDate": "2020-10-30T02:42:54.233583-04:00",
    "Description": "sample string 7"
  }
]

application/xml, text/xml

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