POST api/overtime/approval
Request Information
URI Parameters
None.
Body Parameters
InsertOvertimeApproval| Name | Description | Type | Additional information |
|---|---|---|---|
| OvertimeReqId | integer |
None. |
|
| ApproverId | integer |
None. |
|
| PurposeOfOt | string |
None. |
|
| Remarks | string |
None. |
|
| ApprovalCount | integer |
None. |
|
| ApprovalFlag | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"OvertimeReqId": 1,
"ApproverId": 2,
"PurposeOfOt": "sample string 3",
"Remarks": "sample string 4",
"ApprovalCount": 5,
"ApprovalFlag": true
}
application/xml, text/xml
Sample:
<InsertOvertimeApproval xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/working_sample_mvc_api.Models"> <ApprovalCount>5</ApprovalCount> <ApprovalFlag>true</ApprovalFlag> <ApproverId>2</ApproverId> <OvertimeReqId>1</OvertimeReqId> <PurposeOfOt>sample string 3</PurposeOfOt> <Remarks>sample string 4</Remarks> </InsertOvertimeApproval>
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.