getCaptableSharesWithHttpInfo method

Future<Response> getCaptableSharesWithHttpInfo()

Returns the caller org's share certificates, newest first.

Returns the caller org's share certificates, newest first. Each row is joined to its holder and its share class, so a certificate names who holds it and what class it is in without a second call.

Note: This method returns the HTTP Response.

Implementation

Future<Response> getCaptableSharesWithHttpInfo() async {
  // ignore: prefer_const_declarations
  final path = r'/v1/captable/shares';

  // ignore: prefer_final_locals
  Object? postBody;

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

  const contentTypes = <String>[];


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