rawListMessagesByTransportGuidsWithHttpInfo method

Future<Response> rawListMessagesByTransportGuidsWithHttpInfo(
  1. String hcpId,
  2. ListOfIdsDto listOfIdsDto
)

Get all messages for current HC Party and provided transportGuids

Note: This method returns the HTTP Response.

Parameters:

Implementation

Future<Response> rawListMessagesByTransportGuidsWithHttpInfo(String hcpId, ListOfIdsDto listOfIdsDto,) async {
  // ignore: prefer_const_declarations
  final path = r'/rest/v1/message/byTransportGuid/list';

  // ignore: prefer_final_locals
  Object? postBody = listOfIdsDto;

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

  queryParams.addAll(_queryParams('', 'hcpId', hcpId));

  const authNames = <String>[r'basicSchema'];
  const contentTypes = <String>['application/json'];


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