All URIs are relative to https://api.wall.et
| Method | HTTP request | Description |
|---|---|---|
| ArchiveEmployeeAPIKeys | DELETE /v2/employee/apiKeys/{id} | Archive API Key |
| CreateEmployeeAPIKeys | POST /v2/employee/apiKeys | Create API Key |
| FetchAllEmployeeAPIKeys | GET /v2/employee/apiKeys/all | Get API Keys |
| FetchEmployeeAPIKeyById | GET /v2/employee/apiKeys/{id} | Get API Key |
| UpdateEmployeeAPIKeys | PUT /v2/employee/apiKeys/{id} | Update API Key |
EmployeeAPIKey ArchiveEmployeeAPIKeys (string id)
Archive API Key
using System.Collections.Generic;
using System.Diagnostics;
using System.Net.Http;
using WalletInc.Api;
using WalletInc.Client;
using WalletInc.Model;
namespace Example
{
public class ArchiveEmployeeAPIKeysExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.wall.et";
// create instances of HttpClient, HttpClientHandler to be reused later with different Api classes
HttpClient httpClient = new HttpClient();
HttpClientHandler httpClientHandler = new HttpClientHandler();
var apiInstance = new APIKeysApi(httpClient, config, httpClientHandler);
var id = "id_example"; // string |
try
{
// Archive API Key
EmployeeAPIKey result = apiInstance.ArchiveEmployeeAPIKeys(id);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling APIKeysApi.ArchiveEmployeeAPIKeys: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}This returns an ApiResponse object which contains the response data, status code and headers.
try
{
// Archive API Key
ApiResponse<EmployeeAPIKey> response = apiInstance.ArchiveEmployeeAPIKeysWithHttpInfo(id);
Debug.Write("Status Code: " + response.StatusCode);
Debug.Write("Response Headers: " + response.Headers);
Debug.Write("Response Body: " + response.Data);
}
catch (ApiException e)
{
Debug.Print("Exception when calling APIKeysApi.ArchiveEmployeeAPIKeysWithHttpInfo: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | string |
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 CreateEmployeeAPIKeys (WTEmployeeAPIKeyCreateParams wTEmployeeAPIKeyCreateParams)
Create API Key
using System.Collections.Generic;
using System.Diagnostics;
using System.Net.Http;
using WalletInc.Api;
using WalletInc.Client;
using WalletInc.Model;
namespace Example
{
public class CreateEmployeeAPIKeysExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.wall.et";
// create instances of HttpClient, HttpClientHandler to be reused later with different Api classes
HttpClient httpClient = new HttpClient();
HttpClientHandler httpClientHandler = new HttpClientHandler();
var apiInstance = new APIKeysApi(httpClient, config, httpClientHandler);
var wTEmployeeAPIKeyCreateParams = new WTEmployeeAPIKeyCreateParams(); // WTEmployeeAPIKeyCreateParams |
try
{
// Create API Key
EmployeeAPIKey result = apiInstance.CreateEmployeeAPIKeys(wTEmployeeAPIKeyCreateParams);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling APIKeysApi.CreateEmployeeAPIKeys: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}This returns an ApiResponse object which contains the response data, status code and headers.
try
{
// Create API Key
ApiResponse<EmployeeAPIKey> response = apiInstance.CreateEmployeeAPIKeysWithHttpInfo(wTEmployeeAPIKeyCreateParams);
Debug.Write("Status Code: " + response.StatusCode);
Debug.Write("Response Headers: " + response.Headers);
Debug.Write("Response Body: " + response.Data);
}
catch (ApiException e)
{
Debug.Print("Exception when calling APIKeysApi.CreateEmployeeAPIKeysWithHttpInfo: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}| Name | Type | Description | Notes |
|---|---|---|---|
| wTEmployeeAPIKeyCreateParams | 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> FetchAllEmployeeAPIKeys (bool? isArchiveIncluded = null)
Get API Keys
using System.Collections.Generic;
using System.Diagnostics;
using System.Net.Http;
using WalletInc.Api;
using WalletInc.Client;
using WalletInc.Model;
namespace Example
{
public class FetchAllEmployeeAPIKeysExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.wall.et";
// create instances of HttpClient, HttpClientHandler to be reused later with different Api classes
HttpClient httpClient = new HttpClient();
HttpClientHandler httpClientHandler = new HttpClientHandler();
var apiInstance = new APIKeysApi(httpClient, config, httpClientHandler);
var isArchiveIncluded = true; // bool? | (optional)
try
{
// Get API Keys
List<EmployeeAPIKey> result = apiInstance.FetchAllEmployeeAPIKeys(isArchiveIncluded);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling APIKeysApi.FetchAllEmployeeAPIKeys: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}This returns an ApiResponse object which contains the response data, status code and headers.
try
{
// Get API Keys
ApiResponse<List<EmployeeAPIKey>> response = apiInstance.FetchAllEmployeeAPIKeysWithHttpInfo(isArchiveIncluded);
Debug.Write("Status Code: " + response.StatusCode);
Debug.Write("Response Headers: " + response.Headers);
Debug.Write("Response Body: " + response.Data);
}
catch (ApiException e)
{
Debug.Print("Exception when calling APIKeysApi.FetchAllEmployeeAPIKeysWithHttpInfo: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}| Name | Type | Description | Notes |
|---|---|---|---|
| isArchiveIncluded | 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 FetchEmployeeAPIKeyById (string id)
Get API Key
using System.Collections.Generic;
using System.Diagnostics;
using System.Net.Http;
using WalletInc.Api;
using WalletInc.Client;
using WalletInc.Model;
namespace Example
{
public class FetchEmployeeAPIKeyByIdExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.wall.et";
// create instances of HttpClient, HttpClientHandler to be reused later with different Api classes
HttpClient httpClient = new HttpClient();
HttpClientHandler httpClientHandler = new HttpClientHandler();
var apiInstance = new APIKeysApi(httpClient, config, httpClientHandler);
var id = "id_example"; // string |
try
{
// Get API Key
WTEmployeeAPIKey result = apiInstance.FetchEmployeeAPIKeyById(id);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling APIKeysApi.FetchEmployeeAPIKeyById: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}This returns an ApiResponse object which contains the response data, status code and headers.
try
{
// Get API Key
ApiResponse<WTEmployeeAPIKey> response = apiInstance.FetchEmployeeAPIKeyByIdWithHttpInfo(id);
Debug.Write("Status Code: " + response.StatusCode);
Debug.Write("Response Headers: " + response.Headers);
Debug.Write("Response Body: " + response.Data);
}
catch (ApiException e)
{
Debug.Print("Exception when calling APIKeysApi.FetchEmployeeAPIKeyByIdWithHttpInfo: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | string |
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 UpdateEmployeeAPIKeys (string id, WTEmployeeAPIKeyUpdateParams wTEmployeeAPIKeyUpdateParams)
Update API Key
using System.Collections.Generic;
using System.Diagnostics;
using System.Net.Http;
using WalletInc.Api;
using WalletInc.Client;
using WalletInc.Model;
namespace Example
{
public class UpdateEmployeeAPIKeysExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.wall.et";
// create instances of HttpClient, HttpClientHandler to be reused later with different Api classes
HttpClient httpClient = new HttpClient();
HttpClientHandler httpClientHandler = new HttpClientHandler();
var apiInstance = new APIKeysApi(httpClient, config, httpClientHandler);
var id = "id_example"; // string |
var wTEmployeeAPIKeyUpdateParams = new WTEmployeeAPIKeyUpdateParams(); // WTEmployeeAPIKeyUpdateParams |
try
{
// Update API Key
EmployeeAPIKey result = apiInstance.UpdateEmployeeAPIKeys(id, wTEmployeeAPIKeyUpdateParams);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling APIKeysApi.UpdateEmployeeAPIKeys: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}This returns an ApiResponse object which contains the response data, status code and headers.
try
{
// Update API Key
ApiResponse<EmployeeAPIKey> response = apiInstance.UpdateEmployeeAPIKeysWithHttpInfo(id, wTEmployeeAPIKeyUpdateParams);
Debug.Write("Status Code: " + response.StatusCode);
Debug.Write("Response Headers: " + response.Headers);
Debug.Write("Response Body: " + response.Data);
}
catch (ApiException e)
{
Debug.Print("Exception when calling APIKeysApi.UpdateEmployeeAPIKeysWithHttpInfo: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | string | ||
| wTEmployeeAPIKeyUpdateParams | 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]