- get - Get Connector Doc content
Get Connector Doc content
declare(strict_types=1);
require 'vendor/autoload.php';
use Apideck\Unify;
$sdk = Unify\Apideck::builder()
->setAppId('dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX')
->setSecurity(
'<YOUR_BEARER_TOKEN_HERE>'
)
->build();
$response = $sdk->connector->connectorDocs->get(
id: '<id>',
docId: 'application_owner+oauth_credentials'
);
if ($response->getConnectorDocResponse !== null) {
// handle response
}| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
id |
string | ✔️ | ID of the record you are acting upon. | |
docId |
string | ✔️ | ID of the Doc | application_owner+oauth_credentials |
appId |
?string | ➖ | The ID of your Unify application | dSBdXd2H6Mqwfg0atXHXYcysLJE9qyn1VwBtXHX |
?Operations\ConnectorConnectorDocsOneResponse
| Error Type | Status Code | Content Type |
|---|---|---|
| Errors\UnauthorizedResponse | 401 | application/json |
| Errors\PaymentRequiredResponse | 402 | application/json |
| Errors\NotFoundResponse | 404 | application/json |
| Errors\APIException | 4XX, 5XX | */* |