pub struct Bulkletter {
pub content: String,
pub created: Option<String>,
pub created_pid: String,
pub file_id: i64,
pub group_id: i64,
pub html_template_id: i64,
pub id: i64,
pub name: String,
pub status: String,
pub updated: Option<String>,
pub url: Option<String>,
pub extra: Map<String, Value>,
}Expand description
A mail-merge rendering job. Generates one PDF per selected recipient (or address group) and makes those PDFs available together in a ZIP archive. It does not send email or postal mail. The legacy response uses mixed snake_case and camelCase fields.
Fields§
§content: StringHTML content of the bulkletter, may contain placeholders.
created: Option<String>Legacy database timestamp in Y-m-d H:i:s format, without timezone; nullable in storage.
created_pid: StringID of the person that created the bulkletter (returned as string).
file_id: i64Generated ZIP archive file ID, or 0 before a file has been stored.
group_id: i64Optional group the bulkletter is associated with. 0 if no group is set.
html_template_id: i64ID of the HTML template used to render the bulkletter.
id: i64§name: String§status: StringRendering lifecycle: TODO, IN_PROGRESS, DONE or ERROR. Completion and storing the archive are separate steps; check fileId/url as well as status.
Allowed values: DONE, ERROR, IN_PROGRESS, TODO.
updated: Option<String>Legacy database timestamp in Y-m-d H:i:s format, without timezone; nullable in storage.
url: Option<String>Relative download URL of the ZIP archive containing individual PDFs. May be empty or null before the archive is available; resolve relative to the CT base URL.
extra: Map<String, Value>Fields not described by the spec, e.g. instance-specific DB fields.