PUT api/Appointment/PayrollRun?fromDate={fromDate}&update={update}&payrollRunNo={payrollRunNo}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
fromDate

date

None.

update

boolean

Default value is False

payrollRunNo

integer

None.

Body Parameters

None.

Response Information

Resource Description

PayrollRun
NameDescriptionTypeAdditional information
appointmentWageRows

Collection of Payroll

None.

appointmentWageCSV

Collection of string

None.

appointmentWageDietRows

Collection of Payroll

None.

appointmentWageDietCSV

Collection of string

None.

payrollRunNo

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "appointmentWageRows": [
    {
      "appointmentAssociateNo": 1,
      "appointmentNo": 1,
      "employeeNo": 1,
      "payrollSort": "sample string 1",
      "incurred": 1.0,
      "orgUnit1": 1,
      "orgUnit2": 1,
      "orgUnit3": 1,
      "orgUnit4": 1,
      "orgUnit5": 1,
      "orgUnit6": 1,
      "group1": 1,
      "group2": 1,
      "productType2": 1,
      "employeeOrgUnit1": 1,
      "employeeOrgUnit3": 1,
      "employeeOrgUnit4": 1,
      "appointmentStatus": 1,
      "payrollRunNo": 1
    },
    {
      "appointmentAssociateNo": 1,
      "appointmentNo": 1,
      "employeeNo": 1,
      "payrollSort": "sample string 1",
      "incurred": 1.0,
      "orgUnit1": 1,
      "orgUnit2": 1,
      "orgUnit3": 1,
      "orgUnit4": 1,
      "orgUnit5": 1,
      "orgUnit6": 1,
      "group1": 1,
      "group2": 1,
      "productType2": 1,
      "employeeOrgUnit1": 1,
      "employeeOrgUnit3": 1,
      "employeeOrgUnit4": 1,
      "appointmentStatus": 1,
      "payrollRunNo": 1
    }
  ],
  "appointmentWageCSV": [
    "sample string 1",
    "sample string 2"
  ],
  "appointmentWageDietRows": [
    {
      "appointmentAssociateNo": 1,
      "appointmentNo": 1,
      "employeeNo": 1,
      "payrollSort": "sample string 1",
      "incurred": 1.0,
      "orgUnit1": 1,
      "orgUnit2": 1,
      "orgUnit3": 1,
      "orgUnit4": 1,
      "orgUnit5": 1,
      "orgUnit6": 1,
      "group1": 1,
      "group2": 1,
      "productType2": 1,
      "employeeOrgUnit1": 1,
      "employeeOrgUnit3": 1,
      "employeeOrgUnit4": 1,
      "appointmentStatus": 1,
      "payrollRunNo": 1
    },
    {
      "appointmentAssociateNo": 1,
      "appointmentNo": 1,
      "employeeNo": 1,
      "payrollSort": "sample string 1",
      "incurred": 1.0,
      "orgUnit1": 1,
      "orgUnit2": 1,
      "orgUnit3": 1,
      "orgUnit4": 1,
      "orgUnit5": 1,
      "orgUnit6": 1,
      "group1": 1,
      "group2": 1,
      "productType2": 1,
      "employeeOrgUnit1": 1,
      "employeeOrgUnit3": 1,
      "employeeOrgUnit4": 1,
      "appointmentStatus": 1,
      "payrollRunNo": 1
    }
  ],
  "appointmentWageDietCSV": [
    "sample string 1",
    "sample string 2"
  ],
  "payrollRunNo": 1
}

application/xml, text/xml

Sample:
<PayrollRun xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <appointmentWageRows>
    <Payroll>
      <appointmentAssociateNo>1</appointmentAssociateNo>
      <appointmentNo>1</appointmentNo>
      <employeeNo>1</employeeNo>
      <payrollSort>sample string 1</payrollSort>
      <incurred>1</incurred>
      <orgUnit1>1</orgUnit1>
      <orgUnit2>1</orgUnit2>
      <orgUnit3>1</orgUnit3>
      <orgUnit4>1</orgUnit4>
      <orgUnit5>1</orgUnit5>
      <orgUnit6>1</orgUnit6>
      <group1>1</group1>
      <group2>1</group2>
      <productType2>1</productType2>
      <employeeOrgUnit1>1</employeeOrgUnit1>
      <employeeOrgUnit3>1</employeeOrgUnit3>
      <employeeOrgUnit4>1</employeeOrgUnit4>
      <appointmentStatus>1</appointmentStatus>
      <payrollRunNo>1</payrollRunNo>
    </Payroll>
    <Payroll>
      <appointmentAssociateNo>1</appointmentAssociateNo>
      <appointmentNo>1</appointmentNo>
      <employeeNo>1</employeeNo>
      <payrollSort>sample string 1</payrollSort>
      <incurred>1</incurred>
      <orgUnit1>1</orgUnit1>
      <orgUnit2>1</orgUnit2>
      <orgUnit3>1</orgUnit3>
      <orgUnit4>1</orgUnit4>
      <orgUnit5>1</orgUnit5>
      <orgUnit6>1</orgUnit6>
      <group1>1</group1>
      <group2>1</group2>
      <productType2>1</productType2>
      <employeeOrgUnit1>1</employeeOrgUnit1>
      <employeeOrgUnit3>1</employeeOrgUnit3>
      <employeeOrgUnit4>1</employeeOrgUnit4>
      <appointmentStatus>1</appointmentStatus>
      <payrollRunNo>1</payrollRunNo>
    </Payroll>
  </appointmentWageRows>
  <appointmentWageCSV>
    <string>sample string 1</string>
    <string>sample string 2</string>
  </appointmentWageCSV>
  <appointmentWageDietRows>
    <Payroll>
      <appointmentAssociateNo>1</appointmentAssociateNo>
      <appointmentNo>1</appointmentNo>
      <employeeNo>1</employeeNo>
      <payrollSort>sample string 1</payrollSort>
      <incurred>1</incurred>
      <orgUnit1>1</orgUnit1>
      <orgUnit2>1</orgUnit2>
      <orgUnit3>1</orgUnit3>
      <orgUnit4>1</orgUnit4>
      <orgUnit5>1</orgUnit5>
      <orgUnit6>1</orgUnit6>
      <group1>1</group1>
      <group2>1</group2>
      <productType2>1</productType2>
      <employeeOrgUnit1>1</employeeOrgUnit1>
      <employeeOrgUnit3>1</employeeOrgUnit3>
      <employeeOrgUnit4>1</employeeOrgUnit4>
      <appointmentStatus>1</appointmentStatus>
      <payrollRunNo>1</payrollRunNo>
    </Payroll>
    <Payroll>
      <appointmentAssociateNo>1</appointmentAssociateNo>
      <appointmentNo>1</appointmentNo>
      <employeeNo>1</employeeNo>
      <payrollSort>sample string 1</payrollSort>
      <incurred>1</incurred>
      <orgUnit1>1</orgUnit1>
      <orgUnit2>1</orgUnit2>
      <orgUnit3>1</orgUnit3>
      <orgUnit4>1</orgUnit4>
      <orgUnit5>1</orgUnit5>
      <orgUnit6>1</orgUnit6>
      <group1>1</group1>
      <group2>1</group2>
      <productType2>1</productType2>
      <employeeOrgUnit1>1</employeeOrgUnit1>
      <employeeOrgUnit3>1</employeeOrgUnit3>
      <employeeOrgUnit4>1</employeeOrgUnit4>
      <appointmentStatus>1</appointmentStatus>
      <payrollRunNo>1</payrollRunNo>
    </Payroll>
  </appointmentWageDietRows>
  <appointmentWageDietCSV>
    <string>sample string 1</string>
    <string>sample string 2</string>
  </appointmentWageDietCSV>
  <payrollRunNo>1</payrollRunNo>
</PayrollRun>