Skip to main content

UploadDocumentsResponseDto

POST /v1/files/{fileId}/documents

documents object[]nullable

Documents that were created.

  • Array [
  • fileDocumentIdstringnullable

    Id of the new document.

    documentVersionIdstringnullable

    Id of the new document version (use it to download).

    displayNamestringnullable

    Display name of the new document.

  • ]
  • failed object[]nullable

    Files that could not be stored. Omitted when every file was uploaded.

  • Array [
  • indexinteger<int32>

    Position of the file in the request (0-based, same as documentsInfo[index]).

    fileNamestringnullable

    Name of the uploaded file.

    errorstringnullable

    Reason the file could not be stored.

  • ]
  • successboolean

    Indicates whether the operation was successful

    messagestringnullable

    Error message if the operation failed

    UploadDocumentsResponseDto
    {
    "documents": [
    {
    "fileDocumentId": "string",
    "documentVersionId": "string",
    "displayName": "string"
    }
    ],
    "failed": [
    {
    "index": 0,
    "fileName": "string",
    "error": "string"
    }
    ],
    "success": true,
    "message": "string"
    }