getAssetsWorkspaces method
Returns a list of Assets workspace IDs. Include a workspace ID in the path to access the Assets REST APIs.
Permissions required: Any
Implementation
Future<PagedDTOAssetsWorkspaceDTO> getAssetsWorkspaces(
{int? start, int? limit}) async {
return PagedDTOAssetsWorkspaceDTO.fromJson(await _client.send(
'get',
'rest/servicedeskapi/assets/workspace',
queryParameters: {
if (start != null) 'start': '$start',
if (limit != null) 'limit': '$limit',
},
));
}