All URIs are relative to http://localhost:8080
Method | HTTP request | Description |
---|---|---|
getClientInfoList | GET /hub/api/2.2.1/hubClientInfo |
ResponseFormatListClientInfoDto getClientInfoList(dateFrom, dateTo, offset, limit)
// Import classes:
import com.extrawest.ocpi.cpo.client.invoker.ApiClient;
import com.extrawest.ocpi.cpo.client.invoker.ApiException;
import com.extrawest.ocpi.cpo.client.invoker.Configuration;
import com.extrawest.ocpi.cpo.client.invoker.models.*;
import com.extrawest.ocpi.cpo.client.api.HubClientInfoApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost:8080");
HubClientInfoApi apiInstance = new HubClientInfoApi(defaultClient);
OffsetDateTime dateFrom = OffsetDateTime.now(); // OffsetDateTime |
OffsetDateTime dateTo = OffsetDateTime.now(); // OffsetDateTime |
Integer offset = 0; // Integer |
Integer limit = 56; // Integer |
try {
ResponseFormatListClientInfoDto result = apiInstance.getClientInfoList(dateFrom, dateTo, offset, limit);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling HubClientInfoApi#getClientInfoList");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
Name | Type | Description | Notes |
---|---|---|---|
dateFrom | OffsetDateTime | [optional] | |
dateTo | OffsetDateTime | [optional] | |
offset | Integer | [optional] [default to 0] | |
limit | Integer | [optional] |
ResponseFormatListClientInfoDto
No authorization required
- Content-Type: Not defined
- Accept: /
Status code | Description | Response headers |
---|---|---|
200 | OK | - |