Skip to content

Latest commit

 

History

History
106 lines (72 loc) · 2.96 KB

UsersApi.md

File metadata and controls

106 lines (72 loc) · 2.96 KB

Swagger\Client\UsersApi

All URIs are relative to https://api.bombbomb.com/v2

Method HTTP request Description
getClientContactInformation GET /clients/contact/information Get client contact information.
getUserProfileInfo GET /users/profile/information Get user profile information.

getClientContactInformation

getClientContactInformation()

Get client contact information.

Get the client contact information of the user's account.

Example

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

// Configure OAuth2 access token for authorization: BBOAuth2
$config = Swagger\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

$apiInstance = new Swagger\Client\Api\UsersApi(
    // 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
);

try {
    $apiInstance->getClientContactInformation();
} catch (Exception $e) {
    echo 'Exception when calling UsersApi->getClientContactInformation: ', $e->getMessage(), PHP_EOL;
}
?>

Parameters

This endpoint does not need any parameter.

Return type

void (empty response body)

Authorization

BBOAuth2

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]

getUserProfileInfo

getUserProfileInfo()

Get user profile information.

Get the users profile information.

Example

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

// Configure OAuth2 access token for authorization: BBOAuth2
$config = Swagger\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

$apiInstance = new Swagger\Client\Api\UsersApi(
    // 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
);

try {
    $apiInstance->getUserProfileInfo();
} catch (Exception $e) {
    echo 'Exception when calling UsersApi->getUserProfileInfo: ', $e->getMessage(), PHP_EOL;
}
?>

Parameters

This endpoint does not need any parameter.

Return type

void (empty response body)

Authorization

BBOAuth2

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]