Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
118 changes: 59 additions & 59 deletions docs/v1/accounting/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/v1/appstore/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1241,7 +1241,7 @@
<nav id="scrollingNav">
<ul class="sidenav nav nav-list">
<li class="nav-header" data-group="AppStore"><strong>SDK: </strong><span id='sdk-name'></span></li>
<li class="nav-header" data-group="AppStore"><strong>VSN: </strong>1.27.0</li>
<li class="nav-header" data-group="AppStore"><strong>VSN: </strong>2.0.0</li>
<li class="nav-header" data-group="AppStore"><a href="#api-AppStore">Methods</a></li>
<li data-group="AppStore" data-name="getSubscription" class="">
<a href="#api-AppStore-getSubscription">getSubscription</a>
Expand Down
12 changes: 8 additions & 4 deletions docs/v1/assets/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1392,7 +1392,7 @@
<nav id="scrollingNav">
<ul class="sidenav nav nav-list">
<li class="nav-header" data-group="Asset"><strong>SDK: </strong><span id='sdk-name'></span></li>
<li class="nav-header" data-group="Asset"><strong>VSN: </strong>1.27.0</li>
<li class="nav-header" data-group="Asset"><strong>VSN: </strong>2.0.0</li>
<li class="nav-header" data-group="Asset"><a href="#api-Asset">Methods</a></li>
<li data-group="Asset" data-name="createAsset" class="">
<a href="#api-Asset-createAsset">createAsset</a>
Expand Down Expand Up @@ -1638,7 +1638,7 @@ <h3>Usage and SDK Samples</h3>
book_depreciation_setting = book_depreciation_setting)

try:
api_response = api_instance.create_asset_type(xero_tenant_id, idempotency_key, assetType)
api_response = api_instance.create_asset_type(xero_tenant_id, assetType, idempotency_key)
print(api_response)
except AccountingBadRequestException as e:
print("Exception when calling AssetApi->createAssetType: %s\n" % e)</code></pre>
Expand Down Expand Up @@ -1711,7 +1711,7 @@ <h2>Parameters</h2>
<th>Description</th>
</tr>
<tr>
<td style="width:150px;">assetType </td>
<td style="width:150px;">assetType <span style="color:red;">*</span></td>
<td>
<div class="json-schema-view">
<div class="primitive">
Expand All @@ -1722,6 +1722,9 @@ <h2>Parameters</h2>
Asset type to add
</div>
</div>
<div class="inner required">
Required
</div>
</div>
<script type="application/ld+json">
{
Expand All @@ -1733,7 +1736,8 @@ <h2>Parameters</h2>
},
"example" : "{ \"assetTypeName\":\"Machinery11004\", \"fixedAssetAccountId\":\"3d8d063a-c148-4bb8-8b3c-a5e2ad3b1e82\", \"depreciationExpenseAccountId\":\"d1602f69-f900-4616-8d34-90af393fa368\", \"accumulatedDepreciationAccountId\":\"9195cadd-8645-41e6-9f67-7bcd421defe8\", \"bookDepreciationSetting\":{ \"depreciationMethod\":\"DiminishingValue100\", \"averagingMethod\":\"ActualDays\", \"depreciationRate\":0.05, \"depreciationCalculationMethod\":\"None\" } }"
}
}
},
"required" : true
}
</script>
</table>
Expand Down
32 changes: 22 additions & 10 deletions docs/v1/files/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1155,7 +1155,7 @@
<nav id="scrollingNav">
<ul class="sidenav nav nav-list">
<li class="nav-header" data-group="Files"><strong>SDK: </strong><span id='sdk-name'></span></li>
<li class="nav-header" data-group="Files"><strong>VSN: </strong>1.27.0</li>
<li class="nav-header" data-group="Files"><strong>VSN: </strong>2.0.0</li>
<li class="nav-header" data-group="Files"><a href="#api-Files">Methods</a></li>
<li data-group="Files" data-name="createFileAssociation" class="">
<a href="#api-Files-createFileAssociation">createFileAssociation</a>
Expand Down Expand Up @@ -1272,7 +1272,7 @@ <h3>Usage and SDK Samples</h3>
idempotency_key = 'KEY_VALUE'

try:
api_response = api_instance.create_file_association(xero_tenant_id, file_id, idempotency_key, association)
api_response = api_instance.create_file_association(xero_tenant_id, file_id, association, idempotency_key)
print(api_response)
except AccountingBadRequestException as e:
print("Exception when calling FilesApi->createFileAssociation: %s\n" % e)</code></pre>
Expand Down Expand Up @@ -1378,7 +1378,7 @@ <h2>Parameters</h2>
<th>Description</th>
</tr>
<tr>
<td style="width:150px;">association </td>
<td style="width:150px;">association <span style="color:red;">*</span></td>
<td>
<div class="json-schema-view">
<div class="primitive">
Expand All @@ -1389,6 +1389,9 @@ <h2>Parameters</h2>

</div>
</div>
<div class="inner required">
Required
</div>
</div>
<script type="application/ld+json">
{
Expand All @@ -1399,7 +1402,8 @@ <h2>Parameters</h2>
},
"example" : "{ \"ObjectId\": \"1270bf7c-5d18-473a-9231-1e36c4bd33ed\", \"ObjectGroup\": \"Contact\", \"ObjectType\": \"Business\" }"
}
}
},
"required" : true
}
</script>
</table>
Expand Down Expand Up @@ -1448,7 +1452,7 @@ <h3>Usage and SDK Samples</h3>
idempotency_key = 'KEY_VALUE'

try:
api_response = api_instance.create_folder(xero_tenant_id, idempotency_key, folder)
api_response = api_instance.create_folder(xero_tenant_id, folder, idempotency_key)
print(api_response)
except AccountingBadRequestException as e:
print("Exception when calling FilesApi->createFolder: %s\n" % e)</code></pre>
Expand Down Expand Up @@ -1521,7 +1525,7 @@ <h2>Parameters</h2>
<th>Description</th>
</tr>
<tr>
<td style="width:150px;">folder </td>
<td style="width:150px;">folder <span style="color:red;">*</span></td>
<td>
<div class="json-schema-view">
<div class="primitive">
Expand All @@ -1532,6 +1536,9 @@ <h2>Parameters</h2>

</div>
</div>
<div class="inner required">
Required
</div>
</div>
<script type="application/ld+json">
{
Expand All @@ -1542,7 +1549,8 @@ <h2>Parameters</h2>
},
"example" : "{ \"Name\": \"My Docs\" }"
}
}
},
"required" : true
}
</script>
</table>
Expand Down Expand Up @@ -3232,7 +3240,7 @@ <h3>Usage and SDK Samples</h3>
idempotency_key = 'KEY_VALUE'

try:
api_response = api_instance.update_file(xero_tenant_id, file_id, idempotency_key, fileObject)
api_response = api_instance.update_file(xero_tenant_id, file_id, fileObject, idempotency_key)
print(api_response)
except AccountingBadRequestException as e:
print("Exception when calling FilesApi->updateFile: %s\n" % e)</code></pre>
Expand Down Expand Up @@ -3338,7 +3346,7 @@ <h2>Parameters</h2>
<th>Description</th>
</tr>
<tr>
<td style="width:150px;">fileObject </td>
<td style="width:150px;">fileObject <span style="color:red;">*</span></td>
<td>
<div class="json-schema-view">
<div class="primitive">
Expand All @@ -3349,6 +3357,9 @@ <h2>Parameters</h2>

</div>
</div>
<div class="inner required">
Required
</div>
</div>
<script type="application/ld+json">
{
Expand All @@ -3359,7 +3370,8 @@ <h2>Parameters</h2>
},
"example" : "{ \"FolderId\": \"bf924975-7097-46f2-a143-1ecfbab3c8c3\" }"
}
}
},
"required" : true
}
</script>
</table>
Expand Down
2 changes: 1 addition & 1 deletion docs/v1/finance/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2734,7 +2734,7 @@
<nav id="scrollingNav">
<ul class="sidenav nav nav-list">
<li class="nav-header" data-group="Finance"><strong>SDK: </strong><span id='sdk-name'></span></li>
<li class="nav-header" data-group="Finance"><strong>VSN: </strong>1.27.0</li>
<li class="nav-header" data-group="Finance"><strong>VSN: </strong>2.0.0</li>
<li class="nav-header" data-group="Finance"><a href="#api-Finance">Methods</a></li>
<li data-group="Finance" data-name="getAccountingActivityAccountUsage" class="">
<a href="#api-Finance-getAccountingActivityAccountUsage">getAccountingActivityAccountUsage</a>
Expand Down
52 changes: 36 additions & 16 deletions docs/v1/payroll-au/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3412,7 +3412,7 @@
<nav id="scrollingNav">
<ul class="sidenav nav nav-list">
<li class="nav-header" data-group="PayrollAu"><strong>SDK: </strong><span id='sdk-name'></span></li>
<li class="nav-header" data-group="PayrollAu"><strong>VSN: </strong>1.27.0</li>
<li class="nav-header" data-group="PayrollAu"><strong>VSN: </strong>2.0.0</li>
<li class="nav-header" data-group="PayrollAu"><a href="#api-PayrollAu">Methods</a></li>
<li data-group="PayrollAu" data-name="approveLeaveApplication" class="">
<a href="#api-PayrollAu-approveLeaveApplication">approveLeaveApplication</a>
Expand Down Expand Up @@ -7656,7 +7656,7 @@ <h3>Usage and SDK Samples</h3>
homeAddress = home_address)

try:
api_response = api_instance.update_employee(xero_tenant_id, employee_id, idempotency_key, employee)
api_response = api_instance.update_employee(xero_tenant_id, employee_id, employee, idempotency_key)
print(api_response)
except AccountingBadRequestException as e:
print("Exception when calling PayrollAuApi->updateEmployee: %s\n" % e)</code></pre>
Expand Down Expand Up @@ -7762,7 +7762,7 @@ <h2>Parameters</h2>
<th>Description</th>
</tr>
<tr>
<td style="width:150px;">employee </td>
<td style="width:150px;">employee <span style="color:red;">*</span></td>
<td>
<div class="json-schema-view">
<div class="primitive">
Expand All @@ -7773,6 +7773,9 @@ <h2>Parameters</h2>

</div>
</div>
<div class="inner required">
Required
</div>
</div>
<script type="application/ld+json">
{
Expand All @@ -7786,7 +7789,8 @@ <h2>Parameters</h2>
},
"example" : "[ { \"MiddleNames\": \"Frank\" } ]"
}
}
},
"required" : true
}
</script>
</table>
Expand Down Expand Up @@ -8032,7 +8036,7 @@ <h3>Usage and SDK Samples</h3>
payroll_calendar_id = "00000000-0000-0000-0000-000000000000")

try:
api_response = api_instance.update_pay_run(xero_tenant_id, pay_run_id, idempotency_key, payRun)
api_response = api_instance.update_pay_run(xero_tenant_id, pay_run_id, payRun, idempotency_key)
print(api_response)
except AccountingBadRequestException as e:
print("Exception when calling PayrollAuApi->updatePayRun: %s\n" % e)</code></pre>
Expand Down Expand Up @@ -8138,7 +8142,7 @@ <h2>Parameters</h2>
<th>Description</th>
</tr>
<tr>
<td style="width:150px;">payRun </td>
<td style="width:150px;">payRun <span style="color:red;">*</span></td>
<td>
<div class="json-schema-view">
<div class="primitive">
Expand All @@ -8149,6 +8153,9 @@ <h2>Parameters</h2>

</div>
</div>
<div class="inner required">
Required
</div>
</div>
<script type="application/ld+json">
{
Expand All @@ -8162,7 +8169,8 @@ <h2>Parameters</h2>
}
}
}
}
},
"required" : true
}
</script>
</table>
Expand Down Expand Up @@ -8226,7 +8234,7 @@ <h3>Usage and SDK Samples</h3>
payslip_lines.append(payslip_line)

try:
api_response = api_instance.update_payslip(xero_tenant_id, payslip_id, idempotency_key, payslipLines)
api_response = api_instance.update_payslip(xero_tenant_id, payslip_id, payslipLines, idempotency_key)
print(api_response)
except AccountingBadRequestException as e:
print("Exception when calling PayrollAuApi->updatePayslip: %s\n" % e)</code></pre>
Expand Down Expand Up @@ -8332,7 +8340,7 @@ <h2>Parameters</h2>
<th>Description</th>
</tr>
<tr>
<td style="width:150px;">payslipLines </td>
<td style="width:150px;">payslipLines <span style="color:red;">*</span></td>
<td>
<div class="json-schema-view">
<div class="primitive">
Expand All @@ -8343,6 +8351,9 @@ <h2>Parameters</h2>

</div>
</div>
<div class="inner required">
Required
</div>
</div>
<script type="application/ld+json">
{
Expand All @@ -8356,7 +8367,8 @@ <h2>Parameters</h2>
},
"example" : "{ \"Payslip\": { \"EmployeeID\": \"cdfb8371-0b21-4b8a-8903-1024df6c391e\", \"DeductionLines\": [ { \"DeductionTypeID\": \"727af5e8-b347-4ae7-85fc-9b82266d0aec\", \"CalculationType\": \"FIXEDAMOUNT\", \"NumberOfUnits\": 10 } ] } }"
}
}
},
"required" : true
}
</script>
</table>
Expand Down Expand Up @@ -8410,7 +8422,7 @@ <h3>Usage and SDK Samples</h3>
USI = "40022701955002")

try:
api_response = api_instance.update_superfund(xero_tenant_id, super_fund_id, idempotency_key, superFund)
api_response = api_instance.update_superfund(xero_tenant_id, super_fund_id, superFund, idempotency_key)
print(api_response)
except AccountingBadRequestException as e:
print("Exception when calling PayrollAuApi->updateSuperfund: %s\n" % e)</code></pre>
Expand Down Expand Up @@ -8516,7 +8528,7 @@ <h2>Parameters</h2>
<th>Description</th>
</tr>
<tr>
<td style="width:150px;">superFund </td>
<td style="width:150px;">superFund <span style="color:red;">*</span></td>
<td>
<div class="json-schema-view">
<div class="primitive">
Expand All @@ -8527,6 +8539,9 @@ <h2>Parameters</h2>

</div>
</div>
<div class="inner required">
Required
</div>
</div>
<script type="application/ld+json">
{
Expand All @@ -8540,7 +8555,8 @@ <h2>Parameters</h2>
},
"example" : " [ { \"Type\":\"REGULATED\", \"Name\":\"Nice23534\" } ]"
}
}
},
"required" : true
}
</script>
</table>
Expand Down Expand Up @@ -8598,7 +8614,7 @@ <h3>Usage and SDK Samples</h3>
status = "DRAFT")

try:
api_response = api_instance.update_timesheet(xero_tenant_id, timesheet_id, idempotency_key, timesheet)
api_response = api_instance.update_timesheet(xero_tenant_id, timesheet_id, timesheet, idempotency_key)
print(api_response)
except AccountingBadRequestException as e:
print("Exception when calling PayrollAuApi->updateTimesheet: %s\n" % e)</code></pre>
Expand Down Expand Up @@ -8704,7 +8720,7 @@ <h2>Parameters</h2>
<th>Description</th>
</tr>
<tr>
<td style="width:150px;">timesheet </td>
<td style="width:150px;">timesheet <span style="color:red;">*</span></td>
<td>
<div class="json-schema-view">
<div class="primitive">
Expand All @@ -8715,6 +8731,9 @@ <h2>Parameters</h2>

</div>
</div>
<div class="inner required">
Required
</div>
</div>
<script type="application/ld+json">
{
Expand All @@ -8728,7 +8747,8 @@ <h2>Parameters</h2>
},
"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)/\" } ] } ]"
}
}
},
"required" : true
}
</script>
</table>
Expand Down
2 changes: 1 addition & 1 deletion docs/v1/payroll-nz/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3843,7 +3843,7 @@
<nav id="scrollingNav">
<ul class="sidenav nav nav-list">
<li class="nav-header" data-group="PayrollNz"><strong>SDK: </strong><span id='sdk-name'></span></li>
<li class="nav-header" data-group="PayrollNz"><strong>VSN: </strong>1.27.0</li>
<li class="nav-header" data-group="PayrollNz"><strong>VSN: </strong>2.0.0</li>
<li class="nav-header" data-group="PayrollNz"><a href="#api-PayrollNz">Methods</a></li>
<li data-group="PayrollNz" data-name="approveTimesheet" class="">
<a href="#api-PayrollNz-approveTimesheet">approveTimesheet</a>
Expand Down
Loading