InvokePerform
Overview
Invokes the Perform method on the specified objectSyntax
InvokePerform(1, 2, 3, 4)
| Ordinal | Type | Description | |
|---|---|---|---|
| 1 | string | Required | Object on which to perform Perform method |
| 2 | string | Required | Method to perform on the object |
| 3 | array | Required | Array containing status and RequestID of API call |
| 4 | string | Required | API configure options to include in call. Can contain a null value. |
Example
<script runat="server">
var rtn = [0,0,0];
var newObject = Platform.Function.InvokePerform(APIObject,"Validate",StatusAndRequestID,Options);
var statusMessage = StatusAndRequestID[0];
var errorCode = StatusAndRequestID[1];
var performResponse = StatusAndRequestID[2];
</script>