You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/assets/AssetApi.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -382,11 +382,11 @@ opts = {
382
382
383
383
page_size:5, # Integer | The number of records returned per page. By default the number of records returned is 10.
384
384
385
-
order_by:AssetType, # String | Requests can be ordered by AssetType, AssetName, AssetNumber, PurchaseDate and PurchasePrice. If the asset status is DISPOSED it also allows DisposalDate and DisposalPrice.
385
+
order_by:'AssetType', # String | Requests can be ordered by AssetType, AssetName, AssetNumber, PurchaseDate and PurchasePrice. If the asset status is DISPOSED it also allows DisposalDate and DisposalPrice.
386
386
387
-
sort_direction: asc, # String | ASC or DESC
387
+
sort_direction:'asc', # String | ASC or DESC
388
388
389
-
filter_by:CompanyCar# String | A string that can be used to filter the list to only return assets containing the text. Checks it against the AssetName, AssetNumber, Description and AssetTypeName fields.
389
+
filter_by:'Company Car'# String | A string that can be used to filter the list to only return assets containing the text. Checks it against the AssetName, AssetNumber, Description and AssetTypeName fields.
xero_tenant_id ='YOUR_XERO_TENANT_ID'# String | Xero identifier for Tenant
56
56
opts = {
57
-
start_month:2020-09, # String | date, yyyy-MM If no parameter is provided, the month 12 months prior to the end month will be used. Account usage for up to 12 months from this date will be returned.
57
+
start_month:'2020-09', # String | date, yyyy-MM If no parameter is provided, the month 12 months prior to the end month will be used. Account usage for up to 12 months from this date will be returned.
58
58
59
-
end_month:2021-09# String | date, yyyy-MM If no parameter is provided, the current month will be used. Account usage for up to 12 months prior to this date will be returned.
59
+
end_month:'2021-09'# String | date, yyyy-MM If no parameter is provided, the current month will be used. Account usage for up to 12 months prior to this date will be returned.
xero_tenant_id ='YOUR_XERO_TENANT_ID'# String | Xero identifier for Tenant
128
128
opts = {
129
-
end_date:2021-09-15# String | date, yyyy-MM-dd If no parameter is provided, the current date will be used. Any changes to hard or soft lock dates that were made within the period up to 12 months before this date will be returned. Please be aware that there may be a delay of up to 3 days before a change is visible from this API.
129
+
end_date:'2021-09-15'# String | date, yyyy-MM-dd If no parameter is provided, the current date will be used. Any changes to hard or soft lock dates that were made within the period up to 12 months before this date will be returned. Please be aware that there may be a delay of up to 3 days before a change is visible from this API.
xero_tenant_id ='YOUR_XERO_TENANT_ID'# String | Xero identifier for Tenant
197
197
opts = {
198
-
end_date:2021-09-15# String | date, yyyy-MM-dd If no parameter is provided, the current date will be used. Any reports that were published within the period up to 12 months before this date will be returned. Please be aware that there may be a delay of up to 3 days before a published report is visible from this API.
198
+
end_date:'2021-09-15'# String | date, yyyy-MM-dd If no parameter is provided, the current date will be used. Any reports that were published within the period up to 12 months before this date will be returned. Please be aware that there may be a delay of up to 3 days before a published report is visible from this API.
xero_tenant_id ='YOUR_XERO_TENANT_ID'# String | Xero identifier for Tenant
266
266
opts = {
267
-
data_month:2021-09# String | date, yyyy-MM The specified month must be complete (in the past); The current month cannot be specified since it is not complete. If no parameter is provided, the month immediately previous to the current month will be used. Any user activities occurring within the specified month will be returned. Please be aware that there may be a delay of up to 3 days before a user activity is visible from this API.
267
+
data_month:'2021-09'# String | date, yyyy-MM The specified month must be complete (in the past); The current month cannot be specified since it is not complete. If no parameter is provided, the month immediately previous to the current month will be used. Any user activities occurring within the specified month will be returned. Please be aware that there may be a delay of up to 3 days before a user activity is visible from this API.
xero_tenant_id ='YOUR_XERO_TENANT_ID'# String | Xero identifier for Tenant
410
410
opts = {
411
-
balance_date:2021-09-15, # String | date, yyyy-MM-dd If no parameter is provided, the current date will be used. The ‘balance date’ will return transactions based on the accounting date entered by the user. Transactions before the balanceDate will be included. The user has discretion as to which accounting period the transaction relates to. The ‘balance date’ will control the latest maximum date of transactions included in the aggregate numbers. Balance date does not affect the CurrentStatement object, as this will always return the most recent statement before asAtSystemDate (if specified)
411
+
balance_date:'2021-09-15', # String | date, yyyy-MM-dd If no parameter is provided, the current date will be used. The ‘balance date’ will return transactions based on the accounting date entered by the user. Transactions before the balanceDate will be included. The user has discretion as to which accounting period the transaction relates to. The ‘balance date’ will control the latest maximum date of transactions included in the aggregate numbers. Balance date does not affect the CurrentStatement object, as this will always return the most recent statement before asAtSystemDate (if specified)
412
412
413
-
as_at_system_date: 2021-09-15, # String | date, yyyy-MM-dd If no parameter is provided, the current date will be used. The ‘as at’ date will return transactions based on the creation date. It reflects the date the transactions were entered into Xero, not the accounting date. The ‘as at’ date can not be overridden by the user. This can be used to estimate a ‘historical frequency of reconciliation’. The ‘as at’ date will affect the current statement in the response, as any candidate statements created after this date will be filtered out. Thus the current statement returned will be the most recent statement prior to the specified ‘as at’ date. Be aware that neither the begin date, nor the balance date, will affect the current statement. Note; information is only presented when system architecture allows, meaning historical cash validation information will be an estimate. In addition, delete events are not aware of the ‘as at’ functionality in this endpoint, meaning that transactions deleted at the time the API is accessed will be considered to always have been deleted.
413
+
as_at_system_date: '2021-09-15', # String | date, yyyy-MM-dd If no parameter is provided, the current date will be used. The ‘as at’ date will return transactions based on the creation date. It reflects the date the transactions were entered into Xero, not the accounting date. The ‘as at’ date can not be overridden by the user. This can be used to estimate a ‘historical frequency of reconciliation’. The ‘as at’ date will affect the current statement in the response, as any candidate statements created after this date will be filtered out. Thus the current statement returned will be the most recent statement prior to the specified ‘as at’ date. Be aware that neither the begin date, nor the balance date, will affect the current statement. Note; information is only presented when system architecture allows, meaning historical cash validation information will be an estimate. In addition, delete events are not aware of the ‘as at’ functionality in this endpoint, meaning that transactions deleted at the time the API is accessed will be considered to always have been deleted.
414
414
415
-
begin_date:2021-09-15# String | date, yyyy-MM-dd If no parameter is provided, the aggregate results will be drawn from the user’s total history. The ‘begin date’ will return transactions based on the accounting date entered by the user. Transactions after the beginDate will be included. The user has discretion as to which accounting period the transaction relates to.
415
+
begin_date:'2021-09-15'# String | date, yyyy-MM-dd If no parameter is provided, the aggregate results will be drawn from the user’s total history. The ‘begin date’ will return transactions based on the accounting date entered by the user. Transactions after the beginDate will be included. The user has discretion as to which accounting period the transaction relates to.
xero_tenant_id ='YOUR_XERO_TENANT_ID'# String | Xero identifier for Tenant
485
485
opts = {
486
-
balance_date:2020-06-30# String | Specifies the date for balance sheet report. Format yyyy-MM-dd. If no parameter is provided, the current date will be used.
486
+
balance_date:'2020-06-30'# String | Specifies the date for balance sheet report. Format yyyy-MM-dd. If no parameter is provided, the current date will be used.
xero_tenant_id ='YOUR_XERO_TENANT_ID'# String | Xero identifier for Tenant
554
554
opts = {
555
-
start_date:2020-09-15, # String | Date e.g. yyyy-MM-dd Specifies the start date for cash flow report. If no parameter is provided, the date of 12 months before the end date will be used.
555
+
start_date:'2020-09-15', # String | Date e.g. yyyy-MM-dd Specifies the start date for cash flow report. If no parameter is provided, the date of 12 months before the end date will be used.
556
556
557
-
end_date:2021-09-15# String | Date e.g. yyyy-MM-dd Specifies the end date for cash flow report. If no parameter is provided, the current date will be used.
557
+
end_date:'2021-09-15'# String | Date e.g. yyyy-MM-dd Specifies the end date for cash flow report. If no parameter is provided, the current date will be used.
558
558
}
559
559
560
560
begin
@@ -628,9 +628,9 @@ opts = {
628
628
629
629
include_manual_journals:true, # Boolean | Specifies whether to include the manual journals in the report. If no parameter is provided, manual journals will not be included.
630
630
631
-
start_date:2020-09-15, # String | Date yyyy-MM-dd Specifies the start date for the report. If no parameter is provided, the date of 12 months before the end date will be used. It is recommended to always specify both a start date and end date; While the initial range may be set to 12 months, this may need to be reduced for high volume organisations in order to improve latency.
631
+
start_date:'2020-09-15', # String | Date yyyy-MM-dd Specifies the start date for the report. If no parameter is provided, the date of 12 months before the end date will be used. It is recommended to always specify both a start date and end date; While the initial range may be set to 12 months, this may need to be reduced for high volume organisations in order to improve latency.
632
632
633
-
end_date:2020-09-15# String | Date yyyy-MM-dd Specifies the end date for the report. If no parameter is provided, the current date will be used. It is recommended to always specify both a start date and end date; While the initial range may be set to 12 months, this may need to be reduced for high volume organisations in order to improve latency.
633
+
end_date:'2020-09-15'# String | Date yyyy-MM-dd Specifies the end date for the report. If no parameter is provided, the current date will be used. It is recommended to always specify both a start date and end date; While the initial range may be set to 12 months, this may need to be reduced for high volume organisations in order to improve latency.
634
634
}
635
635
636
636
begin
@@ -706,9 +706,9 @@ opts = {
706
706
707
707
include_manual_journals:true, # Boolean | Specifies whether to include the manual journals in the report. If no parameter is provided, manual journals will not be included.
708
708
709
-
start_date:2020-09-15, # String | Date yyyy-MM-dd Specifies the start date for the report. If no parameter is provided, the date of 12 months before the end date will be used. It is recommended to always specify both a start date and end date; While the initial range may be set to 12 months, this may need to be reduced for high volume organisations in order to improve latency.
709
+
start_date:'2020-09-15', # String | Date yyyy-MM-dd Specifies the start date for the report. If no parameter is provided, the date of 12 months before the end date will be used. It is recommended to always specify both a start date and end date; While the initial range may be set to 12 months, this may need to be reduced for high volume organisations in order to improve latency.
710
710
711
-
end_date:2020-09-15# String | Date yyyy-MM-dd Specifies the end date for the report. If no parameter is provided, the current date will be used. It is recommended to always specify both a start date and end date; While the initial range may be set to 12 months, this may need to be reduced for high volume organisations in order to improve latency.
711
+
end_date:'2020-09-15'# String | Date yyyy-MM-dd Specifies the end date for the report. If no parameter is provided, the current date will be used. It is recommended to always specify both a start date and end date; While the initial range may be set to 12 months, this may need to be reduced for high volume organisations in order to improve latency.
xero_tenant_id ='YOUR_XERO_TENANT_ID'# String | Xero identifier for Tenant
782
782
opts = {
783
-
start_date:2020-09-15, # String | Date e.g. yyyy-MM-dd Specifies the start date for profit and loss report If no parameter is provided, the date of 12 months before the end date will be used.
783
+
start_date:'2020-09-15', # String | Date e.g. yyyy-MM-dd Specifies the start date for profit and loss report If no parameter is provided, the date of 12 months before the end date will be used.
784
784
785
-
end_date:2021-09-15# String | Date e.g. yyyy-MM-dd Specifies the end date for profit and loss report If no parameter is provided, the current date will be used.
785
+
end_date:'2021-09-15'# String | Date e.g. yyyy-MM-dd Specifies the end date for profit and loss report If no parameter is provided, the current date will be used.
xero_tenant_id ='YOUR_XERO_TENANT_ID'# String | Xero identifier for Tenant
854
854
opts = {
855
-
end_date:2021-09-15# String | Date e.g. yyyy-MM-dd Specifies the end date for trial balance report If no parameter is provided, the current date will be used.
855
+
end_date:'2021-09-15'# String | Date e.g. yyyy-MM-dd Specifies the end date for trial balance report If no parameter is provided, the current date will be used.
0 commit comments