Contents · Conventions
Conventions
- Each token sees only its own gym. An id from another club →
404 {id} is a uuid or a numeric id. The same applies to foreign keys such as machine_id, location_id, supplier_id, ticket_id- Do not send
tenant_id. Numbers (number) for work orders, quotes, purchase orders, warranty claims and contracts are generated - Lists use Laravel pagination, 50 per page. Query
page. The body contains data, current_page, last_page, total - One record:
{"data":{...}}. Create → 201. DELETE /notes/{id} → 204 with an empty body - Dates:
YYYY-MM-DD. Date-time: ISO-8601