Create Manager Session Note
POST/api/v1/devices/:device_uuid/sessions/:session_id/notes
Append a manager-authored SessionNote (manager + owner only per D-04, append-only per D-03).
Body is truncated to 2000 chars to match the field-worker constraint. Allowed on active OR closed sessions (D-03 supports retroactive annotation). Each POST inserts a NEW SessionNote row — no upsert.
WR-05: returns 201 Created (RFC 7231 §6.3.2) since this is genuine resource creation. The mobile NotesUpdateOut endpoint still returns 200 because it is an upsert, not a create.
WR-06: rejects an empty / whitespace-only body with 400 + error_code="EMPTY_BODY" rather than inserting a noise row.
Request
Responses
- 201
- 400
- 401
- 403
- 404
- 422
Created
Bad Request
Unauthorized
Forbidden
Not Found
Validation Error