getBooksInboxWithHttpInfo method

Future<Response> getBooksInboxWithHttpInfo({
  1. String? sandbox,
})

Returns the org's open document queue — everything uploaded but not yet booked, newest first, each with its extracted summary and the confidence the scanner resolved its category at.

Returns the org's open document queue — everything uploaded but not yet booked, newest first, each with its extracted summary and the confidence the scanner resolved its category at. A booked document drops out of the queue.

Note: This method returns the HTTP Response.

Parameters:

  • String sandbox: Sandbox reads the org's SANDBOX ledger when it is exactly "true"; anything else reads the live one.

Implementation

Future<Response> getBooksInboxWithHttpInfo({ String? sandbox, }) async {
  // ignore: prefer_const_declarations
  final path = r'/v1/books/inbox';

  // ignore: prefer_final_locals
  Object? postBody;

  final queryParams = <QueryParam>[];
  final headerParams = <String, String>{};
  final formParams = <String, String>{};

  if (sandbox != null) {
    queryParams.addAll(_queryParams('', 'sandbox', sandbox));
  }

  const contentTypes = <String>[];


  return apiClient.invokeAPI(
    path,
    'GET',
    queryParams,
    postBody,
    headerParams,
    formParams,
    contentTypes.isEmpty ? null : contentTypes.first,
  );
}