PUT api/Appointment/Salary?fromDate={fromDate}&toDate={toDate}&includeTransferred={includeTransferred}&includeNotTransferredBeforePeriod={includeNotTransferredBeforePeriod}&updatetoTransferred={updatetoTransferred}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
fromDate

date

Required

toDate

date

Required

includeTransferred

boolean

Default value is False

includeNotTransferredBeforePeriod

boolean

Default value is False

updatetoTransferred

boolean

Default value is False

Body Parameters

None.

Response Information

Resource Description

GenerateSalaryResponse
NameDescriptionTypeAdditional information
appointments

Collection of Salary

None.

appointmentsCSV

Collection of string

None.

Response Formats

application/json, text/json

Sample:
{
  "appointments": [
    {
      "appointmentAssociateNo": 1,
      "appointmentNo": 1,
      "employeeNo": 1,
      "payrollSort": "sample string 1",
      "incurred": 1.0,
      "orgUnit1": 1,
      "orgUnit2": 1,
      "appointmentStatus": 1
    },
    {
      "appointmentAssociateNo": 1,
      "appointmentNo": 1,
      "employeeNo": 1,
      "payrollSort": "sample string 1",
      "incurred": 1.0,
      "orgUnit1": 1,
      "orgUnit2": 1,
      "appointmentStatus": 1
    }
  ],
  "appointmentsCSV": [
    "sample string 1",
    "sample string 2"
  ]
}

application/xml, text/xml

Sample:
<GenerateSalaryResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <appointments>
    <Salary>
      <appointmentAssociateNo>1</appointmentAssociateNo>
      <appointmentNo>1</appointmentNo>
      <employeeNo>1</employeeNo>
      <payrollSort>sample string 1</payrollSort>
      <incurred>1</incurred>
      <orgUnit1>1</orgUnit1>
      <orgUnit2>1</orgUnit2>
      <appointmentStatus>1</appointmentStatus>
    </Salary>
    <Salary>
      <appointmentAssociateNo>1</appointmentAssociateNo>
      <appointmentNo>1</appointmentNo>
      <employeeNo>1</employeeNo>
      <payrollSort>sample string 1</payrollSort>
      <incurred>1</incurred>
      <orgUnit1>1</orgUnit1>
      <orgUnit2>1</orgUnit2>
      <appointmentStatus>1</appointmentStatus>
    </Salary>
  </appointments>
  <appointmentsCSV>
    <string>sample string 1</string>
    <string>sample string 2</string>
  </appointmentsCSV>
</GenerateSalaryResponse>