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