Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table plus
applyColStyleToCelltrue
heading0
columnTypess,s,s,s
multiplefalse
columnAttributesstyle="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold,
enableSortingfalse

Syntax

getRequestTypesForServiceDesk(serviceDeskId [,searchQuery [, groupId]])

Package

Alias

Pkg Usage

Description

Excerpt
hiddentrue
Returns an array of JSMRequestType.

Returns an array of JSMRequestType containing all the Request Type data for the provided parameters.

Parameters

Table plus
applyColStyleToCelltrue
columnTypess,s,s,s
heading0
multiplefalse
enableSortingfalse

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

JSMRequestType []

Returns an array of JSMRequestType containing information about the request types.

Example

Code Block
languagejs
JSMRequestType[] requestTypes = getRequestTypesForServiceDesk(1);
return requestTypes;

See also

Filter by label (Content by label)
showLabelsfalse
max25
showSpacefalse
cqllabel = "jsd_routine" and space = currentSpace ( )
labelsarray_routines

We've encountered an issue exporting this macro. Please try exporting this page again later.