|
| 1 | +# AccountsApi |
| 2 | + |
| 3 | +All URIs are relative to *https://secure.au1.echosign.com/api/rest/v6* |
| 4 | + |
| 5 | +Method | HTTP request | Description |
| 6 | +------------- | ------------- | ------------- |
| 7 | +[**getAccount**](AccountsApi.md#getAccount) | **GET** /accounts/{accountId} | Retrieves the information for an account. |
| 8 | + |
| 9 | + |
| 10 | +<a name="getAccount"></a> |
| 11 | +# **getAccount** |
| 12 | +> Account getAccount(authorization, accountId, xApiUser) |
| 13 | +
|
| 14 | +Retrieves the information for an account. |
| 15 | + |
| 16 | +### Example |
| 17 | +```java |
| 18 | +// Import classes: |
| 19 | +//import io.swagger.client.model.ApiException; |
| 20 | +//import io.swagger.client.api.AccountsApi; |
| 21 | + |
| 22 | + |
| 23 | +AccountsApi apiInstance = new AccountsApi(); |
| 24 | +String authorization = "authorization_example"; // String | An <a href=\"#\" onclick=\"this.href=oauthDoc()\" oncontextmenu=\"this.href=oauthDoc()\" target=\"oauthDoc\">OAuth Access Token</a> with scopes:<ul><li style='list-style-type: square'><a href=\"#\" onclick=\"this.href=oauthDoc('user_read')\" oncontextmenu=\"this.href=oauthDoc('user_read')\" target=\"oauthDoc\">user_read</a></li></ul>in the format <b>'Bearer {accessToken}'. |
| 25 | +String accountId = "accountId_example"; // String | The account identifier. |
| 26 | +String xApiUser = "xApiUser_example"; // String | The userId or email of API caller using the account or group token in the format <b>userid:{userId} OR email:{email}.</b> If it is not specified, then the caller is inferred from the token. |
| 27 | +try { |
| 28 | + Account result = apiInstance.getAccount(authorization, accountId, xApiUser); |
| 29 | + System.out.println(result); |
| 30 | +} catch (ApiException e) { |
| 31 | + System.err.println("Exception when calling AccountsApi#getAccount"); |
| 32 | + e.printStackTrace(); |
| 33 | +} |
| 34 | +``` |
| 35 | + |
| 36 | +### Parameters |
| 37 | + |
| 38 | +Name | Type | Description | Notes |
| 39 | +------------- | ------------- | ------------- | ------------- |
| 40 | + **authorization** | **String**| An <a href=\"#\" onclick=\"this.href=oauthDoc()\" oncontextmenu=\"this.href=oauthDoc()\" target=\"oauthDoc\">OAuth Access Token</a> with scopes:<ul><li style='list-style-type: square'><a href=\"#\" onclick=\"this.href=oauthDoc('user_read')\" oncontextmenu=\"this.href=oauthDoc('user_read')\" target=\"oauthDoc\">user_read</a></li></ul>in the format <b>'Bearer {accessToken}'. | |
| 41 | + **accountId** | **String**| The account identifier. | |
| 42 | + **xApiUser** | **String**| The userId or email of API caller using the account or group token in the format <b>userid:{userId} OR email:{email}.</b> If it is not specified, then the caller is inferred from the token. | [optional] |
| 43 | + |
| 44 | +### Return type |
| 45 | + |
| 46 | +[**Account**](Account.md) |
| 47 | + |
| 48 | +### Authorization |
| 49 | + |
| 50 | +No authorization required |
| 51 | + |
| 52 | +### HTTP request headers |
| 53 | + |
| 54 | + - **Content-Type**: Not defined |
| 55 | + - **Accept**: application/json |
| 56 | + |
0 commit comments