Skip to content

Latest commit

 

History

History
290 lines (188 loc) · 8.23 KB

AccountServiceApi.md

File metadata and controls

290 lines (188 loc) · 8.23 KB

OpenAPI\Client\AccountServiceApi

All URIs are relative to http://localhost, except if the operation defines another base path.

Method HTTP request Description
billingAccountRestGetaccountPost() POST /billing/account/rest/getaccount
billingAccountRestGetextendedaccountbillinghistorybyperiodPost() POST /billing/account/rest/getextendedaccountbillinghistorybyperiod
billingAccountRestGetquotasPost() POST /billing/account/rest/getquotas
usersAccountRestGetuserinfoPost() POST /users/account/rest/getuserinfo
usersAccountRestRecoverpasswordPost() POST /users/account/rest/recoverpassword

billingAccountRestGetaccountPost()

billingAccountRestGetaccountPost(): \OpenAPI\Client\Model\ComHivextApiServerBillingResponseAccountResponse

Gets account by session.

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');



$apiInstance = new OpenAPI\Client\Api\AccountServiceApi(
    // 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->billingAccountRestGetaccountPost();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling AccountServiceApi->billingAccountRestGetaccountPost: ', $e->getMessage(), PHP_EOL;
}

Parameters

This endpoint does not need any parameter.

Return type

\OpenAPI\Client\Model\ComHivextApiServerBillingResponseAccountResponse

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/x-www-form-urlencoded
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

billingAccountRestGetextendedaccountbillinghistorybyperiodPost()

billingAccountRestGetextendedaccountbillinghistorybyperiodPost($endtime, $starttime, $targetAppid): \OpenAPI\Client\Model\ComHivextApiServerEnvironmentResponseObjectResponse

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');



$apiInstance = new OpenAPI\Client\Api\AccountServiceApi(
    // 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()
);
$endtime = 'endtime_example'; // string
$starttime = 'starttime_example'; // string
$targetAppid = 'targetAppid_example'; // string

try {
    $result = $apiInstance->billingAccountRestGetextendedaccountbillinghistorybyperiodPost($endtime, $starttime, $targetAppid);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling AccountServiceApi->billingAccountRestGetextendedaccountbillinghistorybyperiodPost: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
endtime string
starttime string
targetAppid string [optional]

Return type

\OpenAPI\Client\Model\ComHivextApiServerEnvironmentResponseObjectResponse

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/x-www-form-urlencoded
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

billingAccountRestGetquotasPost()

billingAccountRestGetquotasPost($quotasnames): \OpenAPI\Client\Model\ComHivextApiServerBillingResponseArrayResponse

Gets list of quotas for account.

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');



$apiInstance = new OpenAPI\Client\Api\AccountServiceApi(
    // 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()
);
$quotasnames = 'quotasnames_example'; // string

try {
    $result = $apiInstance->billingAccountRestGetquotasPost($quotasnames);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling AccountServiceApi->billingAccountRestGetquotasPost: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
quotasnames string [optional]

Return type

\OpenAPI\Client\Model\ComHivextApiServerBillingResponseArrayResponse

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/x-www-form-urlencoded
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

usersAccountRestGetuserinfoPost()

usersAccountRestGetuserinfoPost(): \OpenAPI\Client\Model\ComHivextApiServerUsersResponseAuthenticationResponse

Gets information about the user.

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');



$apiInstance = new OpenAPI\Client\Api\AccountServiceApi(
    // 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->usersAccountRestGetuserinfoPost();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling AccountServiceApi->usersAccountRestGetuserinfoPost: ', $e->getMessage(), PHP_EOL;
}

Parameters

This endpoint does not need any parameter.

Return type

\OpenAPI\Client\Model\ComHivextApiServerUsersResponseAuthenticationResponse

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/x-www-form-urlencoded
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

usersAccountRestRecoverpasswordPost()

usersAccountRestRecoverpasswordPost($email, $lang): \OpenAPI\Client\Model\ComHivextApiResponse

Sends an email with the link to reset the account password

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');



$apiInstance = new OpenAPI\Client\Api\AccountServiceApi(
    // 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()
);
$email = 'email_example'; // string
$lang = 'lang_example'; // string

try {
    $result = $apiInstance->usersAccountRestRecoverpasswordPost($email, $lang);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling AccountServiceApi->usersAccountRestRecoverpasswordPost: ', $e->getMessage(), PHP_EOL;
}

Parameters

Name Type Description Notes
email string
lang string [optional]

Return type

\OpenAPI\Client\Model\ComHivextApiResponse

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/x-www-form-urlencoded
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]