Post Photo to Work Order
POST
Uploads a mobile photo and attaches it to the work order's project/customer.
The file is stored via Spatie Media Library in the project's photos collection with custom properties:
User ID, Photo Type, and Upload Source (mobile).
Authorizations
Authorizationstringheaderrequired
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
workOrderintegerrequired
Response
application/json
Photo uploaded.
messagestringrequiredphoto_idintegerrequired