PUT api/PayrollIncrement/Update

Request Information

URI Parameters

None.

Body Parameters

PayrollIncrementUpdateVM
NameDescriptionTypeAdditional information
IncrId

integer

Required

BookId

integer

Required

EntryDate

string

Required

Refno

string

Required

String length: inclusive between 0 and 15

Employee

EmployeeLookup

Required

MonthFrom

MonthsLookupVM

Required

YearFrom

integer

Required

IncrDate

string

None.

PayFrom

PayrollBasicPayLookupVM

Required

StageSlnoFrom

integer

Required

IncrCount

integer

Required

PayTo

PayrollBasicPayLookupVM

Required

StageSlnoTo

integer

Required

ArrearStatus

string

Required

Matching regular expression pattern: Y|N

ConfirmStatus

string

Required

Matching regular expression pattern: Y|N

UpdateUser

integer

Required

UpdateIp

string

Required

String length: inclusive between 0 and 20

CurrentBasic

decimal number

Required

NewBasic

decimal number

Required

FinYear

integer

None.

NextIncrMonth

MonthsLookupVM

None.

NextIncrYear

integer

None.

NextIncrRemarks

string

String length: inclusive between 0 and 100

Request Formats

application/json, text/json

Sample:
{
  "IncrId": 1,
  "BookId": 2,
  "EntryDate": "sample string 3",
  "Refno": "sample string 4",
  "Employee": {
    "EmployeeId": 1,
    "EmployeeName": "sample string 2",
    "Prefix": "sample string 3",
    "PresentHouseName": "sample string 4",
    "PresentAddress": "sample string 5",
    "EmployeeStatus": "sample string 6"
  },
  "MonthFrom": {
    "MonthId": 1,
    "MonthName": "sample string 2"
  },
  "YearFrom": 5,
  "IncrDate": "sample string 6",
  "PayFrom": {
    "BpayId": 1,
    "BpayDesc": "sample string 2"
  },
  "StageSlnoFrom": 7,
  "IncrCount": 8,
  "PayTo": {
    "BpayId": 1,
    "BpayDesc": "sample string 2"
  },
  "StageSlnoTo": 9,
  "ArrearStatus": "sample string 10",
  "ConfirmStatus": "sample string 11",
  "UpdateUser": 12,
  "UpdateIp": "sample string 13",
  "CurrentBasic": 14.0,
  "NewBasic": 15.0,
  "FinYear": 16,
  "NextIncrMonth": {
    "MonthId": 1,
    "MonthName": "sample string 2"
  },
  "NextIncrYear": 17,
  "NextIncrRemarks": "sample string 18"
}

application/xml, text/xml

Sample:
<PayrollIncrementUpdateVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
  <ArrearStatus>sample string 10</ArrearStatus>
  <BookId>2</BookId>
  <ConfirmStatus>sample string 11</ConfirmStatus>
  <CurrentBasic>14</CurrentBasic>
  <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>
  <EntryDate>sample string 3</EntryDate>
  <FinYear>16</FinYear>
  <IncrCount>8</IncrCount>
  <IncrDate>sample string 6</IncrDate>
  <IncrId>1</IncrId>
  <MonthFrom>
    <MonthId>1</MonthId>
    <MonthName>sample string 2</MonthName>
  </MonthFrom>
  <NewBasic>15</NewBasic>
  <NextIncrMonth>
    <MonthId>1</MonthId>
    <MonthName>sample string 2</MonthName>
  </NextIncrMonth>
  <NextIncrRemarks>sample string 18</NextIncrRemarks>
  <NextIncrYear>17</NextIncrYear>
  <PayFrom>
    <BpayDesc>sample string 2</BpayDesc>
    <BpayId>1</BpayId>
  </PayFrom>
  <PayTo>
    <BpayDesc>sample string 2</BpayDesc>
    <BpayId>1</BpayId>
  </PayTo>
  <Refno>sample string 4</Refno>
  <StageSlnoFrom>7</StageSlnoFrom>
  <StageSlnoTo>9</StageSlnoTo>
  <UpdateIp>sample string 13</UpdateIp>
  <UpdateUser>12</UpdateUser>
  <YearFrom>5</YearFrom>
</PayrollIncrementUpdateVM>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.