All URIs are relative to https://api.wall.et, except if the operation defines another base path.
Method | HTTP request | Description |
---|---|---|
addPeerToRoles() | POST /v2/employee/roles/peer/{userID} | Add peer to roles |
createDocument() | POST /v2/employee/document | Create document |
createEmployeePeer() | POST /v2/employee/peer | Create employee peer |
createFile() | POST /v2/employee/file/create | Create file |
createMediaFile() | POST /v2/employee/mediaFile | Create media file |
createStaticVoucherCampaignsGroup() | POST /v2/employee/staticVoucherCampaignsGroup | Create static voucher campaign group |
deleteDocument() | DELETE /v2/employee/document/{documentID} | Delete document |
deleteMediaFile() | DELETE /v2/employee/mediaFile/{mediaFileID} | Delete media file |
downloadFile() | GET /v2/employee/file/download/{fileID} | Fetch URL for file download |
exportClubMembers() | PUT /v2/employee/export/members | Export club members |
exportMerchantCredits() | PUT /v2/employee/export/merchantCredits | Export merchant credits |
exportStaticVoucherCampaign() | PUT /v2/employee/export/staticVoucherCampaign/{campaignID} | Export static voucher campaign |
failedImport() | GET /v2/employee/file/imports/failed/{fileID} | Fetch URL to download a failed import |
fetchDocuments() | GET /v2/employee/documents/all | Fetch all documents |
fetchDynamicVouchers() | GET /v2/employee/dynamicVouchers/all | Fetch all dynamic vouchers |
fetchEmployeeStaticVoucherCampaignGroups() | GET /v2/employee/staticVoucherCampaignGroups/all | Fetch static voucher campaign groups |
fetchEmployeeStaticVoucherCampaigns() | GET /v2/employee/staticVoucherCampaigns/all | Fetch static voucher campaigns |
fetchMediaFiles() | GET /v2/employee/mediaFiles/all | Fetch all media files |
fetchMerchant() | GET /v2/employee/merchant | Create employee alert |
fetchMessages() | GET /v2/employee/messages/all | Fetch all messages |
fetchOptInListSource() | GET /v2/employee/optInListSource/{sourceID} | Fetch opt in list source |
fetchOptInListSourcesCreatedByEmployee() | GET /v2/employee/optInListSources/all | Fetch all opt in list sources |
fetchPeerActivity() | GET /v2/employee/peer/activity/{employeeID} | Fetch peer activity |
fetchPeersPermissions() | GET /v2/employee/peer/permissions/{userID} | Fetch peer permissions |
fetchProfileInfo() | GET /v2/employee | Retrieve employee's webpages |
importClubMembers() | POST /v2/employee/import/members | Import club members |
importMerchantCredits() | POST /v2/employee/import/merchantCredits | Import merchant credits |
loadWebpagesOfEmployee() | GET /v2/employee/webpages/all | Retrieve employee's webpages |
modifyPeersRoles() | PUT /v2/employee/peer/permissions/{userID} | Modify peer's roles |
presignFile() | POST /v2/employee/file/presign | Presign file for upload |
removePeerFromAllRoles() | DELETE /v2/employee/peer/permissions/{userID} | Remove peer from all roles |
scheduleAdvertisementCredit() | POST /v2/employee/sms/schedule/adCredit/{advertisementCreditID} | Schedule Ad Credit |
scheduleDynamicVoucher() | POST /v2/employee/sms/schedule/dynamicVoucher/{dynamicVoucherID} | Schedule Dynamic Voucher to list |
scheduleDynamicVoucherToRecipient() | POST /v2/employee/sms/schedule/recipient/dynamicVoucher/{dynamicVoucherID} | Schedule Dyanamic Voucher to recipient |
scheduleSimpleSMS() | POST /v2/employee/sms/schedule/simple | Schedule Simple SMS broadcast to list |
scheduleSimpleSMSToRecipient() | POST /v2/employee/sms/schedule/recipient/simple | Schedule Simple SMS broadcast to recipient |
sendHelpDeskResponse() | POST /v2/employee/helpDesk/response | Send help desk response |
sendSmsCampaignBroadcast() | POST /v2/employee/sms/schedule/campaign/{staticVoucherCampaignID} | Schedule SMS Campaign Broadcast |
setAlertsRead() | PATCH /v2/employee/alerts | Mark alerts as read |
setExportDataFilesRead() | PUT /v2/employee/export/dataFiles | Mark export data files as read |
setHelpDeskRequestResolved() | PATCH /v2/employee/helpDesk/request/{helpDeskRequestID} | Resolve help desk request |
setMessagesRead() | PATCH /v2/employee/messages | Mark messages as read |
setProfilePicture() | PUT /v2/employee/profile/picture | Set profile picture |
updateClubMembers() | PUT /v2/employee/update/members | Update club members |
updateEmailNotificationPreference() | PUT /v2/employee/emailNotificationPreference | Changes the employee's email notification preference to enabled or disabled |
updateEmployeePeer() | PUT /v2/employee/peer/{userID} | Update peer |
addPeerToRoles($user_id, $wt_employee_peer_roles): string
Add peer to roles
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\EmployeesApi(
// 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()
);
$user_id = NULL; // mixed
$wt_employee_peer_roles = new \OpenAPI\Client\Model\WTEmployeePeerRoles(); // \OpenAPI\Client\Model\WTEmployeePeerRoles
try {
$result = $apiInstance->addPeerToRoles($user_id, $wt_employee_peer_roles);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling EmployeesApi->addPeerToRoles: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
user_id | mixed | ||
wt_employee_peer_roles | \OpenAPI\Client\Model\WTEmployeePeerRoles |
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]
createDocument($wt_employee_create_document): \OpenAPI\Client\Model\Document
Create document
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\EmployeesApi(
// 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()
);
$wt_employee_create_document = new \OpenAPI\Client\Model\WTEmployeeCreateDocument(); // \OpenAPI\Client\Model\WTEmployeeCreateDocument
try {
$result = $apiInstance->createDocument($wt_employee_create_document);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling EmployeesApi->createDocument: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
wt_employee_create_document | \OpenAPI\Client\Model\WTEmployeeCreateDocument |
\OpenAPI\Client\Model\Document
No authorization required
- Content-Type:
application/json
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
createEmployeePeer($wt_employee_create): \OpenAPI\Client\Model\Employee
Create employee peer
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\EmployeesApi(
// 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()
);
$wt_employee_create = new \OpenAPI\Client\Model\WTEmployeeCreate(); // \OpenAPI\Client\Model\WTEmployeeCreate
try {
$result = $apiInstance->createEmployeePeer($wt_employee_create);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling EmployeesApi->createEmployeePeer: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
wt_employee_create | \OpenAPI\Client\Model\WTEmployeeCreate |
\OpenAPI\Client\Model\Employee
No authorization required
- Content-Type:
application/json
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
createFile($wt_employee_file_create): \OpenAPI\Client\Model\CreateFile200Response
Create file
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\EmployeesApi(
// 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()
);
$wt_employee_file_create = new \OpenAPI\Client\Model\WTEmployeeFileCreate(); // \OpenAPI\Client\Model\WTEmployeeFileCreate
try {
$result = $apiInstance->createFile($wt_employee_file_create);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling EmployeesApi->createFile: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
wt_employee_file_create | \OpenAPI\Client\Model\WTEmployeeFileCreate |
\OpenAPI\Client\Model\CreateFile200Response
No authorization required
- Content-Type:
application/json
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
createMediaFile($wt_employee_create_media_file): \OpenAPI\Client\Model\MediaFile
Create media file
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\EmployeesApi(
// 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()
);
$wt_employee_create_media_file = new \OpenAPI\Client\Model\WTEmployeeCreateMediaFile(); // \OpenAPI\Client\Model\WTEmployeeCreateMediaFile
try {
$result = $apiInstance->createMediaFile($wt_employee_create_media_file);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling EmployeesApi->createMediaFile: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
wt_employee_create_media_file | \OpenAPI\Client\Model\WTEmployeeCreateMediaFile |
\OpenAPI\Client\Model\MediaFile
No authorization required
- Content-Type:
application/json
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
createStaticVoucherCampaignsGroup($wt_employee_create_static_voucher_campaign_group): \OpenAPI\Client\Model\StaticVoucherCampaignGroup
Create static voucher campaign group
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\EmployeesApi(
// 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()
);
$wt_employee_create_static_voucher_campaign_group = new \OpenAPI\Client\Model\WTEmployeeCreateStaticVoucherCampaignGroup(); // \OpenAPI\Client\Model\WTEmployeeCreateStaticVoucherCampaignGroup
try {
$result = $apiInstance->createStaticVoucherCampaignsGroup($wt_employee_create_static_voucher_campaign_group);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling EmployeesApi->createStaticVoucherCampaignsGroup: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
wt_employee_create_static_voucher_campaign_group | \OpenAPI\Client\Model\WTEmployeeCreateStaticVoucherCampaignGroup |
\OpenAPI\Client\Model\StaticVoucherCampaignGroup
No authorization required
- Content-Type:
application/json
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
deleteDocument($document_id): \OpenAPI\Client\Model\Document
Delete document
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\EmployeesApi(
// 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()
);
$document_id = NULL; // mixed
try {
$result = $apiInstance->deleteDocument($document_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling EmployeesApi->deleteDocument: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
document_id | mixed |
\OpenAPI\Client\Model\Document
No authorization required
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
deleteMediaFile($media_file_id): \OpenAPI\Client\Model\MediaFile
Delete media file
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\EmployeesApi(
// 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()
);
$media_file_id = NULL; // mixed
try {
$result = $apiInstance->deleteMediaFile($media_file_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling EmployeesApi->deleteMediaFile: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
media_file_id | mixed |
\OpenAPI\Client\Model\MediaFile
No authorization required
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
downloadFile($file_id): string
Fetch URL for file download
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\EmployeesApi(
// 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()
);
$file_id = 'file_id_example'; // string
try {
$result = $apiInstance->downloadFile($file_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling EmployeesApi->downloadFile: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
file_id | string |
string
No authorization required
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
exportClubMembers(): string
Export club members
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\EmployeesApi(
// 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()
);
try {
$result = $apiInstance->exportClubMembers();
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling EmployeesApi->exportClubMembers: ', $e->getMessage(), PHP_EOL;
}
This endpoint does not need any parameter.
string
No authorization required
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
exportMerchantCredits(): string
Export merchant credits
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\EmployeesApi(
// 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()
);
try {
$result = $apiInstance->exportMerchantCredits();
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling EmployeesApi->exportMerchantCredits: ', $e->getMessage(), PHP_EOL;
}
This endpoint does not need any parameter.
string
No authorization required
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
exportStaticVoucherCampaign($campaign_id): string
Export static voucher campaign
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\EmployeesApi(
// 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()
);
$campaign_id = NULL; // mixed
try {
$result = $apiInstance->exportStaticVoucherCampaign($campaign_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling EmployeesApi->exportStaticVoucherCampaign: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
campaign_id | mixed |
string
No authorization required
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
failedImport($file_id): string
Fetch URL to download a failed import
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\EmployeesApi(
// 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()
);
$file_id = 'file_id_example'; // string
try {
$result = $apiInstance->failedImport($file_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling EmployeesApi->failedImport: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
file_id | string |
string
No authorization required
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
fetchDocuments($folder): \OpenAPI\Client\Model\Document[]
Fetch all documents
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\EmployeesApi(
// 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()
);
$folder = 'folder_example'; // string
try {
$result = $apiInstance->fetchDocuments($folder);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling EmployeesApi->fetchDocuments: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
folder | string | [optional] |
\OpenAPI\Client\Model\Document[]
No authorization required
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
fetchDynamicVouchers($is_archive_included): \OpenAPI\Client\Model\DynamicVoucher[]
Fetch all dynamic vouchers
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\EmployeesApi(
// 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()
);
$is_archive_included = True; // bool
try {
$result = $apiInstance->fetchDynamicVouchers($is_archive_included);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling EmployeesApi->fetchDynamicVouchers: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
is_archive_included | bool | [optional] |
\OpenAPI\Client\Model\DynamicVoucher[]
No authorization required
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
fetchEmployeeStaticVoucherCampaignGroups(): \OpenAPI\Client\Model\StaticVoucherCampaignGroup[]
Fetch static voucher campaign groups
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\EmployeesApi(
// 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()
);
try {
$result = $apiInstance->fetchEmployeeStaticVoucherCampaignGroups();
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling EmployeesApi->fetchEmployeeStaticVoucherCampaignGroups: ', $e->getMessage(), PHP_EOL;
}
This endpoint does not need any parameter.
\OpenAPI\Client\Model\StaticVoucherCampaignGroup[]
No authorization required
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
fetchEmployeeStaticVoucherCampaigns($is_archive_included, $source_id): \OpenAPI\Client\Model\StaticVoucherCampaign[]
Fetch static voucher campaigns
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\EmployeesApi(
// 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()
);
$is_archive_included = True; // bool
$source_id = 3.4; // float
try {
$result = $apiInstance->fetchEmployeeStaticVoucherCampaigns($is_archive_included, $source_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling EmployeesApi->fetchEmployeeStaticVoucherCampaigns: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
is_archive_included | bool | [optional] | |
source_id | float | [optional] |
\OpenAPI\Client\Model\StaticVoucherCampaign[]
No authorization required
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
fetchMediaFiles($folder): \OpenAPI\Client\Model\MediaFile[]
Fetch all media files
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\EmployeesApi(
// 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()
);
$folder = 'folder_example'; // string
try {
$result = $apiInstance->fetchMediaFiles($folder);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling EmployeesApi->fetchMediaFiles: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
folder | string | [optional] |
\OpenAPI\Client\Model\MediaFile[]
No authorization required
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
fetchMerchant(): mixed
Create employee alert
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\EmployeesApi(
// 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()
);
try {
$result = $apiInstance->fetchMerchant();
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling EmployeesApi->fetchMerchant: ', $e->getMessage(), PHP_EOL;
}
This endpoint does not need any parameter.
mixed
No authorization required
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
fetchMessages(): \OpenAPI\Client\Model\Message[]
Fetch all messages
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\EmployeesApi(
// 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()
);
try {
$result = $apiInstance->fetchMessages();
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling EmployeesApi->fetchMessages: ', $e->getMessage(), PHP_EOL;
}
This endpoint does not need any parameter.
\OpenAPI\Client\Model\Message[]
No authorization required
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
fetchOptInListSource($source_id): \OpenAPI\Client\Model\OptInListSource
Fetch opt in list source
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\EmployeesApi(
// 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()
);
$source_id = NULL; // mixed
try {
$result = $apiInstance->fetchOptInListSource($source_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling EmployeesApi->fetchOptInListSource: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
source_id | mixed |
\OpenAPI\Client\Model\OptInListSource
No authorization required
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
fetchOptInListSourcesCreatedByEmployee(): \OpenAPI\Client\Model\OptInListSource[]
Fetch all opt in list sources
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\EmployeesApi(
// 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()
);
try {
$result = $apiInstance->fetchOptInListSourcesCreatedByEmployee();
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling EmployeesApi->fetchOptInListSourcesCreatedByEmployee: ', $e->getMessage(), PHP_EOL;
}
This endpoint does not need any parameter.
\OpenAPI\Client\Model\OptInListSource[]
No authorization required
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
fetchPeerActivity($employee_id): \OpenAPI\Client\Model\EmployeeActivityLog[]
Fetch peer activity
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\EmployeesApi(
// 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()
);
$employee_id = NULL; // mixed
try {
$result = $apiInstance->fetchPeerActivity($employee_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling EmployeesApi->fetchPeerActivity: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
employee_id | mixed |
\OpenAPI\Client\Model\EmployeeActivityLog[]
No authorization required
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
fetchPeersPermissions($user_id): mixed[]
Fetch peer permissions
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\EmployeesApi(
// 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()
);
$user_id = NULL; // mixed
try {
$result = $apiInstance->fetchPeersPermissions($user_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling EmployeesApi->fetchPeersPermissions: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
user_id | mixed |
mixed[]
No authorization required
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
fetchProfileInfo(): \OpenAPI\Client\Model\Employee
Retrieve employee's webpages
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\EmployeesApi(
// 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()
);
try {
$result = $apiInstance->fetchProfileInfo();
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling EmployeesApi->fetchProfileInfo: ', $e->getMessage(), PHP_EOL;
}
This endpoint does not need any parameter.
\OpenAPI\Client\Model\Employee
No authorization required
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
importClubMembers($wt_employee_import_records): string
Import club members
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\EmployeesApi(
// 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()
);
$wt_employee_import_records = new \OpenAPI\Client\Model\WTEmployeeImportRecords(); // \OpenAPI\Client\Model\WTEmployeeImportRecords
try {
$result = $apiInstance->importClubMembers($wt_employee_import_records);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling EmployeesApi->importClubMembers: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
wt_employee_import_records | \OpenAPI\Client\Model\WTEmployeeImportRecords |
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]
importMerchantCredits($wt_employee_import_records): string
Import merchant credits
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\EmployeesApi(
// 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()
);
$wt_employee_import_records = new \OpenAPI\Client\Model\WTEmployeeImportRecords(); // \OpenAPI\Client\Model\WTEmployeeImportRecords
try {
$result = $apiInstance->importMerchantCredits($wt_employee_import_records);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling EmployeesApi->importMerchantCredits: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
wt_employee_import_records | \OpenAPI\Client\Model\WTEmployeeImportRecords |
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]
loadWebpagesOfEmployee(): \OpenAPI\Client\Model\Webpage[]
Retrieve employee's webpages
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\EmployeesApi(
// 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()
);
try {
$result = $apiInstance->loadWebpagesOfEmployee();
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling EmployeesApi->loadWebpagesOfEmployee: ', $e->getMessage(), PHP_EOL;
}
This endpoint does not need any parameter.
\OpenAPI\Client\Model\Webpage[]
No authorization required
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
modifyPeersRoles($user_id, $wt_employee_peer_roles): mixed[]
Modify peer's roles
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\EmployeesApi(
// 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()
);
$user_id = NULL; // mixed
$wt_employee_peer_roles = new \OpenAPI\Client\Model\WTEmployeePeerRoles(); // \OpenAPI\Client\Model\WTEmployeePeerRoles
try {
$result = $apiInstance->modifyPeersRoles($user_id, $wt_employee_peer_roles);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling EmployeesApi->modifyPeersRoles: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
user_id | mixed | ||
wt_employee_peer_roles | \OpenAPI\Client\Model\WTEmployeePeerRoles |
mixed[]
No authorization required
- Content-Type:
application/json
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
presignFile($wt_employee_s3_file_presign): \OpenAPI\Client\Model\PresignedPost
Presign file for upload
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\EmployeesApi(
// 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()
);
$wt_employee_s3_file_presign = new \OpenAPI\Client\Model\WTEmployeeS3FilePresign(); // \OpenAPI\Client\Model\WTEmployeeS3FilePresign
try {
$result = $apiInstance->presignFile($wt_employee_s3_file_presign);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling EmployeesApi->presignFile: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
wt_employee_s3_file_presign | \OpenAPI\Client\Model\WTEmployeeS3FilePresign |
\OpenAPI\Client\Model\PresignedPost
No authorization required
- Content-Type:
application/json
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
removePeerFromAllRoles($user_id): bool
Remove peer from all roles
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\EmployeesApi(
// 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()
);
$user_id = NULL; // mixed
try {
$result = $apiInstance->removePeerFromAllRoles($user_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling EmployeesApi->removePeerFromAllRoles: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
user_id | mixed |
bool
No authorization required
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
scheduleAdvertisementCredit($advertisement_credit_id, $wt_employee_schedule_simple_sms): \OpenAPI\Client\Model\AdvertisementCreditBroadcast
Schedule Ad Credit
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\EmployeesApi(
// 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()
);
$advertisement_credit_id = NULL; // mixed
$wt_employee_schedule_simple_sms = new \OpenAPI\Client\Model\WTEmployeeScheduleSimpleSMS(); // \OpenAPI\Client\Model\WTEmployeeScheduleSimpleSMS
try {
$result = $apiInstance->scheduleAdvertisementCredit($advertisement_credit_id, $wt_employee_schedule_simple_sms);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling EmployeesApi->scheduleAdvertisementCredit: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
advertisement_credit_id | mixed | ||
wt_employee_schedule_simple_sms | \OpenAPI\Client\Model\WTEmployeeScheduleSimpleSMS |
\OpenAPI\Client\Model\AdvertisementCreditBroadcast
No authorization required
- Content-Type:
application/json
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
scheduleDynamicVoucher($dynamic_voucher_id, $wt_employee_schedule_simple_sms): \OpenAPI\Client\Model\DynamicVoucherBroadcast
Schedule Dynamic Voucher to list
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\EmployeesApi(
// 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()
);
$dynamic_voucher_id = NULL; // mixed
$wt_employee_schedule_simple_sms = new \OpenAPI\Client\Model\WTEmployeeScheduleSimpleSMS(); // \OpenAPI\Client\Model\WTEmployeeScheduleSimpleSMS
try {
$result = $apiInstance->scheduleDynamicVoucher($dynamic_voucher_id, $wt_employee_schedule_simple_sms);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling EmployeesApi->scheduleDynamicVoucher: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
dynamic_voucher_id | mixed | ||
wt_employee_schedule_simple_sms | \OpenAPI\Client\Model\WTEmployeeScheduleSimpleSMS |
\OpenAPI\Client\Model\DynamicVoucherBroadcast
No authorization required
- Content-Type:
application/json
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
scheduleDynamicVoucherToRecipient($dynamic_voucher_id, $wt_employee_schedule_simple_smsto_recipient): \OpenAPI\Client\Model\DynamicVoucherBroadcast
Schedule Dyanamic Voucher to recipient
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\EmployeesApi(
// 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()
);
$dynamic_voucher_id = NULL; // mixed
$wt_employee_schedule_simple_smsto_recipient = new \OpenAPI\Client\Model\WTEmployeeScheduleSimpleSMSToRecipient(); // \OpenAPI\Client\Model\WTEmployeeScheduleSimpleSMSToRecipient
try {
$result = $apiInstance->scheduleDynamicVoucherToRecipient($dynamic_voucher_id, $wt_employee_schedule_simple_smsto_recipient);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling EmployeesApi->scheduleDynamicVoucherToRecipient: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
dynamic_voucher_id | mixed | ||
wt_employee_schedule_simple_smsto_recipient | \OpenAPI\Client\Model\WTEmployeeScheduleSimpleSMSToRecipient |
\OpenAPI\Client\Model\DynamicVoucherBroadcast
No authorization required
- Content-Type:
application/json
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
scheduleSimpleSMS($wt_employee_schedule_simple_sms): bool
Schedule Simple SMS broadcast to list
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\EmployeesApi(
// 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()
);
$wt_employee_schedule_simple_sms = new \OpenAPI\Client\Model\WTEmployeeScheduleSimpleSMS(); // \OpenAPI\Client\Model\WTEmployeeScheduleSimpleSMS
try {
$result = $apiInstance->scheduleSimpleSMS($wt_employee_schedule_simple_sms);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling EmployeesApi->scheduleSimpleSMS: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
wt_employee_schedule_simple_sms | \OpenAPI\Client\Model\WTEmployeeScheduleSimpleSMS |
bool
No authorization required
- Content-Type:
application/json
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
scheduleSimpleSMSToRecipient($wt_employee_schedule_simple_smsto_recipient): bool
Schedule Simple SMS broadcast to recipient
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\EmployeesApi(
// 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()
);
$wt_employee_schedule_simple_smsto_recipient = new \OpenAPI\Client\Model\WTEmployeeScheduleSimpleSMSToRecipient(); // \OpenAPI\Client\Model\WTEmployeeScheduleSimpleSMSToRecipient
try {
$result = $apiInstance->scheduleSimpleSMSToRecipient($wt_employee_schedule_simple_smsto_recipient);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling EmployeesApi->scheduleSimpleSMSToRecipient: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
wt_employee_schedule_simple_smsto_recipient | \OpenAPI\Client\Model\WTEmployeeScheduleSimpleSMSToRecipient |
bool
No authorization required
- Content-Type:
application/json
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
sendHelpDeskResponse($wt_employee_send_help_desk_response): \OpenAPI\Client\Model\OutboundSMS
Send help desk response
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\EmployeesApi(
// 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()
);
$wt_employee_send_help_desk_response = new \OpenAPI\Client\Model\WTEmployeeSendHelpDeskResponse(); // \OpenAPI\Client\Model\WTEmployeeSendHelpDeskResponse
try {
$result = $apiInstance->sendHelpDeskResponse($wt_employee_send_help_desk_response);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling EmployeesApi->sendHelpDeskResponse: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
wt_employee_send_help_desk_response | \OpenAPI\Client\Model\WTEmployeeSendHelpDeskResponse |
\OpenAPI\Client\Model\OutboundSMS
No authorization required
- Content-Type:
application/json
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
sendSmsCampaignBroadcast($static_voucher_campaign_id, $wt_employee_schedule_sms_campaign_broadcast): \OpenAPI\Client\Model\StaticVoucherCampaignBroadcast
Schedule SMS Campaign Broadcast
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\EmployeesApi(
// 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()
);
$static_voucher_campaign_id = NULL; // mixed
$wt_employee_schedule_sms_campaign_broadcast = new \OpenAPI\Client\Model\WTEmployeeScheduleSMSCampaignBroadcast(); // \OpenAPI\Client\Model\WTEmployeeScheduleSMSCampaignBroadcast
try {
$result = $apiInstance->sendSmsCampaignBroadcast($static_voucher_campaign_id, $wt_employee_schedule_sms_campaign_broadcast);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling EmployeesApi->sendSmsCampaignBroadcast: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
static_voucher_campaign_id | mixed | ||
wt_employee_schedule_sms_campaign_broadcast | \OpenAPI\Client\Model\WTEmployeeScheduleSMSCampaignBroadcast |
\OpenAPI\Client\Model\StaticVoucherCampaignBroadcast
No authorization required
- Content-Type:
application/json
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
setAlertsRead(): bool
Mark alerts as read
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\EmployeesApi(
// 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()
);
try {
$result = $apiInstance->setAlertsRead();
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling EmployeesApi->setAlertsRead: ', $e->getMessage(), PHP_EOL;
}
This endpoint does not need any parameter.
bool
No authorization required
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
setExportDataFilesRead(): bool
Mark export data files as read
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\EmployeesApi(
// 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()
);
try {
$result = $apiInstance->setExportDataFilesRead();
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling EmployeesApi->setExportDataFilesRead: ', $e->getMessage(), PHP_EOL;
}
This endpoint does not need any parameter.
bool
No authorization required
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
setHelpDeskRequestResolved($help_desk_request_id): \OpenAPI\Client\Model\HelpDeskRequest
Resolve help desk request
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\EmployeesApi(
// 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()
);
$help_desk_request_id = NULL; // mixed
try {
$result = $apiInstance->setHelpDeskRequestResolved($help_desk_request_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling EmployeesApi->setHelpDeskRequestResolved: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
help_desk_request_id | mixed |
\OpenAPI\Client\Model\HelpDeskRequest
No authorization required
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
setMessagesRead(): bool
Mark messages as read
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\EmployeesApi(
// 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()
);
try {
$result = $apiInstance->setMessagesRead();
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling EmployeesApi->setMessagesRead: ', $e->getMessage(), PHP_EOL;
}
This endpoint does not need any parameter.
bool
No authorization required
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
setProfilePicture($wt_employee_create_media_file): string
Set profile picture
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\EmployeesApi(
// 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()
);
$wt_employee_create_media_file = new \OpenAPI\Client\Model\WTEmployeeCreateMediaFile(); // \OpenAPI\Client\Model\WTEmployeeCreateMediaFile
try {
$result = $apiInstance->setProfilePicture($wt_employee_create_media_file);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling EmployeesApi->setProfilePicture: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
wt_employee_create_media_file | \OpenAPI\Client\Model\WTEmployeeCreateMediaFile |
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]
updateClubMembers($wt_employee_update_records): string
Update club members
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\EmployeesApi(
// 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()
);
$wt_employee_update_records = new \OpenAPI\Client\Model\WTEmployeeUpdateRecords(); // \OpenAPI\Client\Model\WTEmployeeUpdateRecords
try {
$result = $apiInstance->updateClubMembers($wt_employee_update_records);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling EmployeesApi->updateClubMembers: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
wt_employee_update_records | \OpenAPI\Client\Model\WTEmployeeUpdateRecords |
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]
updateEmailNotificationPreference($update_email_notification_preference_request): \OpenAPI\Client\Model\Employee
Changes the employee's email notification preference to enabled or disabled
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\EmployeesApi(
// 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()
);
$update_email_notification_preference_request = new \OpenAPI\Client\Model\UpdateEmailNotificationPreferenceRequest(); // \OpenAPI\Client\Model\UpdateEmailNotificationPreferenceRequest
try {
$result = $apiInstance->updateEmailNotificationPreference($update_email_notification_preference_request);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling EmployeesApi->updateEmailNotificationPreference: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
update_email_notification_preference_request | \OpenAPI\Client\Model\UpdateEmailNotificationPreferenceRequest |
\OpenAPI\Client\Model\Employee
No authorization required
- Content-Type:
application/json
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
updateEmployeePeer($user_id, $wt_employee_update): \OpenAPI\Client\Model\Employee
Update peer
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\EmployeesApi(
// 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()
);
$user_id = 'user_id_example'; // string
$wt_employee_update = new \OpenAPI\Client\Model\WTEmployeeUpdate(); // \OpenAPI\Client\Model\WTEmployeeUpdate
try {
$result = $apiInstance->updateEmployeePeer($user_id, $wt_employee_update);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling EmployeesApi->updateEmployeePeer: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
user_id | string | ||
wt_employee_update | \OpenAPI\Client\Model\WTEmployeeUpdate |
\OpenAPI\Client\Model\Employee
No authorization required
- Content-Type:
application/json
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]