All URIs are relative to https://connectors-admin.lilt.com/api/v1.0
Method | HTTP request | Description |
---|---|---|
servicesApiOrganizationGetOrganizationRecord | GET /organization | Get information about the organization based on lilt_token |
OrganizationResponse servicesApiOrganizationGetOrganizationRecord()
Get information about the organization based on lilt_token
// Import classes:
import com.lilt.connectors.ApiClient;
import com.lilt.connectors.ApiException;
import com.lilt.connectors.Configuration;
import com.lilt.connectors.auth.*;
import com.lilt.connectors.models.*;
import com.lilt.connectors.api.OrganizationApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("https://connectors-admin.lilt.com/api/v1.0");
// Configure HTTP bearer authorization: BearerAuth
HttpBearerAuth BearerAuth = (HttpBearerAuth) defaultClient.getAuthentication("BearerAuth");
BearerAuth.setBearerToken("BEARER TOKEN");
OrganizationApi apiInstance = new OrganizationApi(defaultClient);
try {
OrganizationResponse result = apiInstance.servicesApiOrganizationGetOrganizationRecord();
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling OrganizationApi#servicesApiOrganizationGetOrganizationRecord");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
This endpoint does not need any parameter.
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | The settings response. | - |
400 | The Bad Request response. | - |
401 | The Unauthorized response. | - |
403 | The Forbidden response. | - |
500 | The Server Error response. | - |