All URIs are relative to https://api.wall.et
| Method | HTTP request | Description |
|---|---|---|
| archive_employee_api_keys | DELETE /v2/employee/apiKeys/{id} | Archive employee API Key |
| create_employee_api_keys | POST /v2/employee/apiKeys | Create employee API Key |
| fetch_all_employee_api_keys | GET /v2/employee/apiKeys/all | Fetch all employee API Keys |
| fetch_employee_api_key_by_id | GET /v2/employee/apiKeys/{id} | Fetch API Key |
| update_employee_api_keys | PUT /v2/employee/apiKeys/{id} | Update employee API Key |
EmployeeAPIKey archive_employee_api_keys(id)
Archive employee API Key
import wallet
from wallet.models.employee_api_key import EmployeeAPIKey
from wallet.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://api.wall.et
# See configuration.py for a list of all supported configuration parameters.
configuration = wallet.Configuration(
host = "https://api.wall.et"
)
# Enter a context with an instance of the API client
with wallet.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = wallet.EmployeeAPIKeysApi(api_client)
id = None # object |
try:
# Archive employee API Key
api_response = api_instance.archive_employee_api_keys(id)
print("The response of EmployeeAPIKeysApi->archive_employee_api_keys:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling EmployeeAPIKeysApi->archive_employee_api_keys: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| id | object |
No authorization required
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Ok | - |
| 401 | Authentication Failed | - |
| 422 | Validation Failed | - |
| 500 | Internal Server Error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
EmployeeAPIKey create_employee_api_keys(wt_employee_api_key_create_params)
Create employee API Key
import wallet
from wallet.models.employee_api_key import EmployeeAPIKey
from wallet.models.wt_employee_api_key_create_params import WTEmployeeAPIKeyCreateParams
from wallet.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://api.wall.et
# See configuration.py for a list of all supported configuration parameters.
configuration = wallet.Configuration(
host = "https://api.wall.et"
)
# Enter a context with an instance of the API client
with wallet.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = wallet.EmployeeAPIKeysApi(api_client)
wt_employee_api_key_create_params = wallet.WTEmployeeAPIKeyCreateParams() # WTEmployeeAPIKeyCreateParams |
try:
# Create employee API Key
api_response = api_instance.create_employee_api_keys(wt_employee_api_key_create_params)
print("The response of EmployeeAPIKeysApi->create_employee_api_keys:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling EmployeeAPIKeysApi->create_employee_api_keys: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| wt_employee_api_key_create_params | WTEmployeeAPIKeyCreateParams |
No authorization required
- Content-Type: application/json
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Ok | - |
| 401 | Authentication Failed | - |
| 422 | Validation Failed | - |
| 500 | Internal Server Error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
List[EmployeeAPIKey] fetch_all_employee_api_keys(is_archive_included=is_archive_included)
Fetch all employee API Keys
import wallet
from wallet.models.employee_api_key import EmployeeAPIKey
from wallet.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://api.wall.et
# See configuration.py for a list of all supported configuration parameters.
configuration = wallet.Configuration(
host = "https://api.wall.et"
)
# Enter a context with an instance of the API client
with wallet.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = wallet.EmployeeAPIKeysApi(api_client)
is_archive_included = True # bool | (optional)
try:
# Fetch all employee API Keys
api_response = api_instance.fetch_all_employee_api_keys(is_archive_included=is_archive_included)
print("The response of EmployeeAPIKeysApi->fetch_all_employee_api_keys:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling EmployeeAPIKeysApi->fetch_all_employee_api_keys: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| is_archive_included | bool | [optional] |
No authorization required
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Ok | - |
| 401 | Authentication Failed | - |
| 422 | Validation Failed | - |
| 500 | Internal Server Error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
WTEmployeeAPIKey fetch_employee_api_key_by_id(id)
Fetch API Key
import wallet
from wallet.models.wt_employee_api_key import WTEmployeeAPIKey
from wallet.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://api.wall.et
# See configuration.py for a list of all supported configuration parameters.
configuration = wallet.Configuration(
host = "https://api.wall.et"
)
# Enter a context with an instance of the API client
with wallet.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = wallet.EmployeeAPIKeysApi(api_client)
id = None # object |
try:
# Fetch API Key
api_response = api_instance.fetch_employee_api_key_by_id(id)
print("The response of EmployeeAPIKeysApi->fetch_employee_api_key_by_id:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling EmployeeAPIKeysApi->fetch_employee_api_key_by_id: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| id | object |
No authorization required
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Ok | - |
| 401 | Authentication Failed | - |
| 422 | Validation Failed | - |
| 500 | Internal Server Error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
EmployeeAPIKey update_employee_api_keys(id, wt_employee_api_key_update_params)
Update employee API Key
import wallet
from wallet.models.employee_api_key import EmployeeAPIKey
from wallet.models.wt_employee_api_key_update_params import WTEmployeeAPIKeyUpdateParams
from wallet.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://api.wall.et
# See configuration.py for a list of all supported configuration parameters.
configuration = wallet.Configuration(
host = "https://api.wall.et"
)
# Enter a context with an instance of the API client
with wallet.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = wallet.EmployeeAPIKeysApi(api_client)
id = None # object |
wt_employee_api_key_update_params = wallet.WTEmployeeAPIKeyUpdateParams() # WTEmployeeAPIKeyUpdateParams |
try:
# Update employee API Key
api_response = api_instance.update_employee_api_keys(id, wt_employee_api_key_update_params)
print("The response of EmployeeAPIKeysApi->update_employee_api_keys:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling EmployeeAPIKeysApi->update_employee_api_keys: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| id | object | ||
| wt_employee_api_key_update_params | WTEmployeeAPIKeyUpdateParams |
No authorization required
- Content-Type: application/json
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Ok | - |
| 401 | Authentication Failed | - |
| 422 | Validation Failed | - |
| 500 | Internal Server Error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]