Create attachment
POST
/goodsReception/rest/v1/attachments/create
Creates new attachment with file upload
Authorizations
bearerAuth
TypeHTTP (bearer)
Request Body
multipart/form-data
file
string
Required
Format
"binary"lotNumber
integer
Required
description
string
Responses
Attachment created
application/json
{
"id": 0,
"filename": "string",
"originalName": "string",
"filePath": "string",
"mimeType": "string",
"size": 0,
"lotNumber": 0,
"description": "string",
"createdAt": "string"
}