Skip to content

Function: getPermissionsByRequestTypeId() ​

ts
function getPermissionsByRequestTypeId(
   client, 
   parameters, 
   options?
): Promise<{
[key: string]: unknown;
  id?: string;
  permissions?: object[];
}>;

Defined in: src/serviceDeskServer/api/requestTypePermissions.ts:10

Returns the permissions for a customer request type for a given request type ID. These permissions control who can create the customer request. The entities that can be granted permissions are users, groups, and organizations.

Parameters ​

ParameterTypeDescription
clientClient-
parameters{ requestTypeId: string; serviceDeskId: string; }-
parameters.requestTypeIdstringThe id of the request type.
parameters.serviceDeskId?stringThe id of the service desk.
options?RequestOptions-

Returns ​

Promise<{ [key: string]: unknown; id?: string; permissions?: object[]; }>