All URIs are relative to http://localhost, except if the operation defines another base path.
Method | HTTP request | Description |
---|---|---|
legacyContactAddContact() | POST /apps/api/kronos.contact.add | Create a new contact. |
legacyContactDeleteContact() | POST /apps/api/kronos.contact.delete | Delete a contact. |
legacyContactGetContact() | GET /apps/api/kronos.contact.get | Get complete record for a contact. |
legacyContactGetContactAccessRights() | GET /apps/api/kronos.contact.getAccessRights | Get access rights for a contact. |
legacyContactGetContactAccessRightsByExternalId() | GET /apps/api/kronos.contact.getAccessRightsByExternalId | Get access rights for a contact using external id. |
legacyContactGetContactList() | GET /apps/api/kronos.contact.getList | Get a list of all contacts. |
legacyContactGetDatagatewayUniverisContact() | GET /apps/api/kronos.contact.getDatagatewayUniverisContact | Get access rights for a contact using external key. |
legacyContactPatchContact() | POST /apps/api/kronos.contact.patchContact | Patch a contact. |
legacyContactUpdateContact() | POST /apps/api/kronos.contact.update | Update a contact. |
legacyContactAddContact($legacyContactContactPayloadRequest): \Equisoft\SDK\EquisoftConnect\Model\LegacyAddUpdateResponse
Create a new contact.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: OAuth2
$config = Equisoft\SDK\EquisoftConnect\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new Equisoft\SDK\EquisoftConnect\Api\LegacyContactApi(
// 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(),
$config
);
$legacyContactContactPayloadRequest = new \Equisoft\SDK\EquisoftConnect\Model\LegacyContactContactPayloadRequest(); // \Equisoft\SDK\EquisoftConnect\Model\LegacyContactContactPayloadRequest
try {
$result = $apiInstance->legacyContactAddContact($legacyContactContactPayloadRequest);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling LegacyContactApi->legacyContactAddContact: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
legacyContactContactPayloadRequest | \Equisoft\SDK\EquisoftConnect\Model\LegacyContactContactPayloadRequest |
\Equisoft\SDK\EquisoftConnect\Model\LegacyAddUpdateResponse
- Content-Type:
application/json
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
legacyContactDeleteContact($id): \Equisoft\SDK\EquisoftConnect\Model\LegacyResponse
Delete a contact.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: OAuth2
$config = Equisoft\SDK\EquisoftConnect\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new Equisoft\SDK\EquisoftConnect\Api\LegacyContactApi(
// 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(),
$config
);
$id = 'id_example'; // string | Contact identifier.
try {
$result = $apiInstance->legacyContactDeleteContact($id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling LegacyContactApi->legacyContactDeleteContact: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
id | string | Contact identifier. |
\Equisoft\SDK\EquisoftConnect\Model\LegacyResponse
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
legacyContactGetContact($id): \Equisoft\SDK\EquisoftConnect\Model\LegacyContactGetResponse
Get complete record for a contact.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: OAuth2
$config = Equisoft\SDK\EquisoftConnect\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new Equisoft\SDK\EquisoftConnect\Api\LegacyContactApi(
// 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(),
$config
);
$id = 'id_example'; // string | Contact identifier.
try {
$result = $apiInstance->legacyContactGetContact($id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling LegacyContactApi->legacyContactGetContact: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
id | string | Contact identifier. |
\Equisoft\SDK\EquisoftConnect\Model\LegacyContactGetResponse
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
legacyContactGetContactAccessRights($id): \Equisoft\SDK\EquisoftConnect\Model\LegacyContactGetAccessRightsResponse
Get access rights for a contact.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: OAuth2
$config = Equisoft\SDK\EquisoftConnect\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new Equisoft\SDK\EquisoftConnect\Api\LegacyContactApi(
// 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(),
$config
);
$id = 'id_example'; // string | Contact identifier.
try {
$result = $apiInstance->legacyContactGetContactAccessRights($id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling LegacyContactApi->legacyContactGetContactAccessRights: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
id | string | Contact identifier. |
\Equisoft\SDK\EquisoftConnect\Model\LegacyContactGetAccessRightsResponse
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
legacyContactGetContactAccessRightsByExternalId($externalId): \Equisoft\SDK\EquisoftConnect\Model\LegacyContactGetAccessRightsResponse
Get access rights for a contact using external id.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: OAuth2
$config = Equisoft\SDK\EquisoftConnect\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new Equisoft\SDK\EquisoftConnect\Api\LegacyContactApi(
// 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(),
$config
);
$externalId = 'externalId_example'; // string | External id for the contact in the current consumer.
try {
$result = $apiInstance->legacyContactGetContactAccessRightsByExternalId($externalId);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling LegacyContactApi->legacyContactGetContactAccessRightsByExternalId: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
externalId | string | External id for the contact in the current consumer. |
\Equisoft\SDK\EquisoftConnect\Model\LegacyContactGetAccessRightsResponse
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
legacyContactGetContactList($lastModifiedTime, $optionPayload): \Equisoft\SDK\EquisoftConnect\Model\LegacyContactGetListResponse
Get a list of all contacts.
This will return basic information about the contact. To get the complete record of a contact, you need to use the kronos.contact.get method.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: OAuth2
$config = Equisoft\SDK\EquisoftConnect\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new Equisoft\SDK\EquisoftConnect\Api\LegacyContactApi(
// 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(),
$config
);
$lastModifiedTime = 'lastModifiedTime_example'; // string | To Fetch all documents, which got modified / created after specified date. If the value \"auto\" is used, the last access date to this method will be used. Set the value to \"reset\" to reset the last access date.
$optionPayload = new \Equisoft\SDK\EquisoftConnect\Model\LegacyContactGetListOptions(); // LegacyContactGetListOptions | Object containing the options to filter the list of contacts.
try {
$result = $apiInstance->legacyContactGetContactList($lastModifiedTime, $optionPayload);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling LegacyContactApi->legacyContactGetContactList: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
lastModifiedTime | string | To Fetch all documents, which got modified / created after specified date. If the value "auto" is used, the last access date to this method will be used. Set the value to "reset" to reset the last access date. | [optional] |
optionPayload | LegacyContactGetListOptions | Object containing the options to filter the list of contacts. | [optional] |
\Equisoft\SDK\EquisoftConnect\Model\LegacyContactGetListResponse
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
legacyContactGetDatagatewayUniverisContact($externalKey): \Equisoft\SDK\EquisoftConnect\Model\LegacyContactGetResponse
Get access rights for a contact using external key.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: OAuth2
$config = Equisoft\SDK\EquisoftConnect\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new Equisoft\SDK\EquisoftConnect\Api\LegacyContactApi(
// 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(),
$config
);
$externalKey = 'externalKey_example'; // string | External key for the contact in the current consumer.
try {
$result = $apiInstance->legacyContactGetDatagatewayUniverisContact($externalKey);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling LegacyContactApi->legacyContactGetDatagatewayUniverisContact: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
externalKey | string | External key for the contact in the current consumer. |
\Equisoft\SDK\EquisoftConnect\Model\LegacyContactGetResponse
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
legacyContactPatchContact($contactId, $legacyContactPatchContactPayloadRequest): \Equisoft\SDK\EquisoftConnect\Model\LegacyContactPatchContactResponse
Patch a contact.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: OAuth2
$config = Equisoft\SDK\EquisoftConnect\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new Equisoft\SDK\EquisoftConnect\Api\LegacyContactApi(
// 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(),
$config
);
$contactId = 'contactId_example'; // string | Contact identifier.
$legacyContactPatchContactPayloadRequest = new \Equisoft\SDK\EquisoftConnect\Model\LegacyContactPatchContactPayloadRequest(); // \Equisoft\SDK\EquisoftConnect\Model\LegacyContactPatchContactPayloadRequest
try {
$result = $apiInstance->legacyContactPatchContact($contactId, $legacyContactPatchContactPayloadRequest);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling LegacyContactApi->legacyContactPatchContact: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
contactId | string | Contact identifier. | |
legacyContactPatchContactPayloadRequest | \Equisoft\SDK\EquisoftConnect\Model\LegacyContactPatchContactPayloadRequest |
\Equisoft\SDK\EquisoftConnect\Model\LegacyContactPatchContactResponse
- Content-Type:
application/json
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
legacyContactUpdateContact($legacyContactContactPayloadRequest): \Equisoft\SDK\EquisoftConnect\Model\LegacyAddUpdateResponse
Update a contact.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: OAuth2
$config = Equisoft\SDK\EquisoftConnect\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new Equisoft\SDK\EquisoftConnect\Api\LegacyContactApi(
// 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(),
$config
);
$legacyContactContactPayloadRequest = new \Equisoft\SDK\EquisoftConnect\Model\LegacyContactContactPayloadRequest(); // \Equisoft\SDK\EquisoftConnect\Model\LegacyContactContactPayloadRequest
try {
$result = $apiInstance->legacyContactUpdateContact($legacyContactContactPayloadRequest);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling LegacyContactApi->legacyContactUpdateContact: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
legacyContactContactPayloadRequest | \Equisoft\SDK\EquisoftConnect\Model\LegacyContactContactPayloadRequest |
\Equisoft\SDK\EquisoftConnect\Model\LegacyAddUpdateResponse
- Content-Type:
application/json
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]