Skip to content
This repository has been archived by the owner on Jul 28, 2021. It is now read-only.

Latest commit

 

History

History
59 lines (41 loc) · 1.47 KB

OrganizationConfigurationApi.md

File metadata and controls

59 lines (41 loc) · 1.47 KB

OrganizationConfigurationApi

All URIs are relative to https://localhost/api/v0002

Method HTTP request Description
rootGet GET / Get organization details

rootGet

Organization rootGet()

Get organization details

Get details about an organization.

Example

// Import classes:
//import com.ibm.wiotp.swagger.ApiClient;
//import com.ibm.wiotp.swagger.ApiException;
//import com.ibm.wiotp.swagger.Configuration;
//import com.ibm.wiotp.swagger.auth.*;
//import com.ibm.wiotp.swagger.api.OrganizationConfigurationApi;

ApiClient defaultClient = Configuration.getDefaultApiClient();

// Configure HTTP basic authorization: ApiKey
HttpBasicAuth ApiKey = (HttpBasicAuth) defaultClient.getAuthentication("ApiKey");
ApiKey.setUsername("YOUR USERNAME");
ApiKey.setPassword("YOUR PASSWORD");

OrganizationConfigurationApi apiInstance = new OrganizationConfigurationApi();
try {
    Organization result = apiInstance.rootGet();
    System.out.println(result);
} catch (ApiException e) {
    System.err.println("Exception when calling OrganizationConfigurationApi#rootGet");
    e.printStackTrace();
}

Parameters

This endpoint does not need any parameter.

Return type

Organization

Authorization

ApiKey

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json