PUT api/PayrollEmpWorkdays/Update
Request Information
URI Parameters
None.
Body Parameters
PayrollEmpWorkdaysUpdateVM| Name | Description | Type | Additional information |
|---|---|---|---|
| ProcessYear | integer |
Required |
|
| ProcessMonth | integer |
Required |
|
| Employee | EmployeeLookup |
Required |
|
| BookId | integer |
Required |
|
| WorkDays | decimal number |
Required |
|
| Status | string |
Required Matching regular expression pattern: A|I |
|
| UpdateUser | integer |
Required |
|
| UpdateIp | string |
Required String length: inclusive between 0 and 20 |
Request Formats
application/json, text/json
Sample:
{
"ProcessYear": 1,
"ProcessMonth": 2,
"Employee": {
"EmployeeId": 1,
"EmployeeName": "sample string 2",
"Prefix": "sample string 3",
"PresentHouseName": "sample string 4",
"PresentAddress": "sample string 5",
"EmployeeStatus": "sample string 6"
},
"BookId": 3,
"WorkDays": 4.0,
"Status": "sample string 5",
"UpdateUser": 6,
"UpdateIp": "sample string 7"
}
application/xml, text/xml
Sample:
<PayrollEmpWorkdaysUpdateVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
<BookId>3</BookId>
<Employee>
<EmployeeId>1</EmployeeId>
<EmployeeName>sample string 2</EmployeeName>
<EmployeeStatus>sample string 6</EmployeeStatus>
<Prefix>sample string 3</Prefix>
<PresentAddress>sample string 5</PresentAddress>
<PresentHouseName>sample string 4</PresentHouseName>
</Employee>
<ProcessMonth>2</ProcessMonth>
<ProcessYear>1</ProcessYear>
<Status>sample string 5</Status>
<UpdateIp>sample string 7</UpdateIp>
<UpdateUser>6</UpdateUser>
<WorkDays>4</WorkDays>
</PayrollEmpWorkdaysUpdateVM>
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.