getRequestTypesForServiceDesk
Syntax | getRequestTypesForServiceDesk(serviceDeskId [,searchQuery [, groupId]]) | Package |
|
Alias |
| Pkg Usage |
|
Description
Returns an array of JSMRequestType containing all the Request Type data for the provided parameters.
Parameters
Parameter name | Type | Required | Description |
|---|---|---|---|
serviceDeskId | Integer | Yes | The service desk id. |
searchQuery | String | No | The string to be used to filter the results. |
groupId | integer | No | Filters results to those in a customer request type group. |
Return Type
Returns an array of JSMRequestType containing information about the request types.
Example
JSMRequestType[] requestTypes = getRequestTypesForServiceDesk(1);
return requestTypes;