bulkUpdateTasksWithHttpInfo method
Apply the same update to multiple tasks.
Same updates payload applied to every id in taskIds. As with bulk delete, per-id failures collect in failed.
Note: This method returns the HTTP Response.
Parameters:
- BulkUpdateTasksRequest bulkUpdateTasksRequest (required):
Implementation
Future<Response> bulkUpdateTasksWithHttpInfo(BulkUpdateTasksRequest bulkUpdateTasksRequest,) async {
// ignore: prefer_const_declarations
final path = r'/v1/tasks/bulk-update';
// ignore: prefer_final_locals
Object? postBody = bulkUpdateTasksRequest;
final queryParams = <QueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
const contentTypes = <String>['application/json'];
return apiClient.invokeAPI(
path,
'POST',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}