POST api/payroll/staff/Lock

Lock Designation.

Request Information

URI Parameters

None.

Body Parameters

Systemic.Model.Payroll.mlStaff+mlStaffList
NamedescriptionTypeAdditional information
StaffSysID

integer

None.

BioID

integer

None.

StaffID

integer

None.

StaffName

string

None.

MobileNo

string

None.

JoinDate

string

None.

Locked

Systemic.Model.mlLocked

None.

StaffTransSysID

integer

None.

Designation

string

None.

DesignationSysID

integer

None.

Department

string

None.

DepartmentSysID

integer

None.

StaffType

string

None.

StaffTypeSysID

integer

None.

ShiftName

string

None.

ShiftSysID

byte

None.

IsAllowLeaveReduction

boolean

None.

IsAllowPermissionReduction

boolean

None.

NoOfLeaveCL

decimal number

None.

NoOfLeaveEL

decimal number

None.

NoOfPermission

decimal number

None.

BasicPay

decimal number

None.

GradePay

decimal number

None.

DA

decimal number

None.

CA

decimal number

None.

HRA

decimal number

None.

MA

decimal number

None.

Salary

decimal number

None.

AccountSysID

integer

None.

Paymode

string

None.

PayModeSysID

integer

None.

AccountNo

string

None.

PanNo

string

None.

AadharNo

string

None.

BankSysID

integer

None.

BankBranchname

string

None.

IfscNo

string

None.

UanNo

string

None.

GraceHours

decimal number

None.

IsAllowPFReduction

boolean

None.

IsAllowEsiReduction

boolean

None.

IsAllowTDSReduction

boolean

None.

BranchSysID

byte

None.

FromDate

string

None.

ToDate

string

None.

IsActive

boolean

None.

Request Formats

application/json, text/json, text/html

Sample:
{
  "StaffSysID": 1,
  "BioID": 2,
  "StaffID": 3,
  "StaffName": "sample string 4",
  "MobileNo": "sample string 5",
  "JoinDate": "sample string 6",
  "Locked": {
    "LockedBy": "sample string 1",
    "LockedDate": "sample string 2",
    "LockedReason": "sample string 3",
    "IsLocked": true
  },
  "StaffTransSysID": 7,
  "Designation": "sample string 8",
  "DesignationSysID": 9,
  "Department": "sample string 10",
  "DepartmentSysID": 11,
  "StaffType": "sample string 12",
  "StaffTypeSysID": 13,
  "ShiftName": "sample string 14",
  "ShiftSysID": 64,
  "IsAllowLeaveReduction": true,
  "IsAllowPermissionReduction": true,
  "NoOfLeaveCL": 18.0,
  "NoOfLeaveEL": 19.0,
  "NoOfPermission": 20.0,
  "BasicPay": 21.0,
  "GradePay": 22.0,
  "DA": 23.0,
  "CA": 24.0,
  "HRA": 25.0,
  "MA": 26.0,
  "Salary": 27.0,
  "AccountSysID": 28,
  "Paymode": "sample string 29",
  "PayModeSysID": 30,
  "AccountNo": "sample string 31",
  "PanNo": "sample string 32",
  "AadharNo": "sample string 33",
  "BankSysID": 34,
  "BankBranchname": "sample string 35",
  "IfscNo": "sample string 36",
  "UanNo": "sample string 37",
  "GraceHours": 38.0,
  "IsAllowPFReduction": true,
  "IsAllowEsiReduction": true,
  "IsAllowTDSReduction": true,
  "BranchSysID": 64,
  "FromDate": "sample string 43",
  "ToDate": "sample string 44",
  "IsActive": true
}

text/xml

Sample:
<mlStaff.mlStaffList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Systemic.Model.Payroll">
  <AadharNo>sample string 33</AadharNo>
  <AccountNo>sample string 31</AccountNo>
  <AccountSysID>28</AccountSysID>
  <BankBranchname>sample string 35</BankBranchname>
  <BankSysID>34</BankSysID>
  <BasicPay>21</BasicPay>
  <BioID>2</BioID>
  <BranchSysID>64</BranchSysID>
  <CA>24</CA>
  <DA>23</DA>
  <Department>sample string 10</Department>
  <DepartmentSysID>11</DepartmentSysID>
  <Designation>sample string 8</Designation>
  <DesignationSysID>9</DesignationSysID>
  <FromDate>sample string 43</FromDate>
  <GraceHours>38</GraceHours>
  <GradePay>22</GradePay>
  <HRA>25</HRA>
  <IfscNo>sample string 36</IfscNo>
  <IsActive>true</IsActive>
  <IsAllowEsiReduction>true</IsAllowEsiReduction>
  <IsAllowLeaveReduction>true</IsAllowLeaveReduction>
  <IsAllowPFReduction>true</IsAllowPFReduction>
  <IsAllowPermissionReduction>true</IsAllowPermissionReduction>
  <IsAllowTDSReduction>true</IsAllowTDSReduction>
  <JoinDate>sample string 6</JoinDate>
  <Locked xmlns:d2p1="http://schemas.datacontract.org/2004/07/Systemic.Model">
    <d2p1:IsLocked>true</d2p1:IsLocked>
    <d2p1:LockedBy>sample string 1</d2p1:LockedBy>
    <d2p1:LockedDate>sample string 2</d2p1:LockedDate>
    <d2p1:LockedReason>sample string 3</d2p1:LockedReason>
  </Locked>
  <MA>26</MA>
  <MobileNo>sample string 5</MobileNo>
  <NoOfLeaveCL>18</NoOfLeaveCL>
  <NoOfLeaveEL>19</NoOfLeaveEL>
  <NoOfPermission>20</NoOfPermission>
  <PanNo>sample string 32</PanNo>
  <PayModeSysID>30</PayModeSysID>
  <Paymode>sample string 29</Paymode>
  <Salary>27</Salary>
  <ShiftName>sample string 14</ShiftName>
  <ShiftSysID>64</ShiftSysID>
  <StaffID>3</StaffID>
  <StaffName>sample string 4</StaffName>
  <StaffSysID>1</StaffSysID>
  <StaffTransSysID>7</StaffTransSysID>
  <StaffType>sample string 12</StaffType>
  <StaffTypeSysID>13</StaffTypeSysID>
  <ToDate>sample string 44</ToDate>
  <UanNo>sample string 37</UanNo>
</mlStaff.mlStaffList>

response Information

Resource description

ServerResponse.

Api.Server.ServerResponse
NamedescriptionTypeAdditional information
response

string

None.

success

Api.Server.MlSuccess

None.

failure

Api.Server.MlError

None.

response Formats

application/json, text/json, text/html

Sample:
{
  "response": "sample string 1",
  "success": null,
  "failure": null
}

text/xml

Sample:
<ServerResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Api.Server">
  <failure i:nil="true" />
  <response>sample string 1</response>
  <success i:nil="true" />
</ServerResponse>