Table plus |
---|
applyColStyleToCell | true |
---|
heading | 0 |
---|
columnTypes | s,s,s,s |
---|
multiple | false |
---|
columnAttributes | style="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold, |
---|
enableSorting | false |
---|
|
Syntax | getRequestsTypes([searchQuery[, serviceDesksIds]]) | Package | | Alias | | Pkg Usage | | |
Description
Excerpt |
---|
|
Returns an array of JSMRequestType containing all the Request Type data for the provided parameters. |
Returns an array of JSMRequestType containing all the Request Type data, or only those that ar matching the provided searchQuery and sericeDesksIds.
Parameters
Table plus |
---|
applyColStyleToCell | true |
---|
columnTypes | s,s,s,s |
---|
heading | 0 |
---|
multiple | false |
---|
enableSorting | false |
---|
|
Parameter name | Type | Required | Description |
---|
searchQuery | String | No | The string to be used to filter the results. | serviceDesksIds | String[] | No | The service desks ids for which to get the results. | |
Return Type
JSMRequestType []
Returns an array of JSMRequestType containing information about the request types.
Example
Use the following code to get ALL request types.
Code Block |
---|
|
JSMRequestType[] requestTypes = getRequestsTypes();
return requestTypes; |
See also
Filter by label (Content by label) |
---|
showLabels | false |
---|
max | 25 |
---|
showSpace | false |
---|
cql | label = "jsd_routine" and space = currentSpace ( ) |
---|
labels | array_routines |
---|
|