modifyCodesWithHttpInfo method

Future<Response> modifyCodesWithHttpInfo(
  1. List<CodeDto> codeDto
)

Modify a batch of codes

Modification of (type, code, version) is not allowed.

Note: This method returns the HTTP Response.

Parameters:

Implementation

Future<Response> modifyCodesWithHttpInfo(List<CodeDto> codeDto) async {
  final path = r'/rest/v1/code/batch';

  Object? postBody = codeDto;

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

  final contentTypes = <String>['application/json'];
  final nullableContentType = contentTypes.isNotEmpty ? contentTypes[0] : null;
  final authNames = <String>[r'basicSchema'];


  return await apiClient.invokeAPI(
    path,
    'PUT',
    queryParams,
    postBody,
    headerParams,
    formParams,
    nullableContentType,
    authNames,
  );
}