POST api/Complaints/Save
Request Information
URI Parameters
None.
Body Parameters
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. |
Request Formats
application/json, text/json
Sample:
{
"ComplaintID": 1,
"SystemUserID": 2,
"ToGroupID": 3,
"Note": "sample string 4",
"IsDeleted": true,
"CreationDate": "2025-10-27T18:21:25.6502824-04:00",
"ModifiedDate": "2025-10-27T18:21:25.6502824-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:21:25.6502824-04:00</CreationDate> <IsDeleted>true</IsDeleted> <ModifiedDate>2025-10-27T18:21:25.6502824-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
integerResponse Formats
application/json, text/json
Sample:
1
application/xml, text/xml
Sample:
<long xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</long>