All URIs are relative to https://api.wall.et, except if the operation defines another base path.
Method | HTTP request | Description |
---|---|---|
createRole() | POST /v2/system/roles | Create role |
deleteRole() | DELETE /v2/system/roles/{roleID} | Delete role |
fetchAuditLogOfRoles() | GET /v2/system/roles/auditLog | Fetch role's audit log |
fetchEmployeesWithRole() | GET /v2/system/roles/employees/{roleID} | Fetch employees with role |
fetchWebpagesForRole() | GET /v2/system/roles/webpages/{roleID} | Fetch webpages for role |
getPaymentPrefixes() | GET /v2/system/prefixes | Get payment prefixes |
loadRole() | GET /v2/system/roles/{roleID} | Fetch role |
saveRole() | PUT /v2/system/roles/{roleID} | Update role |
createRole($wt_system_role_create): \OpenAPI\Client\Model\Role
Create role
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\SystemApi(
// 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_system_role_create = new \OpenAPI\Client\Model\WTSystemRoleCreate(); // \OpenAPI\Client\Model\WTSystemRoleCreate
try {
$result = $apiInstance->createRole($wt_system_role_create);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SystemApi->createRole: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
wt_system_role_create | \OpenAPI\Client\Model\WTSystemRoleCreate |
No authorization required
- Content-Type:
application/json
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
deleteRole($role_id): bool
Delete role
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\SystemApi(
// 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()
);
$role_id = 'role_id_example'; // string
try {
$result = $apiInstance->deleteRole($role_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SystemApi->deleteRole: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
role_id | string |
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]
fetchAuditLogOfRoles($start_date_time, $end_date_time): \OpenAPI\Client\Model\RoleAuditLog[]
Fetch role's audit log
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\SystemApi(
// 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()
);
$start_date_time = new \DateTime("2013-10-20T19:20:30+01:00"); // \DateTime
$end_date_time = new \DateTime("2013-10-20T19:20:30+01:00"); // \DateTime
try {
$result = $apiInstance->fetchAuditLogOfRoles($start_date_time, $end_date_time);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SystemApi->fetchAuditLogOfRoles: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
start_date_time | \DateTime | ||
end_date_time | \DateTime |
\OpenAPI\Client\Model\RoleAuditLog[]
No authorization required
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
fetchEmployeesWithRole($role_id): \OpenAPI\Client\Model\Employee[]
Fetch employees with role
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\SystemApi(
// 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()
);
$role_id = 'role_id_example'; // string
try {
$result = $apiInstance->fetchEmployeesWithRole($role_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SystemApi->fetchEmployeesWithRole: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
role_id | string |
\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]
fetchWebpagesForRole($role_id): \OpenAPI\Client\Model\Webpage[]
Fetch webpages for role
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\SystemApi(
// 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()
);
$role_id = 'role_id_example'; // string
try {
$result = $apiInstance->fetchWebpagesForRole($role_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SystemApi->fetchWebpagesForRole: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
role_id | string |
\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]
getPaymentPrefixes(): mixed[]
Get payment prefixes
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\SystemApi(
// 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->getPaymentPrefixes();
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SystemApi->getPaymentPrefixes: ', $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]
loadRole($role_id): \OpenAPI\Client\Model\WTRole
Fetch role
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\SystemApi(
// 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()
);
$role_id = 'role_id_example'; // string
try {
$result = $apiInstance->loadRole($role_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SystemApi->loadRole: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
role_id | 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]
saveRole($role_id, $wt_system_role_create): \OpenAPI\Client\Model\Role
Update role
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\SystemApi(
// 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()
);
$role_id = 'role_id_example'; // string
$wt_system_role_create = new \OpenAPI\Client\Model\WTSystemRoleCreate(); // \OpenAPI\Client\Model\WTSystemRoleCreate
try {
$result = $apiInstance->saveRole($role_id, $wt_system_role_create);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling SystemApi->saveRole: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
role_id | string | ||
wt_system_role_create | \OpenAPI\Client\Model\WTSystemRoleCreate |
No authorization required
- Content-Type:
application/json
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]