getUsersStatusesByIdsWithHttpInfo method

Future<Response> getUsersStatusesByIdsWithHttpInfo(
  1. List<String> requestBody
)

Get user statuses by id

Get a list of user statuses by id from the server. ##### Permissions Must be authenticated.

Note: This method returns the HTTP Response.

Parameters:

  • List<String> requestBody (required): List of user ids to fetch

Implementation

Future<Response> getUsersStatusesByIdsWithHttpInfo(
  List<String> requestBody,
) async {
  // ignore: prefer_const_declarations
  final path = r'/users/status/ids';

  // 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,
    'POST',
    queryParams,
    postBody,
    headerParams,
    formParams,
    contentTypes.isEmpty ? null : contentTypes.first,
  );
}