getRequestParticipants method

Future<PagedDTOUserDTO> getRequestParticipants({
  1. required String issueIdOrKey,
  2. int? start,
  3. int? limit,
})

This method returns a list of all the participants on a customer request.

Permissions required: Permission to view the customer request.

Implementation

Future<PagedDTOUserDTO> getRequestParticipants(
    {required String issueIdOrKey, int? start, int? limit}) async {
  return PagedDTOUserDTO.fromJson(await _client.send(
    'get',
    'rest/servicedeskapi/request/{issueIdOrKey}/participant',
    pathParameters: {
      'issueIdOrKey': issueIdOrKey,
    },
    queryParameters: {
      if (start != null) 'start': '$start',
      if (limit != null) 'limit': '$limit',
    },
  ));
}