---
schema_version: "1"
id: 758a35a4d8674bcffc8f7a30b1782b3ad782b06bef63573d4b3177327ab51071
title: Execute via WSProxy
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/marketing-cloud/guides/mc-programmatic-content/ssjs_WSProxy_execute.md
canonical_url: https://developer.salesforce.com/docs/marketing/marketing-cloud/guide/ssjs_WSProxy_execute.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: b9a1d98d2c82e6391c440077b65f16adecd6952990022b0771f12f3d7cc10b33
products:
  - Marketing Cloud Engagement APIs and Programmatic Languages
  - Marketing Cloud
---
# Execute via WSProxy

To execute an action, use the execute function.

- The first parameter is an array of Name/Value parameters to include in the call.
- The second parameter is the name of the execute request.

## Example Request

This example shows the parameters but is not a working example.

```
var prox = new Script.Util.WSProxy();
var props = [
   { Name: "SomeName", Value: "SomeValue" }
];
var data = prox.execute(props, "Name of the execute request");
```

## Example Response

The returned object has three properties, “Status”, “RequestID”, and “Results.” The results contain properties from the SOAP ExecuteResponse items.

```
{
    "Status": "OK",
    "RequestID": "fb768ddc-6670-4183-8b9d-4f0d5518bb2e",
    "Results": [...]
}
```
