Skip to content

Image_Upload

POST
/v1/Image
curl --request POST \
--url https://rms.dev.caspeco.net/api/booking/v1/Image \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'system: example' \
--data '{ "tags": [ "example" ], "cropRatios": [ { "id": 1, "imageId": 1, "left": 1, "top": 1, "width": 1, "height": 1, "aspectRatio": "example" } ], "blobFolder": 0, "file": { "image": "example", "imageUrl": "example", "imageFilename": "example", "imageUploadData": "example" } }'
system
required
string

The system name / database to query

Media typeapplication/json
object
tags
Array<string>
nullable
cropRatios
Array<object>
nullable
object
id
integer format: int64
nullable
imageId
integer format: int64
nullable
left
number format: double
top
number format: double
width
number format: double
height
number format: double
aspectRatio
string
blobFolder
integer
Allowed values: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
file
object
image
string
nullable
imageUrl
string
nullable
imageFilename
string
nullable
imageUploadData
string
nullable
Media typeapplication/json
string format: guid
Examplegenerated
example