Prototype optical order for a creation form
POST/api/v2/optical-orders/new
Returns a non-persisted optical order prototype pre-filled with the authenticated user's default branch and the current date. The response carries no id, version or audit fields.
Responses
- 200
- 401
- 403
- 500
Optical order prototype with defaults
Missing or invalid JWT (Bearer token).
Authenticated user is missing the CREAR_ENCARGO permission
Unexpected server error. Includes legacy WAR failures that are not classified as 502 / 503 / 504.