POST api/Attendance/SaveMyWFHRequest
Request Information
URI Parameters
None.
Body Parameters
SaveWFHParam| Name | Description | Type | Additional information |
|---|---|---|---|
| currentUserName | string |
None. |
|
| currentEmployeeId | string |
None. |
|
| WFHRequestID | integer |
None. |
|
| WFHStartDate | string |
None. |
|
| WFHEndDate | string |
None. |
|
| WFHType | integer |
None. |
|
| HalfDayType | integer |
None. |
|
| reason | string |
None. |
|
| deviceId | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"currentUserName": "sample string 1",
"currentEmployeeId": "sample string 2",
"WFHRequestID": 3,
"WFHStartDate": "sample string 4",
"WFHEndDate": "sample string 5",
"WFHType": 6,
"HalfDayType": 7,
"reason": "sample string 8",
"deviceId": "sample string 9"
}
application/xml, text/xml
Sample:
<WFHService.SaveWFHParam xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HRMSWebApi.Models"> <HalfDayType>7</HalfDayType> <WFHEndDate>sample string 5</WFHEndDate> <WFHRequestID>3</WFHRequestID> <WFHStartDate>sample string 4</WFHStartDate> <WFHType>6</WFHType> <currentEmployeeId>sample string 2</currentEmployeeId> <currentUserName>sample string 1</currentUserName> <deviceId>sample string 9</deviceId> <reason>sample string 8</reason> </WFHService.SaveWFHParam>
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.