getNoticesWithHttpInfo method
Get notices for logged in user in specified team
Will return appropriate product notices for current user in the team specified by teamId parameter. Minimum server version: 5.26 ##### Permissions Must be logged in.
Note: This method returns the HTTP Response
.
Parameters:
Implementation
Future<Response> getNoticesWithHttpInfo(
String clientVersion,
String client,
String teamId, {
String? locale,
}) async {
// ignore: prefer_const_declarations
final path = r'/system/notices/{teamId}'.replaceAll('{teamId}', teamId);
// ignore: prefer_final_locals
Object? postBody;
final queryParams = <MmQueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
queryParams.addAll(_queryParams('', 'clientVersion', clientVersion));
if (locale != null) {
queryParams.addAll(_queryParams('', 'locale', locale));
}
queryParams.addAll(_queryParams('', 'client', client));
const contentTypes = <String>[];
return apiClient.invokeAPI(
path,
'GET',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}