All URIs are relative to https://virtserver.swaggerhub.com/forevermatt/budget-data/0.1.3
Method | HTTP request | Description |
---|---|---|
accountPost | POST /account | Add an account |
accountsGet | GET /accounts | List the current user's (financial) Accounts |
accountPost($body)
Add an account
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new BudgetData\ApiClient\Api\DefaultApi(
// 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()
);
$body = new \BudgetData\ApiClient\Model\Account(); // \BudgetData\ApiClient\Model\Account |
try {
$apiInstance->accountPost($body);
} catch (Exception $e) {
echo 'Exception when calling DefaultApi->accountPost: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
body | \BudgetData\ApiClient\Model\Account |
void (empty response body)
No authorization required
- Content-Type: application/json
- Accept: Not defined
[Back to top] [Back to API list] [Back to Model list] [Back to README]
\BudgetData\ApiClient\Model\Account[] accountsGet()
List the current user's (financial) Accounts
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new BudgetData\ApiClient\Api\DefaultApi(
// 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->accountsGet();
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling DefaultApi->accountsGet: ', $e->getMessage(), PHP_EOL;
}
?>
This endpoint does not need any parameter.
\BudgetData\ApiClient\Model\Account[]
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]