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
| Parameter | Type | Description |
|---|---|---|
client | Client | - |
parameters | { requestTypeId: string; serviceDeskId: string; } | - |
parameters.requestTypeId | string | The id of the request type. |
parameters.serviceDeskId? | string | The id of the service desk. |
options? | RequestOptions | - |
Returns
Promise<{ [key: string]: unknown; id?: string; permissions?: object[]; }>