curl -i -X POST \
'https://docs.api.rhythmsoftware.com/_mock/apis/certifications/certifications-v1/billingTemplates/{tenantId}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"activate_applications": true,
"application_activation_options": {
"application_notice_id": "string",
"application_types": {
"0": "certification"
},
"program_ids": {
"0": "string"
},
"program_restriction": "exclude",
"restrict_application_types": true,
"restrict_status_reasons": true,
"status_reason_ids": {
"0": "string"
},
"training_provider_ids": {
"0": "string"
},
"training_provider_restriction": "exclude"
},
"application_expiration_options": {
"application_notice_id": "string",
"application_types": {
"0": "certification"
},
"expiration_date_range_end": {
"number": null,
"position": "after",
"relative_to": "the beginning of the month",
"unit_of_time": "days"
},
"expiration_date_range_start": {
"number": null,
"position": "after",
"relative_to": "the beginning of the month",
"unit_of_time": "days"
},
"program_ids": {
"0": "string"
},
"program_restriction": "exclude",
"restrict_application_types": true,
"restrict_status_reasons": true,
"status_reason_ids": {
"0": "string"
},
"training_provider_ids": {
"0": "string"
},
"training_provider_restriction": "exclude"
},
"application_reminder_options": {
"application_types": {
"0": "certification"
},
"program_ids": {
"0": "string"
},
"program_restriction": "exclude",
"reminders": [
{
"expiration_date_range_end": {
"number": null,
"position": "after",
"relative_to": "the beginning of the month",
"unit_of_time": "days"
},
"expiration_date_range_start": {
"number": null,
"position": "after",
"relative_to": "the beginning of the month",
"unit_of_time": "days"
},
"id": 0.1,
"name": "string",
"reminder_notice_id": "string"
}
],
"restrict_application_types": true,
"restrict_status_reasons": true,
"status_reason_ids": {
"0": "string"
},
"training_provider_ids": {
"0": "string"
},
"training_provider_restriction": "exclude"
},
"bill_training_providers": true,
"custom_field_values": [
{
"boolean_value": true,
"custom_field_id": "string",
"file_url_value": "string",
"list_value": [
"string"
],
"numeric_value": 0.1,
"string_value": "string",
"table_value": [
{}
]
}
],
"description": "string",
"drop_options": {
"drop_notice_id": "string",
"expiration_date_range_end": {
"number": null,
"position": "after",
"relative_to": "the beginning of the month",
"unit_of_time": "days"
},
"expiration_date_range_start": {
"number": null,
"position": "after",
"relative_to": "the beginning of the month",
"unit_of_time": "days"
},
"program_ids": {
"0": "string"
},
"program_restriction": "exclude",
"restrict_status_reasons": true,
"status_reason_ids": {
"0": "string"
},
"training_provider_ids": {
"0": "string"
},
"training_provider_restriction": "exclude"
},
"expire_applications": true,
"forecast_renewals": true,
"id": "string",
"is_active": true,
"name": "string",
"notification_email": "string",
"perform_drops": true,
"renewal_forecasting_options": {
"expiration_date_range_end": {
"number": null,
"position": "after",
"relative_to": "the beginning of the month",
"unit_of_time": "days"
},
"expiration_date_range_start": {
"number": null,
"position": "after",
"relative_to": "the beginning of the month",
"unit_of_time": "days"
},
"program_ids": {
"0": "string"
},
"program_restriction": "exclude",
"restrict_status_reasons": true,
"status_reason_ids": {
"0": "string"
},
"training_provider_ids": {
"0": "string"
},
"training_provider_restriction": "exclude"
},
"renewal_reminder_options": {
"application_types": {
"0": "certification"
},
"program_ids": {
"0": "string"
},
"program_restriction": "exclude",
"reminders": [
{
"expiration_date_range_end": {
"number": null,
"position": "after",
"relative_to": "the beginning of the month",
"unit_of_time": "days"
},
"expiration_date_range_start": {
"number": null,
"position": "after",
"relative_to": "the beginning of the month",
"unit_of_time": "days"
},
"id": 0.1,
"name": "string",
"reminder_notice_id": "string"
}
],
"restrict_application_types": true,
"restrict_status_reasons": true,
"status_reason_ids": {
"0": "string"
},
"training_provider_ids": {
"0": "string"
},
"training_provider_restriction": "exclude"
},
"send_application_reminders": true,
"send_renewal_reminders": true,
"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": [
{
"error": "string",
"field": "string"
}
],
"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,
"training_provider_billing_options": {
"email_invoices_to_training_providers": true,
"expiration_date_range_end": {
"number": null,
"position": "after",
"relative_to": "the beginning of the month",
"unit_of_time": "days"
},
"expiration_date_range_start": {
"number": null,
"position": "after",
"relative_to": "the beginning of the month",
"unit_of_time": "days"
},
"invoice_template_id": "string",
"payment_terms_id": "string",
"program_ids": {
"0": "string"
},
"program_restriction": "exclude",
"training_provider_ids": {
"0": "string"
},
"training_provider_restriction": "exclude"
}
}'