This method will auto-generate an ID and create a new batch. If an ID is specified for the batch, an error will be thrown.
The batch that you would like to be saved.
{- "id": "string",
- "name": "string",
- "description": "string",
- "errors": [
- {
- "transaction_type": "string",
- "transaction_id": "string",
- "error_message": "string"
}
], - "currency_code": "str",
- "currency_symbol": "string",
- "business_unit_id": "string",
- "fiscal_year_id": "string",
- "fiscal_period": 1,
- "date": "2019-08-24",
- "posted_at": "2019-08-24T14:15:22Z",
- "status": "open",
- "closed_at": "2019-08-24T14:15:22Z",
- "downloaded_at": "2019-08-24T14:15:22Z",
- "type": "transaction",
- "automatically_close_at": "2019-08-24T14:15:22Z",
- "recurring_batch_id": "string",
- "posting_workflow_execution_id": "string",
- "unposting_workflow_execution_id": "string",
- "downloading_workflow_execution_id": "string",
- "dependents": [
- "string"
], - "total": 0,
- "count": 0,
- "statistics": {
- "number_of_payments": 0,
- "payment_total": 0,
- "number_of_refunds": 0,
- "refund_total": 0,
- "number_of_invoices": 0,
- "invoice_total": 0,
- "number_of_credit_memos": 0,
- "credit_memo_total": 0,
- "number_of_debit_memos": 0,
- "debit_memo_total": 0,
- "number_of_credits": 0,
- "credit_total": 0,
- "number_of_write_offs": 0,
- "write_off_total": 0
}, - "sys_fiscal_period_id": "string",
- "sys_composite_fiscal_period_key": "string",
- "custom_field_values": [
- {
- "custom_field_id": "string",
- "string_value": "string",
- "numeric_value": 0,
- "boolean_value": true,
- "file_url_value": "string",
- "list_value": [
- "string"
], - "table_value": [
- { }
]
}
], - "sys_deleted_by_id": "string",
- "sys_version": 0,
- "sys_created_at": "2019-08-24T14:15:22Z",
- "sys_last_modified_at": "2019-08-24T14:15:22Z",
- "sys_created_by_id": "string",
- "sys_last_modified_by_id": "string",
- "sys_external_id": "string",
- "sys_locked": true,
- "sys_bulk_load_pk": "string",
- "sys_bulk_load_at": "string",
- "sys_bulk_load_id": "string",
- "sys_bulk_load_record_no": 0,
- "sys_bulk_load_source_file": "string",
- "sys_last_bulk_data_operation_id": "string",
- "sys_last_bulk_data_operation_sys_version": "string",
- "sys_directive": "string",
- "sys_calculated_field_error": "string",
- "sys_snapshot_base_version": 0,
- "sys_has_files_in_s3": true,
- "sys_configuration_snapshot_id": "string",
- "sys_last_security_context": { },
- "sys_calculated_field_errors": [
- {
- "field": "string",
- "error": "string"
}
]
}
{- "id": "string",
- "name": "string",
- "description": "string",
- "errors": [
- {
- "transaction_type": "string",
- "transaction_id": "string",
- "error_message": "string"
}
], - "currency_code": "str",
- "currency_symbol": "string",
- "business_unit_id": "string",
- "fiscal_year_id": "string",
- "fiscal_period": 1,
- "date": "2019-08-24",
- "posted_at": "2019-08-24T14:15:22Z",
- "status": "open",
- "closed_at": "2019-08-24T14:15:22Z",
- "downloaded_at": "2019-08-24T14:15:22Z",
- "type": "transaction",
- "automatically_close_at": "2019-08-24T14:15:22Z",
- "recurring_batch_id": "string",
- "posting_workflow_execution_id": "string",
- "unposting_workflow_execution_id": "string",
- "downloading_workflow_execution_id": "string",
- "dependents": [
- "string"
], - "total": 0,
- "count": 0,
- "statistics": {
- "number_of_payments": 0,
- "payment_total": 0,
- "number_of_refunds": 0,
- "refund_total": 0,
- "number_of_invoices": 0,
- "invoice_total": 0,
- "number_of_credit_memos": 0,
- "credit_memo_total": 0,
- "number_of_debit_memos": 0,
- "debit_memo_total": 0,
- "number_of_credits": 0,
- "credit_total": 0,
- "number_of_write_offs": 0,
- "write_off_total": 0
}, - "sys_fiscal_period_id": "string",
- "sys_composite_fiscal_period_key": "string",
- "custom_field_values": [
- {
- "custom_field_id": "string",
- "string_value": "string",
- "numeric_value": 0,
- "boolean_value": true,
- "file_url_value": "string",
- "list_value": [
- "string"
], - "table_value": [
- { }
]
}
], - "sys_deleted_by_id": "string",
- "sys_version": 0,
- "sys_created_at": "2019-08-24T14:15:22Z",
- "sys_last_modified_at": "2019-08-24T14:15:22Z",
- "sys_created_by_id": "string",
- "sys_last_modified_by_id": "string",
- "sys_external_id": "string",
- "sys_locked": true,
- "sys_bulk_load_pk": "string",
- "sys_bulk_load_at": "string",
- "sys_bulk_load_id": "string",
- "sys_bulk_load_record_no": 0,
- "sys_bulk_load_source_file": "string",
- "sys_last_bulk_data_operation_id": "string",
- "sys_last_bulk_data_operation_sys_version": "string",
- "sys_directive": "string",
- "sys_calculated_field_error": "string",
- "sys_snapshot_base_version": 0,
- "sys_has_files_in_s3": true,
- "sys_configuration_snapshot_id": "string",
- "sys_last_security_context": { },
- "sys_calculated_field_errors": [
- {
- "field": "string",
- "error": "string"
}
]
}
This method will scan all batches and and return them to the caller.
curl -i -X GET \ 'https://collect.api.756794052567.rhythmsoftware.com/batches/:tenantId?fields=string&exclusiveStartKey=string' \ -H 'Authorization: YOUR_API_KEY_HERE'
[- {
- "id": "string",
- "name": "string",
- "description": "string",
- "errors": [
- {
- "transaction_type": "string",
- "transaction_id": "string",
- "error_message": "string"
}
], - "currency_code": "str",
- "currency_symbol": "string",
- "business_unit_id": "string",
- "fiscal_year_id": "string",
- "fiscal_period": 1,
- "date": "2019-08-24",
- "posted_at": "2019-08-24T14:15:22Z",
- "status": "open",
- "closed_at": "2019-08-24T14:15:22Z",
- "downloaded_at": "2019-08-24T14:15:22Z",
- "type": "transaction",
- "automatically_close_at": "2019-08-24T14:15:22Z",
- "recurring_batch_id": "string",
- "posting_workflow_execution_id": "string",
- "unposting_workflow_execution_id": "string",
- "downloading_workflow_execution_id": "string",
- "dependents": [
- "string"
], - "total": 0,
- "count": 0,
- "statistics": {
- "number_of_payments": 0,
- "payment_total": 0,
- "number_of_refunds": 0,
- "refund_total": 0,
- "number_of_invoices": 0,
- "invoice_total": 0,
- "number_of_credit_memos": 0,
- "credit_memo_total": 0,
- "number_of_debit_memos": 0,
- "debit_memo_total": 0,
- "number_of_credits": 0,
- "credit_total": 0,
- "number_of_write_offs": 0,
- "write_off_total": 0
}, - "sys_fiscal_period_id": "string",
- "sys_composite_fiscal_period_key": "string",
- "custom_field_values": [
- {
- "custom_field_id": "string",
- "string_value": "string",
- "numeric_value": 0,
- "boolean_value": true,
- "file_url_value": "string",
- "list_value": [
- "string"
], - "table_value": [
- { }
]
}
], - "sys_deleted_by_id": "string",
- "sys_version": 0,
- "sys_created_at": "2019-08-24T14:15:22Z",
- "sys_last_modified_at": "2019-08-24T14:15:22Z",
- "sys_created_by_id": "string",
- "sys_last_modified_by_id": "string",
- "sys_external_id": "string",
- "sys_locked": true,
- "sys_bulk_load_pk": "string",
- "sys_bulk_load_at": "string",
- "sys_bulk_load_id": "string",
- "sys_bulk_load_record_no": 0,
- "sys_bulk_load_source_file": "string",
- "sys_last_bulk_data_operation_id": "string",
- "sys_last_bulk_data_operation_sys_version": "string",
- "sys_directive": "string",
- "sys_calculated_field_error": "string",
- "sys_snapshot_base_version": 0,
- "sys_has_files_in_s3": true,
- "sys_configuration_snapshot_id": "string",
- "sys_last_security_context": { },
- "sys_calculated_field_errors": [
- {
- "field": "string",
- "error": "string"
}
]
}
]
This method will look up a batch by the specified ID and return it back.
curl -i -X GET \ 'https://collect.api.756794052567.rhythmsoftware.com/batches/:tenantId/:id?fields=string&consistentRead=string' \ -H 'Authorization: YOUR_API_KEY_HERE'
{- "id": "string",
- "name": "string",
- "description": "string",
- "errors": [
- {
- "transaction_type": "string",
- "transaction_id": "string",
- "error_message": "string"
}
], - "currency_code": "str",
- "currency_symbol": "string",
- "business_unit_id": "string",
- "fiscal_year_id": "string",
- "fiscal_period": 1,
- "date": "2019-08-24",
- "posted_at": "2019-08-24T14:15:22Z",
- "status": "open",
- "closed_at": "2019-08-24T14:15:22Z",
- "downloaded_at": "2019-08-24T14:15:22Z",
- "type": "transaction",
- "automatically_close_at": "2019-08-24T14:15:22Z",
- "recurring_batch_id": "string",
- "posting_workflow_execution_id": "string",
- "unposting_workflow_execution_id": "string",
- "downloading_workflow_execution_id": "string",
- "dependents": [
- "string"
], - "total": 0,
- "count": 0,
- "statistics": {
- "number_of_payments": 0,
- "payment_total": 0,
- "number_of_refunds": 0,
- "refund_total": 0,
- "number_of_invoices": 0,
- "invoice_total": 0,
- "number_of_credit_memos": 0,
- "credit_memo_total": 0,
- "number_of_debit_memos": 0,
- "debit_memo_total": 0,
- "number_of_credits": 0,
- "credit_total": 0,
- "number_of_write_offs": 0,
- "write_off_total": 0
}, - "sys_fiscal_period_id": "string",
- "sys_composite_fiscal_period_key": "string",
- "custom_field_values": [
- {
- "custom_field_id": "string",
- "string_value": "string",
- "numeric_value": 0,
- "boolean_value": true,
- "file_url_value": "string",
- "list_value": [
- "string"
], - "table_value": [
- { }
]
}
], - "sys_deleted_by_id": "string",
- "sys_version": 0,
- "sys_created_at": "2019-08-24T14:15:22Z",
- "sys_last_modified_at": "2019-08-24T14:15:22Z",
- "sys_created_by_id": "string",
- "sys_last_modified_by_id": "string",
- "sys_external_id": "string",
- "sys_locked": true,
- "sys_bulk_load_pk": "string",
- "sys_bulk_load_at": "string",
- "sys_bulk_load_id": "string",
- "sys_bulk_load_record_no": 0,
- "sys_bulk_load_source_file": "string",
- "sys_last_bulk_data_operation_id": "string",
- "sys_last_bulk_data_operation_sys_version": "string",
- "sys_directive": "string",
- "sys_calculated_field_error": "string",
- "sys_snapshot_base_version": 0,
- "sys_has_files_in_s3": true,
- "sys_configuration_snapshot_id": "string",
- "sys_last_security_context": { },
- "sys_calculated_field_errors": [
- {
- "field": "string",
- "error": "string"
}
]
}
This method will update an existing batch with the specified ID.
The updated batch that will be saved.
{- "id": "string",
- "name": "string",
- "description": "string",
- "errors": [
- {
- "transaction_type": "string",
- "transaction_id": "string",
- "error_message": "string"
}
], - "currency_code": "str",
- "currency_symbol": "string",
- "business_unit_id": "string",
- "fiscal_year_id": "string",
- "fiscal_period": 1,
- "date": "2019-08-24",
- "posted_at": "2019-08-24T14:15:22Z",
- "status": "open",
- "closed_at": "2019-08-24T14:15:22Z",
- "downloaded_at": "2019-08-24T14:15:22Z",
- "type": "transaction",
- "automatically_close_at": "2019-08-24T14:15:22Z",
- "recurring_batch_id": "string",
- "posting_workflow_execution_id": "string",
- "unposting_workflow_execution_id": "string",
- "downloading_workflow_execution_id": "string",
- "dependents": [
- "string"
], - "total": 0,
- "count": 0,
- "statistics": {
- "number_of_payments": 0,
- "payment_total": 0,
- "number_of_refunds": 0,
- "refund_total": 0,
- "number_of_invoices": 0,
- "invoice_total": 0,
- "number_of_credit_memos": 0,
- "credit_memo_total": 0,
- "number_of_debit_memos": 0,
- "debit_memo_total": 0,
- "number_of_credits": 0,
- "credit_total": 0,
- "number_of_write_offs": 0,
- "write_off_total": 0
}, - "sys_fiscal_period_id": "string",
- "sys_composite_fiscal_period_key": "string",
- "custom_field_values": [
- {
- "custom_field_id": "string",
- "string_value": "string",
- "numeric_value": 0,
- "boolean_value": true,
- "file_url_value": "string",
- "list_value": [
- "string"
], - "table_value": [
- { }
]
}
], - "sys_deleted_by_id": "string",
- "sys_version": 0,
- "sys_created_at": "2019-08-24T14:15:22Z",
- "sys_last_modified_at": "2019-08-24T14:15:22Z",
- "sys_created_by_id": "string",
- "sys_last_modified_by_id": "string",
- "sys_external_id": "string",
- "sys_locked": true,
- "sys_bulk_load_pk": "string",
- "sys_bulk_load_at": "string",
- "sys_bulk_load_id": "string",
- "sys_bulk_load_record_no": 0,
- "sys_bulk_load_source_file": "string",
- "sys_last_bulk_data_operation_id": "string",
- "sys_last_bulk_data_operation_sys_version": "string",
- "sys_directive": "string",
- "sys_calculated_field_error": "string",
- "sys_snapshot_base_version": 0,
- "sys_has_files_in_s3": true,
- "sys_configuration_snapshot_id": "string",
- "sys_last_security_context": { },
- "sys_calculated_field_errors": [
- {
- "field": "string",
- "error": "string"
}
]
}
{- "id": "string",
- "name": "string",
- "description": "string",
- "errors": [
- {
- "transaction_type": "string",
- "transaction_id": "string",
- "error_message": "string"
}
], - "currency_code": "str",
- "currency_symbol": "string",
- "business_unit_id": "string",
- "fiscal_year_id": "string",
- "fiscal_period": 1,
- "date": "2019-08-24",
- "posted_at": "2019-08-24T14:15:22Z",
- "status": "open",
- "closed_at": "2019-08-24T14:15:22Z",
- "downloaded_at": "2019-08-24T14:15:22Z",
- "type": "transaction",
- "automatically_close_at": "2019-08-24T14:15:22Z",
- "recurring_batch_id": "string",
- "posting_workflow_execution_id": "string",
- "unposting_workflow_execution_id": "string",
- "downloading_workflow_execution_id": "string",
- "dependents": [
- "string"
], - "total": 0,
- "count": 0,
- "statistics": {
- "number_of_payments": 0,
- "payment_total": 0,
- "number_of_refunds": 0,
- "refund_total": 0,
- "number_of_invoices": 0,
- "invoice_total": 0,
- "number_of_credit_memos": 0,
- "credit_memo_total": 0,
- "number_of_debit_memos": 0,
- "debit_memo_total": 0,
- "number_of_credits": 0,
- "credit_total": 0,
- "number_of_write_offs": 0,
- "write_off_total": 0
}, - "sys_fiscal_period_id": "string",
- "sys_composite_fiscal_period_key": "string",
- "custom_field_values": [
- {
- "custom_field_id": "string",
- "string_value": "string",
- "numeric_value": 0,
- "boolean_value": true,
- "file_url_value": "string",
- "list_value": [
- "string"
], - "table_value": [
- { }
]
}
], - "sys_deleted_by_id": "string",
- "sys_version": 0,
- "sys_created_at": "2019-08-24T14:15:22Z",
- "sys_last_modified_at": "2019-08-24T14:15:22Z",
- "sys_created_by_id": "string",
- "sys_last_modified_by_id": "string",
- "sys_external_id": "string",
- "sys_locked": true,
- "sys_bulk_load_pk": "string",
- "sys_bulk_load_at": "string",
- "sys_bulk_load_id": "string",
- "sys_bulk_load_record_no": 0,
- "sys_bulk_load_source_file": "string",
- "sys_last_bulk_data_operation_id": "string",
- "sys_last_bulk_data_operation_sys_version": "string",
- "sys_directive": "string",
- "sys_calculated_field_error": "string",
- "sys_snapshot_base_version": 0,
- "sys_has_files_in_s3": true,
- "sys_configuration_snapshot_id": "string",
- "sys_last_security_context": { },
- "sys_calculated_field_errors": [
- {
- "field": "string",
- "error": "string"
}
]
}
This method will patch an existing batch with the specified ID, using the HTTP PATCH specification.
The patch directives conforming to RFC 6902.
[- {
- "op": "add",
- "path": "string",
- "value": "string"
}
]
{- "id": "string",
- "name": "string",
- "description": "string",
- "errors": [
- {
- "transaction_type": "string",
- "transaction_id": "string",
- "error_message": "string"
}
], - "currency_code": "str",
- "currency_symbol": "string",
- "business_unit_id": "string",
- "fiscal_year_id": "string",
- "fiscal_period": 1,
- "date": "2019-08-24",
- "posted_at": "2019-08-24T14:15:22Z",
- "status": "open",
- "closed_at": "2019-08-24T14:15:22Z",
- "downloaded_at": "2019-08-24T14:15:22Z",
- "type": "transaction",
- "automatically_close_at": "2019-08-24T14:15:22Z",
- "recurring_batch_id": "string",
- "posting_workflow_execution_id": "string",
- "unposting_workflow_execution_id": "string",
- "downloading_workflow_execution_id": "string",
- "dependents": [
- "string"
], - "total": 0,
- "count": 0,
- "statistics": {
- "number_of_payments": 0,
- "payment_total": 0,
- "number_of_refunds": 0,
- "refund_total": 0,
- "number_of_invoices": 0,
- "invoice_total": 0,
- "number_of_credit_memos": 0,
- "credit_memo_total": 0,
- "number_of_debit_memos": 0,
- "debit_memo_total": 0,
- "number_of_credits": 0,
- "credit_total": 0,
- "number_of_write_offs": 0,
- "write_off_total": 0
}, - "sys_fiscal_period_id": "string",
- "sys_composite_fiscal_period_key": "string",
- "custom_field_values": [
- {
- "custom_field_id": "string",
- "string_value": "string",
- "numeric_value": 0,
- "boolean_value": true,
- "file_url_value": "string",
- "list_value": [
- "string"
], - "table_value": [
- { }
]
}
], - "sys_deleted_by_id": "string",
- "sys_version": 0,
- "sys_created_at": "2019-08-24T14:15:22Z",
- "sys_last_modified_at": "2019-08-24T14:15:22Z",
- "sys_created_by_id": "string",
- "sys_last_modified_by_id": "string",
- "sys_external_id": "string",
- "sys_locked": true,
- "sys_bulk_load_pk": "string",
- "sys_bulk_load_at": "string",
- "sys_bulk_load_id": "string",
- "sys_bulk_load_record_no": 0,
- "sys_bulk_load_source_file": "string",
- "sys_last_bulk_data_operation_id": "string",
- "sys_last_bulk_data_operation_sys_version": "string",
- "sys_directive": "string",
- "sys_calculated_field_error": "string",
- "sys_snapshot_base_version": 0,
- "sys_has_files_in_s3": true,
- "sys_configuration_snapshot_id": "string",
- "sys_last_security_context": { },
- "sys_calculated_field_errors": [
- {
- "field": "string",
- "error": "string"
}
]
}
This method will delete a batch with the specified ID.
curl -i -X DELETE \ https://collect.api.756794052567.rhythmsoftware.com/batches/:tenantId/:id \ -H 'Authorization: YOUR_API_KEY_HERE'
"string"
Returns a list of child batches dependent on the batches specified
curl -i -X GET \ 'https://collect.api.756794052567.rhythmsoftware.com/batches/:tenantId/dependents?ids=string' \ -H 'Authorization: YOUR_API_KEY_HERE'
{- "children": [
- "string"
]
}
Returns a list of records with the specified fiscal_year_id and fiscal_period
curl -i -X GET \ 'https://collect.api.756794052567.rhythmsoftware.com/batches/:tenantId/fiscal_period/:fiscal_year_id/:fiscal_period?fields=string' \ -H 'Authorization: YOUR_API_KEY_HERE'
{- "Count": 0,
- "Items": [
- {
- "id": "string",
- "name": "string",
- "description": "string",
- "errors": [
- {
- "transaction_type": "string",
- "transaction_id": "string",
- "error_message": "string"
}
], - "currency_code": "str",
- "currency_symbol": "string",
- "business_unit_id": "string",
- "fiscal_year_id": "string",
- "fiscal_period": 1,
- "date": "2019-08-24",
- "posted_at": "2019-08-24T14:15:22Z",
- "status": "open",
- "closed_at": "2019-08-24T14:15:22Z",
- "downloaded_at": "2019-08-24T14:15:22Z",
- "type": "transaction",
- "automatically_close_at": "2019-08-24T14:15:22Z",
- "recurring_batch_id": "string",
- "posting_workflow_execution_id": "string",
- "unposting_workflow_execution_id": "string",
- "downloading_workflow_execution_id": "string",
- "dependents": [
- "string"
], - "total": 0,
- "count": 0,
- "statistics": {
- "number_of_payments": 0,
- "payment_total": 0,
- "number_of_refunds": 0,
- "refund_total": 0,
- "number_of_invoices": 0,
- "invoice_total": 0,
- "number_of_credit_memos": 0,
- "credit_memo_total": 0,
- "number_of_debit_memos": 0,
- "debit_memo_total": 0,
- "number_of_credits": 0,
- "credit_total": 0,
- "number_of_write_offs": 0,
- "write_off_total": 0
}, - "sys_fiscal_period_id": "string",
- "sys_composite_fiscal_period_key": "string",
- "custom_field_values": [
- {
- "custom_field_id": "string",
- "string_value": "string",
- "numeric_value": 0,
- "boolean_value": true,
- "file_url_value": "string",
- "list_value": [
- "string"
], - "table_value": [
- { }
]
}
], - "sys_deleted_by_id": "string",
- "sys_version": 0,
- "sys_created_at": "2019-08-24T14:15:22Z",
- "sys_last_modified_at": "2019-08-24T14:15:22Z",
- "sys_created_by_id": "string",
- "sys_last_modified_by_id": "string",
- "sys_external_id": "string",
- "sys_locked": true,
- "sys_bulk_load_pk": "string",
- "sys_bulk_load_at": "string",
- "sys_bulk_load_id": "string",
- "sys_bulk_load_record_no": 0,
- "sys_bulk_load_source_file": "string",
- "sys_last_bulk_data_operation_id": "string",
- "sys_last_bulk_data_operation_sys_version": "string",
- "sys_directive": "string",
- "sys_calculated_field_error": "string",
- "sys_snapshot_base_version": 0,
- "sys_has_files_in_s3": true,
- "sys_configuration_snapshot_id": "string",
- "sys_last_security_context": { },
- "sys_calculated_field_errors": [
- {
- "field": "string",
- "error": "string"
}
]
}
], - "LastEvaluatedKey": "string"
}
Returns a list of records with the specified status
curl -i -X GET \ 'https://collect.api.756794052567.rhythmsoftware.com/batches/:tenantId/status/:status/:businessUnitId?fields=string' \ -H 'Authorization: YOUR_API_KEY_HERE'
{- "Count": 0,
- "Items": [
- {
- "id": "string",
- "name": "string",
- "description": "string",
- "errors": [
- {
- "transaction_type": "string",
- "transaction_id": "string",
- "error_message": "string"
}
], - "currency_code": "str",
- "currency_symbol": "string",
- "business_unit_id": "string",
- "fiscal_year_id": "string",
- "fiscal_period": 1,
- "date": "2019-08-24",
- "posted_at": "2019-08-24T14:15:22Z",
- "status": "open",
- "closed_at": "2019-08-24T14:15:22Z",
- "downloaded_at": "2019-08-24T14:15:22Z",
- "type": "transaction",
- "automatically_close_at": "2019-08-24T14:15:22Z",
- "recurring_batch_id": "string",
- "posting_workflow_execution_id": "string",
- "unposting_workflow_execution_id": "string",
- "downloading_workflow_execution_id": "string",
- "dependents": [
- "string"
], - "total": 0,
- "count": 0,
- "statistics": {
- "number_of_payments": 0,
- "payment_total": 0,
- "number_of_refunds": 0,
- "refund_total": 0,
- "number_of_invoices": 0,
- "invoice_total": 0,
- "number_of_credit_memos": 0,
- "credit_memo_total": 0,
- "number_of_debit_memos": 0,
- "debit_memo_total": 0,
- "number_of_credits": 0,
- "credit_total": 0,
- "number_of_write_offs": 0,
- "write_off_total": 0
}, - "sys_fiscal_period_id": "string",
- "sys_composite_fiscal_period_key": "string",
- "custom_field_values": [
- {
- "custom_field_id": "string",
- "string_value": "string",
- "numeric_value": 0,
- "boolean_value": true,
- "file_url_value": "string",
- "list_value": [
- "string"
], - "table_value": [
- { }
]
}
], - "sys_deleted_by_id": "string",
- "sys_version": 0,
- "sys_created_at": "2019-08-24T14:15:22Z",
- "sys_last_modified_at": "2019-08-24T14:15:22Z",
- "sys_created_by_id": "string",
- "sys_last_modified_by_id": "string",
- "sys_external_id": "string",
- "sys_locked": true,
- "sys_bulk_load_pk": "string",
- "sys_bulk_load_at": "string",
- "sys_bulk_load_id": "string",
- "sys_bulk_load_record_no": 0,
- "sys_bulk_load_source_file": "string",
- "sys_last_bulk_data_operation_id": "string",
- "sys_last_bulk_data_operation_sys_version": "string",
- "sys_directive": "string",
- "sys_calculated_field_error": "string",
- "sys_snapshot_base_version": 0,
- "sys_has_files_in_s3": true,
- "sys_configuration_snapshot_id": "string",
- "sys_last_security_context": { },
- "sys_calculated_field_errors": [
- {
- "field": "string",
- "error": "string"
}
]
}
], - "LastEvaluatedKey": "string"
}
Searches for batches using predefined parameters
The batch that you would like to be saved.
{- "business_unit_id": "string",
- "fiscal_year_id": "string",
- "fiscal_period": 1,
- "type": [
- "transaction"
], - "recurring_batch_id": [
- "string"
], - "status": [
- "open"
], - "date": [
- "string",
- "string"
], - "count": [
- "string",
- "string"
], - "total": [
- "string",
- "string"
], - "name": "string",
- "id": [
- "string"
]
}
{- "Items": [
- {
- "business_unit_id": "string",
- "fiscal_year_id": "string",
- "fiscal_period": 1,
- "type": "transaction",
- "recurring_batch_id": "string",
- "status": "open",
- "date": "2019-08-24T14:15:22Z",
- "name": "string",
- "id": "string"
}
], - "LastEvaluatedKey": "string"
}
TAllows you to perform up to 100 parallel patch/delete operations
The batch request
Array of objects |
{- "operations": [
- {
- "operation": "create",
- "id": "string",
- "patch_directives": [
- {
- "op": "add",
- "path": "string",
- "value": "string"
}
], - "object": { }
}
]
}
{- "success_count": 0,
- "error_count": 0,
- "results": [
- {
- "operation": "create",
- "id": "string",
- "outcome": "success",
- "error_message": "string",
- "object": { }
}
]
}