getFeedback method

Future<CSATFeedbackFullDTO> getFeedback(
  1. String requestIdOrKey
)

This method retrieves a feedback of a request using it's requestKey or requestId

Permissions required: User has view request permissions.

Implementation

Future<CSATFeedbackFullDTO> getFeedback(String requestIdOrKey) async {
  return CSATFeedbackFullDTO.fromJson(await _client.send(
    'get',
    'rest/servicedeskapi/request/{requestIdOrKey}/feedback',
    pathParameters: {
      'requestIdOrKey': requestIdOrKey,
    },
  ));
}