Overview

You can use this request to get field data into a Dynamic Data Set workflow.

The Method

API-Method
RESTGEThttps://[Your URL]/api/3.0/workflows/data-set/:workflowId

Parameters

PropertyTypeDescriptionRequired
workflowIdintegerThe ID of the Workflowyes

Example Request

setRequestUrl('[your-url]/api/3.0/workflows/data-set/51');
$request->setRequestMethod('GET');
$body = new http\Message\Body;
$body->append('');
$request->setBody($body);
$request->setOptions(array());
$request->setHeaders(array(
  'Authorization' => 'Basic ',
  'Content-Type' => 'application/json',
  'Authorization' => 'Basic ',
  'Content-Type' => 'text/plain'
));
$client->enqueue($request)->send();
$response = $client->getResponse();
echo $response->getBody();

Example Response

Success Result: 



Error