POST api/Attendance/SaveSwapWeekOff
Request Information
URI Parameters
None.
Body Parameters
SwapWeekOffparam| Name | Description | Type | Additional information |
|---|---|---|---|
| CurrentUserName | string |
Required |
|
| WeekofDate | string |
Required |
|
| SwapWithDate | string |
Required |
|
| Reason | string |
Required Max length: 100 |
|
| Employeeid | integer |
Required |
|
| DeviceId | string |
Required |
Request Formats
application/json, text/json
Sample:
{
"CurrentUserName": "sample string 1",
"WeekofDate": "sample string 2",
"SwapWithDate": "sample string 3",
"Reason": "sample string 4",
"Employeeid": 5,
"DeviceId": "sample string 6"
}
application/xml, text/xml
Sample:
<SwapWeekOffparam xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HRMSWebApi.Models"> <CurrentUserName>sample string 1</CurrentUserName> <DeviceId>sample string 6</DeviceId> <Employeeid>5</Employeeid> <Reason>sample string 4</Reason> <SwapWithDate>sample string 3</SwapWithDate> <WeekofDate>sample string 2</WeekofDate> </SwapWeekOffparam>
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.