Creates a job (estimate or draft) for a customer, optionally with material, labor and custom-charge lines.
Same code path as the MVC "Create job" page. Requires an Idempotency-Key header. Line totals are computed on the server from the lines you send. The job number is generated when omitted. Initial status: Estimated, or Draft when isDraft is true, unless statusId / statusKey names one of the organization's statuses. publishImmediately: true is the "Create & Publish" button: the job is created as a Draft and published in the same call under the rules of POST /api/v1/jobs/{id}/finalize; when it cannot be published yet it is still created as a Draft and the response's warning says why (never a 4xx for an unpublishable-but-created job). The write is attributed to the user who created the key.
Request
- Base URL: https://app.flexonthejob.com
- URL: https://app.flexonthejob.com/api/v1/jobs
- Auth: HTTP bearer
Request body
Response
The created job (same shape as GET /api/v1/jobs/{id}, plus warning when a requested publish did not happen); Location points at it.
Changes
No recorded changes to this operation across all 1 revision of this API.