registerNewGroupAdministratorWithHttpInfo method

Future<Response> registerNewGroupAdministratorWithHttpInfo(
  1. RegistrationInformationDto registrationInformationDto
)

Create a group

Create a new group and associated dbs. The created group will be manageable by the users that belong to the same group as the one that called createGroup. Several tasks can be executed during the group creation like DB replications towards the created DBs, users creation and healthcare parties creation

Note: This method returns the HTTP Response.

Parameters:

Implementation

Future<Response> registerNewGroupAdministratorWithHttpInfo(RegistrationInformationDto registrationInformationDto,) async {
  // ignore: prefer_const_declarations
  final path = r'/rest/v1/group/register/trial';

  // ignore: prefer_final_locals
  Object? postBody = registrationInformationDto;

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

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