Add document
Body
-
documentRequest
object Required -
file
string(binary) Required
POST
/closeAPI/api/close/document
curl \
--request POST 'http://close-service:8082/closeAPI/api/close/document' \
--header "Content-Type: multipart/form-data" \
--form 'documentRequest={"name":"string","filename":"string","mimeType":"string","periodId":42}' \
--form "file=@file"
Response examples (200)
{
"id": 42,
"name": "string",
"fileName": "string",
"size": 42
}