POST api/PayrollPaySetSpecial/Cancel

Request Information

URI Parameters

None.

Body Parameters

PayrollPaySetSpecialCancelVM
NameDescriptionTypeAdditional information
BookId

integer

Required

Employee

EmployeeLookup

Required

Slno

integer

Required

CancelRemarks

string

Required

String length: inclusive between 0 and 100

CancelUser

integer

Required

CancelIp

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,
  "CancelRemarks": "sample string 3",
  "CancelUser": 4,
  "CancelIp": "sample string 5"
}

application/xml, text/xml

Sample:
<PayrollPaySetSpecialCancelVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
  <BookId>1</BookId>
  <CancelIp>sample string 5</CancelIp>
  <CancelRemarks>sample string 3</CancelRemarks>
  <CancelUser>4</CancelUser>
  <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>
  <Slno>2</Slno>
</PayrollPaySetSpecialCancelVM>

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.