From REST API helpGPMultiValue
Note that support for the GPMultiValue parameter type was added at 10
The fully-qualified data type for a GPMultiValue parameter is GPMultiValue:<memberDataType>, where memberDataType is one of the data types defined above. For ex. GPMultiValue:GPString, GPMultiValue:GPLong, etc.
Note that at 10.0 only GPMultiValue:GPString data type is supported
From 10.1 onwards all GP data types will be supported in a GPMultiValue.
The parameter value for GPMultiValue data types is a JSON array. Each element in this array is of the data type as defined by the memberDataType suffix of the fully-qualified GPMultiValue data type name.
Example 1: GPMultiValue:GPString data type
["Parcels", "Street Lights"]
Example 2: GPMultiValue:GPLinearUnit data type:
[
{ "distance" : 345.67, "units" : "esriMiles" },
{ "distance" : 36, "units" : "esriMiles" }
]
via Geoprocessing task you can- Send a request to the server to execute a synchronous geoprocessing task.- Submit a job request to the server to execute an asynchronous geoprocessing task.I think input parameters are:var inputParams:Object = new Object();
inputParams.in_feature1 = "string type parameter"; // GPString = String
inputParams.in_featureliste = ["Red", "Green", "Blue"]; // GPMultiValue:GPString = Array
// yourGPTask.execute(inputParams); // - synchronous
// yourGPTask.submitJob(inputParams, new AsyncResponder(resultfunctionname, faultfunctionname ...)); // - asynchronous