All URIs are relative to https://localhost:20000/api/3.1
Method | HTTP request | Description |
---|---|---|
acceptIntegrationHubLegalAgreement | POST /integration_hubs/{integration_hub_id}/accept_legal_agreement | Accept Integration Hub Legal Agreement |
allIntegrationHubs | GET /integration_hubs | Get All Integration Hubs |
allIntegrations | GET /integrations | Get All Integrations |
createIntegrationHub | POST /integration_hubs | Create Integration Hub |
deleteIntegrationHub | DELETE /integration_hubs/{integration_hub_id} | Delete Integration Hub |
fetchIntegrationForm | POST /integrations/{integration_id}/form | Fetch Remote Integration Form |
integration | GET /integrations/{integration_id} | Get Integration |
integrationHub | GET /integration_hubs/{integration_hub_id} | Get Integration Hub |
testIntegration | POST /integrations/{integration_id}/test | Test integration |
updateIntegration | PATCH /integrations/{integration_id} | Update Integration |
updateIntegrationHub | PATCH /integration_hubs/{integration_hub_id} | Update Integration Hub |
\Swagger\Client\Model\IntegrationHub acceptIntegrationHubLegalAgreement($integration_hub_id)
Accept Integration Hub Legal Agreement
Accepts the legal agreement for a given integration hub. This only works for integration hubs that have legal_agreement_required set to true and legal_agreement_signed set to false.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new Swagger\Client\Api\IntegrationApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$integration_hub_id = "integration_hub_id_example"; // string | Id of integration_hub
try {
$result = $apiInstance->acceptIntegrationHubLegalAgreement($integration_hub_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling IntegrationApi->acceptIntegrationHubLegalAgreement: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
integration_hub_id | string | Id of integration_hub |
\Swagger\Client\Model\IntegrationHub
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\Swagger\Client\Model\IntegrationHub[] allIntegrationHubs($fields)
Get All Integration Hubs
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new Swagger\Client\Api\IntegrationApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$fields = "fields_example"; // string | Requested fields.
try {
$result = $apiInstance->allIntegrationHubs($fields);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling IntegrationApi->allIntegrationHubs: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
fields | string | Requested fields. | [optional] |
\Swagger\Client\Model\IntegrationHub[]
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\Swagger\Client\Model\Integration[] allIntegrations($fields, $integration_hub_id)
Get All Integrations
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new Swagger\Client\Api\IntegrationApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$fields = "fields_example"; // string | Requested fields.
$integration_hub_id = "integration_hub_id_example"; // string | Filter to a specific provider
try {
$result = $apiInstance->allIntegrations($fields, $integration_hub_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling IntegrationApi->allIntegrations: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
fields | string | Requested fields. | [optional] |
integration_hub_id | string | Filter to a specific provider | [optional] |
\Swagger\Client\Model\Integration[]
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\Swagger\Client\Model\IntegrationHub createIntegrationHub($body, $fields)
Create Integration Hub
Create a new Integration Hub. This API is rate limited to prevent it from being used for SSRF attacks
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new Swagger\Client\Api\IntegrationApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$body = new \Swagger\Client\Model\IntegrationHub(); // \Swagger\Client\Model\IntegrationHub | Integration Hub
$fields = "fields_example"; // string | Requested fields.
try {
$result = $apiInstance->createIntegrationHub($body, $fields);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling IntegrationApi->createIntegrationHub: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
body | \Swagger\Client\Model\IntegrationHub | Integration Hub | |
fields | string | Requested fields. | [optional] |
\Swagger\Client\Model\IntegrationHub
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
string deleteIntegrationHub($integration_hub_id)
Delete Integration Hub
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new Swagger\Client\Api\IntegrationApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$integration_hub_id = "integration_hub_id_example"; // string | Id of integration_hub
try {
$result = $apiInstance->deleteIntegrationHub($integration_hub_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling IntegrationApi->deleteIntegrationHub: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
integration_hub_id | string | Id of integration_hub |
string
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\Swagger\Client\Model\DataActionForm fetchIntegrationForm($integration_id, $body)
Fetch Remote Integration Form
Returns the Integration form for presentation to the user.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new Swagger\Client\Api\IntegrationApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$integration_id = "integration_id_example"; // string | Id of integration
$body = new \stdClass; // object | Integration Form Request
try {
$result = $apiInstance->fetchIntegrationForm($integration_id, $body);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling IntegrationApi->fetchIntegrationForm: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
integration_id | string | Id of integration | |
body | object | Integration Form Request | [optional] |
\Swagger\Client\Model\DataActionForm
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\Swagger\Client\Model\Integration integration($integration_id, $fields)
Get Integration
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new Swagger\Client\Api\IntegrationApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$integration_id = "integration_id_example"; // string | Id of integration
$fields = "fields_example"; // string | Requested fields.
try {
$result = $apiInstance->integration($integration_id, $fields);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling IntegrationApi->integration: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
integration_id | string | Id of integration | |
fields | string | Requested fields. | [optional] |
\Swagger\Client\Model\Integration
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\Swagger\Client\Model\IntegrationHub integrationHub($integration_hub_id, $fields)
Get Integration Hub
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new Swagger\Client\Api\IntegrationApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$integration_hub_id = "integration_hub_id_example"; // string | Id of integration_hub
$fields = "fields_example"; // string | Requested fields.
try {
$result = $apiInstance->integrationHub($integration_hub_id, $fields);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling IntegrationApi->integrationHub: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
integration_hub_id | string | Id of integration_hub | |
fields | string | Requested fields. | [optional] |
\Swagger\Client\Model\IntegrationHub
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\Swagger\Client\Model\IntegrationTestResult testIntegration($integration_id)
Test integration
Tests the integration to make sure all the settings are working.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new Swagger\Client\Api\IntegrationApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$integration_id = "integration_id_example"; // string | Id of integration
try {
$result = $apiInstance->testIntegration($integration_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling IntegrationApi->testIntegration: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
integration_id | string | Id of integration |
\Swagger\Client\Model\IntegrationTestResult
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\Swagger\Client\Model\Integration updateIntegration($integration_id, $body, $fields)
Update Integration
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new Swagger\Client\Api\IntegrationApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$integration_id = "integration_id_example"; // string | Id of integration
$body = new \Swagger\Client\Model\Integration(); // \Swagger\Client\Model\Integration | Integration
$fields = "fields_example"; // string | Requested fields.
try {
$result = $apiInstance->updateIntegration($integration_id, $body, $fields);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling IntegrationApi->updateIntegration: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
integration_id | string | Id of integration | |
body | \Swagger\Client\Model\Integration | Integration | |
fields | string | Requested fields. | [optional] |
\Swagger\Client\Model\Integration
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\Swagger\Client\Model\IntegrationHub updateIntegrationHub($integration_hub_id, $body, $fields)
Update Integration Hub
Update a Integration Hub definition. This API is rate limited to prevent it from being used for SSRF attacks
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new Swagger\Client\Api\IntegrationApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$integration_hub_id = "integration_hub_id_example"; // string | Id of integration_hub
$body = new \Swagger\Client\Model\IntegrationHub(); // \Swagger\Client\Model\IntegrationHub | Integration Hub
$fields = "fields_example"; // string | Requested fields.
try {
$result = $apiInstance->updateIntegrationHub($integration_hub_id, $body, $fields);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling IntegrationApi->updateIntegrationHub: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
integration_hub_id | string | Id of integration_hub | |
body | \Swagger\Client\Model\IntegrationHub | Integration Hub | |
fields | string | Requested fields. | [optional] |
\Swagger\Client\Model\IntegrationHub
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]