POST api/AddComplaint
Request Information
URI Parameters
None.
Body Parameters
ComplaintdataName | Description | Type | Additional information |
---|---|---|---|
EmployeeID | string |
None. |
|
ManagerID | string |
None. |
|
ComplaintTypeID | string |
None. |
|
Remark | string |
None. |
|
ComplaintDocName | string |
None. |
|
YearID | string |
None. |
|
MonthID | string |
None. |
|
AttDate | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "EmployeeID": "sample string 1", "ManagerID": "sample string 2", "ComplaintTypeID": "sample string 3", "Remark": "sample string 4", "ComplaintDocName": "sample string 5", "YearID": "sample string 6", "MonthID": "sample string 7", "AttDate": "sample string 8" }
application/xml, text/xml
Sample:
<Complaintdata xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PayrollApp.Models"> <AttDate>sample string 8</AttDate> <ComplaintDocName>sample string 5</ComplaintDocName> <ComplaintTypeID>sample string 3</ComplaintTypeID> <EmployeeID>sample string 1</EmployeeID> <ManagerID>sample string 2</ManagerID> <MonthID>sample string 7</MonthID> <Remark>sample string 4</Remark> <YearID>sample string 6</YearID> </Complaintdata>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.