POST api/MonthlyPayrollInput/approveMonthlyPayrollItem

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
objDat
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
[
  {
    "PayrollPeriodId": 1,
    "PayrollPeriodName": "sample string 2",
    "EmployeeId": 3,
    "EmployeeFileNumber": 4,
    "EmployeeName": "sample string 5",
    "EmployeeSection": "sample string 6",
    "IsTimeCardSubmitted": true,
    "TimeCardSubmited": "sample string 7",
    "EditedHours": 8.0,
    "EntitledLeaveTaken": 9.0,
    "PaidLeave": 10.0,
    "PaidLeaveHaveToBeSetteled": 11.0,
    "UnpaidLeave": 12.0,
    "UnpaidLeaveHaveToBeSetteled": 13.0,
    "SettledDays": 14.0,
    "EncashedDays": 15.0,
    "PayrollPeriodDays": 16.0,
    "PayrollPaidDays": 17.0,
    "PayrolUnPaidDays": 18.0,
    "AdjustmentActualHours": 19.0,
    "AdjustmentHours": 20.0,
    "AdjustmentOverTime1Hours": 21.0,
    "AdjustmentOverTime2Hours": 22.0,
    "AdjustmentNightAllowance": 23.0,
    "RegularHours": 24.0,
    "OverTime1Hours": 25.0,
    "OverTime2Hours": 26.0,
    "NightAllowance": 27.0,
    "MiscalleneousItem": {
      "EmployeeId": 1,
      "TotalBenefitValue": 1.0,
      "TotalDeductionValue": 1.0
    },
    "EmployeeBreakDownOfAllowance": [
      {
        "EmployeeId": 1,
        "PayrollItemId": 2,
        "AllowanceName": "sample string 3",
        "AllowanceValue": 1.0,
        "AllowanceItemUnit": 4,
        "AllowanceItemUnitName": "sample string 5"
      },
      {
        "EmployeeId": 1,
        "PayrollItemId": 2,
        "AllowanceName": "sample string 3",
        "AllowanceValue": 1.0,
        "AllowanceItemUnit": 4,
        "AllowanceItemUnitName": "sample string 5"
      },
      {
        "EmployeeId": 1,
        "PayrollItemId": 2,
        "AllowanceName": "sample string 3",
        "AllowanceValue": 1.0,
        "AllowanceItemUnit": 4,
        "AllowanceItemUnitName": "sample string 5"
      }
    ]
  },
  {
    "PayrollPeriodId": 1,
    "PayrollPeriodName": "sample string 2",
    "EmployeeId": 3,
    "EmployeeFileNumber": 4,
    "EmployeeName": "sample string 5",
    "EmployeeSection": "sample string 6",
    "IsTimeCardSubmitted": true,
    "TimeCardSubmited": "sample string 7",
    "EditedHours": 8.0,
    "EntitledLeaveTaken": 9.0,
    "PaidLeave": 10.0,
    "PaidLeaveHaveToBeSetteled": 11.0,
    "UnpaidLeave": 12.0,
    "UnpaidLeaveHaveToBeSetteled": 13.0,
    "SettledDays": 14.0,
    "EncashedDays": 15.0,
    "PayrollPeriodDays": 16.0,
    "PayrollPaidDays": 17.0,
    "PayrolUnPaidDays": 18.0,
    "AdjustmentActualHours": 19.0,
    "AdjustmentHours": 20.0,
    "AdjustmentOverTime1Hours": 21.0,
    "AdjustmentOverTime2Hours": 22.0,
    "AdjustmentNightAllowance": 23.0,
    "RegularHours": 24.0,
    "OverTime1Hours": 25.0,
    "OverTime2Hours": 26.0,
    "NightAllowance": 27.0,
    "MiscalleneousItem": {
      "EmployeeId": 1,
      "TotalBenefitValue": 1.0,
      "TotalDeductionValue": 1.0
    },
    "EmployeeBreakDownOfAllowance": [
      {
        "EmployeeId": 1,
        "PayrollItemId": 2,
        "AllowanceName": "sample string 3",
        "AllowanceValue": 1.0,
        "AllowanceItemUnit": 4,
        "AllowanceItemUnitName": "sample string 5"
      },
      {
        "EmployeeId": 1,
        "PayrollItemId": 2,
        "AllowanceName": "sample string 3",
        "AllowanceValue": 1.0,
        "AllowanceItemUnit": 4,
        "AllowanceItemUnitName": "sample string 5"
      },
      {
        "EmployeeId": 1,
        "PayrollItemId": 2,
        "AllowanceName": "sample string 3",
        "AllowanceValue": 1.0,
        "AllowanceItemUnit": 4,
        "AllowanceItemUnitName": "sample string 5"
      }
    ]
  },
  {
    "PayrollPeriodId": 1,
    "PayrollPeriodName": "sample string 2",
    "EmployeeId": 3,
    "EmployeeFileNumber": 4,
    "EmployeeName": "sample string 5",
    "EmployeeSection": "sample string 6",
    "IsTimeCardSubmitted": true,
    "TimeCardSubmited": "sample string 7",
    "EditedHours": 8.0,
    "EntitledLeaveTaken": 9.0,
    "PaidLeave": 10.0,
    "PaidLeaveHaveToBeSetteled": 11.0,
    "UnpaidLeave": 12.0,
    "UnpaidLeaveHaveToBeSetteled": 13.0,
    "SettledDays": 14.0,
    "EncashedDays": 15.0,
    "PayrollPeriodDays": 16.0,
    "PayrollPaidDays": 17.0,
    "PayrolUnPaidDays": 18.0,
    "AdjustmentActualHours": 19.0,
    "AdjustmentHours": 20.0,
    "AdjustmentOverTime1Hours": 21.0,
    "AdjustmentOverTime2Hours": 22.0,
    "AdjustmentNightAllowance": 23.0,
    "RegularHours": 24.0,
    "OverTime1Hours": 25.0,
    "OverTime2Hours": 26.0,
    "NightAllowance": 27.0,
    "MiscalleneousItem": {
      "EmployeeId": 1,
      "TotalBenefitValue": 1.0,
      "TotalDeductionValue": 1.0
    },
    "EmployeeBreakDownOfAllowance": [
      {
        "EmployeeId": 1,
        "PayrollItemId": 2,
        "AllowanceName": "sample string 3",
        "AllowanceValue": 1.0,
        "AllowanceItemUnit": 4,
        "AllowanceItemUnitName": "sample string 5"
      },
      {
        "EmployeeId": 1,
        "PayrollItemId": 2,
        "AllowanceName": "sample string 3",
        "AllowanceValue": 1.0,
        "AllowanceItemUnit": 4,
        "AllowanceItemUnitName": "sample string 5"
      },
      {
        "EmployeeId": 1,
        "PayrollItemId": 2,
        "AllowanceName": "sample string 3",
        "AllowanceValue": 1.0,
        "AllowanceItemUnit": 4,
        "AllowanceItemUnitName": "sample string 5"
      }
    ]
  }
]

application/xml, text/xml

Sample:
<ArrayOfMonthlyPayrollInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ComsipApi.Models.Payroll">
  <MonthlyPayrollInput>
    <AdjustmentActualHours>19</AdjustmentActualHours>
    <AdjustmentHours>20</AdjustmentHours>
    <AdjustmentNightAllowance>23</AdjustmentNightAllowance>
    <AdjustmentOverTime1Hours>21</AdjustmentOverTime1Hours>
    <AdjustmentOverTime2Hours>22</AdjustmentOverTime2Hours>
    <EditedHours>8</EditedHours>
    <EmployeeBreakDownOfAllowance>
      <MonthlyPayrollInputBreakDownOfAllowance>
        <AllowanceItemUnit>4</AllowanceItemUnit>
        <AllowanceItemUnitName>sample string 5</AllowanceItemUnitName>
        <AllowanceName>sample string 3</AllowanceName>
        <AllowanceValue>1</AllowanceValue>
        <EmployeeId>1</EmployeeId>
        <PayrollItemId>2</PayrollItemId>
      </MonthlyPayrollInputBreakDownOfAllowance>
      <MonthlyPayrollInputBreakDownOfAllowance>
        <AllowanceItemUnit>4</AllowanceItemUnit>
        <AllowanceItemUnitName>sample string 5</AllowanceItemUnitName>
        <AllowanceName>sample string 3</AllowanceName>
        <AllowanceValue>1</AllowanceValue>
        <EmployeeId>1</EmployeeId>
        <PayrollItemId>2</PayrollItemId>
      </MonthlyPayrollInputBreakDownOfAllowance>
      <MonthlyPayrollInputBreakDownOfAllowance>
        <AllowanceItemUnit>4</AllowanceItemUnit>
        <AllowanceItemUnitName>sample string 5</AllowanceItemUnitName>
        <AllowanceName>sample string 3</AllowanceName>
        <AllowanceValue>1</AllowanceValue>
        <EmployeeId>1</EmployeeId>
        <PayrollItemId>2</PayrollItemId>
      </MonthlyPayrollInputBreakDownOfAllowance>
    </EmployeeBreakDownOfAllowance>
    <EmployeeFileNumber>4</EmployeeFileNumber>
    <EmployeeId>3</EmployeeId>
    <EmployeeName>sample string 5</EmployeeName>
    <EmployeeSection>sample string 6</EmployeeSection>
    <EncashedDays>15</EncashedDays>
    <EntitledLeaveTaken>9</EntitledLeaveTaken>
    <IsTimeCardSubmitted>true</IsTimeCardSubmitted>
    <MiscalleneousItem>
      <EmployeeId>1</EmployeeId>
      <TotalBenefitValue>1</TotalBenefitValue>
      <TotalDeductionValue>1</TotalDeductionValue>
    </MiscalleneousItem>
    <NightAllowance>27</NightAllowance>
    <OverTime1Hours>25</OverTime1Hours>
    <OverTime2Hours>26</OverTime2Hours>
    <PaidLeave>10</PaidLeave>
    <PaidLeaveHaveToBeSetteled>11</PaidLeaveHaveToBeSetteled>
    <PayrolUnPaidDays>18</PayrolUnPaidDays>
    <PayrollPaidDays>17</PayrollPaidDays>
    <PayrollPeriodDays>16</PayrollPeriodDays>
    <PayrollPeriodId>1</PayrollPeriodId>
    <PayrollPeriodName>sample string 2</PayrollPeriodName>
    <RegularHours>24</RegularHours>
    <SettledDays>14</SettledDays>
    <TimeCardSubmited>sample string 7</TimeCardSubmited>
    <UnpaidLeave>12</UnpaidLeave>
    <UnpaidLeaveHaveToBeSetteled>13</UnpaidLeaveHaveToBeSetteled>
  </MonthlyPayrollInput>
  <MonthlyPayrollInput>
    <AdjustmentActualHours>19</AdjustmentActualHours>
    <AdjustmentHours>20</AdjustmentHours>
    <AdjustmentNightAllowance>23</AdjustmentNightAllowance>
    <AdjustmentOverTime1Hours>21</AdjustmentOverTime1Hours>
    <AdjustmentOverTime2Hours>22</AdjustmentOverTime2Hours>
    <EditedHours>8</EditedHours>
    <EmployeeBreakDownOfAllowance>
      <MonthlyPayrollInputBreakDownOfAllowance>
        <AllowanceItemUnit>4</AllowanceItemUnit>
        <AllowanceItemUnitName>sample string 5</AllowanceItemUnitName>
        <AllowanceName>sample string 3</AllowanceName>
        <AllowanceValue>1</AllowanceValue>
        <EmployeeId>1</EmployeeId>
        <PayrollItemId>2</PayrollItemId>
      </MonthlyPayrollInputBreakDownOfAllowance>
      <MonthlyPayrollInputBreakDownOfAllowance>
        <AllowanceItemUnit>4</AllowanceItemUnit>
        <AllowanceItemUnitName>sample string 5</AllowanceItemUnitName>
        <AllowanceName>sample string 3</AllowanceName>
        <AllowanceValue>1</AllowanceValue>
        <EmployeeId>1</EmployeeId>
        <PayrollItemId>2</PayrollItemId>
      </MonthlyPayrollInputBreakDownOfAllowance>
      <MonthlyPayrollInputBreakDownOfAllowance>
        <AllowanceItemUnit>4</AllowanceItemUnit>
        <AllowanceItemUnitName>sample string 5</AllowanceItemUnitName>
        <AllowanceName>sample string 3</AllowanceName>
        <AllowanceValue>1</AllowanceValue>
        <EmployeeId>1</EmployeeId>
        <PayrollItemId>2</PayrollItemId>
      </MonthlyPayrollInputBreakDownOfAllowance>
    </EmployeeBreakDownOfAllowance>
    <EmployeeFileNumber>4</EmployeeFileNumber>
    <EmployeeId>3</EmployeeId>
    <EmployeeName>sample string 5</EmployeeName>
    <EmployeeSection>sample string 6</EmployeeSection>
    <EncashedDays>15</EncashedDays>
    <EntitledLeaveTaken>9</EntitledLeaveTaken>
    <IsTimeCardSubmitted>true</IsTimeCardSubmitted>
    <MiscalleneousItem>
      <EmployeeId>1</EmployeeId>
      <TotalBenefitValue>1</TotalBenefitValue>
      <TotalDeductionValue>1</TotalDeductionValue>
    </MiscalleneousItem>
    <NightAllowance>27</NightAllowance>
    <OverTime1Hours>25</OverTime1Hours>
    <OverTime2Hours>26</OverTime2Hours>
    <PaidLeave>10</PaidLeave>
    <PaidLeaveHaveToBeSetteled>11</PaidLeaveHaveToBeSetteled>
    <PayrolUnPaidDays>18</PayrolUnPaidDays>
    <PayrollPaidDays>17</PayrollPaidDays>
    <PayrollPeriodDays>16</PayrollPeriodDays>
    <PayrollPeriodId>1</PayrollPeriodId>
    <PayrollPeriodName>sample string 2</PayrollPeriodName>
    <RegularHours>24</RegularHours>
    <SettledDays>14</SettledDays>
    <TimeCardSubmited>sample string 7</TimeCardSubmited>
    <UnpaidLeave>12</UnpaidLeave>
    <UnpaidLeaveHaveToBeSetteled>13</UnpaidLeaveHaveToBeSetteled>
  </MonthlyPayrollInput>
  <MonthlyPayrollInput>
    <AdjustmentActualHours>19</AdjustmentActualHours>
    <AdjustmentHours>20</AdjustmentHours>
    <AdjustmentNightAllowance>23</AdjustmentNightAllowance>
    <AdjustmentOverTime1Hours>21</AdjustmentOverTime1Hours>
    <AdjustmentOverTime2Hours>22</AdjustmentOverTime2Hours>
    <EditedHours>8</EditedHours>
    <EmployeeBreakDownOfAllowance>
      <MonthlyPayrollInputBreakDownOfAllowance>
        <AllowanceItemUnit>4</AllowanceItemUnit>
        <AllowanceItemUnitName>sample string 5</AllowanceItemUnitName>
        <AllowanceName>sample string 3</AllowanceName>
        <AllowanceValue>1</AllowanceValue>
        <EmployeeId>1</EmployeeId>
        <PayrollItemId>2</PayrollItemId>
      </MonthlyPayrollInputBreakDownOfAllowance>
      <MonthlyPayrollInputBreakDownOfAllowance>
        <AllowanceItemUnit>4</AllowanceItemUnit>
        <AllowanceItemUnitName>sample string 5</AllowanceItemUnitName>
        <AllowanceName>sample string 3</AllowanceName>
        <AllowanceValue>1</AllowanceValue>
        <EmployeeId>1</EmployeeId>
        <PayrollItemId>2</PayrollItemId>
      </MonthlyPayrollInputBreakDownOfAllowance>
      <MonthlyPayrollInputBreakDownOfAllowance>
        <AllowanceItemUnit>4</AllowanceItemUnit>
        <AllowanceItemUnitName>sample string 5</AllowanceItemUnitName>
        <AllowanceName>sample string 3</AllowanceName>
        <AllowanceValue>1</AllowanceValue>
        <EmployeeId>1</EmployeeId>
        <PayrollItemId>2</PayrollItemId>
      </MonthlyPayrollInputBreakDownOfAllowance>
    </EmployeeBreakDownOfAllowance>
    <EmployeeFileNumber>4</EmployeeFileNumber>
    <EmployeeId>3</EmployeeId>
    <EmployeeName>sample string 5</EmployeeName>
    <EmployeeSection>sample string 6</EmployeeSection>
    <EncashedDays>15</EncashedDays>
    <EntitledLeaveTaken>9</EntitledLeaveTaken>
    <IsTimeCardSubmitted>true</IsTimeCardSubmitted>
    <MiscalleneousItem>
      <EmployeeId>1</EmployeeId>
      <TotalBenefitValue>1</TotalBenefitValue>
      <TotalDeductionValue>1</TotalDeductionValue>
    </MiscalleneousItem>
    <NightAllowance>27</NightAllowance>
    <OverTime1Hours>25</OverTime1Hours>
    <OverTime2Hours>26</OverTime2Hours>
    <PaidLeave>10</PaidLeave>
    <PaidLeaveHaveToBeSetteled>11</PaidLeaveHaveToBeSetteled>
    <PayrolUnPaidDays>18</PayrolUnPaidDays>
    <PayrollPaidDays>17</PayrollPaidDays>
    <PayrollPeriodDays>16</PayrollPeriodDays>
    <PayrollPeriodId>1</PayrollPeriodId>
    <PayrollPeriodName>sample string 2</PayrollPeriodName>
    <RegularHours>24</RegularHours>
    <SettledDays>14</SettledDays>
    <TimeCardSubmited>sample string 7</TimeCardSubmited>
    <UnpaidLeave>12</UnpaidLeave>
    <UnpaidLeaveHaveToBeSetteled>13</UnpaidLeaveHaveToBeSetteled>
  </MonthlyPayrollInput>
</ArrayOfMonthlyPayrollInput>

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'.