This method will auto-generate an ID and create a new billing template. If an ID is specified for the billing template, an error will be thrown.
The billing template that you would like to be saved.
{- "id": "string",
- "name": "string",
- "notification_email": "string",
- "description": "string",
- "send_fundraising_notices": true,
- "fundraising_notice_options": {
- "program_restriction": "none",
- "program_ids": [
- "string"
], - "school_restriction": "none",
- "school_ids": [
- "string"
], - "phase_restriction": "none",
- "phase_ids": [
- "string"
], - "expiration_date_range_start": {
- "position": "before",
- "number": 0,
- "unit_of_time": "days",
- "relative_to": "the reference date"
}, - "expiration_date_range_end": {
- "position": "before",
- "number": 0,
- "unit_of_time": "days",
- "relative_to": "the reference date"
}, - "notice_id": "string"
}, - "send_team_notices": true,
- "team_notice_options": {
- "program_restriction": "none",
- "program_ids": [
- "string"
], - "school_restriction": "none",
- "school_ids": [
- "string"
], - "phase_restriction": "none",
- "phase_ids": [
- "string"
], - "visit_start_date_range_start": {
- "position": "before",
- "number": 0,
- "unit_of_time": "days",
- "relative_to": "the reference date"
}, - "visit_start_date_range_end": {
- "position": "before",
- "number": 0,
- "unit_of_time": "days",
- "relative_to": "the reference date"
}, - "visit_type_restriction": "none",
- "visit_type_ids": [
- "string"
], - "team_notice_id": "string"
}, - "advance_phases": true,
- "phase_advancement_options": {
- "program_restriction": "none",
- "program_ids": [
- "string"
], - "school_restriction": "none",
- "school_ids": [
- "string"
], - "phase_restriction": "none",
- "phase_ids": [
- "string"
], - "expiration_date_range_start": {
- "position": "before",
- "number": 0,
- "unit_of_time": "days",
- "relative_to": "the reference date"
}, - "expiration_date_range_end": {
- "position": "before",
- "number": 0,
- "unit_of_time": "days",
- "relative_to": "the reference date"
}, - "notice_id": "string"
}, - "is_active": true,
- "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_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",
- "notification_email": "string",
- "description": "string",
- "send_fundraising_notices": true,
- "fundraising_notice_options": {
- "program_restriction": "none",
- "program_ids": [
- "string"
], - "school_restriction": "none",
- "school_ids": [
- "string"
], - "phase_restriction": "none",
- "phase_ids": [
- "string"
], - "expiration_date_range_start": {
- "position": "before",
- "number": 0,
- "unit_of_time": "days",
- "relative_to": "the reference date"
}, - "expiration_date_range_end": {
- "position": "before",
- "number": 0,
- "unit_of_time": "days",
- "relative_to": "the reference date"
}, - "notice_id": "string"
}, - "send_team_notices": true,
- "team_notice_options": {
- "program_restriction": "none",
- "program_ids": [
- "string"
], - "school_restriction": "none",
- "school_ids": [
- "string"
], - "phase_restriction": "none",
- "phase_ids": [
- "string"
], - "visit_start_date_range_start": {
- "position": "before",
- "number": 0,
- "unit_of_time": "days",
- "relative_to": "the reference date"
}, - "visit_start_date_range_end": {
- "position": "before",
- "number": 0,
- "unit_of_time": "days",
- "relative_to": "the reference date"
}, - "visit_type_restriction": "none",
- "visit_type_ids": [
- "string"
], - "team_notice_id": "string"
}, - "advance_phases": true,
- "phase_advancement_options": {
- "program_restriction": "none",
- "program_ids": [
- "string"
], - "school_restriction": "none",
- "school_ids": [
- "string"
], - "phase_restriction": "none",
- "phase_ids": [
- "string"
], - "expiration_date_range_start": {
- "position": "before",
- "number": 0,
- "unit_of_time": "days",
- "relative_to": "the reference date"
}, - "expiration_date_range_end": {
- "position": "before",
- "number": 0,
- "unit_of_time": "days",
- "relative_to": "the reference date"
}, - "notice_id": "string"
}, - "is_active": true,
- "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_directive": "string",
- "sys_calculated_field_error": "string",
- "sys_snapshot_base_version": 0,
- "sys_has_files_in_s3": true,
- "sys_configuration_snapshot_id": "string",
- "sys_last_security_context": { },
- "sys_calculated_field_errors": [
- {
- "field": "string",
- "error": "string"
}
]
}
This method will scan all billing templates and and return them to the caller.
curl -i -X GET \ 'https://fundraising.api.756794052567.rhythmsoftware.com/billingTemplates/:tenantId?fields=string&exclusiveStartKey=string' \ -H 'Authorization: YOUR_API_KEY_HERE'
[- {
- "id": "string",
- "name": "string",
- "notification_email": "string",
- "description": "string",
- "send_fundraising_notices": true,
- "fundraising_notice_options": {
- "program_restriction": "none",
- "program_ids": [
- "string"
], - "school_restriction": "none",
- "school_ids": [
- "string"
], - "phase_restriction": "none",
- "phase_ids": [
- "string"
], - "expiration_date_range_start": {
- "position": "before",
- "number": 0,
- "unit_of_time": "days",
- "relative_to": "the reference date"
}, - "expiration_date_range_end": {
- "position": "before",
- "number": 0,
- "unit_of_time": "days",
- "relative_to": "the reference date"
}, - "notice_id": "string"
}, - "send_team_notices": true,
- "team_notice_options": {
- "program_restriction": "none",
- "program_ids": [
- "string"
], - "school_restriction": "none",
- "school_ids": [
- "string"
], - "phase_restriction": "none",
- "phase_ids": [
- "string"
], - "visit_start_date_range_start": {
- "position": "before",
- "number": 0,
- "unit_of_time": "days",
- "relative_to": "the reference date"
}, - "visit_start_date_range_end": {
- "position": "before",
- "number": 0,
- "unit_of_time": "days",
- "relative_to": "the reference date"
}, - "visit_type_restriction": "none",
- "visit_type_ids": [
- "string"
], - "team_notice_id": "string"
}, - "advance_phases": true,
- "phase_advancement_options": {
- "program_restriction": "none",
- "program_ids": [
- "string"
], - "school_restriction": "none",
- "school_ids": [
- "string"
], - "phase_restriction": "none",
- "phase_ids": [
- "string"
], - "expiration_date_range_start": {
- "position": "before",
- "number": 0,
- "unit_of_time": "days",
- "relative_to": "the reference date"
}, - "expiration_date_range_end": {
- "position": "before",
- "number": 0,
- "unit_of_time": "days",
- "relative_to": "the reference date"
}, - "notice_id": "string"
}, - "is_active": true,
- "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_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 template by the specified ID and return it back.
curl -i -X GET \ 'https://fundraising.api.756794052567.rhythmsoftware.com/billingTemplates/:tenantId/:id?fields=string&consistentRead=string' \ -H 'Authorization: YOUR_API_KEY_HERE'
{- "id": "string",
- "name": "string",
- "notification_email": "string",
- "description": "string",
- "send_fundraising_notices": true,
- "fundraising_notice_options": {
- "program_restriction": "none",
- "program_ids": [
- "string"
], - "school_restriction": "none",
- "school_ids": [
- "string"
], - "phase_restriction": "none",
- "phase_ids": [
- "string"
], - "expiration_date_range_start": {
- "position": "before",
- "number": 0,
- "unit_of_time": "days",
- "relative_to": "the reference date"
}, - "expiration_date_range_end": {
- "position": "before",
- "number": 0,
- "unit_of_time": "days",
- "relative_to": "the reference date"
}, - "notice_id": "string"
}, - "send_team_notices": true,
- "team_notice_options": {
- "program_restriction": "none",
- "program_ids": [
- "string"
], - "school_restriction": "none",
- "school_ids": [
- "string"
], - "phase_restriction": "none",
- "phase_ids": [
- "string"
], - "visit_start_date_range_start": {
- "position": "before",
- "number": 0,
- "unit_of_time": "days",
- "relative_to": "the reference date"
}, - "visit_start_date_range_end": {
- "position": "before",
- "number": 0,
- "unit_of_time": "days",
- "relative_to": "the reference date"
}, - "visit_type_restriction": "none",
- "visit_type_ids": [
- "string"
], - "team_notice_id": "string"
}, - "advance_phases": true,
- "phase_advancement_options": {
- "program_restriction": "none",
- "program_ids": [
- "string"
], - "school_restriction": "none",
- "school_ids": [
- "string"
], - "phase_restriction": "none",
- "phase_ids": [
- "string"
], - "expiration_date_range_start": {
- "position": "before",
- "number": 0,
- "unit_of_time": "days",
- "relative_to": "the reference date"
}, - "expiration_date_range_end": {
- "position": "before",
- "number": 0,
- "unit_of_time": "days",
- "relative_to": "the reference date"
}, - "notice_id": "string"
}, - "is_active": true,
- "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_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 template with the specified ID.
The updated billing template that will be saved.
{- "id": "string",
- "name": "string",
- "notification_email": "string",
- "description": "string",
- "send_fundraising_notices": true,
- "fundraising_notice_options": {
- "program_restriction": "none",
- "program_ids": [
- "string"
], - "school_restriction": "none",
- "school_ids": [
- "string"
], - "phase_restriction": "none",
- "phase_ids": [
- "string"
], - "expiration_date_range_start": {
- "position": "before",
- "number": 0,
- "unit_of_time": "days",
- "relative_to": "the reference date"
}, - "expiration_date_range_end": {
- "position": "before",
- "number": 0,
- "unit_of_time": "days",
- "relative_to": "the reference date"
}, - "notice_id": "string"
}, - "send_team_notices": true,
- "team_notice_options": {
- "program_restriction": "none",
- "program_ids": [
- "string"
], - "school_restriction": "none",
- "school_ids": [
- "string"
], - "phase_restriction": "none",
- "phase_ids": [
- "string"
], - "visit_start_date_range_start": {
- "position": "before",
- "number": 0,
- "unit_of_time": "days",
- "relative_to": "the reference date"
}, - "visit_start_date_range_end": {
- "position": "before",
- "number": 0,
- "unit_of_time": "days",
- "relative_to": "the reference date"
}, - "visit_type_restriction": "none",
- "visit_type_ids": [
- "string"
], - "team_notice_id": "string"
}, - "advance_phases": true,
- "phase_advancement_options": {
- "program_restriction": "none",
- "program_ids": [
- "string"
], - "school_restriction": "none",
- "school_ids": [
- "string"
], - "phase_restriction": "none",
- "phase_ids": [
- "string"
], - "expiration_date_range_start": {
- "position": "before",
- "number": 0,
- "unit_of_time": "days",
- "relative_to": "the reference date"
}, - "expiration_date_range_end": {
- "position": "before",
- "number": 0,
- "unit_of_time": "days",
- "relative_to": "the reference date"
}, - "notice_id": "string"
}, - "is_active": true,
- "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_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",
- "notification_email": "string",
- "description": "string",
- "send_fundraising_notices": true,
- "fundraising_notice_options": {
- "program_restriction": "none",
- "program_ids": [
- "string"
], - "school_restriction": "none",
- "school_ids": [
- "string"
], - "phase_restriction": "none",
- "phase_ids": [
- "string"
], - "expiration_date_range_start": {
- "position": "before",
- "number": 0,
- "unit_of_time": "days",
- "relative_to": "the reference date"
}, - "expiration_date_range_end": {
- "position": "before",
- "number": 0,
- "unit_of_time": "days",
- "relative_to": "the reference date"
}, - "notice_id": "string"
}, - "send_team_notices": true,
- "team_notice_options": {
- "program_restriction": "none",
- "program_ids": [
- "string"
], - "school_restriction": "none",
- "school_ids": [
- "string"
], - "phase_restriction": "none",
- "phase_ids": [
- "string"
], - "visit_start_date_range_start": {
- "position": "before",
- "number": 0,
- "unit_of_time": "days",
- "relative_to": "the reference date"
}, - "visit_start_date_range_end": {
- "position": "before",
- "number": 0,
- "unit_of_time": "days",
- "relative_to": "the reference date"
}, - "visit_type_restriction": "none",
- "visit_type_ids": [
- "string"
], - "team_notice_id": "string"
}, - "advance_phases": true,
- "phase_advancement_options": {
- "program_restriction": "none",
- "program_ids": [
- "string"
], - "school_restriction": "none",
- "school_ids": [
- "string"
], - "phase_restriction": "none",
- "phase_ids": [
- "string"
], - "expiration_date_range_start": {
- "position": "before",
- "number": 0,
- "unit_of_time": "days",
- "relative_to": "the reference date"
}, - "expiration_date_range_end": {
- "position": "before",
- "number": 0,
- "unit_of_time": "days",
- "relative_to": "the reference date"
}, - "notice_id": "string"
}, - "is_active": true,
- "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_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 template 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",
- "notification_email": "string",
- "description": "string",
- "send_fundraising_notices": true,
- "fundraising_notice_options": {
- "program_restriction": "none",
- "program_ids": [
- "string"
], - "school_restriction": "none",
- "school_ids": [
- "string"
], - "phase_restriction": "none",
- "phase_ids": [
- "string"
], - "expiration_date_range_start": {
- "position": "before",
- "number": 0,
- "unit_of_time": "days",
- "relative_to": "the reference date"
}, - "expiration_date_range_end": {
- "position": "before",
- "number": 0,
- "unit_of_time": "days",
- "relative_to": "the reference date"
}, - "notice_id": "string"
}, - "send_team_notices": true,
- "team_notice_options": {
- "program_restriction": "none",
- "program_ids": [
- "string"
], - "school_restriction": "none",
- "school_ids": [
- "string"
], - "phase_restriction": "none",
- "phase_ids": [
- "string"
], - "visit_start_date_range_start": {
- "position": "before",
- "number": 0,
- "unit_of_time": "days",
- "relative_to": "the reference date"
}, - "visit_start_date_range_end": {
- "position": "before",
- "number": 0,
- "unit_of_time": "days",
- "relative_to": "the reference date"
}, - "visit_type_restriction": "none",
- "visit_type_ids": [
- "string"
], - "team_notice_id": "string"
}, - "advance_phases": true,
- "phase_advancement_options": {
- "program_restriction": "none",
- "program_ids": [
- "string"
], - "school_restriction": "none",
- "school_ids": [
- "string"
], - "phase_restriction": "none",
- "phase_ids": [
- "string"
], - "expiration_date_range_start": {
- "position": "before",
- "number": 0,
- "unit_of_time": "days",
- "relative_to": "the reference date"
}, - "expiration_date_range_end": {
- "position": "before",
- "number": 0,
- "unit_of_time": "days",
- "relative_to": "the reference date"
}, - "notice_id": "string"
}, - "is_active": true,
- "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_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 template with the specified ID.
curl -i -X DELETE \ https://fundraising.api.756794052567.rhythmsoftware.com/billingTemplates/:tenantId/:id \ -H 'Authorization: YOUR_API_KEY_HERE'
"string"
curl -i -X GET \ https://fundraising.api.756794052567.rhythmsoftware.com/billingTemplates/:tenantId/fromTemplate/:templateId/:referenceDate \ -H 'Authorization: YOUR_API_KEY_HERE'