This method will scan all business units and and return them to the caller.
- Mock serverhttps://docs.api.rhythmsoftware.com/_mock/apis/collect/collect-v1/businessUnits/{tenantId}
- https://collect.api.rhythmsoftware.comhttps://collect.api.rhythmsoftware.com/businessUnits/{tenantId}
curl -i -X GET \
'https://docs.api.rhythmsoftware.com/_mock/apis/collect/collect-v1/businessUnits/{tenantId}?fields=string&exclusiveStartKey=string' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'The business unitswere retrieved successfully.
The accounting method for generating subledger entries
The base currency for the business unit
The optional template to use to format the financial download file
When enabled, batches are automatically synced with users accounting software
Whether or not multi-currency is turned on for this business unit
Teh default invoice template to use for printing invoices
The G/L account for missing products
Teh default payment template to use for printing payment receipts
A priority number that determines how this is displayed; lower numbers indicate higher priority
The quickbooks online account tied to the business unit
Teh default template to use for printing refund receipts
The starting month of the fiscal year, between 1-12
If this record was loaded via bulk, the timestamp when the record was processed
If this record was loaded via bulk, the ID of the bulk load process
If this record was loaded via bulk, the tenant and key of the bulk load process used as a partition key
If this record was loaded via bulk, the record number in the source file
If this record was loaded via bulk, the source file
The error associated with the calculated field
If a snapshot was restored/applies to this record, the ID of the snapshot
The date/time that this record was created, expressed in ISO-8601 date format
The ID of the user that deleted (or last tried to delete) this object
Means for passing directive information into an object processing logic
If true, this record has files in S3. If false, it doesnt, so no need to hit S3 upon deletion
If this record was last touched by a bulk data operation, the ID of that operation
If this record was last touched by a bulk data operation, the sys_version at the time of that operation
The date/time that this record record was last modified, expressed in ISO-8601 date format
The ID of the user that last modified this record
The security context of the last insert, modify, or delete performed on this item
The version to use as a base when creating a configuration snapshot; if not set, 1 is used. Helpful when creating a sandbox
[ { "accounting_method": "accrual", "ar_gl_account_id": "string", "automatic_batch_download_options": { … }, "bad_debts_expense_gl_account_id": "string", "base_currency_code": "str", "base_currency_symbol": "string", "batch_download_method": "batch-level summary", "cogs_expense_gl_account_id": "string", "currency_trading_gl_account_id": "string", "custom_field_values": [ … ], "default_write_off_method": "allowance", "deferred_revenue_gl_account_id": "string", "description": "string", "download_template_id": "string", "due_to_due_from_entries": [ … ], "enable_automatic_batch_downloads": true, "enable_multi_currency": true, "financial_software_package": "great plains", "id": "string", "inventory_costing_method": "do not calculate", "inventory_gl_account_id": "string", "invoice_template_id": "string", "is_active": true, "missing_product_revenue_gl_account_id": "string", "name": "string", "overpayment_liability_gl_account_id": "string", "payment_receipt_email": { … }, "payment_receipt_template_id": "string", "priority": 0.1, "quickbooks_online_account_id": "string", "refund_receipt_email": { … }, "refund_receipt_template_id": "string", "start_of_fiscal_year": 1, "store_credit_gl_account_id": "string", "supported_currencies": [ … ], "sys_bulk_load_at": "string", "sys_bulk_load_id": "string", "sys_bulk_load_pk": "string", "sys_bulk_load_record_no": 0.1, "sys_bulk_load_source_file": "string", "sys_calculated_field_error": "string", "sys_calculated_field_errors": [ … ], "sys_configuration_snapshot_id": "string", "sys_created_at": "2019-08-24T14:15:22Z", "sys_created_by_id": "string", "sys_deleted_by_id": "string", "sys_directive": "string", "sys_external_id": "string", "sys_has_files_in_s3": true, "sys_last_bulk_data_operation_id": "string", "sys_last_bulk_data_operation_sys_version": "string", "sys_last_modified_at": "2019-08-24T14:15:22Z", "sys_last_modified_by_id": "string", "sys_last_security_context": {}, "sys_locked": true, "sys_snapshot_base_version": 0.1, "sys_version": 0.1 } ]