InvokeRetrieve
Overview
Invokes the Retrieve method on the specified objectSyntax
InvokeRetrieve(1, 2)
| Ordinal | Type | Description | |
|---|---|---|---|
| 1 | string | Required | Object on which to perform Retrieve method |
| 2 | array | Required | Array containing status and RequestID of API call |
Example
var StatusAndRequestID = [0,0];
var Result = Platform.Function.InvokeRetrieve(apiRetreiveObject,StatusAndRequestID);
var status = StatusAndRequestID[0];
var requestID = StatusAndRequestID[1];
if(Result != null) {
for(var i in Result) {
name = Result[i].Name;
id = Result[i].ObjectID;