Link

Syntax

AddRequest(name, request)

Description

Use this method to add a Request object to the JSON Object.

Parameters

Name Description
name Specifies the name of the request that needs to be added as a string.
request Specifies the request to add to the JSON Object as a Request object.

Returns

None.

Example

Local PSM_JSON:Object &oObject = create PSM_JSON:Object();
   
&oObject.AddRequest("MyRequest", %Request);