getSubscriptionStatus method
This method returns the notification subscription status of the user making the request. Use this method to determine if the user is subscribed to a customer request's notifications.
Permissions required: Permission to view the customer request.
Implementation
Future<RequestNotificationSubscriptionDTO> getSubscriptionStatus(
String issueIdOrKey) async {
return RequestNotificationSubscriptionDTO.fromJson(await _client.send(
'get',
'rest/servicedeskapi/request/{issueIdOrKey}/notification',
pathParameters: {
'issueIdOrKey': issueIdOrKey,
},
));
}