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",
- "recurring_billing_run_id": "string",
- "batch_id": "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",
- "statistics": {
- "renewal_orders": {
- "pending": 0,
- "processing": 0,
- "successful": 0,
- "error": 0,
- "excluded": 0,
- "total": 0
}, - "auto_renewals": {
- "pending": 0,
- "processing": 0,
- "successful": 0,
- "error": 0,
- "excluded": 0,
- "total": 0
}, - "renewal_notices": {
- "pending": 0,
- "processing": 0,
- "successful": 0,
- "error": 0,
- "excluded": 0,
- "total": 0
}, - "renewal_reminders": {
- "pending": 0,
- "processing": 0,
- "successful": 0,
- "error": 0,
- "excluded": 0,
- "total": 0
}, - "auto_renewal_reminders": {
- "pending": 0,
- "processing": 0,
- "successful": 0,
- "error": 0,
- "excluded": 0,
- "total": 0
}, - "drops": {
- "pending": 0,
- "processing": 0,
- "successful": 0,
- "error": 0,
- "excluded": 0,
- "total": 0
}, - "expiring_credit_card_reminders": {
- "pending": 0,
- "processing": 0,
- "successful": 0,
- "error": 0,
- "excluded": 0,
- "total": 0
}, - "all_actions": {
- "pending": 0,
- "processing": 0,
- "successful": 0,
- "error": 0,
- "excluded": 0,
- "total": 0
}
}, - "generate_renewal_orders": true,
- "renewal_order_options": {
- "pro_forma": true,
- "renewal_order_notice_id": "string",
- "expiration_date_range_start": "2019-08-24",
- "expiration_date_range_end": "2019-08-24",
- "include_only_certain_membership_types": true,
- "membership_type_ids": [
- "string"
], - "include_only_certain_membership_packages": true,
- "membership_package_ids": [
- "string"
], - "include_only_certain_status_reasons": true,
- "status_reason_ids": [
- "string"
], - "new_status_reason_id": "string"
}, - "perform_auto_renewals": true,
- "auto_renewal_options": {
- "auto_renewal_success_notice_id": "string",
- "auto_renewal_failure_notice_id": "string",
- "expiration_date_range_start": "2019-08-24",
- "expiration_date_range_end": "2019-08-24",
- "include_only_certain_membership_types": true,
- "membership_type_ids": [
- "string"
], - "include_only_certain_membership_packages": true,
- "membership_package_ids": [
- "string"
], - "include_only_certain_status_reasons": true,
- "status_reason_ids": [
- "string"
], - "new_status_reason_id": "string"
}, - "generate_renewal_notices": true,
- "renewal_notice_options": {
- "renewal_notice_id": "string",
- "expiration_date_range_start": "2019-08-24",
- "expiration_date_range_end": "2019-08-24",
- "include_only_certain_membership_types": true,
- "membership_type_ids": [
- "string"
], - "include_only_certain_membership_packages": true,
- "membership_package_ids": [
- "string"
], - "include_only_certain_status_reasons": true,
- "status_reason_ids": [
- "string"
], - "new_status_reason_id": "string"
}, - "send_renewal_reminders": true,
- "renewal_reminder_options": {
- "include_only_certain_membership_types": true,
- "membership_type_ids": [
- "string"
], - "include_only_certain_membership_packages": true,
- "membership_package_ids": [
- "string"
], - "include_only_certain_status_reasons": true,
- "status_reason_ids": [
- "string"
], - "new_status_reason_id": "string",
- "reminders": [
- {
- "id": 0,
- "name": "string",
- "reminder_notice_id": "string",
- "expiration_date_range_start": "2019-08-24",
- "expiration_date_range_end": "2019-08-24"
}
]
}, - "send_auto_renewal_reminders": true,
- "auto_renewal_reminder_options": {
- "include_only_certain_membership_types": true,
- "membership_type_ids": [
- "string"
], - "include_only_certain_membership_packages": true,
- "membership_package_ids": [
- "string"
], - "include_only_certain_status_reasons": true,
- "status_reason_ids": [
- "string"
], - "new_status_reason_id": "string",
- "reminders": [
- {
- "id": 0,
- "name": "string",
- "reminder_notice_id": "string",
- "expiration_date_range_start": "2019-08-24",
- "expiration_date_range_end": "2019-08-24"
}
]
}, - "perform_drops": true,
- "drop_options": {
- "drop_notice_id": "string",
- "expire_committee_memberships": true,
- "deactivate_certifications": true,
- "expiration_date_range_start": "2019-08-24",
- "expiration_date_range_end": "2019-08-24",
- "include_only_certain_membership_types": true,
- "membership_type_ids": [
- "string"
], - "include_only_certain_membership_packages": true,
- "membership_package_ids": [
- "string"
], - "include_only_certain_status_reasons": true,
- "status_reason_ids": [
- "string"
], - "new_status_reason_id": "string"
}, - "send_expiring_credit_card_reminders": true,
- "expiring_credit_card_reminders_options": {
- "include_only_certain_membership_types": true,
- "membership_type_ids": [
- "string"
], - "include_only_certain_membership_packages": true,
- "membership_package_ids": [
- "string"
], - "include_only_certain_status_reasons": true,
- "status_reason_ids": [
- "string"
], - "new_status_reason_id": "string",
- "reminders": [
- {
- "id": 0,
- "name": "string",
- "reminder_notice_id": "string",
- "expiration_date_range_start": "2019-08-24",
- "expiration_date_range_end": "2019-08-24"
}
]
}, - "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",
- "recurring_billing_run_id": "string",
- "batch_id": "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",
- "statistics": {
- "renewal_orders": {
- "pending": 0,
- "processing": 0,
- "successful": 0,
- "error": 0,
- "excluded": 0,
- "total": 0
}, - "auto_renewals": {
- "pending": 0,
- "processing": 0,
- "successful": 0,
- "error": 0,
- "excluded": 0,
- "total": 0
}, - "renewal_notices": {
- "pending": 0,
- "processing": 0,
- "successful": 0,
- "error": 0,
- "excluded": 0,
- "total": 0
}, - "renewal_reminders": {
- "pending": 0,
- "processing": 0,
- "successful": 0,
- "error": 0,
- "excluded": 0,
- "total": 0
}, - "auto_renewal_reminders": {
- "pending": 0,
- "processing": 0,
- "successful": 0,
- "error": 0,
- "excluded": 0,
- "total": 0
}, - "drops": {
- "pending": 0,
- "processing": 0,
- "successful": 0,
- "error": 0,
- "excluded": 0,
- "total": 0
}, - "expiring_credit_card_reminders": {
- "pending": 0,
- "processing": 0,
- "successful": 0,
- "error": 0,
- "excluded": 0,
- "total": 0
}, - "all_actions": {
- "pending": 0,
- "processing": 0,
- "successful": 0,
- "error": 0,
- "excluded": 0,
- "total": 0
}
}, - "generate_renewal_orders": true,
- "renewal_order_options": {
- "pro_forma": true,
- "renewal_order_notice_id": "string",
- "expiration_date_range_start": "2019-08-24",
- "expiration_date_range_end": "2019-08-24",
- "include_only_certain_membership_types": true,
- "membership_type_ids": [
- "string"
], - "include_only_certain_membership_packages": true,
- "membership_package_ids": [
- "string"
], - "include_only_certain_status_reasons": true,
- "status_reason_ids": [
- "string"
], - "new_status_reason_id": "string"
}, - "perform_auto_renewals": true,
- "auto_renewal_options": {
- "auto_renewal_success_notice_id": "string",
- "auto_renewal_failure_notice_id": "string",
- "expiration_date_range_start": "2019-08-24",
- "expiration_date_range_end": "2019-08-24",
- "include_only_certain_membership_types": true,
- "membership_type_ids": [
- "string"
], - "include_only_certain_membership_packages": true,
- "membership_package_ids": [
- "string"
], - "include_only_certain_status_reasons": true,
- "status_reason_ids": [
- "string"
], - "new_status_reason_id": "string"
}, - "generate_renewal_notices": true,
- "renewal_notice_options": {
- "renewal_notice_id": "string",
- "expiration_date_range_start": "2019-08-24",
- "expiration_date_range_end": "2019-08-24",
- "include_only_certain_membership_types": true,
- "membership_type_ids": [
- "string"
], - "include_only_certain_membership_packages": true,
- "membership_package_ids": [
- "string"
], - "include_only_certain_status_reasons": true,
- "status_reason_ids": [
- "string"
], - "new_status_reason_id": "string"
}, - "send_renewal_reminders": true,
- "renewal_reminder_options": {
- "include_only_certain_membership_types": true,
- "membership_type_ids": [
- "string"
], - "include_only_certain_membership_packages": true,
- "membership_package_ids": [
- "string"
], - "include_only_certain_status_reasons": true,
- "status_reason_ids": [
- "string"
], - "new_status_reason_id": "string",
- "reminders": [
- {
- "id": 0,
- "name": "string",
- "reminder_notice_id": "string",
- "expiration_date_range_start": "2019-08-24",
- "expiration_date_range_end": "2019-08-24"
}
]
}, - "send_auto_renewal_reminders": true,
- "auto_renewal_reminder_options": {
- "include_only_certain_membership_types": true,
- "membership_type_ids": [
- "string"
], - "include_only_certain_membership_packages": true,
- "membership_package_ids": [
- "string"
], - "include_only_certain_status_reasons": true,
- "status_reason_ids": [
- "string"
], - "new_status_reason_id": "string",
- "reminders": [
- {
- "id": 0,
- "name": "string",
- "reminder_notice_id": "string",
- "expiration_date_range_start": "2019-08-24",
- "expiration_date_range_end": "2019-08-24"
}
]
}, - "perform_drops": true,
- "drop_options": {
- "drop_notice_id": "string",
- "expire_committee_memberships": true,
- "deactivate_certifications": true,
- "expiration_date_range_start": "2019-08-24",
- "expiration_date_range_end": "2019-08-24",
- "include_only_certain_membership_types": true,
- "membership_type_ids": [
- "string"
], - "include_only_certain_membership_packages": true,
- "membership_package_ids": [
- "string"
], - "include_only_certain_status_reasons": true,
- "status_reason_ids": [
- "string"
], - "new_status_reason_id": "string"
}, - "send_expiring_credit_card_reminders": true,
- "expiring_credit_card_reminders_options": {
- "include_only_certain_membership_types": true,
- "membership_type_ids": [
- "string"
], - "include_only_certain_membership_packages": true,
- "membership_package_ids": [
- "string"
], - "include_only_certain_status_reasons": true,
- "status_reason_ids": [
- "string"
], - "new_status_reason_id": "string",
- "reminders": [
- {
- "id": 0,
- "name": "string",
- "reminder_notice_id": "string",
- "expiration_date_range_start": "2019-08-24",
- "expiration_date_range_end": "2019-08-24"
}
]
}, - "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://membership.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",
- "recurring_billing_run_id": "string",
- "batch_id": "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",
- "statistics": {
- "renewal_orders": {
- "pending": 0,
- "processing": 0,
- "successful": 0,
- "error": 0,
- "excluded": 0,
- "total": 0
}, - "auto_renewals": {
- "pending": 0,
- "processing": 0,
- "successful": 0,
- "error": 0,
- "excluded": 0,
- "total": 0
}, - "renewal_notices": {
- "pending": 0,
- "processing": 0,
- "successful": 0,
- "error": 0,
- "excluded": 0,
- "total": 0
}, - "renewal_reminders": {
- "pending": 0,
- "processing": 0,
- "successful": 0,
- "error": 0,
- "excluded": 0,
- "total": 0
}, - "auto_renewal_reminders": {
- "pending": 0,
- "processing": 0,
- "successful": 0,
- "error": 0,
- "excluded": 0,
- "total": 0
}, - "drops": {
- "pending": 0,
- "processing": 0,
- "successful": 0,
- "error": 0,
- "excluded": 0,
- "total": 0
}, - "expiring_credit_card_reminders": {
- "pending": 0,
- "processing": 0,
- "successful": 0,
- "error": 0,
- "excluded": 0,
- "total": 0
}, - "all_actions": {
- "pending": 0,
- "processing": 0,
- "successful": 0,
- "error": 0,
- "excluded": 0,
- "total": 0
}
}, - "generate_renewal_orders": true,
- "renewal_order_options": {
- "pro_forma": true,
- "renewal_order_notice_id": "string",
- "expiration_date_range_start": "2019-08-24",
- "expiration_date_range_end": "2019-08-24",
- "include_only_certain_membership_types": true,
- "membership_type_ids": [
- "string"
], - "include_only_certain_membership_packages": true,
- "membership_package_ids": [
- "string"
], - "include_only_certain_status_reasons": true,
- "status_reason_ids": [
- "string"
], - "new_status_reason_id": "string"
}, - "perform_auto_renewals": true,
- "auto_renewal_options": {
- "auto_renewal_success_notice_id": "string",
- "auto_renewal_failure_notice_id": "string",
- "expiration_date_range_start": "2019-08-24",
- "expiration_date_range_end": "2019-08-24",
- "include_only_certain_membership_types": true,
- "membership_type_ids": [
- "string"
], - "include_only_certain_membership_packages": true,
- "membership_package_ids": [
- "string"
], - "include_only_certain_status_reasons": true,
- "status_reason_ids": [
- "string"
], - "new_status_reason_id": "string"
}, - "generate_renewal_notices": true,
- "renewal_notice_options": {
- "renewal_notice_id": "string",
- "expiration_date_range_start": "2019-08-24",
- "expiration_date_range_end": "2019-08-24",
- "include_only_certain_membership_types": true,
- "membership_type_ids": [
- "string"
], - "include_only_certain_membership_packages": true,
- "membership_package_ids": [
- "string"
], - "include_only_certain_status_reasons": true,
- "status_reason_ids": [
- "string"
], - "new_status_reason_id": "string"
}, - "send_renewal_reminders": true,
- "renewal_reminder_options": {
- "include_only_certain_membership_types": true,
- "membership_type_ids": [
- "string"
], - "include_only_certain_membership_packages": true,
- "membership_package_ids": [
- "string"
], - "include_only_certain_status_reasons": true,
- "status_reason_ids": [
- "string"
], - "new_status_reason_id": "string",
- "reminders": [
- {
- "id": 0,
- "name": "string",
- "reminder_notice_id": "string",
- "expiration_date_range_start": "2019-08-24",
- "expiration_date_range_end": "2019-08-24"
}
]
}, - "send_auto_renewal_reminders": true,
- "auto_renewal_reminder_options": {
- "include_only_certain_membership_types": true,
- "membership_type_ids": [
- "string"
], - "include_only_certain_membership_packages": true,
- "membership_package_ids": [
- "string"
], - "include_only_certain_status_reasons": true,
- "status_reason_ids": [
- "string"
], - "new_status_reason_id": "string",
- "reminders": [
- {
- "id": 0,
- "name": "string",
- "reminder_notice_id": "string",
- "expiration_date_range_start": "2019-08-24",
- "expiration_date_range_end": "2019-08-24"
}
]
}, - "perform_drops": true,
- "drop_options": {
- "drop_notice_id": "string",
- "expire_committee_memberships": true,
- "deactivate_certifications": true,
- "expiration_date_range_start": "2019-08-24",
- "expiration_date_range_end": "2019-08-24",
- "include_only_certain_membership_types": true,
- "membership_type_ids": [
- "string"
], - "include_only_certain_membership_packages": true,
- "membership_package_ids": [
- "string"
], - "include_only_certain_status_reasons": true,
- "status_reason_ids": [
- "string"
], - "new_status_reason_id": "string"
}, - "send_expiring_credit_card_reminders": true,
- "expiring_credit_card_reminders_options": {
- "include_only_certain_membership_types": true,
- "membership_type_ids": [
- "string"
], - "include_only_certain_membership_packages": true,
- "membership_package_ids": [
- "string"
], - "include_only_certain_status_reasons": true,
- "status_reason_ids": [
- "string"
], - "new_status_reason_id": "string",
- "reminders": [
- {
- "id": 0,
- "name": "string",
- "reminder_notice_id": "string",
- "expiration_date_range_start": "2019-08-24",
- "expiration_date_range_end": "2019-08-24"
}
]
}, - "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",
- "recurring_billing_run_id": "string",
- "batch_id": "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",
- "statistics": {
- "renewal_orders": {
- "pending": 0,
- "processing": 0,
- "successful": 0,
- "error": 0,
- "excluded": 0,
- "total": 0
}, - "auto_renewals": {
- "pending": 0,
- "processing": 0,
- "successful": 0,
- "error": 0,
- "excluded": 0,
- "total": 0
}, - "renewal_notices": {
- "pending": 0,
- "processing": 0,
- "successful": 0,
- "error": 0,
- "excluded": 0,
- "total": 0
}, - "renewal_reminders": {
- "pending": 0,
- "processing": 0,
- "successful": 0,
- "error": 0,
- "excluded": 0,
- "total": 0
}, - "auto_renewal_reminders": {
- "pending": 0,
- "processing": 0,
- "successful": 0,
- "error": 0,
- "excluded": 0,
- "total": 0
}, - "drops": {
- "pending": 0,
- "processing": 0,
- "successful": 0,
- "error": 0,
- "excluded": 0,
- "total": 0
}, - "expiring_credit_card_reminders": {
- "pending": 0,
- "processing": 0,
- "successful": 0,
- "error": 0,
- "excluded": 0,
- "total": 0
}, - "all_actions": {
- "pending": 0,
- "processing": 0,
- "successful": 0,
- "error": 0,
- "excluded": 0,
- "total": 0
}
}, - "generate_renewal_orders": true,
- "renewal_order_options": {
- "pro_forma": true,
- "renewal_order_notice_id": "string",
- "expiration_date_range_start": "2019-08-24",
- "expiration_date_range_end": "2019-08-24",
- "include_only_certain_membership_types": true,
- "membership_type_ids": [
- "string"
], - "include_only_certain_membership_packages": true,
- "membership_package_ids": [
- "string"
], - "include_only_certain_status_reasons": true,
- "status_reason_ids": [
- "string"
], - "new_status_reason_id": "string"
}, - "perform_auto_renewals": true,
- "auto_renewal_options": {
- "auto_renewal_success_notice_id": "string",
- "auto_renewal_failure_notice_id": "string",
- "expiration_date_range_start": "2019-08-24",
- "expiration_date_range_end": "2019-08-24",
- "include_only_certain_membership_types": true,
- "membership_type_ids": [
- "string"
], - "include_only_certain_membership_packages": true,
- "membership_package_ids": [
- "string"
], - "include_only_certain_status_reasons": true,
- "status_reason_ids": [
- "string"
], - "new_status_reason_id": "string"
}, - "generate_renewal_notices": true,
- "renewal_notice_options": {
- "renewal_notice_id": "string",
- "expiration_date_range_start": "2019-08-24",
- "expiration_date_range_end": "2019-08-24",
- "include_only_certain_membership_types": true,
- "membership_type_ids": [
- "string"
], - "include_only_certain_membership_packages": true,
- "membership_package_ids": [
- "string"
], - "include_only_certain_status_reasons": true,
- "status_reason_ids": [
- "string"
], - "new_status_reason_id": "string"
}, - "send_renewal_reminders": true,
- "renewal_reminder_options": {
- "include_only_certain_membership_types": true,
- "membership_type_ids": [
- "string"
], - "include_only_certain_membership_packages": true,
- "membership_package_ids": [
- "string"
], - "include_only_certain_status_reasons": true,
- "status_reason_ids": [
- "string"
], - "new_status_reason_id": "string",
- "reminders": [
- {
- "id": 0,
- "name": "string",
- "reminder_notice_id": "string",
- "expiration_date_range_start": "2019-08-24",
- "expiration_date_range_end": "2019-08-24"
}
]
}, - "send_auto_renewal_reminders": true,
- "auto_renewal_reminder_options": {
- "include_only_certain_membership_types": true,
- "membership_type_ids": [
- "string"
], - "include_only_certain_membership_packages": true,
- "membership_package_ids": [
- "string"
], - "include_only_certain_status_reasons": true,
- "status_reason_ids": [
- "string"
], - "new_status_reason_id": "string",
- "reminders": [
- {
- "id": 0,
- "name": "string",
- "reminder_notice_id": "string",
- "expiration_date_range_start": "2019-08-24",
- "expiration_date_range_end": "2019-08-24"
}
]
}, - "perform_drops": true,
- "drop_options": {
- "drop_notice_id": "string",
- "expire_committee_memberships": true,
- "deactivate_certifications": true,
- "expiration_date_range_start": "2019-08-24",
- "expiration_date_range_end": "2019-08-24",
- "include_only_certain_membership_types": true,
- "membership_type_ids": [
- "string"
], - "include_only_certain_membership_packages": true,
- "membership_package_ids": [
- "string"
], - "include_only_certain_status_reasons": true,
- "status_reason_ids": [
- "string"
], - "new_status_reason_id": "string"
}, - "send_expiring_credit_card_reminders": true,
- "expiring_credit_card_reminders_options": {
- "include_only_certain_membership_types": true,
- "membership_type_ids": [
- "string"
], - "include_only_certain_membership_packages": true,
- "membership_package_ids": [
- "string"
], - "include_only_certain_status_reasons": true,
- "status_reason_ids": [
- "string"
], - "new_status_reason_id": "string",
- "reminders": [
- {
- "id": 0,
- "name": "string",
- "reminder_notice_id": "string",
- "expiration_date_range_start": "2019-08-24",
- "expiration_date_range_end": "2019-08-24"
}
]
}, - "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",
- "recurring_billing_run_id": "string",
- "batch_id": "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",
- "statistics": {
- "renewal_orders": {
- "pending": 0,
- "processing": 0,
- "successful": 0,
- "error": 0,
- "excluded": 0,
- "total": 0
}, - "auto_renewals": {
- "pending": 0,
- "processing": 0,
- "successful": 0,
- "error": 0,
- "excluded": 0,
- "total": 0
}, - "renewal_notices": {
- "pending": 0,
- "processing": 0,
- "successful": 0,
- "error": 0,
- "excluded": 0,
- "total": 0
}, - "renewal_reminders": {
- "pending": 0,
- "processing": 0,
- "successful": 0,
- "error": 0,
- "excluded": 0,
- "total": 0
}, - "auto_renewal_reminders": {
- "pending": 0,
- "processing": 0,
- "successful": 0,
- "error": 0,
- "excluded": 0,
- "total": 0
}, - "drops": {
- "pending": 0,
- "processing": 0,
- "successful": 0,
- "error": 0,
- "excluded": 0,
- "total": 0
}, - "expiring_credit_card_reminders": {
- "pending": 0,
- "processing": 0,
- "successful": 0,
- "error": 0,
- "excluded": 0,
- "total": 0
}, - "all_actions": {
- "pending": 0,
- "processing": 0,
- "successful": 0,
- "error": 0,
- "excluded": 0,
- "total": 0
}
}, - "generate_renewal_orders": true,
- "renewal_order_options": {
- "pro_forma": true,
- "renewal_order_notice_id": "string",
- "expiration_date_range_start": "2019-08-24",
- "expiration_date_range_end": "2019-08-24",
- "include_only_certain_membership_types": true,
- "membership_type_ids": [
- "string"
], - "include_only_certain_membership_packages": true,
- "membership_package_ids": [
- "string"
], - "include_only_certain_status_reasons": true,
- "status_reason_ids": [
- "string"
], - "new_status_reason_id": "string"
}, - "perform_auto_renewals": true,
- "auto_renewal_options": {
- "auto_renewal_success_notice_id": "string",
- "auto_renewal_failure_notice_id": "string",
- "expiration_date_range_start": "2019-08-24",
- "expiration_date_range_end": "2019-08-24",
- "include_only_certain_membership_types": true,
- "membership_type_ids": [
- "string"
], - "include_only_certain_membership_packages": true,
- "membership_package_ids": [
- "string"
], - "include_only_certain_status_reasons": true,
- "status_reason_ids": [
- "string"
], - "new_status_reason_id": "string"
}, - "generate_renewal_notices": true,
- "renewal_notice_options": {
- "renewal_notice_id": "string",
- "expiration_date_range_start": "2019-08-24",
- "expiration_date_range_end": "2019-08-24",
- "include_only_certain_membership_types": true,
- "membership_type_ids": [
- "string"
], - "include_only_certain_membership_packages": true,
- "membership_package_ids": [
- "string"
], - "include_only_certain_status_reasons": true,
- "status_reason_ids": [
- "string"
], - "new_status_reason_id": "string"
}, - "send_renewal_reminders": true,
- "renewal_reminder_options": {
- "include_only_certain_membership_types": true,
- "membership_type_ids": [
- "string"
], - "include_only_certain_membership_packages": true,
- "membership_package_ids": [
- "string"
], - "include_only_certain_status_reasons": true,
- "status_reason_ids": [
- "string"
], - "new_status_reason_id": "string",
- "reminders": [
- {
- "id": 0,
- "name": "string",
- "reminder_notice_id": "string",
- "expiration_date_range_start": "2019-08-24",
- "expiration_date_range_end": "2019-08-24"
}
]
}, - "send_auto_renewal_reminders": true,
- "auto_renewal_reminder_options": {
- "include_only_certain_membership_types": true,
- "membership_type_ids": [
- "string"
], - "include_only_certain_membership_packages": true,
- "membership_package_ids": [
- "string"
], - "include_only_certain_status_reasons": true,
- "status_reason_ids": [
- "string"
], - "new_status_reason_id": "string",
- "reminders": [
- {
- "id": 0,
- "name": "string",
- "reminder_notice_id": "string",
- "expiration_date_range_start": "2019-08-24",
- "expiration_date_range_end": "2019-08-24"
}
]
}, - "perform_drops": true,
- "drop_options": {
- "drop_notice_id": "string",
- "expire_committee_memberships": true,
- "deactivate_certifications": true,
- "expiration_date_range_start": "2019-08-24",
- "expiration_date_range_end": "2019-08-24",
- "include_only_certain_membership_types": true,
- "membership_type_ids": [
- "string"
], - "include_only_certain_membership_packages": true,
- "membership_package_ids": [
- "string"
], - "include_only_certain_status_reasons": true,
- "status_reason_ids": [
- "string"
], - "new_status_reason_id": "string"
}, - "send_expiring_credit_card_reminders": true,
- "expiring_credit_card_reminders_options": {
- "include_only_certain_membership_types": true,
- "membership_type_ids": [
- "string"
], - "include_only_certain_membership_packages": true,
- "membership_package_ids": [
- "string"
], - "include_only_certain_status_reasons": true,
- "status_reason_ids": [
- "string"
], - "new_status_reason_id": "string",
- "reminders": [
- {
- "id": 0,
- "name": "string",
- "reminder_notice_id": "string",
- "expiration_date_range_start": "2019-08-24",
- "expiration_date_range_end": "2019-08-24"
}
]
}, - "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",
- "recurring_billing_run_id": "string",
- "batch_id": "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",
- "statistics": {
- "renewal_orders": {
- "pending": 0,
- "processing": 0,
- "successful": 0,
- "error": 0,
- "excluded": 0,
- "total": 0
}, - "auto_renewals": {
- "pending": 0,
- "processing": 0,
- "successful": 0,
- "error": 0,
- "excluded": 0,
- "total": 0
}, - "renewal_notices": {
- "pending": 0,
- "processing": 0,
- "successful": 0,
- "error": 0,
- "excluded": 0,
- "total": 0
}, - "renewal_reminders": {
- "pending": 0,
- "processing": 0,
- "successful": 0,
- "error": 0,
- "excluded": 0,
- "total": 0
}, - "auto_renewal_reminders": {
- "pending": 0,
- "processing": 0,
- "successful": 0,
- "error": 0,
- "excluded": 0,
- "total": 0
}, - "drops": {
- "pending": 0,
- "processing": 0,
- "successful": 0,
- "error": 0,
- "excluded": 0,
- "total": 0
}, - "expiring_credit_card_reminders": {
- "pending": 0,
- "processing": 0,
- "successful": 0,
- "error": 0,
- "excluded": 0,
- "total": 0
}, - "all_actions": {
- "pending": 0,
- "processing": 0,
- "successful": 0,
- "error": 0,
- "excluded": 0,
- "total": 0
}
}, - "generate_renewal_orders": true,
- "renewal_order_options": {
- "pro_forma": true,
- "renewal_order_notice_id": "string",
- "expiration_date_range_start": "2019-08-24",
- "expiration_date_range_end": "2019-08-24",
- "include_only_certain_membership_types": true,
- "membership_type_ids": [
- "string"
], - "include_only_certain_membership_packages": true,
- "membership_package_ids": [
- "string"
], - "include_only_certain_status_reasons": true,
- "status_reason_ids": [
- "string"
], - "new_status_reason_id": "string"
}, - "perform_auto_renewals": true,
- "auto_renewal_options": {
- "auto_renewal_success_notice_id": "string",
- "auto_renewal_failure_notice_id": "string",
- "expiration_date_range_start": "2019-08-24",
- "expiration_date_range_end": "2019-08-24",
- "include_only_certain_membership_types": true,
- "membership_type_ids": [
- "string"
], - "include_only_certain_membership_packages": true,
- "membership_package_ids": [
- "string"
], - "include_only_certain_status_reasons": true,
- "status_reason_ids": [
- "string"
], - "new_status_reason_id": "string"
}, - "generate_renewal_notices": true,
- "renewal_notice_options": {
- "renewal_notice_id": "string",
- "expiration_date_range_start": "2019-08-24",
- "expiration_date_range_end": "2019-08-24",
- "include_only_certain_membership_types": true,
- "membership_type_ids": [
- "string"
], - "include_only_certain_membership_packages": true,
- "membership_package_ids": [
- "string"
], - "include_only_certain_status_reasons": true,
- "status_reason_ids": [
- "string"
], - "new_status_reason_id": "string"
}, - "send_renewal_reminders": true,
- "renewal_reminder_options": {
- "include_only_certain_membership_types": true,
- "membership_type_ids": [
- "string"
], - "include_only_certain_membership_packages": true,
- "membership_package_ids": [
- "string"
], - "include_only_certain_status_reasons": true,
- "status_reason_ids": [
- "string"
], - "new_status_reason_id": "string",
- "reminders": [
- {
- "id": 0,
- "name": "string",
- "reminder_notice_id": "string",
- "expiration_date_range_start": "2019-08-24",
- "expiration_date_range_end": "2019-08-24"
}
]
}, - "send_auto_renewal_reminders": true,
- "auto_renewal_reminder_options": {
- "include_only_certain_membership_types": true,
- "membership_type_ids": [
- "string"
], - "include_only_certain_membership_packages": true,
- "membership_package_ids": [
- "string"
], - "include_only_certain_status_reasons": true,
- "status_reason_ids": [
- "string"
], - "new_status_reason_id": "string",
- "reminders": [
- {
- "id": 0,
- "name": "string",
- "reminder_notice_id": "string",
- "expiration_date_range_start": "2019-08-24",
- "expiration_date_range_end": "2019-08-24"
}
]
}, - "perform_drops": true,
- "drop_options": {
- "drop_notice_id": "string",
- "expire_committee_memberships": true,
- "deactivate_certifications": true,
- "expiration_date_range_start": "2019-08-24",
- "expiration_date_range_end": "2019-08-24",
- "include_only_certain_membership_types": true,
- "membership_type_ids": [
- "string"
], - "include_only_certain_membership_packages": true,
- "membership_package_ids": [
- "string"
], - "include_only_certain_status_reasons": true,
- "status_reason_ids": [
- "string"
], - "new_status_reason_id": "string"
}, - "send_expiring_credit_card_reminders": true,
- "expiring_credit_card_reminders_options": {
- "include_only_certain_membership_types": true,
- "membership_type_ids": [
- "string"
], - "include_only_certain_membership_packages": true,
- "membership_package_ids": [
- "string"
], - "include_only_certain_status_reasons": true,
- "status_reason_ids": [
- "string"
], - "new_status_reason_id": "string",
- "reminders": [
- {
- "id": 0,
- "name": "string",
- "reminder_notice_id": "string",
- "expiration_date_range_start": "2019-08-24",
- "expiration_date_range_end": "2019-08-24"
}
]
}, - "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://membership.api.756794052567.rhythmsoftware.com/billingRuns/:tenantId/:id \ -H 'Authorization: YOUR_API_KEY_HERE'
"string"
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"
], - "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
]
}
{- "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"
}
curl -i -X GET \ https://membership.api.756794052567.rhythmsoftware.com/billingRuns/:tenantId/fromTemplate/:templateId/:referenceDate \ -H 'Authorization: YOUR_API_KEY_HERE'
{- "id": "string",
- "name": "string",
- "status": "draft",
- "notification_email": "string",
- "error": "string",
- "error_stack": "string",
- "recurring_billing_run_id": "string",
- "batch_id": "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",
- "statistics": {
- "renewal_orders": {
- "pending": 0,
- "processing": 0,
- "successful": 0,
- "error": 0,
- "excluded": 0,
- "total": 0
}, - "auto_renewals": {
- "pending": 0,
- "processing": 0,
- "successful": 0,
- "error": 0,
- "excluded": 0,
- "total": 0
}, - "renewal_notices": {
- "pending": 0,
- "processing": 0,
- "successful": 0,
- "error": 0,
- "excluded": 0,
- "total": 0
}, - "renewal_reminders": {
- "pending": 0,
- "processing": 0,
- "successful": 0,
- "error": 0,
- "excluded": 0,
- "total": 0
}, - "auto_renewal_reminders": {
- "pending": 0,
- "processing": 0,
- "successful": 0,
- "error": 0,
- "excluded": 0,
- "total": 0
}, - "drops": {
- "pending": 0,
- "processing": 0,
- "successful": 0,
- "error": 0,
- "excluded": 0,
- "total": 0
}, - "expiring_credit_card_reminders": {
- "pending": 0,
- "processing": 0,
- "successful": 0,
- "error": 0,
- "excluded": 0,
- "total": 0
}, - "all_actions": {
- "pending": 0,
- "processing": 0,
- "successful": 0,
- "error": 0,
- "excluded": 0,
- "total": 0
}
}, - "generate_renewal_orders": true,
- "renewal_order_options": {
- "pro_forma": true,
- "renewal_order_notice_id": "string",
- "expiration_date_range_start": "2019-08-24",
- "expiration_date_range_end": "2019-08-24",
- "include_only_certain_membership_types": true,
- "membership_type_ids": [
- "string"
], - "include_only_certain_membership_packages": true,
- "membership_package_ids": [
- "string"
], - "include_only_certain_status_reasons": true,
- "status_reason_ids": [
- "string"
], - "new_status_reason_id": "string"
}, - "perform_auto_renewals": true,
- "auto_renewal_options": {
- "auto_renewal_success_notice_id": "string",
- "auto_renewal_failure_notice_id": "string",
- "expiration_date_range_start": "2019-08-24",
- "expiration_date_range_end": "2019-08-24",
- "include_only_certain_membership_types": true,
- "membership_type_ids": [
- "string"
], - "include_only_certain_membership_packages": true,
- "membership_package_ids": [
- "string"
], - "include_only_certain_status_reasons": true,
- "status_reason_ids": [
- "string"
], - "new_status_reason_id": "string"
}, - "generate_renewal_notices": true,
- "renewal_notice_options": {
- "renewal_notice_id": "string",
- "expiration_date_range_start": "2019-08-24",
- "expiration_date_range_end": "2019-08-24",
- "include_only_certain_membership_types": true,
- "membership_type_ids": [
- "string"
], - "include_only_certain_membership_packages": true,
- "membership_package_ids": [
- "string"
], - "include_only_certain_status_reasons": true,
- "status_reason_ids": [
- "string"
], - "new_status_reason_id": "string"
}, - "send_renewal_reminders": true,
- "renewal_reminder_options": {
- "include_only_certain_membership_types": true,
- "membership_type_ids": [
- "string"
], - "include_only_certain_membership_packages": true,
- "membership_package_ids": [
- "string"
], - "include_only_certain_status_reasons": true,
- "status_reason_ids": [
- "string"
], - "new_status_reason_id": "string",
- "reminders": [
- {
- "id": 0,
- "name": "string",
- "reminder_notice_id": "string",
- "expiration_date_range_start": "2019-08-24",
- "expiration_date_range_end": "2019-08-24"
}
]
}, - "send_auto_renewal_reminders": true,
- "auto_renewal_reminder_options": {
- "include_only_certain_membership_types": true,
- "membership_type_ids": [
- "string"
], - "include_only_certain_membership_packages": true,
- "membership_package_ids": [
- "string"
], - "include_only_certain_status_reasons": true,
- "status_reason_ids": [
- "string"
], - "new_status_reason_id": "string",
- "reminders": [
- {
- "id": 0,
- "name": "string",
- "reminder_notice_id": "string",
- "expiration_date_range_start": "2019-08-24",
- "expiration_date_range_end": "2019-08-24"
}
]
}, - "perform_drops": true,
- "drop_options": {
- "drop_notice_id": "string",
- "expire_committee_memberships": true,
- "deactivate_certifications": true,
- "expiration_date_range_start": "2019-08-24",
- "expiration_date_range_end": "2019-08-24",
- "include_only_certain_membership_types": true,
- "membership_type_ids": [
- "string"
], - "include_only_certain_membership_packages": true,
- "membership_package_ids": [
- "string"
], - "include_only_certain_status_reasons": true,
- "status_reason_ids": [
- "string"
], - "new_status_reason_id": "string"
}, - "send_expiring_credit_card_reminders": true,
- "expiring_credit_card_reminders_options": {
- "include_only_certain_membership_types": true,
- "membership_type_ids": [
- "string"
], - "include_only_certain_membership_packages": true,
- "membership_package_ids": [
- "string"
], - "include_only_certain_status_reasons": true,
- "status_reason_ids": [
- "string"
], - "new_status_reason_id": "string",
- "reminders": [
- {
- "id": 0,
- "name": "string",
- "reminder_notice_id": "string",
- "expiration_date_range_start": "2019-08-24",
- "expiration_date_range_end": "2019-08-24"
}
]
}, - "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"
}
]
}
curl -i -X POST \ https://membership.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"
}
Returns a list of records with the specified recurring_billing_run_id
curl -i -X GET \ 'https://membership.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",
- "recurring_billing_run_id": "string",
- "batch_id": "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",
- "statistics": {
- "renewal_orders": {
- "pending": 0,
- "processing": 0,
- "successful": 0,
- "error": 0,
- "excluded": 0,
- "total": 0
}, - "auto_renewals": {
- "pending": 0,
- "processing": 0,
- "successful": 0,
- "error": 0,
- "excluded": 0,
- "total": 0
}, - "renewal_notices": {
- "pending": 0,
- "processing": 0,
- "successful": 0,
- "error": 0,
- "excluded": 0,
- "total": 0
}, - "renewal_reminders": {
- "pending": 0,
- "processing": 0,
- "successful": 0,
- "error": 0,
- "excluded": 0,
- "total": 0
}, - "auto_renewal_reminders": {
- "pending": 0,
- "processing": 0,
- "successful": 0,
- "error": 0,
- "excluded": 0,
- "total": 0
}, - "drops": {
- "pending": 0,
- "processing": 0,
- "successful": 0,
- "error": 0,
- "excluded": 0,
- "total": 0
}, - "expiring_credit_card_reminders": {
- "pending": 0,
- "processing": 0,
- "successful": 0,
- "error": 0,
- "excluded": 0,
- "total": 0
}, - "all_actions": {
- "pending": 0,
- "processing": 0,
- "successful": 0,
- "error": 0,
- "excluded": 0,
- "total": 0
}
}, - "generate_renewal_orders": true,
- "renewal_order_options": {
- "pro_forma": true,
- "renewal_order_notice_id": "string",
- "expiration_date_range_start": "2019-08-24",
- "expiration_date_range_end": "2019-08-24",
- "include_only_certain_membership_types": true,
- "membership_type_ids": [
- "string"
], - "include_only_certain_membership_packages": true,
- "membership_package_ids": [
- "string"
], - "include_only_certain_status_reasons": true,
- "status_reason_ids": [
- "string"
], - "new_status_reason_id": "string"
}, - "perform_auto_renewals": true,
- "auto_renewal_options": {
- "auto_renewal_success_notice_id": "string",
- "auto_renewal_failure_notice_id": "string",
- "expiration_date_range_start": "2019-08-24",
- "expiration_date_range_end": "2019-08-24",
- "include_only_certain_membership_types": true,
- "membership_type_ids": [
- "string"
], - "include_only_certain_membership_packages": true,
- "membership_package_ids": [
- "string"
], - "include_only_certain_status_reasons": true,
- "status_reason_ids": [
- "string"
], - "new_status_reason_id": "string"
}, - "generate_renewal_notices": true,
- "renewal_notice_options": {
- "renewal_notice_id": "string",
- "expiration_date_range_start": "2019-08-24",
- "expiration_date_range_end": "2019-08-24",
- "include_only_certain_membership_types": true,
- "membership_type_ids": [
- "string"
], - "include_only_certain_membership_packages": true,
- "membership_package_ids": [
- "string"
], - "include_only_certain_status_reasons": true,
- "status_reason_ids": [
- "string"
], - "new_status_reason_id": "string"
}, - "send_renewal_reminders": true,
- "renewal_reminder_options": {
- "include_only_certain_membership_types": true,
- "membership_type_ids": [
- "string"
], - "include_only_certain_membership_packages": true,
- "membership_package_ids": [
- "string"
], - "include_only_certain_status_reasons": true,
- "status_reason_ids": [
- "string"
], - "new_status_reason_id": "string",
- "reminders": [
- {
- "id": 0,
- "name": "string",
- "reminder_notice_id": "string",
- "expiration_date_range_start": "2019-08-24",
- "expiration_date_range_end": "2019-08-24"
}
]
}, - "send_auto_renewal_reminders": true,
- "auto_renewal_reminder_options": {
- "include_only_certain_membership_types": true,
- "membership_type_ids": [
- "string"
], - "include_only_certain_membership_packages": true,
- "membership_package_ids": [
- "string"
], - "include_only_certain_status_reasons": true,
- "status_reason_ids": [
- "string"
], - "new_status_reason_id": "string",
- "reminders": [
- {
- "id": 0,
- "name": "string",
- "reminder_notice_id": "string",
- "expiration_date_range_start": "2019-08-24",
- "expiration_date_range_end": "2019-08-24"
}
]
}, - "perform_drops": true,
- "drop_options": {
- "drop_notice_id": "string",
- "expire_committee_memberships": true,
- "deactivate_certifications": true,
- "expiration_date_range_start": "2019-08-24",
- "expiration_date_range_end": "2019-08-24",
- "include_only_certain_membership_types": true,
- "membership_type_ids": [
- "string"
], - "include_only_certain_membership_packages": true,
- "membership_package_ids": [
- "string"
], - "include_only_certain_status_reasons": true,
- "status_reason_ids": [
- "string"
], - "new_status_reason_id": "string"
}, - "send_expiring_credit_card_reminders": true,
- "expiring_credit_card_reminders_options": {
- "include_only_certain_membership_types": true,
- "membership_type_ids": [
- "string"
], - "include_only_certain_membership_packages": true,
- "membership_package_ids": [
- "string"
], - "include_only_certain_status_reasons": true,
- "status_reason_ids": [
- "string"
], - "new_status_reason_id": "string",
- "reminders": [
- {
- "id": 0,
- "name": "string",
- "reminder_notice_id": "string",
- "expiration_date_range_start": "2019-08-24",
- "expiration_date_range_end": "2019-08-24"
}
]
}, - "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": { }
}
]
}