Create job (draft)
click2mail_create_jobWRITE: create a mailing job from an uploaded document and an address list. The job stays a draft (status Editing): nothing is printed, mailed or charged until click2mail_submit_job. Use the exact option strings from click2mail_get_product_options. Returns the job id. POST /molpro/jobs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| color | Yes | "Black and White" or "Full Color". | |
| layout | Yes | e.g. "Address on Separate Page", "Double Sided Postcard". | |
| envelope | No | e.g. "#10 Double Window"; empty or "NONE" for postcards. | |
| mail_class | Yes | e.g. "First Class". | |
| paper_type | Yes | e.g. "White 24#". | |
| project_id | No | Project id to file the job in. | |
| document_id | Yes | Document id (click2mail_upload_document_from_url / click2mail_list_documents). | |
| endorsement | No | e.g. "Forwarding Service Requested". | |
| mailing_date | No | A date, yyyymmdd. | |
| print_option | Yes | e.g. "Printing One side", "Printing both sides". | |
| app_signature | No | Label to find the job again with click2mail_list_jobs_by_app_signature. | |
| document_class | Yes | e.g. "Letter 8.5 x 11", "Postcard 4.25 x 6". | |
| address_list_id | Yes | Address list id (click2mail_create_address_list), status 3. | |
| production_time | Yes | e.g. "Next Day". | |
| return_address_id | No | Saved return address id (click2mail_list_return_addresses). |