POST api/Complaints/DeleteByID

Request Information

URI Parameters

None.

Body Parameters

ComplaintsDTO
NameDescriptionTypeAdditional information
ComplaintID

integer

None.

SystemUserID

integer

None.

ToGroupID

integer

None.

Note

string

None.

IsDeleted

boolean

None.

CreationDate

date

None.

ModifiedDate

date

None.

StaffName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ComplaintID": 1,
  "SystemUserID": 2,
  "ToGroupID": 3,
  "Note": "sample string 4",
  "IsDeleted": true,
  "CreationDate": "2025-10-27T18:24:04.8404885-04:00",
  "ModifiedDate": "2025-10-27T18:24:04.8404885-04:00",
  "StaffName": "sample string 8"
}

application/xml, text/xml

Sample:
<ComplaintsDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HR.Objects.DTOs">
  <ComplaintID>1</ComplaintID>
  <CreationDate>2025-10-27T18:24:04.8404885-04:00</CreationDate>
  <IsDeleted>true</IsDeleted>
  <ModifiedDate>2025-10-27T18:24:04.8404885-04:00</ModifiedDate>
  <Note>sample string 4</Note>
  <StaffName>sample string 8</StaffName>
  <SystemUserID>2</SystemUserID>
  <ToGroupID>3</ToGroupID>
</ComplaintsDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

boolean

Response Formats

application/json, text/json

Sample:
true

application/xml, text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>