34123412 <nav id="scrollingNav">
34133413 <ul class="sidenav nav nav-list">
34143414 <li class="nav-header" data-group="PayrollAu"><strong>SDK: </strong><span id='sdk-name'></span></li>
3415- <li class="nav-header" data-group="PayrollAu"><strong>VSN: </strong>1.27 .0</li>
3415+ <li class="nav-header" data-group="PayrollAu"><strong>VSN: </strong>2.0 .0</li>
34163416 <li class="nav-header" data-group="PayrollAu"><a href="#api-PayrollAu">Methods</a></li>
34173417 <li data-group="PayrollAu" data-name="approveLeaveApplication" class="">
34183418 <a href="#api-PayrollAu-approveLeaveApplication">approveLeaveApplication</a>
@@ -7656,7 +7656,7 @@ <h3>Usage and SDK Samples</h3>
76567656 homeAddress = home_address)
76577657
76587658 try:
7659- api_response = api_instance.update_employee(xero_tenant_id, employee_id, idempotency_key, employee )
7659+ api_response = api_instance.update_employee(xero_tenant_id, employee_id, employee, idempotency_key )
76607660 print(api_response)
76617661 except AccountingBadRequestException as e:
76627662 print("Exception when calling PayrollAuApi->updateEmployee: %s\n" % e)</code></pre>
@@ -7762,7 +7762,7 @@ <h2>Parameters</h2>
77627762 <th>Description</th>
77637763 </tr>
77647764 <tr>
7765- <td style="width:150px;">employee </td>
7765+ <td style="width:150px;">employee <span style="color:red;">*</span>< /td>
77667766 <td>
77677767 <div class="json-schema-view">
77687768 <div class="primitive">
@@ -7773,6 +7773,9 @@ <h2>Parameters</h2>
77737773
77747774 </div>
77757775 </div>
7776+ <div class="inner required">
7777+ Required
7778+ </div>
77767779 </div>
77777780 <script type="application/ld+json">
77787781 {
@@ -7786,7 +7789,8 @@ <h2>Parameters</h2>
77867789 },
77877790 "example" : "[ { \"MiddleNames\": \"Frank\" } ]"
77887791 }
7789- }
7792+ },
7793+ "required" : true
77907794}
77917795 </script>
77927796 </table>
@@ -8032,7 +8036,7 @@ <h3>Usage and SDK Samples</h3>
80328036 payroll_calendar_id = "00000000-0000-0000-0000-000000000000")
80338037
80348038 try:
8035- api_response = api_instance.update_pay_run(xero_tenant_id, pay_run_id, idempotency_key, payRun )
8039+ api_response = api_instance.update_pay_run(xero_tenant_id, pay_run_id, payRun, idempotency_key )
80368040 print(api_response)
80378041 except AccountingBadRequestException as e:
80388042 print("Exception when calling PayrollAuApi->updatePayRun: %s\n" % e)</code></pre>
@@ -8138,7 +8142,7 @@ <h2>Parameters</h2>
81388142 <th>Description</th>
81398143 </tr>
81408144 <tr>
8141- <td style="width:150px;">payRun </td>
8145+ <td style="width:150px;">payRun <span style="color:red;">*</span>< /td>
81428146 <td>
81438147 <div class="json-schema-view">
81448148 <div class="primitive">
@@ -8149,6 +8153,9 @@ <h2>Parameters</h2>
81498153
81508154 </div>
81518155 </div>
8156+ <div class="inner required">
8157+ Required
8158+ </div>
81528159 </div>
81538160 <script type="application/ld+json">
81548161 {
@@ -8162,7 +8169,8 @@ <h2>Parameters</h2>
81628169 }
81638170 }
81648171 }
8165- }
8172+ },
8173+ "required" : true
81668174}
81678175 </script>
81688176 </table>
@@ -8226,7 +8234,7 @@ <h3>Usage and SDK Samples</h3>
82268234 payslip_lines.append(payslip_line)
82278235
82288236 try:
8229- api_response = api_instance.update_payslip(xero_tenant_id, payslip_id, idempotency_key, payslipLines )
8237+ api_response = api_instance.update_payslip(xero_tenant_id, payslip_id, payslipLines, idempotency_key )
82308238 print(api_response)
82318239 except AccountingBadRequestException as e:
82328240 print("Exception when calling PayrollAuApi->updatePayslip: %s\n" % e)</code></pre>
@@ -8332,7 +8340,7 @@ <h2>Parameters</h2>
83328340 <th>Description</th>
83338341 </tr>
83348342 <tr>
8335- <td style="width:150px;">payslipLines </td>
8343+ <td style="width:150px;">payslipLines <span style="color:red;">*</span>< /td>
83368344 <td>
83378345 <div class="json-schema-view">
83388346 <div class="primitive">
@@ -8343,6 +8351,9 @@ <h2>Parameters</h2>
83438351
83448352 </div>
83458353 </div>
8354+ <div class="inner required">
8355+ Required
8356+ </div>
83468357 </div>
83478358 <script type="application/ld+json">
83488359 {
@@ -8356,7 +8367,8 @@ <h2>Parameters</h2>
83568367 },
83578368 "example" : "{ \"Payslip\": { \"EmployeeID\": \"cdfb8371-0b21-4b8a-8903-1024df6c391e\", \"DeductionLines\": [ { \"DeductionTypeID\": \"727af5e8-b347-4ae7-85fc-9b82266d0aec\", \"CalculationType\": \"FIXEDAMOUNT\", \"NumberOfUnits\": 10 } ] } }"
83588369 }
8359- }
8370+ },
8371+ "required" : true
83608372}
83618373 </script>
83628374 </table>
@@ -8410,7 +8422,7 @@ <h3>Usage and SDK Samples</h3>
84108422 USI = "40022701955002")
84118423
84128424 try:
8413- api_response = api_instance.update_superfund(xero_tenant_id, super_fund_id, idempotency_key, superFund )
8425+ api_response = api_instance.update_superfund(xero_tenant_id, super_fund_id, superFund, idempotency_key )
84148426 print(api_response)
84158427 except AccountingBadRequestException as e:
84168428 print("Exception when calling PayrollAuApi->updateSuperfund: %s\n" % e)</code></pre>
@@ -8516,7 +8528,7 @@ <h2>Parameters</h2>
85168528 <th>Description</th>
85178529 </tr>
85188530 <tr>
8519- <td style="width:150px;">superFund </td>
8531+ <td style="width:150px;">superFund <span style="color:red;">*</span>< /td>
85208532 <td>
85218533 <div class="json-schema-view">
85228534 <div class="primitive">
@@ -8527,6 +8539,9 @@ <h2>Parameters</h2>
85278539
85288540 </div>
85298541 </div>
8542+ <div class="inner required">
8543+ Required
8544+ </div>
85308545 </div>
85318546 <script type="application/ld+json">
85328547 {
@@ -8540,7 +8555,8 @@ <h2>Parameters</h2>
85408555 },
85418556 "example" : " [ { \"Type\":\"REGULATED\", \"Name\":\"Nice23534\" } ]"
85428557 }
8543- }
8558+ },
8559+ "required" : true
85448560}
85458561 </script>
85468562 </table>
@@ -8598,7 +8614,7 @@ <h3>Usage and SDK Samples</h3>
85988614 status = "DRAFT")
85998615
86008616 try:
8601- api_response = api_instance.update_timesheet(xero_tenant_id, timesheet_id, idempotency_key, timesheet )
8617+ api_response = api_instance.update_timesheet(xero_tenant_id, timesheet_id, timesheet, idempotency_key )
86028618 print(api_response)
86038619 except AccountingBadRequestException as e:
86048620 print("Exception when calling PayrollAuApi->updateTimesheet: %s\n" % e)</code></pre>
@@ -8704,7 +8720,7 @@ <h2>Parameters</h2>
87048720 <th>Description</th>
87058721 </tr>
87068722 <tr>
8707- <td style="width:150px;">timesheet </td>
8723+ <td style="width:150px;">timesheet <span style="color:red;">*</span>< /td>
87088724 <td>
87098725 <div class="json-schema-view">
87108726 <div class="primitive">
@@ -8715,6 +8731,9 @@ <h2>Parameters</h2>
87158731
87168732 </div>
87178733 </div>
8734+ <div class="inner required">
8735+ Required
8736+ </div>
87188737 </div>
87198738 <script type="application/ld+json">
87208739 {
@@ -8728,7 +8747,8 @@ <h2>Parameters</h2>
87288747 },
87298748 "example" : "[ { \"EmployeeID\":\"b34e89ff-770d-4099-b7e5-f968767118bc\", \"StartDate\":\"/Date(1573171200000+0000)/\", \"EndDate\":\"/Date(1573689600000+0000)/\", \"Status\":\"APPROVED\", \"Hours\":22.0, \"TimesheetID\":\"a7eb0a79-8511-4ee7-b473-3a25f28abcb9\", \"TimesheetLines\":[ { \"EarningsRateID\":\"ab874dfb-ab09-4c91-954e-43acf6fc23b4\", \"TrackingItemID\":\"af5e9ce2-2349-4136-be99-3561b189f473\", \"NumberOfUnits\":[ 2.0, 10.0, 0.0, 0.0, 5.0, 0.0, 5.0 ], \"UpdatedDateUTC\":\"/Date(1573516185127+0000)/\" } ] } ]"
87308749 }
8731- }
8750+ },
8751+ "required" : true
87328752}
87338753 </script>
87348754 </table>
0 commit comments