getExportById

@GET(value = "exports/{id}")
abstract suspend fun getExportById(@Path(value = "id") id: String): Response<ExportsResponseDto>

Get export status This endpoint provides the ability to periodically poll for the export status. The id is the export id received during the first step (asynchronous POST). \\ The response contains status information on the export. Responses:

  • 200: Success. The status of the export is returned.

  • 400: Bad Request. This will occur if you omit a required parameter, or if you provide an invalid value for a required parameter.

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

  • 404: Not Found. The export ID you have provided is not one of this user's exports.

Return

ExportsResponseDto

Parameters

id

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