PUT api/Staff/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

StaffModels
NameDescriptionTypeAdditional information
STF_Id

integer

None.

STF_Employee_Id

string

None.

STF_Name

string

None.

STF_Email

string

None.

LocationSpeedSearch

LocationSpeedSearchModels

None.

VehicleTypeSpeedSearch

VehicleTypeSpeedSearchModels

None.

STF_Telephone_No

integer

None.

STF_Address

string

None.

STF_Exit_Staff

string

None.

STF_Entry_Staff

string

None.

STF_UserId_FK

integer

None.

STF_TS

date

None.

STF_Inactive

character

None.

STF_TS_LastEdited

date

None.

STF_TS_Edited_Uid_FK

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "STF_Id": 1,
  "STF_Employee_Id": "sample string 2",
  "STF_Name": "sample string 3",
  "STF_Email": "sample string 4",
  "LocationSpeedSearch": {
    "LO_Id": 1,
    "LO_Location_Id": "sample string 2",
    "LO_TotalSlots": 3,
    "LevelsInLanesSpeedSearch": {
      "LE_Id": 1,
      "LE_Level_Id": "sample string 2",
      "LE_LO_FK_Id": 3
    }
  },
  "VehicleTypeSpeedSearch": {
    "VT_Id": 1,
    "VT_VehicleType": "sample string 2",
    "VT_Type_Id": "sample string 3"
  },
  "STF_Telephone_No": 5,
  "STF_Address": "sample string 6",
  "STF_Exit_Staff": "sample string 7",
  "STF_Entry_Staff": "sample string 8",
  "STF_UserId_FK": 9,
  "STF_TS": "2025-12-11T09:44:14.4117849+05:30",
  "STF_Inactive": "A",
  "STF_TS_LastEdited": "2025-12-11T09:44:14.4117849+05:30",
  "STF_TS_Edited_Uid_FK": 13
}

application/xml, text/xml

Sample:
<StaffModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/iParkWebAPI.Models">
  <LocationSpeedSearch xmlns:d2p1="http://schemas.datacontract.org/2004/07/iParkWebAPI.Models.SpeedSearch">
    <d2p1:LO_Id>1</d2p1:LO_Id>
    <d2p1:LO_Location_Id>sample string 2</d2p1:LO_Location_Id>
    <d2p1:LO_TotalSlots>3</d2p1:LO_TotalSlots>
    <d2p1:LevelsInLanesSpeedSearch>
      <d2p1:LE_Id>1</d2p1:LE_Id>
      <d2p1:LE_LO_FK_Id>3</d2p1:LE_LO_FK_Id>
      <d2p1:LE_Level_Id>sample string 2</d2p1:LE_Level_Id>
    </d2p1:LevelsInLanesSpeedSearch>
  </LocationSpeedSearch>
  <STF_Address>sample string 6</STF_Address>
  <STF_Email>sample string 4</STF_Email>
  <STF_Employee_Id>sample string 2</STF_Employee_Id>
  <STF_Entry_Staff>sample string 8</STF_Entry_Staff>
  <STF_Exit_Staff>sample string 7</STF_Exit_Staff>
  <STF_Id>1</STF_Id>
  <STF_Inactive>65</STF_Inactive>
  <STF_Name>sample string 3</STF_Name>
  <STF_TS>2025-12-11T09:44:14.4117849+05:30</STF_TS>
  <STF_TS_Edited_Uid_FK>13</STF_TS_Edited_Uid_FK>
  <STF_TS_LastEdited>2025-12-11T09:44:14.4117849+05:30</STF_TS_LastEdited>
  <STF_Telephone_No>5</STF_Telephone_No>
  <STF_UserId_FK>9</STF_UserId_FK>
  <VehicleTypeSpeedSearch xmlns:d2p1="http://schemas.datacontract.org/2004/07/iParkWebAPI.Models.SpeedSearch">
    <d2p1:VT_Id>1</d2p1:VT_Id>
    <d2p1:VT_Type_Id>sample string 3</d2p1:VT_Type_Id>
    <d2p1:VT_VehicleType>sample string 2</d2p1:VT_VehicleType>
  </VehicleTypeSpeedSearch>
</StaffModels>

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 'StaffModels'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.