Worksheets
Create a worksheet
Creates a new worksheet, owned by the authenticated user's company. Server-controlled fields (id, company_id, created_by, seq_number, status, all *_at timestamps, totals) are filled in automatically. Status always starts as draft.
customer_id is required. Line items are not accepted at creation time — a dedicated sub-resource will add/remove them in a later pass.
Foreign-key references in the body (customer_id, vehicle_id, work_category_id, assigned_to) must resolve to resources owned by the authenticated user's company. Unreachable refs return 422 parameter_invalid pointing at the offending field.
post/v1/worksheets
Request
- Base URL: https://api.officina.it
- URL: https://api.officina.it/v1/worksheets
- Auth: HTTP bearer
Request body
Response
Worksheet created. Returns the fully-materialized resource.
Example response
{
"id": "a5d21e64-8f37-4b90-ae12-3c7d6b048f95"
}Changes
No recorded changes to this operation across all 1 revision of this API.