Skip to content

Function: getRequestTypeGroups() ​

ts
function getRequestTypeGroups(
   client, 
   parameters, 
   options?
): Promise<{
[key: string]: unknown;
  _expands?: string[];
  _links?: {
   [key: string]: unknown;
     base?: string;
     context?: string;
     next?: string;
     prev?: string;
     self?: string;
  };
  isLastPage?: boolean;
  limit?: number;
  maxResultWindow?: number;
  size?: number;
  start?: number;
  values?: object[];
}>;

Defined in: src/serviceDeskServer/api/requestTypes.ts:45

Returns all request type groups from a service project, for a given service project Id. The groups will be in the same order as the order in which they appear on the customer portal

Parameters ​

ParameterTypeDescription
clientClient-
parameters{ limit?: number; serviceDeskId: string; start?: number; }-
parameters.limit?numberThe maximum number of items to return per page. Default: 50.
parameters.serviceDeskId?stringThe id of the service desk.
parameters.start?numberThe starting index of the returned objects. Base index: 0.
options?RequestOptions-

Returns ​

Promise<{ [key: string]: unknown; _expands?: string[]; _links?: { [key: string]: unknown; base?: string; context?: string; next?: string; prev?: string; self?: string; }; isLastPage?: boolean; limit?: number; maxResultWindow?: number; size?: number; start?: number; values?: object[]; }>