POST api/complain/getallcomplain

Request Information

URI Parameters

None.

Body Parameters

getComplain
NameDescriptionTypeAdditional information
EmployeeId

integer

None.

RoleId

integer

None.

IsPayment

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "EmployeeId": 1,
  "RoleId": 1,
  "IsPayment": true
}

application/xml, text/xml

Sample:
<getComplain xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SolarDichachi.Models">
  <EmployeeId>1</EmployeeId>
  <IsPayment>true</IsPayment>
  <RoleId>1</RoleId>
</getComplain>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Dictionary of string [key] and Object [value]

Response Formats

application/json, text/json

Sample:
{
  "sample string 1": {},
  "sample string 3": {}
}

application/xml, text/xml

Sample:
<ArrayOfKeyValueOfstringanyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
  <KeyValueOfstringanyType>
    <Key>sample string 1</Key>
    <Value />
  </KeyValueOfstringanyType>
  <KeyValueOfstringanyType>
    <Key>sample string 3</Key>
    <Value />
  </KeyValueOfstringanyType>
</ArrayOfKeyValueOfstringanyType>