POST v1/Employees/AddEmployeeIncident/{employeeNumber}

Add a new employee incident using employee number as key

Request Information

URI Parameters

NameDescriptionTypeAdditional information
employeeNumber

string

Required

Body Parameters

EmployeeIncidentAddRequest
NameDescriptionTypeAdditional information
IncidentType

The type of incident by description (required for adding incidents)

string

Required

EmployeeIncidentID

Unique ID for specific employee incident

integer

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:
{
  "IncidentType": "sample string 1",
  "EmployeeIncidentID": 2,
  "IncidentRating": "sample string 3",
  "ReportedBy": "a2621933-4dfc-4f94-91eb-d6dfc0f0fbee",
  "Date": "2026-05-14T05:51:59.3649205-04:00",
  "FollowUpDate": "2026-05-14T05:51:59.3649205-04:00",
  "Notes": "sample string 4",
  "IncludeInNotifications": true
}

application/xml, text/xml

Sample:
<EmployeeIncidentAddRequest 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-14T05:51:59.3649205-04:00</Date>
  <EmployeeIncidentID xmlns="http://schemas.datacontract.org/2004/07/BDBPayroll.TimeAttendance.WebAPI.Models">2</EmployeeIncidentID>
  <FollowUpDate xmlns="http://schemas.datacontract.org/2004/07/BDBPayroll.TimeAttendance.WebAPI.Models">2026-05-14T05:51:59.3649205-04:00</FollowUpDate>
  <IncidentRating xmlns="http://schemas.datacontract.org/2004/07/BDBPayroll.TimeAttendance.WebAPI.Models">sample string 3</IncidentRating>
  <IncidentType i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/BDBPayroll.TimeAttendance.WebAPI.Models" />
  <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">a2621933-4dfc-4f94-91eb-d6dfc0f0fbee</ReportedBy>
  <IncidentType>sample string 1</IncidentType>
</EmployeeIncidentAddRequest>

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.