Get an Instance
Gets an Instance by ID. The Instance ID can be read off the instance object, or copied from the URL of the instance.
Permissions Required
You must have Find permissions to the Instance for this request to succeed.
Method Signature
get(string $id): Instance
Parameters
Parameter | Type | Description |
---|---|---|
$id | string | The id of the Instance to get |
returns | Instance | The requested Instance |
Example
<?php
/*
* This example demonstrates getting a Workflow Instance by ID
*/
require_once(__DIR__ . '/vendor/autoload.php');
use Catalytic\SDK\CatalyticClient;
$catalytic = new CatalyticClient();
$instance = $catalytic->instances()->get("e6df431b-1041-4326-89e5-1e14caa6a08f");
Updated almost 4 years ago