getBooksQuestionsWithHttpInfo method

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

Returns the clarifying questions the caller's own recent GL raises — the unusual postings a founder should look at (outliers, reversals, round-offs, uncosted revenue, an overdrawn wallet), sharpest first.

Returns the clarifying questions the caller's own recent GL raises — the unusual postings a founder should look at (outliers, reversals, round-offs, uncosted revenue, an overdrawn wallet), sharpest first. An empty list means the books look clean; the detector is deterministic over the ledger and invents nothing.

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> getBooksQuestionsWithHttpInfo({ String? sandbox, }) async {
  // ignore: prefer_const_declarations
  final path = r'/v1/books/questions';

  // 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,
  );
}