Overview
You can use this request to get field data into a Dynamic Data Set workflow.
The Method
| API | - | Method |
|---|---|---|
| REST | GET | https://[Your URL]/api/3.0/workflows/data-set/:workflowId |
Parameters
| Property | Type | Description | Required |
|---|---|---|---|
| workflowId | integer | The ID of the Workflow | yes |
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