createExport

@POST(value = exports)
abstract suspend fun createExport(@Body() exportCreateDto: ExportCreateDto): Response<ExportCreateResponseDto>

Export documents This API call allows you to export a set of documents for a user. To call this endpoint, you must use a user-token. You can not call this endpoint without it. \\ Users can have as many exports as they need. Exports are kept in Sensibill&#39;s system for the period of 14 days. * Responses:

  • 200: Success. The export request was received sucessfully.

  • 400: Bad Request. This will occur if you omit a required parameter, if you provide an invalid value for a required parameter, or if you exceed the limit of 500 documents in an export.

  • 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.

  • 403: Forbidden. This will occur if you attempt to use a client token with this endpoint. This endpoint must be used with a user-token.

Return

ExportCreateResponseDto

Parameters

exportCreateDto

Create a document export