Get an IntegrationConnection
Get an IntegrationConnection by ID.
Permissions Required
Only Connections for which you have View permissions can be fetched.
Method Signature
getIntegrationConnection(string $id): IntegrationConnection
Parameters
Parameter | Type | Description |
---|---|---|
$id | string | The id of the Integration Connection to get |
returns | IntegrationConnection | The requested Integration Connection |
Example
<?php
/*
* This example demonstrates getting an IntegrationConnection by ID
* and printing out its Name
*/
require_once(__DIR__ . './vendor/autoload.php');
use Catalytic\SDK\CatalyticClient;
$catalytic = new CatalyticClient();
$integrationConnection = $catalytic->integrations()->getIntegrationConnection('558e27d9-ee9d-470d-a32f-d35448b56006');
echo $integrationConnection->getName() . ":" . PHP_EOL;
Updated almost 3 years ago