addDocumentsToFolder

@PUT(value = folders/{folderId}/documents)
abstract suspend fun addDocumentsToFolder(@Path(value = folderIdfolderId: String, @Body() addOrRemoveDocumentsFromFolderDto: AddOrRemoveDocumentsFromFolderDto): Response<DocumentsAddedOrRemovedFromFolderResponseDto>

Add document(s) to folder This endpoint allows you to add one or more documents to a folder owned by the user Responses:

  • 200: Success. Documents were successfully added to folder

  • 401: Unauthorized. This will occur if you do not supply an access-token to this endpoint, or if you provide an expired or invalid access token.

  • 404: Not Found. The folderID or one of the receipt IDs you have provided do not exist or do not belong to the user.

Return

DocumentsAddedOrRemovedFromFolderResponseDto

Parameters

folderId

A unique ID that identifies this folder in the Sensibill system.

addOrRemoveDocumentsFromFolderDto

Add multiple documents to a folder