All URIs are relative to http://localhost:8080
Method | HTTP request | Description |
---|---|---|
getConnector | GET /emsp/api/2.2.1/locations/{country_code}/{party_id}/{location_id}/{evse_uid}/{connector_id} | |
getEvse | GET /emsp/api/2.2.1/locations/{country_code}/{party_id}/{location_id}/{evse_uid} | |
getLocation | GET /emsp/api/2.2.1/locations/{country_code}/{party_id}/{location_id} | |
patchConnector | PATCH /emsp/api/2.2.1/locations/{country_code}/{party_id}/{location_id}/{evse_uid}/{connector_id} | |
patchEvse | PATCH /emsp/api/2.2.1/locations/{country_code}/{party_id}/{location_id}/{evse_uid} | |
patchLocation | PATCH /emsp/api/2.2.1/locations/{country_code}/{party_id}/{location_id} | |
pushConnector | PUT /emsp/api/2.2.1/locations/{country_code}/{party_id}/{location_id}/{evse_uid}/{connector_id} | |
pushEvse | PUT /emsp/api/2.2.1/locations/{country_code}/{party_id}/{location_id}/{evse_uid} | |
pushLocation | PUT /emsp/api/2.2.1/locations/{country_code}/{party_id}/{location_id} |
ResponseFormatLocationData getConnector(countryCode, partyId, locationId, evseUid, connectorId)
// Import classes:
import com.extrawest.ocpi.emsp.client.invoker.ApiClient;
import com.extrawest.ocpi.emsp.client.invoker.ApiException;
import com.extrawest.ocpi.emsp.client.invoker.Configuration;
import com.extrawest.ocpi.emsp.client.invoker.models.*;
import com.extrawest.ocpi.emsp.client.api.EmspLocationApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost:8080");
EmspLocationApi apiInstance = new EmspLocationApi(defaultClient);
String countryCode = "countryCode_example"; // String |
String partyId = "partyId_example"; // String |
String locationId = "locationId_example"; // String |
String evseUid = "evseUid_example"; // String |
String connectorId = "connectorId_example"; // String |
try {
ResponseFormatLocationData result = apiInstance.getConnector(countryCode, partyId, locationId, evseUid, connectorId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling EmspLocationApi#getConnector");
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 |
---|---|---|---|
countryCode | String | ||
partyId | String | ||
locationId | String | ||
evseUid | String | ||
connectorId | String |
No authorization required
- Content-Type: Not defined
- Accept: /
Status code | Description | Response headers |
---|---|---|
200 | OK | - |
ResponseFormatLocationData getEvse(countryCode, partyId, locationId, evseUid)
// Import classes:
import com.extrawest.ocpi.emsp.client.invoker.ApiClient;
import com.extrawest.ocpi.emsp.client.invoker.ApiException;
import com.extrawest.ocpi.emsp.client.invoker.Configuration;
import com.extrawest.ocpi.emsp.client.invoker.models.*;
import com.extrawest.ocpi.emsp.client.api.EmspLocationApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost:8080");
EmspLocationApi apiInstance = new EmspLocationApi(defaultClient);
String countryCode = "countryCode_example"; // String |
String partyId = "partyId_example"; // String |
String locationId = "locationId_example"; // String |
String evseUid = "evseUid_example"; // String |
try {
ResponseFormatLocationData result = apiInstance.getEvse(countryCode, partyId, locationId, evseUid);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling EmspLocationApi#getEvse");
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 |
---|---|---|---|
countryCode | String | ||
partyId | String | ||
locationId | String | ||
evseUid | String |
No authorization required
- Content-Type: Not defined
- Accept: /
Status code | Description | Response headers |
---|---|---|
200 | OK | - |
ResponseFormatLocationData getLocation(countryCode, partyId, locationId)
// Import classes:
import com.extrawest.ocpi.emsp.client.invoker.ApiClient;
import com.extrawest.ocpi.emsp.client.invoker.ApiException;
import com.extrawest.ocpi.emsp.client.invoker.Configuration;
import com.extrawest.ocpi.emsp.client.invoker.models.*;
import com.extrawest.ocpi.emsp.client.api.EmspLocationApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost:8080");
EmspLocationApi apiInstance = new EmspLocationApi(defaultClient);
String countryCode = "countryCode_example"; // String |
String partyId = "partyId_example"; // String |
String locationId = "locationId_example"; // String |
try {
ResponseFormatLocationData result = apiInstance.getLocation(countryCode, partyId, locationId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling EmspLocationApi#getLocation");
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 |
---|---|---|---|
countryCode | String | ||
partyId | String | ||
locationId | String |
No authorization required
- Content-Type: Not defined
- Accept: /
Status code | Description | Response headers |
---|---|---|
200 | OK | - |
ResponseFormatLocationData patchConnector(countryCode, partyId, locationId, evseUid, connectorId, connector)
// Import classes:
import com.extrawest.ocpi.emsp.client.invoker.ApiClient;
import com.extrawest.ocpi.emsp.client.invoker.ApiException;
import com.extrawest.ocpi.emsp.client.invoker.Configuration;
import com.extrawest.ocpi.emsp.client.invoker.models.*;
import com.extrawest.ocpi.emsp.client.api.EmspLocationApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost:8080");
EmspLocationApi apiInstance = new EmspLocationApi(defaultClient);
String countryCode = "countryCode_example"; // String |
String partyId = "partyId_example"; // String |
String locationId = "locationId_example"; // String |
String evseUid = "evseUid_example"; // String |
String connectorId = "connectorId_example"; // String |
Connector connector = new Connector(); // Connector |
try {
ResponseFormatLocationData result = apiInstance.patchConnector(countryCode, partyId, locationId, evseUid, connectorId, connector);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling EmspLocationApi#patchConnector");
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 |
---|---|---|---|
countryCode | String | ||
partyId | String | ||
locationId | String | ||
evseUid | String | ||
connectorId | String | ||
connector | Connector |
No authorization required
- Content-Type: application/json
- Accept: /
Status code | Description | Response headers |
---|---|---|
200 | OK | - |
ResponseFormatLocationData patchEvse(countryCode, partyId, locationId, evseUid, EVSE)
// Import classes:
import com.extrawest.ocpi.emsp.client.invoker.ApiClient;
import com.extrawest.ocpi.emsp.client.invoker.ApiException;
import com.extrawest.ocpi.emsp.client.invoker.Configuration;
import com.extrawest.ocpi.emsp.client.invoker.models.*;
import com.extrawest.ocpi.emsp.client.api.EmspLocationApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost:8080");
EmspLocationApi apiInstance = new EmspLocationApi(defaultClient);
String countryCode = "countryCode_example"; // String |
String partyId = "partyId_example"; // String |
String locationId = "locationId_example"; // String |
String evseUid = "evseUid_example"; // String |
EVSE EVSE = new EVSE(); // EVSE |
try {
ResponseFormatLocationData result = apiInstance.patchEvse(countryCode, partyId, locationId, evseUid, EVSE);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling EmspLocationApi#patchEvse");
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 |
---|---|---|---|
countryCode | String | ||
partyId | String | ||
locationId | String | ||
evseUid | String | ||
EVSE | EVSE |
No authorization required
- Content-Type: application/json
- Accept: /
Status code | Description | Response headers |
---|---|---|
200 | OK | - |
ResponseFormatLocationData patchLocation(countryCode, partyId, locationId, location)
// Import classes:
import com.extrawest.ocpi.emsp.client.invoker.ApiClient;
import com.extrawest.ocpi.emsp.client.invoker.ApiException;
import com.extrawest.ocpi.emsp.client.invoker.Configuration;
import com.extrawest.ocpi.emsp.client.invoker.models.*;
import com.extrawest.ocpi.emsp.client.api.EmspLocationApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost:8080");
EmspLocationApi apiInstance = new EmspLocationApi(defaultClient);
String countryCode = "countryCode_example"; // String |
String partyId = "partyId_example"; // String |
String locationId = "locationId_example"; // String |
Location location = new Location(); // Location |
try {
ResponseFormatLocationData result = apiInstance.patchLocation(countryCode, partyId, locationId, location);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling EmspLocationApi#patchLocation");
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 |
---|---|---|---|
countryCode | String | ||
partyId | String | ||
locationId | String | ||
location | Location |
No authorization required
- Content-Type: application/json
- Accept: /
Status code | Description | Response headers |
---|---|---|
200 | OK | - |
ResponseFormatLocationData pushConnector(countryCode, partyId, locationId, evseUid, connectorId, connector)
// Import classes:
import com.extrawest.ocpi.emsp.client.invoker.ApiClient;
import com.extrawest.ocpi.emsp.client.invoker.ApiException;
import com.extrawest.ocpi.emsp.client.invoker.Configuration;
import com.extrawest.ocpi.emsp.client.invoker.models.*;
import com.extrawest.ocpi.emsp.client.api.EmspLocationApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost:8080");
EmspLocationApi apiInstance = new EmspLocationApi(defaultClient);
String countryCode = "countryCode_example"; // String |
String partyId = "partyId_example"; // String |
String locationId = "locationId_example"; // String |
String evseUid = "evseUid_example"; // String |
String connectorId = "connectorId_example"; // String |
Connector connector = new Connector(); // Connector |
try {
ResponseFormatLocationData result = apiInstance.pushConnector(countryCode, partyId, locationId, evseUid, connectorId, connector);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling EmspLocationApi#pushConnector");
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 |
---|---|---|---|
countryCode | String | ||
partyId | String | ||
locationId | String | ||
evseUid | String | ||
connectorId | String | ||
connector | Connector |
No authorization required
- Content-Type: application/json
- Accept: /
Status code | Description | Response headers |
---|---|---|
200 | OK | - |
ResponseFormatLocationData pushEvse(countryCode, partyId, locationId, evseUid, EVSE)
// Import classes:
import com.extrawest.ocpi.emsp.client.invoker.ApiClient;
import com.extrawest.ocpi.emsp.client.invoker.ApiException;
import com.extrawest.ocpi.emsp.client.invoker.Configuration;
import com.extrawest.ocpi.emsp.client.invoker.models.*;
import com.extrawest.ocpi.emsp.client.api.EmspLocationApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost:8080");
EmspLocationApi apiInstance = new EmspLocationApi(defaultClient);
String countryCode = "countryCode_example"; // String |
String partyId = "partyId_example"; // String |
String locationId = "locationId_example"; // String |
String evseUid = "evseUid_example"; // String |
EVSE EVSE = new EVSE(); // EVSE |
try {
ResponseFormatLocationData result = apiInstance.pushEvse(countryCode, partyId, locationId, evseUid, EVSE);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling EmspLocationApi#pushEvse");
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 |
---|---|---|---|
countryCode | String | ||
partyId | String | ||
locationId | String | ||
evseUid | String | ||
EVSE | EVSE |
No authorization required
- Content-Type: application/json
- Accept: /
Status code | Description | Response headers |
---|---|---|
200 | OK | - |
ResponseFormatLocationData pushLocation(countryCode, partyId, locationId, location)
// Import classes:
import com.extrawest.ocpi.emsp.client.invoker.ApiClient;
import com.extrawest.ocpi.emsp.client.invoker.ApiException;
import com.extrawest.ocpi.emsp.client.invoker.Configuration;
import com.extrawest.ocpi.emsp.client.invoker.models.*;
import com.extrawest.ocpi.emsp.client.api.EmspLocationApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost:8080");
EmspLocationApi apiInstance = new EmspLocationApi(defaultClient);
String countryCode = "countryCode_example"; // String |
String partyId = "partyId_example"; // String |
String locationId = "locationId_example"; // String |
Location location = new Location(); // Location |
try {
ResponseFormatLocationData result = apiInstance.pushLocation(countryCode, partyId, locationId, location);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling EmspLocationApi#pushLocation");
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 |
---|---|---|---|
countryCode | String | ||
partyId | String | ||
locationId | String | ||
location | Location |
No authorization required
- Content-Type: application/json
- Accept: /
Status code | Description | Response headers |
---|---|---|
200 | OK | - |