getApproval

getApproval

 

Description

Returns an approval structure

Syntax

getApproval(requestId_or_Key, approvalId)

Package

 

Alias

 

Pkg Usage

 

Parameters

Parameter name

Type

Required

Description

Parameter name

Type

Required

Description

requestId_or_Key

String

Yes

The ID or Key of the customer request for which the approval will be retrieved

approvalId

Integer

Yes

The ID of the approval to be re returned

Return Type

JSMApproval

Example

return getApproval("SM-1", 5);

Returns a JSMApproval structure.

See also