All URIs are relative to https://api.billit.be
Method | HTTP request | Description |
---|---|---|
accountGetAccountInformation | GET /v1/account/accountInformation | |
accountGetSSOToken | GET /v1/account/ssoToken | |
accountPostSequences | POST /v1/account/sequences | |
accountRegisterCompany | POST /v1/account/registercompany |
\Swagger\Client\Model\AccountInformation accountGetAccountInformation()
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new Swagger\Client\Api\AccountApi(
// 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->accountGetAccountInformation();
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling AccountApi->accountGetAccountInformation: ', $e->getMessage(), PHP_EOL;
}
?>
This endpoint does not need any parameter.
\Swagger\Client\Model\AccountInformation
No authorization required
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
[Back to top] [Back to API list] [Back to Model list] [Back to README]
object accountGetSSOToken()
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new Swagger\Client\Api\AccountApi(
// 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->accountGetSSOToken();
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling AccountApi->accountGetSSOToken: ', $e->getMessage(), PHP_EOL;
}
?>
This endpoint does not need any parameter.
object
No authorization required
- Content-Type: Not defined
- Accept: application/json, text/json, application/xml, text/xml
[Back to top] [Back to API list] [Back to Model list] [Back to README]
object accountPostSequences($sequence_request)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new Swagger\Client\Api\AccountApi(
// 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()
);
$sequence_request = new \Swagger\Client\Model\SequenceRequest(); // \Swagger\Client\Model\SequenceRequest |
try {
$result = $apiInstance->accountPostSequences($sequence_request);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling AccountApi->accountPostSequences: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
sequence_request | \Swagger\Client\Model\SequenceRequest |
object
No authorization required
- Content-Type: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
- Accept: application/json, text/json, application/xml, text/xml
[Back to top] [Back to API list] [Back to Model list] [Back to README]
object accountRegisterCompany($register_account_request)
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new Swagger\Client\Api\AccountApi(
// 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()
);
$register_account_request = new \Swagger\Client\Model\RegisterAccountRequest(); // \Swagger\Client\Model\RegisterAccountRequest |
try {
$result = $apiInstance->accountRegisterCompany($register_account_request);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling AccountApi->accountRegisterCompany: ', $e->getMessage(), PHP_EOL;
}
?>
Name | Type | Description | Notes |
---|---|---|---|
register_account_request | \Swagger\Client\Model\RegisterAccountRequest |
object
No authorization required
- Content-Type: application/json, text/json, application/xml, text/xml, application/x-www-form-urlencoded
- Accept: application/json, text/json, application/xml, text/xml
[Back to top] [Back to API list] [Back to Model list] [Back to README]