GET api/Complaints/GetByID/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
ComplaintsDTO| Name | Description | Type | Additional 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. |
Response Formats
application/json, text/json
Sample:
{
"ComplaintID": 1,
"SystemUserID": 2,
"ToGroupID": 3,
"Note": "sample string 4",
"IsDeleted": true,
"CreationDate": "2025-10-27T18:25:18.0539087-04:00",
"ModifiedDate": "2025-10-27T18:25:18.0539087-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:25:18.0539087-04:00</CreationDate> <IsDeleted>true</IsDeleted> <ModifiedDate>2025-10-27T18:25:18.0539087-04:00</ModifiedDate> <Note>sample string 4</Note> <StaffName>sample string 8</StaffName> <SystemUserID>2</SystemUserID> <ToGroupID>3</ToGroupID> </ComplaintsDTO>