This method will look up a fiscal year by the specified ID and return it back.
curl -i -X GET \ 'https://collect.api.756794052567.rhythmsoftware.com/fiscalYears/:tenantId/:id?fields=string&consistentRead=string' \ -H 'Authorization: YOUR_API_KEY_HERE'
{- "id": "string",
- "name": "string",
- "business_unit_id": "string",
- "start_date": "2019-08-24",
- "end_date": "2019-08-24",
- "status": "open",
- "notes": "string",
- "is_partial": true,
- "periods": [
- {
- "name": "string",
- "number": 1,
- "start_date": "2019-08-24",
- "end_date": "2019-08-24",
- "status": "open",
- "closing_workflow_id": "string",
- "reopening_workflow_id": "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 fiscal year with the specified ID.
The updated fiscal year that will be saved.
{- "id": "string",
- "name": "string",
- "business_unit_id": "string",
- "start_date": "2019-08-24",
- "end_date": "2019-08-24",
- "status": "open",
- "notes": "string",
- "is_partial": true,
- "periods": [
- {
- "name": "string",
- "number": 1,
- "start_date": "2019-08-24",
- "end_date": "2019-08-24",
- "status": "open",
- "closing_workflow_id": "string",
- "reopening_workflow_id": "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",
- "business_unit_id": "string",
- "start_date": "2019-08-24",
- "end_date": "2019-08-24",
- "status": "open",
- "notes": "string",
- "is_partial": true,
- "periods": [
- {
- "name": "string",
- "number": 1,
- "start_date": "2019-08-24",
- "end_date": "2019-08-24",
- "status": "open",
- "closing_workflow_id": "string",
- "reopening_workflow_id": "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 fiscal year 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",
- "business_unit_id": "string",
- "start_date": "2019-08-24",
- "end_date": "2019-08-24",
- "status": "open",
- "notes": "string",
- "is_partial": true,
- "periods": [
- {
- "name": "string",
- "number": 1,
- "start_date": "2019-08-24",
- "end_date": "2019-08-24",
- "status": "open",
- "closing_workflow_id": "string",
- "reopening_workflow_id": "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 fiscal year with the specified ID.
curl -i -X DELETE \ https://collect.api.756794052567.rhythmsoftware.com/fiscalYears/:tenantId/:id \ -H 'Authorization: YOUR_API_KEY_HERE'
"string"
This method will return a fiscal year and fiscal period object
curl -i -X GET \ https://collect.api.756794052567.rhythmsoftware.com/fiscalYears/:tenantId/fiscalPeriod/:businessUnitId/:date \ -H 'Authorization: YOUR_API_KEY_HERE'
[- {
- "fiscal_year": {
- "id": "string",
- "name": "string",
- "business_unit_id": "string",
- "start_date": "2019-08-24",
- "end_date": "2019-08-24",
- "status": "open",
- "notes": "string",
- "is_partial": true,
- "periods": [
- {
- "name": "string",
- "number": 1,
- "start_date": "2019-08-24",
- "end_date": "2019-08-24",
- "status": "open",
- "closing_workflow_id": "string",
- "reopening_workflow_id": "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"
}
]
}, - "fiscal_period": 0
}
]
This method looks at all of the fiscal years and periods and finds the first "open" one, which is the current
curl -i -X GET \ https://collect.api.756794052567.rhythmsoftware.com/fiscalYears/:tenantId/current/:businessUnitId \ -H 'Authorization: YOUR_API_KEY_HERE'
{- "fiscal_year": {
- "id": "string",
- "name": "string",
- "business_unit_id": "string",
- "start_date": "2019-08-24",
- "end_date": "2019-08-24",
- "status": "open",
- "notes": "string",
- "is_partial": true,
- "periods": [
- {
- "name": "string",
- "number": 1,
- "start_date": "2019-08-24",
- "end_date": "2019-08-24",
- "status": "open",
- "closing_workflow_id": "string",
- "reopening_workflow_id": "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"
}
]
}, - "fiscal_period": 0
}
This method will automatically create a fiscal year for a business unit in the future
curl -i -X POST \ 'https://collect.api.756794052567.rhythmsoftware.com/fiscalYears/:tenantId/businessUnit/:business_unit_id?numberOfYearsToGenerate=string' \ -H 'Authorization: YOUR_API_KEY_HERE'
[- {
- "id": "string",
- "name": "string",
- "business_unit_id": "string",
- "start_date": "2019-08-24",
- "end_date": "2019-08-24",
- "status": "open",
- "notes": "string",
- "is_partial": true,
- "periods": [
- {
- "name": "string",
- "number": 1,
- "start_date": "2019-08-24",
- "end_date": "2019-08-24",
- "status": "open",
- "closing_workflow_id": "string",
- "reopening_workflow_id": "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"
}
]
}
]
Returns a list of records with the specified business_unit_id
curl -i -X GET \ 'https://collect.api.756794052567.rhythmsoftware.com/fiscalYears/:tenantId/businessUnit/:business_unit_id?fields=string' \ -H 'Authorization: YOUR_API_KEY_HERE'
[- {
- "id": "string",
- "name": "string",
- "business_unit_id": "string",
- "start_date": "2019-08-24",
- "end_date": "2019-08-24",
- "status": "open",
- "notes": "string",
- "is_partial": true,
- "periods": [
- {
- "name": "string",
- "number": 1,
- "start_date": "2019-08-24",
- "end_date": "2019-08-24",
- "status": "open",
- "closing_workflow_id": "string",
- "reopening_workflow_id": "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 initiate the fiscal period close process
curl -i -X POST \ https://collect.api.756794052567.rhythmsoftware.com/fiscalYears/:tenantId/close/:fiscalYearId/:fiscalPeriod \ -H 'Authorization: YOUR_API_KEY_HERE'
{- "notification_publishKey": "string",
- "notification_subscribeKey": "string",
- "notification_channel": "string",
- "executionArn": "string",
- "start_date": "2019-08-24T14:15:22Z"
}
This method will initiate the fiscal period reopen process
curl -i -X POST \ https://collect.api.756794052567.rhythmsoftware.com/fiscalYears/:tenantId/reopen/:fiscalYearId/:fiscalPeriod \ -H 'Authorization: YOUR_API_KEY_HERE'
{- "notification_publishKey": "string",
- "notification_subscribeKey": "string",
- "notification_channel": "string",
- "executionArn": "string",
- "start_date": "2019-08-24T14:15:22Z"
}
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": { }
}
]
}
This method will scan all fiscal years and and return them to the caller.
curl -i -X GET \ 'https://collect.api.756794052567.rhythmsoftware.com/fiscalYears/:tenantId?fields=string&exclusiveStartKey=string' \ -H 'Authorization: YOUR_API_KEY_HERE'
[- {
- "id": "string",
- "name": "string",
- "business_unit_id": "string",
- "start_date": "2019-08-24",
- "end_date": "2019-08-24",
- "status": "open",
- "notes": "string",
- "is_partial": true,
- "periods": [
- {
- "name": "string",
- "number": 1,
- "start_date": "2019-08-24",
- "end_date": "2019-08-24",
- "status": "open",
- "closing_workflow_id": "string",
- "reopening_workflow_id": "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"
}
]
}
]