POST v1/Employees/UpdateEmployeeIncident/{employeeNumber}

Update existing employee incident with valid EmployeeIncidentID and IncidentType

Request Information

URI Parameters

NameDescriptionTypeAdditional information
employeeNumber

string

Required

Body Parameters

EmployeeIncidentUpdateRequest
NameDescriptionTypeAdditional information
EmployeeIncidentID

Unique ID for the specific employee incident to update (required)

integer

Required

IncidentType

The type of incident by description, required for adding or updating incidents

string

None.

IncidentRating

The rating for the incident

string

None.

ReportedBy

The userID who reported the incident

globally unique identifier

None.

Date

Date of the incident (optional)

date

None.

FollowUpDate

Follow up date (optional)

date

None.

Notes

Note details for the incident

string

None.

IncludeInNotifications

Include in notifications

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "EmployeeIncidentID": 1,
  "IncidentType": "sample string 2",
  "IncidentRating": "sample string 3",
  "ReportedBy": "2f29e103-f7a0-4fbe-b096-5a9f224c7a99",
  "Date": "2026-05-14T00:18:43.5658385-04:00",
  "FollowUpDate": "2026-05-14T00:18:43.56635-04:00",
  "Notes": "sample string 4",
  "IncludeInNotifications": true
}

application/xml, text/xml

Sample:
<EmployeeIncidentUpdateRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BDBPayroll.TimeAttendance.WebAPI.Models.DTOs">
  <Date xmlns="http://schemas.datacontract.org/2004/07/BDBPayroll.TimeAttendance.WebAPI.Models">2026-05-14T00:18:43.5658385-04:00</Date>
  <EmployeeIncidentID xmlns="http://schemas.datacontract.org/2004/07/BDBPayroll.TimeAttendance.WebAPI.Models">0</EmployeeIncidentID>
  <FollowUpDate xmlns="http://schemas.datacontract.org/2004/07/BDBPayroll.TimeAttendance.WebAPI.Models">2026-05-14T00:18:43.56635-04:00</FollowUpDate>
  <IncidentRating xmlns="http://schemas.datacontract.org/2004/07/BDBPayroll.TimeAttendance.WebAPI.Models">sample string 3</IncidentRating>
  <IncidentType xmlns="http://schemas.datacontract.org/2004/07/BDBPayroll.TimeAttendance.WebAPI.Models">sample string 2</IncidentType>
  <IncludeInNotifications xmlns="http://schemas.datacontract.org/2004/07/BDBPayroll.TimeAttendance.WebAPI.Models">true</IncludeInNotifications>
  <Notes xmlns="http://schemas.datacontract.org/2004/07/BDBPayroll.TimeAttendance.WebAPI.Models">sample string 4</Notes>
  <ReportedBy xmlns="http://schemas.datacontract.org/2004/07/BDBPayroll.TimeAttendance.WebAPI.Models">2f29e103-f7a0-4fbe-b096-5a9f224c7a99</ReportedBy>
  <EmployeeIncidentID>1</EmployeeIncidentID>
</EmployeeIncidentUpdateRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.