DocumentService

public interface DocumentService

Internal use only.

Functions

Link copied to clipboard
@DELETE(value = "documents/{documentId}")
public abstract Response<ResponseBody> deleteDocument(@HeaderMap() Map<String, String> bearer, @Path(value = "documentId") String documentId)
Link copied to clipboard
@DELETE()
public abstract Response<ResponseBody> deleteDocumentFromUri(@HeaderMap() Map<String, String> bearer, @Url() Uri documentUri)
Link copied to clipboard
@GET(value = "documents/{documentId}")
public abstract Response<ResponseBody> getDocument(@HeaderMap() Map<String, String> bearer, @Path(value = "documentId") String documentId)
Link copied to clipboard
@GET()
public abstract Response<ResponseBody> getDocumentFromUri(@HeaderMap() Map<String, String> bearer, @Url() String uri)
Link copied to clipboard
@GET(value = "documents/{documentId}/extractions")
public abstract Response<ResponseBody> getExtractions(@HeaderMap() Map<String, String> bearer, @Path(value = "documentId") String documentId)
Link copied to clipboard
@GET()
public abstract Response<ResponseBody> getFile(@HeaderMap() Map<String, String> bearer, @Url() String location)
Link copied to clipboard
@GET(value = "documents/{documentId}/layout")
public abstract Response<ResponseBody> getLayoutForDocument(@HeaderMap() Map<String, String> bearer, @Path(value = "documentId") String documentId)
Link copied to clipboard
@GET(value = "paymentRequests/{id}")
public abstract Response<PaymentRequestResponse> getPaymentRequest(@HeaderMap() Map<String, String> bearer, @Path(value = "id") String id)
Link copied to clipboard
@GET(value = "paymentRequests")
public abstract Response<List<PaymentRequestResponse>> getPaymentRequests(@HeaderMap() Map<String, String> bearer)
Link copied to clipboard
public Response<ResponseBody> sendFeedback(Map<String, String> bearer, String id, RequestBody params)
Link copied to clipboard
@POST(value = "documents/")
public abstract Response<ResponseBody> uploadDocument(@HeaderMap() Map<String, String> bearer, @Body() RequestBody bytes, @Query(value = "filename") String fileName, @Query(value = "doctype") String docType)