Create reference

POST /closeAPI/api/close/reference
multipart/form-data

Body

Responses

POST /closeAPI/api/close/reference
curl \
 --request POST 'http://close-service:8082/closeAPI/api/close/reference' \
 --header "Content-Type: multipart/form-data" \
 --form 'referenceRequest={"id":42,"name":"string","number":"string","description":"string","latestVersion":{"location":"string","type":"STORED","mimeType":"string","expirationDate":"2025-05-04","version":"string"},"canModify":true}' \
 --form "file=@file" \
 --form "taskId=42" \
 --form "entityId=42"
Response examples (200)
{
  "id": 42,
  "name": "string",
  "number": "string",
  "description": "string",
  "latestVersion": {
    "location": "string",
    "type": "STORED",
    "mimeType": "string",
    "expirationDate": "2025-05-04",
    "version": "string"
  },
  "canModify": true
}