Creates a new File Upload record. File Upload resource in the Animal Health Data Store
Security
bearer
MIME type of the uploaded file (e.g., 'application/pdf', 'image/jpeg').
Example:"example"
Original file name as provided by the client or system.
Example:"123e4567-e89b-12d3-a456-426614174000"
Canonical identifier for this file upload.
Example:"123e4567-e89b-12d3-a456-426614174000"
- Mock serverhttps://docs.axiomera.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/file-upload
- Local Developmenthttp://localhost:8083/site/{siteId}/ahds/v1/file-upload
curl -i -X POST \
'https://docs.axiomera.com/_mock/apis/animal-health/openapi/site/{siteId}/ahds/v1/file-upload' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"contentType": "example",
"extensions": {},
"fileName": "123e4567-e89b-12d3-a456-426614174000",
"fileUploadId": "123e4567-e89b-12d3-a456-426614174000",
"notes": "Example description",
"sizeBytes": 1.23
}'File Upload created successfully
MIME type of the uploaded file (e.g., 'application/pdf', 'image/jpeg').
Example:"example"
Timestamp when the file was created/uploaded in the system.
Example:"2025-01-01T00:00:00.000Z"
Original file name as provided by the client or system.
Example:"123e4567-e89b-12d3-a456-426614174000"
Canonical identifier for this file upload.
Example:"123e4567-e89b-12d3-a456-426614174000"
Optional notes or description associated with the file.
Example:"Example description"
Response
{ "contentType": "example", "createdAt": "2025-01-01T00:00:00.000Z", "extensions": {}, "fileName": "123e4567-e89b-12d3-a456-426614174000", "fileUploadId": "123e4567-e89b-12d3-a456-426614174000", "notes": "Example description", "sizeBytes": 1.23, "updatedAt": "2025-01-01T00:00:00.000Z" }