cURL
curl --request POST \ --url https://api.raul.ugps.io/api/v1/visit_detail/upload/{visitDetailId} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: multipart/form-data' \ --form file='@example-file'
{ "id": "<string>", "visit_id": {}, "image_name": {}, "image": {}, "image_url": {} }
Operacion: Upload an image for a visit (legacy route).
Bearer token authentication
Image uploaded
Image ID
Visit ID
Image name
Image data in base64 format
Image URL (Azure Blob Storage SAS URL)