POST api/GenerateMonthlyPayroll/GeneratePayslip

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
commonClasses
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
[
  {
    "EmployeeId": 1,
    "SuccessCount": "sample string 2",
    "EMP_ID": 3,
    "COMMENT_LINE_1": "sample string 4",
    "COMMENT_LINE_2": "sample string 5",
    "PAY_PERIO_ID": 6,
    "IsPayrollProcessed": 7
  },
  {
    "EmployeeId": 1,
    "SuccessCount": "sample string 2",
    "EMP_ID": 3,
    "COMMENT_LINE_1": "sample string 4",
    "COMMENT_LINE_2": "sample string 5",
    "PAY_PERIO_ID": 6,
    "IsPayrollProcessed": 7
  },
  {
    "EmployeeId": 1,
    "SuccessCount": "sample string 2",
    "EMP_ID": 3,
    "COMMENT_LINE_1": "sample string 4",
    "COMMENT_LINE_2": "sample string 5",
    "PAY_PERIO_ID": 6,
    "IsPayrollProcessed": 7
  }
]

application/xml, text/xml

Sample:
<ArrayOfCommonClass xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ComsipApi.Common">
  <CommonClass>
    <COMMENT_LINE_1>sample string 4</COMMENT_LINE_1>
    <COMMENT_LINE_2>sample string 5</COMMENT_LINE_2>
    <EMP_ID>3</EMP_ID>
    <EmployeeId>1</EmployeeId>
    <IsPayrollProcessed>7</IsPayrollProcessed>
    <PAY_PERIO_ID>6</PAY_PERIO_ID>
    <SuccessCount>sample string 2</SuccessCount>
  </CommonClass>
  <CommonClass>
    <COMMENT_LINE_1>sample string 4</COMMENT_LINE_1>
    <COMMENT_LINE_2>sample string 5</COMMENT_LINE_2>
    <EMP_ID>3</EMP_ID>
    <EmployeeId>1</EmployeeId>
    <IsPayrollProcessed>7</IsPayrollProcessed>
    <PAY_PERIO_ID>6</PAY_PERIO_ID>
    <SuccessCount>sample string 2</SuccessCount>
  </CommonClass>
  <CommonClass>
    <COMMENT_LINE_1>sample string 4</COMMENT_LINE_1>
    <COMMENT_LINE_2>sample string 5</COMMENT_LINE_2>
    <EMP_ID>3</EMP_ID>
    <EmployeeId>1</EmployeeId>
    <IsPayrollProcessed>7</IsPayrollProcessed>
    <PAY_PERIO_ID>6</PAY_PERIO_ID>
    <SuccessCount>sample string 2</SuccessCount>
  </CommonClass>
</ArrayOfCommonClass>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'List`1'.