upload attachments to s3 for dealer
upload attachments to s3 for dealer
Path Parameters
departmentUUID string required
application/json
multipart/form-data
Request Body
multipartFile binary required
Multipart file to be uploaded
contentType string
Valid contentType of file, e.g. image/png or audio/mpeg etc. If not provided then we'll try to get it from the provided multipart file's properties.
shortUrl string
Shorten url for the attachment uploaded
Request Body
multipartFile binary required
Multipart file to be uploaded
contentType string
Valid contentType of file, e.g. image/png or audio/mpeg etc. If not provided then we'll try to get it from the provided multipart file's properties.
shortUrl string
Shorten url for the attachment uploaded
Responses
- 200
OK
application/json
Schema
Example (from schema)
Schema
- Array [
- ]
- Array [
- ]
attachmentURL string
mediaPreviewURL string
thumbnailURL string
extension string
contentType string
docSize string
shortUrl string
errors object[]
errorCode string
errorDescription string
errorUID string
warnings object[]
warningCode string
warningDescription string
{
"attachmentURL": "string",
"mediaPreviewURL": "string",
"thumbnailURL": "string",
"extension": "string",
"contentType": "string",
"docSize": "string",
"shortUrl": "string",
"errors": [
{
"errorCode": "string",
"errorDescription": "string",
"errorUID": "string"
}
],
"warnings": [
{
"warningCode": "string",
"warningDescription": "string"
}
]
}
Loading...