getServiceDeskById method
This method returns a service desk. Use this method to get service desk details whenever your application component is passed a service desk ID but needs to display other service desk details.
Permissions required: Permission to access the Service Desk. For example, being the Service Desk's Administrator or one of its Agents or Users.
Implementation
Future<ServiceDeskDTO> getServiceDeskById(String serviceDeskId) async {
return ServiceDeskDTO.fromJson(await _client.send(
'get',
'rest/servicedeskapi/servicedesk/{serviceDeskId}',
pathParameters: {
'serviceDeskId': serviceDeskId,
},
));
}