PUT api/PayrollPaySetSpecial/Update
Request Information
URI Parameters
None.
Body Parameters
PayrollPaySetSpecialUpdateVM| Name | Description | Type | Additional information |
|---|---|---|---|
| BookId | integer |
Required |
|
| Employee | EmployeeLookup |
Required |
|
| Slno | integer |
Required |
|
| PayHead | PayrollPayHeadLookupVM |
Required |
|
| Month | MonthsLookupVM |
Required |
|
| PayHeadYear | integer |
Required |
|
| PayHeadPercent | decimal number |
None. |
|
| PayHeadAmount | decimal number |
None. |
|
| ArrearStatus | string |
Required Matching regular expression pattern: Y|N |
|
| UpdateUser | integer |
Required |
|
| UpdateIp | string |
Required String length: inclusive between 0 and 20 |
Request Formats
application/json, text/json
Sample:
{
"BookId": 1,
"Employee": {
"EmployeeId": 1,
"EmployeeName": "sample string 2",
"Prefix": "sample string 3",
"PresentHouseName": "sample string 4",
"PresentAddress": "sample string 5",
"EmployeeStatus": "sample string 6"
},
"Slno": 2,
"PayHead": {
"PayHeadId": 1,
"PayHeadDesc": "sample string 2",
"AddOrDed": "sample string 3"
},
"Month": {
"MonthId": 1,
"MonthName": "sample string 2"
},
"PayHeadYear": 3,
"PayHeadPercent": 4.0,
"PayHeadAmount": 5.0,
"ArrearStatus": "sample string 6",
"UpdateUser": 7,
"UpdateIp": "sample string 8"
}
application/xml, text/xml
Sample:
<PayrollPaySetSpecialUpdateVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
<ArrearStatus>sample string 6</ArrearStatus>
<BookId>1</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>
<Month>
<MonthId>1</MonthId>
<MonthName>sample string 2</MonthName>
</Month>
<PayHead>
<AddOrDed>sample string 3</AddOrDed>
<PayHeadDesc>sample string 2</PayHeadDesc>
<PayHeadId>1</PayHeadId>
</PayHead>
<PayHeadAmount>5</PayHeadAmount>
<PayHeadPercent>4</PayHeadPercent>
<PayHeadYear>3</PayHeadYear>
<Slno>2</Slno>
<UpdateIp>sample string 8</UpdateIp>
<UpdateUser>7</UpdateUser>
</PayrollPaySetSpecialUpdateVM>
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.