GET api/Complaints/GetAllBySystemUserID/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of 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.

Response Formats

application/json, text/json

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

application/xml, text/xml

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