This method will auto-generate an ID and create a new billing run. If an ID is specified for the billing run, an error will be thrown.
The billing run that you would like to be saved.
{- "id": "string",
- "name": "string",
- "status": "draft",
- "notification_email": "string",
- "error": "string",
- "error_stack": "string",
- "scheduled_preprocessing_date": "2019-08-24T14:15:22Z",
- "preprocessing_date": "2019-08-24T14:15:22Z",
- "scheduled_run_date": "2019-08-24T14:15:22Z",
- "run_date": "2019-08-24T14:15:22Z",
- "last_refresh_date": "2019-08-24T14:15:22Z",
- "template_id": "string",
- "recurring_billing_run_id": "string",
- "statistics": [
- {
- "action": "string",
- "pending": 0,
- "processing": 0,
- "successful": 0,
- "error": 0,
- "excluded": 0,
- "total": 0
}
], - "send_renewal_reminders": true,
- "renewal_reminder_options": {
- "program_restriction": "none",
- "program_ids": [
- "string"
], - "training_provider_restriction": "none",
- "training_provider_ids": [
- "string"
], - "restrict_status_reasons": true,
- "status_reason_ids": [
- "string"
], - "restrict_application_types": true,
- "application_types": [
- "certification"
], - "reminders": [
- {
- "id": 0,
- "name": "string",
- "reminder_notice_id": "string",
- "expiration_date_range_start": "2019-08-24",
- "expiration_date_range_end": "2019-08-24"
}
]
}, - "bill_training_providers": true,
- "training_provider_billing_options": {
- "program_restriction": "none",
- "program_ids": [
- "string"
], - "training_provider_restriction": "none",
- "training_provider_ids": [
- "string"
], - "expiration_date_range_start": "2019-08-24",
- "expiration_date_range_end": "2019-08-24",
- "invoice_template_id": "string",
- "payment_terms_id": "string",
- "email_invoices_to_training_providers": true
}, - "perform_drops": true,
- "drop_options": {
- "drop_notice_id": "string",
- "expiration_date_range_start": "2019-08-24",
- "expiration_date_range_end": "2019-08-24",
- "restrict_status_reasons": true,
- "status_reason_ids": [
- "string"
], - "program_restriction": "none",
- "program_ids": [
- "string"
], - "training_provider_restriction": "none",
- "training_provider_ids": [
- "string"
]
}, - "activate_applications": true,
- "application_activation_options": {
- "application_notice_id": "string",
- "program_restriction": "none",
- "program_ids": [
- "string"
], - "training_provider_restriction": "none",
- "training_provider_ids": [
- "string"
], - "restrict_status_reasons": true,
- "status_reason_ids": [
- "string"
], - "restrict_application_types": true,
- "application_types": [
- "certification"
]
}, - "send_application_reminders": true,
- "application_reminder_options": {
- "program_restriction": "none",
- "program_ids": [
- "string"
], - "training_provider_restriction": "none",
- "training_provider_ids": [
- "string"
], - "restrict_status_reasons": true,
- "status_reason_ids": [
- "string"
], - "restrict_application_types": true,
- "application_types": [
- "certification"
], - "reminders": [
- {
- "id": 0,
- "name": "string",
- "reminder_notice_id": "string",
- "expiration_date_range_start": "2019-08-24",
- "expiration_date_range_end": "2019-08-24"
}
]
}, - "expire_applications": true,
- "application_expiration_options": {
- "application_notice_id": "string",
- "expiration_date_range_start": "2019-08-24",
- "expiration_date_range_end": "2019-08-24",
- "restrict_status_reasons": true,
- "status_reason_ids": [
- "string"
], - "program_restriction": "none",
- "program_ids": [
- "string"
], - "training_provider_restriction": "none",
- "training_provider_ids": [
- "string"
], - "restrict_application_types": true,
- "application_types": [
- "certification"
]
}, - "forecast_renewals": true,
- "renewal_forecasting_options": {
- "expiration_date_range_start": "2019-08-24",
- "expiration_date_range_end": "2019-08-24",
- "restrict_status_reasons": true,
- "status_reason_ids": [
- "string"
], - "program_restriction": "none",
- "program_ids": [
- "string"
], - "training_provider_restriction": "none",
- "training_provider_ids": [
- "string"
]
}, - "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",
- "status": "draft",
- "notification_email": "string",
- "error": "string",
- "error_stack": "string",
- "scheduled_preprocessing_date": "2019-08-24T14:15:22Z",
- "preprocessing_date": "2019-08-24T14:15:22Z",
- "scheduled_run_date": "2019-08-24T14:15:22Z",
- "run_date": "2019-08-24T14:15:22Z",
- "last_refresh_date": "2019-08-24T14:15:22Z",
- "template_id": "string",
- "recurring_billing_run_id": "string",
- "statistics": [
- {
- "action": "string",
- "pending": 0,
- "processing": 0,
- "successful": 0,
- "error": 0,
- "excluded": 0,
- "total": 0
}
], - "send_renewal_reminders": true,
- "renewal_reminder_options": {
- "program_restriction": "none",
- "program_ids": [
- "string"
], - "training_provider_restriction": "none",
- "training_provider_ids": [
- "string"
], - "restrict_status_reasons": true,
- "status_reason_ids": [
- "string"
], - "restrict_application_types": true,
- "application_types": [
- "certification"
], - "reminders": [
- {
- "id": 0,
- "name": "string",
- "reminder_notice_id": "string",
- "expiration_date_range_start": "2019-08-24",
- "expiration_date_range_end": "2019-08-24"
}
]
}, - "bill_training_providers": true,
- "training_provider_billing_options": {
- "program_restriction": "none",
- "program_ids": [
- "string"
], - "training_provider_restriction": "none",
- "training_provider_ids": [
- "string"
], - "expiration_date_range_start": "2019-08-24",
- "expiration_date_range_end": "2019-08-24",
- "invoice_template_id": "string",
- "payment_terms_id": "string",
- "email_invoices_to_training_providers": true
}, - "perform_drops": true,
- "drop_options": {
- "drop_notice_id": "string",
- "expiration_date_range_start": "2019-08-24",
- "expiration_date_range_end": "2019-08-24",
- "restrict_status_reasons": true,
- "status_reason_ids": [
- "string"
], - "program_restriction": "none",
- "program_ids": [
- "string"
], - "training_provider_restriction": "none",
- "training_provider_ids": [
- "string"
]
}, - "activate_applications": true,
- "application_activation_options": {
- "application_notice_id": "string",
- "program_restriction": "none",
- "program_ids": [
- "string"
], - "training_provider_restriction": "none",
- "training_provider_ids": [
- "string"
], - "restrict_status_reasons": true,
- "status_reason_ids": [
- "string"
], - "restrict_application_types": true,
- "application_types": [
- "certification"
]
}, - "send_application_reminders": true,
- "application_reminder_options": {
- "program_restriction": "none",
- "program_ids": [
- "string"
], - "training_provider_restriction": "none",
- "training_provider_ids": [
- "string"
], - "restrict_status_reasons": true,
- "status_reason_ids": [
- "string"
], - "restrict_application_types": true,
- "application_types": [
- "certification"
], - "reminders": [
- {
- "id": 0,
- "name": "string",
- "reminder_notice_id": "string",
- "expiration_date_range_start": "2019-08-24",
- "expiration_date_range_end": "2019-08-24"
}
]
}, - "expire_applications": true,
- "application_expiration_options": {
- "application_notice_id": "string",
- "expiration_date_range_start": "2019-08-24",
- "expiration_date_range_end": "2019-08-24",
- "restrict_status_reasons": true,
- "status_reason_ids": [
- "string"
], - "program_restriction": "none",
- "program_ids": [
- "string"
], - "training_provider_restriction": "none",
- "training_provider_ids": [
- "string"
], - "restrict_application_types": true,
- "application_types": [
- "certification"
]
}, - "forecast_renewals": true,
- "renewal_forecasting_options": {
- "expiration_date_range_start": "2019-08-24",
- "expiration_date_range_end": "2019-08-24",
- "restrict_status_reasons": true,
- "status_reason_ids": [
- "string"
], - "program_restriction": "none",
- "program_ids": [
- "string"
], - "training_provider_restriction": "none",
- "training_provider_ids": [
- "string"
]
}, - "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 billing run by the specified ID and return it back.
curl -i -X GET \ 'https://certifications.api.756794052567.rhythmsoftware.com/billingRuns/:tenantId/:id?fields=string&consistentRead=string' \ -H 'Authorization: YOUR_API_KEY_HERE'
{- "id": "string",
- "name": "string",
- "status": "draft",
- "notification_email": "string",
- "error": "string",
- "error_stack": "string",
- "scheduled_preprocessing_date": "2019-08-24T14:15:22Z",
- "preprocessing_date": "2019-08-24T14:15:22Z",
- "scheduled_run_date": "2019-08-24T14:15:22Z",
- "run_date": "2019-08-24T14:15:22Z",
- "last_refresh_date": "2019-08-24T14:15:22Z",
- "template_id": "string",
- "recurring_billing_run_id": "string",
- "statistics": [
- {
- "action": "string",
- "pending": 0,
- "processing": 0,
- "successful": 0,
- "error": 0,
- "excluded": 0,
- "total": 0
}
], - "send_renewal_reminders": true,
- "renewal_reminder_options": {
- "program_restriction": "none",
- "program_ids": [
- "string"
], - "training_provider_restriction": "none",
- "training_provider_ids": [
- "string"
], - "restrict_status_reasons": true,
- "status_reason_ids": [
- "string"
], - "restrict_application_types": true,
- "application_types": [
- "certification"
], - "reminders": [
- {
- "id": 0,
- "name": "string",
- "reminder_notice_id": "string",
- "expiration_date_range_start": "2019-08-24",
- "expiration_date_range_end": "2019-08-24"
}
]
}, - "bill_training_providers": true,
- "training_provider_billing_options": {
- "program_restriction": "none",
- "program_ids": [
- "string"
], - "training_provider_restriction": "none",
- "training_provider_ids": [
- "string"
], - "expiration_date_range_start": "2019-08-24",
- "expiration_date_range_end": "2019-08-24",
- "invoice_template_id": "string",
- "payment_terms_id": "string",
- "email_invoices_to_training_providers": true
}, - "perform_drops": true,
- "drop_options": {
- "drop_notice_id": "string",
- "expiration_date_range_start": "2019-08-24",
- "expiration_date_range_end": "2019-08-24",
- "restrict_status_reasons": true,
- "status_reason_ids": [
- "string"
], - "program_restriction": "none",
- "program_ids": [
- "string"
], - "training_provider_restriction": "none",
- "training_provider_ids": [
- "string"
]
}, - "activate_applications": true,
- "application_activation_options": {
- "application_notice_id": "string",
- "program_restriction": "none",
- "program_ids": [
- "string"
], - "training_provider_restriction": "none",
- "training_provider_ids": [
- "string"
], - "restrict_status_reasons": true,
- "status_reason_ids": [
- "string"
], - "restrict_application_types": true,
- "application_types": [
- "certification"
]
}, - "send_application_reminders": true,
- "application_reminder_options": {
- "program_restriction": "none",
- "program_ids": [
- "string"
], - "training_provider_restriction": "none",
- "training_provider_ids": [
- "string"
], - "restrict_status_reasons": true,
- "status_reason_ids": [
- "string"
], - "restrict_application_types": true,
- "application_types": [
- "certification"
], - "reminders": [
- {
- "id": 0,
- "name": "string",
- "reminder_notice_id": "string",
- "expiration_date_range_start": "2019-08-24",
- "expiration_date_range_end": "2019-08-24"
}
]
}, - "expire_applications": true,
- "application_expiration_options": {
- "application_notice_id": "string",
- "expiration_date_range_start": "2019-08-24",
- "expiration_date_range_end": "2019-08-24",
- "restrict_status_reasons": true,
- "status_reason_ids": [
- "string"
], - "program_restriction": "none",
- "program_ids": [
- "string"
], - "training_provider_restriction": "none",
- "training_provider_ids": [
- "string"
], - "restrict_application_types": true,
- "application_types": [
- "certification"
]
}, - "forecast_renewals": true,
- "renewal_forecasting_options": {
- "expiration_date_range_start": "2019-08-24",
- "expiration_date_range_end": "2019-08-24",
- "restrict_status_reasons": true,
- "status_reason_ids": [
- "string"
], - "program_restriction": "none",
- "program_ids": [
- "string"
], - "training_provider_restriction": "none",
- "training_provider_ids": [
- "string"
]
}, - "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 billing run with the specified ID.
The updated billing run that will be saved.
{- "id": "string",
- "name": "string",
- "status": "draft",
- "notification_email": "string",
- "error": "string",
- "error_stack": "string",
- "scheduled_preprocessing_date": "2019-08-24T14:15:22Z",
- "preprocessing_date": "2019-08-24T14:15:22Z",
- "scheduled_run_date": "2019-08-24T14:15:22Z",
- "run_date": "2019-08-24T14:15:22Z",
- "last_refresh_date": "2019-08-24T14:15:22Z",
- "template_id": "string",
- "recurring_billing_run_id": "string",
- "statistics": [
- {
- "action": "string",
- "pending": 0,
- "processing": 0,
- "successful": 0,
- "error": 0,
- "excluded": 0,
- "total": 0
}
], - "send_renewal_reminders": true,
- "renewal_reminder_options": {
- "program_restriction": "none",
- "program_ids": [
- "string"
], - "training_provider_restriction": "none",
- "training_provider_ids": [
- "string"
], - "restrict_status_reasons": true,
- "status_reason_ids": [
- "string"
], - "restrict_application_types": true,
- "application_types": [
- "certification"
], - "reminders": [
- {
- "id": 0,
- "name": "string",
- "reminder_notice_id": "string",
- "expiration_date_range_start": "2019-08-24",
- "expiration_date_range_end": "2019-08-24"
}
]
}, - "bill_training_providers": true,
- "training_provider_billing_options": {
- "program_restriction": "none",
- "program_ids": [
- "string"
], - "training_provider_restriction": "none",
- "training_provider_ids": [
- "string"
], - "expiration_date_range_start": "2019-08-24",
- "expiration_date_range_end": "2019-08-24",
- "invoice_template_id": "string",
- "payment_terms_id": "string",
- "email_invoices_to_training_providers": true
}, - "perform_drops": true,
- "drop_options": {
- "drop_notice_id": "string",
- "expiration_date_range_start": "2019-08-24",
- "expiration_date_range_end": "2019-08-24",
- "restrict_status_reasons": true,
- "status_reason_ids": [
- "string"
], - "program_restriction": "none",
- "program_ids": [
- "string"
], - "training_provider_restriction": "none",
- "training_provider_ids": [
- "string"
]
}, - "activate_applications": true,
- "application_activation_options": {
- "application_notice_id": "string",
- "program_restriction": "none",
- "program_ids": [
- "string"
], - "training_provider_restriction": "none",
- "training_provider_ids": [
- "string"
], - "restrict_status_reasons": true,
- "status_reason_ids": [
- "string"
], - "restrict_application_types": true,
- "application_types": [
- "certification"
]
}, - "send_application_reminders": true,
- "application_reminder_options": {
- "program_restriction": "none",
- "program_ids": [
- "string"
], - "training_provider_restriction": "none",
- "training_provider_ids": [
- "string"
], - "restrict_status_reasons": true,
- "status_reason_ids": [
- "string"
], - "restrict_application_types": true,
- "application_types": [
- "certification"
], - "reminders": [
- {
- "id": 0,
- "name": "string",
- "reminder_notice_id": "string",
- "expiration_date_range_start": "2019-08-24",
- "expiration_date_range_end": "2019-08-24"
}
]
}, - "expire_applications": true,
- "application_expiration_options": {
- "application_notice_id": "string",
- "expiration_date_range_start": "2019-08-24",
- "expiration_date_range_end": "2019-08-24",
- "restrict_status_reasons": true,
- "status_reason_ids": [
- "string"
], - "program_restriction": "none",
- "program_ids": [
- "string"
], - "training_provider_restriction": "none",
- "training_provider_ids": [
- "string"
], - "restrict_application_types": true,
- "application_types": [
- "certification"
]
}, - "forecast_renewals": true,
- "renewal_forecasting_options": {
- "expiration_date_range_start": "2019-08-24",
- "expiration_date_range_end": "2019-08-24",
- "restrict_status_reasons": true,
- "status_reason_ids": [
- "string"
], - "program_restriction": "none",
- "program_ids": [
- "string"
], - "training_provider_restriction": "none",
- "training_provider_ids": [
- "string"
]
}, - "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",
- "status": "draft",
- "notification_email": "string",
- "error": "string",
- "error_stack": "string",
- "scheduled_preprocessing_date": "2019-08-24T14:15:22Z",
- "preprocessing_date": "2019-08-24T14:15:22Z",
- "scheduled_run_date": "2019-08-24T14:15:22Z",
- "run_date": "2019-08-24T14:15:22Z",
- "last_refresh_date": "2019-08-24T14:15:22Z",
- "template_id": "string",
- "recurring_billing_run_id": "string",
- "statistics": [
- {
- "action": "string",
- "pending": 0,
- "processing": 0,
- "successful": 0,
- "error": 0,
- "excluded": 0,
- "total": 0
}
], - "send_renewal_reminders": true,
- "renewal_reminder_options": {
- "program_restriction": "none",
- "program_ids": [
- "string"
], - "training_provider_restriction": "none",
- "training_provider_ids": [
- "string"
], - "restrict_status_reasons": true,
- "status_reason_ids": [
- "string"
], - "restrict_application_types": true,
- "application_types": [
- "certification"
], - "reminders": [
- {
- "id": 0,
- "name": "string",
- "reminder_notice_id": "string",
- "expiration_date_range_start": "2019-08-24",
- "expiration_date_range_end": "2019-08-24"
}
]
}, - "bill_training_providers": true,
- "training_provider_billing_options": {
- "program_restriction": "none",
- "program_ids": [
- "string"
], - "training_provider_restriction": "none",
- "training_provider_ids": [
- "string"
], - "expiration_date_range_start": "2019-08-24",
- "expiration_date_range_end": "2019-08-24",
- "invoice_template_id": "string",
- "payment_terms_id": "string",
- "email_invoices_to_training_providers": true
}, - "perform_drops": true,
- "drop_options": {
- "drop_notice_id": "string",
- "expiration_date_range_start": "2019-08-24",
- "expiration_date_range_end": "2019-08-24",
- "restrict_status_reasons": true,
- "status_reason_ids": [
- "string"
], - "program_restriction": "none",
- "program_ids": [
- "string"
], - "training_provider_restriction": "none",
- "training_provider_ids": [
- "string"
]
}, - "activate_applications": true,
- "application_activation_options": {
- "application_notice_id": "string",
- "program_restriction": "none",
- "program_ids": [
- "string"
], - "training_provider_restriction": "none",
- "training_provider_ids": [
- "string"
], - "restrict_status_reasons": true,
- "status_reason_ids": [
- "string"
], - "restrict_application_types": true,
- "application_types": [
- "certification"
]
}, - "send_application_reminders": true,
- "application_reminder_options": {
- "program_restriction": "none",
- "program_ids": [
- "string"
], - "training_provider_restriction": "none",
- "training_provider_ids": [
- "string"
], - "restrict_status_reasons": true,
- "status_reason_ids": [
- "string"
], - "restrict_application_types": true,
- "application_types": [
- "certification"
], - "reminders": [
- {
- "id": 0,
- "name": "string",
- "reminder_notice_id": "string",
- "expiration_date_range_start": "2019-08-24",
- "expiration_date_range_end": "2019-08-24"
}
]
}, - "expire_applications": true,
- "application_expiration_options": {
- "application_notice_id": "string",
- "expiration_date_range_start": "2019-08-24",
- "expiration_date_range_end": "2019-08-24",
- "restrict_status_reasons": true,
- "status_reason_ids": [
- "string"
], - "program_restriction": "none",
- "program_ids": [
- "string"
], - "training_provider_restriction": "none",
- "training_provider_ids": [
- "string"
], - "restrict_application_types": true,
- "application_types": [
- "certification"
]
}, - "forecast_renewals": true,
- "renewal_forecasting_options": {
- "expiration_date_range_start": "2019-08-24",
- "expiration_date_range_end": "2019-08-24",
- "restrict_status_reasons": true,
- "status_reason_ids": [
- "string"
], - "program_restriction": "none",
- "program_ids": [
- "string"
], - "training_provider_restriction": "none",
- "training_provider_ids": [
- "string"
]
}, - "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 billing run 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",
- "status": "draft",
- "notification_email": "string",
- "error": "string",
- "error_stack": "string",
- "scheduled_preprocessing_date": "2019-08-24T14:15:22Z",
- "preprocessing_date": "2019-08-24T14:15:22Z",
- "scheduled_run_date": "2019-08-24T14:15:22Z",
- "run_date": "2019-08-24T14:15:22Z",
- "last_refresh_date": "2019-08-24T14:15:22Z",
- "template_id": "string",
- "recurring_billing_run_id": "string",
- "statistics": [
- {
- "action": "string",
- "pending": 0,
- "processing": 0,
- "successful": 0,
- "error": 0,
- "excluded": 0,
- "total": 0
}
], - "send_renewal_reminders": true,
- "renewal_reminder_options": {
- "program_restriction": "none",
- "program_ids": [
- "string"
], - "training_provider_restriction": "none",
- "training_provider_ids": [
- "string"
], - "restrict_status_reasons": true,
- "status_reason_ids": [
- "string"
], - "restrict_application_types": true,
- "application_types": [
- "certification"
], - "reminders": [
- {
- "id": 0,
- "name": "string",
- "reminder_notice_id": "string",
- "expiration_date_range_start": "2019-08-24",
- "expiration_date_range_end": "2019-08-24"
}
]
}, - "bill_training_providers": true,
- "training_provider_billing_options": {
- "program_restriction": "none",
- "program_ids": [
- "string"
], - "training_provider_restriction": "none",
- "training_provider_ids": [
- "string"
], - "expiration_date_range_start": "2019-08-24",
- "expiration_date_range_end": "2019-08-24",
- "invoice_template_id": "string",
- "payment_terms_id": "string",
- "email_invoices_to_training_providers": true
}, - "perform_drops": true,
- "drop_options": {
- "drop_notice_id": "string",
- "expiration_date_range_start": "2019-08-24",
- "expiration_date_range_end": "2019-08-24",
- "restrict_status_reasons": true,
- "status_reason_ids": [
- "string"
], - "program_restriction": "none",
- "program_ids": [
- "string"
], - "training_provider_restriction": "none",
- "training_provider_ids": [
- "string"
]
}, - "activate_applications": true,
- "application_activation_options": {
- "application_notice_id": "string",
- "program_restriction": "none",
- "program_ids": [
- "string"
], - "training_provider_restriction": "none",
- "training_provider_ids": [
- "string"
], - "restrict_status_reasons": true,
- "status_reason_ids": [
- "string"
], - "restrict_application_types": true,
- "application_types": [
- "certification"
]
}, - "send_application_reminders": true,
- "application_reminder_options": {
- "program_restriction": "none",
- "program_ids": [
- "string"
], - "training_provider_restriction": "none",
- "training_provider_ids": [
- "string"
], - "restrict_status_reasons": true,
- "status_reason_ids": [
- "string"
], - "restrict_application_types": true,
- "application_types": [
- "certification"
], - "reminders": [
- {
- "id": 0,
- "name": "string",
- "reminder_notice_id": "string",
- "expiration_date_range_start": "2019-08-24",
- "expiration_date_range_end": "2019-08-24"
}
]
}, - "expire_applications": true,
- "application_expiration_options": {
- "application_notice_id": "string",
- "expiration_date_range_start": "2019-08-24",
- "expiration_date_range_end": "2019-08-24",
- "restrict_status_reasons": true,
- "status_reason_ids": [
- "string"
], - "program_restriction": "none",
- "program_ids": [
- "string"
], - "training_provider_restriction": "none",
- "training_provider_ids": [
- "string"
], - "restrict_application_types": true,
- "application_types": [
- "certification"
]
}, - "forecast_renewals": true,
- "renewal_forecasting_options": {
- "expiration_date_range_start": "2019-08-24",
- "expiration_date_range_end": "2019-08-24",
- "restrict_status_reasons": true,
- "status_reason_ids": [
- "string"
], - "program_restriction": "none",
- "program_ids": [
- "string"
], - "training_provider_restriction": "none",
- "training_provider_ids": [
- "string"
]
}, - "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 billing run with the specified ID.
curl -i -X DELETE \ https://certifications.api.756794052567.rhythmsoftware.com/billingRuns/:tenantId/:id \ -H 'Authorization: YOUR_API_KEY_HERE'
"string"
curl -i -X POST \ https://certifications.api.756794052567.rhythmsoftware.com/billingRuns/:tenantId/refresh/:id \ -H 'Authorization: YOUR_API_KEY_HERE'
{- "notification_publishKey": "string",
- "notification_subscribeKey": "string",
- "notification_channel": "string",
- "executionArn": "string",
- "start_date": "2019-08-24T14:15:22Z"
}
Searches for billing runs using predefined parameters
The billing run that you would like to be saved.
{- "ids": [
- "string"
], - "name": "string",
- "run_date": [
- "string",
- "string"
], - "scheduled_run_date": [
- "string",
- "string"
], - "status": [
- "string"
], - "send_renewal_reminders": [
- true
], - "bill_training_providers": [
- true
], - "activate_applications": [
- true
], - "send_application_reminders": [
- true
], - "application_expiration_options": [
- true
], - "perform_drops": [
- true
]
}
{- "Items": [
- {
- "ids": [
- "string"
], - "name": "string",
- "run_date": "string",
- "scheduled_run_date": "string",
- "status": "string",
- "generate_renewal_orders": true,
- "perform_auto_renewals": true,
- "generate_renewal_notices": true,
- "send_renewal_reminders": true,
- "send_auto_renewal_reminders": true,
- "perform_drops": true,
- "send_expiring_credit_card_reminders": true
}
], - "LastEvaluatedKey": "string"
}
Returns a list of records with the specified recurring_billing_run_id
curl -i -X GET \ 'https://certifications.api.756794052567.rhythmsoftware.com/billingRuns/:tenantId/recurringBillingRun/:recurring_billing_run_id?fields=string&exclusiveStartKey=string' \ -H 'Authorization: YOUR_API_KEY_HERE'
{- "Count": 0,
- "Items": [
- {
- "id": "string",
- "name": "string",
- "status": "draft",
- "notification_email": "string",
- "error": "string",
- "error_stack": "string",
- "scheduled_preprocessing_date": "2019-08-24T14:15:22Z",
- "preprocessing_date": "2019-08-24T14:15:22Z",
- "scheduled_run_date": "2019-08-24T14:15:22Z",
- "run_date": "2019-08-24T14:15:22Z",
- "last_refresh_date": "2019-08-24T14:15:22Z",
- "template_id": "string",
- "recurring_billing_run_id": "string",
- "statistics": [
- {
- "action": "string",
- "pending": 0,
- "processing": 0,
- "successful": 0,
- "error": 0,
- "excluded": 0,
- "total": 0
}
], - "send_renewal_reminders": true,
- "renewal_reminder_options": {
- "program_restriction": "none",
- "program_ids": [
- "string"
], - "training_provider_restriction": "none",
- "training_provider_ids": [
- "string"
], - "restrict_status_reasons": true,
- "status_reason_ids": [
- "string"
], - "restrict_application_types": true,
- "application_types": [
- "certification"
], - "reminders": [
- {
- "id": 0,
- "name": "string",
- "reminder_notice_id": "string",
- "expiration_date_range_start": "2019-08-24",
- "expiration_date_range_end": "2019-08-24"
}
]
}, - "bill_training_providers": true,
- "training_provider_billing_options": {
- "program_restriction": "none",
- "program_ids": [
- "string"
], - "training_provider_restriction": "none",
- "training_provider_ids": [
- "string"
], - "expiration_date_range_start": "2019-08-24",
- "expiration_date_range_end": "2019-08-24",
- "invoice_template_id": "string",
- "payment_terms_id": "string",
- "email_invoices_to_training_providers": true
}, - "perform_drops": true,
- "drop_options": {
- "drop_notice_id": "string",
- "expiration_date_range_start": "2019-08-24",
- "expiration_date_range_end": "2019-08-24",
- "restrict_status_reasons": true,
- "status_reason_ids": [
- "string"
], - "program_restriction": "none",
- "program_ids": [
- "string"
], - "training_provider_restriction": "none",
- "training_provider_ids": [
- "string"
]
}, - "activate_applications": true,
- "application_activation_options": {
- "application_notice_id": "string",
- "program_restriction": "none",
- "program_ids": [
- "string"
], - "training_provider_restriction": "none",
- "training_provider_ids": [
- "string"
], - "restrict_status_reasons": true,
- "status_reason_ids": [
- "string"
], - "restrict_application_types": true,
- "application_types": [
- "certification"
]
}, - "send_application_reminders": true,
- "application_reminder_options": {
- "program_restriction": "none",
- "program_ids": [
- "string"
], - "training_provider_restriction": "none",
- "training_provider_ids": [
- "string"
], - "restrict_status_reasons": true,
- "status_reason_ids": [
- "string"
], - "restrict_application_types": true,
- "application_types": [
- "certification"
], - "reminders": [
- {
- "id": 0,
- "name": "string",
- "reminder_notice_id": "string",
- "expiration_date_range_start": "2019-08-24",
- "expiration_date_range_end": "2019-08-24"
}
]
}, - "expire_applications": true,
- "application_expiration_options": {
- "application_notice_id": "string",
- "expiration_date_range_start": "2019-08-24",
- "expiration_date_range_end": "2019-08-24",
- "restrict_status_reasons": true,
- "status_reason_ids": [
- "string"
], - "program_restriction": "none",
- "program_ids": [
- "string"
], - "training_provider_restriction": "none",
- "training_provider_ids": [
- "string"
], - "restrict_application_types": true,
- "application_types": [
- "certification"
]
}, - "forecast_renewals": true,
- "renewal_forecasting_options": {
- "expiration_date_range_start": "2019-08-24",
- "expiration_date_range_end": "2019-08-24",
- "restrict_status_reasons": true,
- "status_reason_ids": [
- "string"
], - "program_restriction": "none",
- "program_ids": [
- "string"
], - "training_provider_restriction": "none",
- "training_provider_ids": [
- "string"
]
}, - "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"
}
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": { }
}
]
}