markNoticesViewedWithHttpInfo method
Update notices as 'viewed'
Will mark the specified notices as 'viewed' by the logged in user. Minimum server version: 5.26 ##### Permissions Must be logged in.
Note: This method returns the HTTP Response
.
Parameters:
- List<String> requestBody (required): Array of notice IDs
Implementation
Future<Response> markNoticesViewedWithHttpInfo(
List<String> requestBody,
) async {
// ignore: prefer_const_declarations
final path = r'/system/notices/view';
// ignore: prefer_final_locals
Object? postBody = requestBody;
final queryParams = <MmQueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
const contentTypes = <String>['application/json'];
return apiClient.invokeAPI(
path,
'PUT',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}