All URIs are relative to https://api.stateset.com/v1, except if the operation defines another base path.
Method | HTTP request | Description |
---|---|---|
getAccountByName() | GET /accounts | Get account by account name |
getAccountByName_0() | GET /accounts/{id} | Get account by account name |
getAccountByName($limit, $offset, $order_direction): \OpenAPI\Client\Model\Accounts
Get account by account name
Some description of the operation. You can use Markdown
here.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: api_key
$config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setApiKey('api_key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api_key', 'Bearer');
// Configure OAuth2 access token for authorization: main_auth
$config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new OpenAPI\Client\Api\AccountsApi(
// 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
);
$limit = 3.4; // float | The number of items to return
$offset = 3.4; // float | Filter users without email
$order_direction = 'order_direction_example'; // string | Direction to return accounts
try {
$result = $apiInstance->getAccountByName($limit, $offset, $order_direction);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling AccountsApi->getAccountByName: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
limit | float | The number of items to return | |
offset | float | Filter users without email | |
order_direction | string | Direction to return accounts |
\OpenAPI\Client\Model\Accounts
- Content-Type: Not defined
- Accept:
application/json
,application/problem+json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
getAccountByName_0($limit, $offset, $order_direction): \OpenAPI\Client\Model\Accounts
Get account by account name
Some description of the operation. You can use Markdown
here.
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: api_key
$config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setApiKey('api_key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api_key', 'Bearer');
// Configure OAuth2 access token for authorization: main_auth
$config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new OpenAPI\Client\Api\AccountsApi(
// 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
);
$limit = 3.4; // float | The number of items to return
$offset = 3.4; // float | Filter users without email
$order_direction = 'order_direction_example'; // string | Direction to return accounts
try {
$result = $apiInstance->getAccountByName_0($limit, $offset, $order_direction);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling AccountsApi->getAccountByName_0: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
limit | float | The number of items to return | |
offset | float | Filter users without email | |
order_direction | string | Direction to return accounts |
\OpenAPI\Client\Model\Accounts
- Content-Type: Not defined
- Accept:
application/json
,application/problem+json
[Back to top] [Back to API list] [Back to Model list] [Back to README]