Actions28
- Absence Actions
- Calendar Actions
- Department Actions
- Employee Actions
- Job Actions
- Journey Actions
- Learning Actions
- Worker Actions
- Worker Assignment Actions
- Worker Phone Actions
- Worker Photo Actions
- Worker Report Actions
Worker Photo → Upload
AI-generatedSummary
Upload a new photo for a specified worker by providing the worker's ID and base64-encoded photo data.
Inputs
- Authentication — Choose the authentication method: Basic Auth or JWT (recommended). Defaults to JWT.
- Worker ID (required) — The unique ID of the worker (PersonId) to whom the photo belongs.
- Photo Data (required) — Base64 encoded string of the photo data to upload.
Output shape
a single JSON object representing the server response to the photo upload request
The operation sends a POST request to the
/publicWorkers/{workerId}/child/photosendpoint containing the base64 photo data. The output will be the API's JSON response. Error details are returned in the standard error envelope if the upload fails.
Examples
Example 1: Upload a photo of a worker by specifying their ID and base64 photo data
Set resource to 'Worker Photo', operation to 'Upload', enter the worker ID and provide base64 encoded photo data. Use recommended JWT authentication or basic auth as configured.