getRequestsTypes

getRequestsTypes

 

Syntax

getRequestsTypes([searchQuery[, serviceDesksIds]])

Package

 

Alias

 

Pkg Usage

 

Description

Returns an array of JSMRequestType containing all the Request Type data, or only those that ar matching the provided searchQuery and sericeDesksIds.

Parameters

Parameter name

Type

Required

Description

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.

JSMRequestType[] requestTypes = getRequestsTypes(); return requestTypes;

See also

Need support? Create a request with our support team.

Copyright © 2005 - 2026 Appfire | All rights reserved.