All URIs are relative to https://penapi.pacnetconnect.com
Method | HTTP request | Description |
---|---|---|
eis100EndpointsAssignTopologyTagByEndpointuuidPost | POST /eis/1.0.0/endpoints/{endpointuuid}/assign_topology_tag | Assign a Topology Tag to an Endpoint |
inventoryEndpointByEndpointuuidGet | GET /1.0.0/inventory/endpoint/{endpointuuid} | Get information about the specified endpoint |
inventoryEndpointsCustomeruuidByCustomeruuidGet | GET /1.0.0/inventory/endpoints/customeruuid/{customeruuid} | Get list of endpoints for a customer |
inventoryRegularendpointPost | POST /1.0.0/inventory/regularendpoint | Create Physical (Port) Endpoint |
inventoryVnfendpointPost | POST /1.0.0/inventory/vnfendpoint | Create VNF Endpoint |
List<SuccessFragment> eis100EndpointsAssignTopologyTagByEndpointuuidPost(endpointuuid, body)
Assign a Topology Tag to an Endpoint
Assign a Topology Tag to an Endpoint
// Import classes:
//import invalidPackageName.ApiClient;
//import invalidPackageName.ApiException;
//import invalidPackageName.Configuration;
//import invalidPackageName.auth.*;
//import TelstraTPN.EndpointsApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: auth
OAuth auth = (OAuth) defaultClient.getAuthentication("auth");
auth.setAccessToken("YOUR ACCESS TOKEN");
EndpointsApi apiInstance = new EndpointsApi();
String endpointuuid = "endpointuuid_example"; // String | Unique identifier representing a specific endpoint
Eis100EndpointsAssignTopologyTagRequest body = new Eis100EndpointsAssignTopologyTagRequest(); // Eis100EndpointsAssignTopologyTagRequest |
try {
List<SuccessFragment> result = apiInstance.eis100EndpointsAssignTopologyTagByEndpointuuidPost(endpointuuid, body);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling EndpointsApi#eis100EndpointsAssignTopologyTagByEndpointuuidPost");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
endpointuuid | String | Unique identifier representing a specific endpoint | |
body | Eis100EndpointsAssignTopologyTagRequest | [optional] |
- Content-Type: application/json
- Accept: application/json
InventoryEndpointResponse inventoryEndpointByEndpointuuidGet(endpointuuid)
Get information about the specified endpoint
Get information about the specified endpoint
// Import classes:
//import invalidPackageName.ApiClient;
//import invalidPackageName.ApiException;
//import invalidPackageName.Configuration;
//import invalidPackageName.auth.*;
//import TelstraTPN.EndpointsApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: auth
OAuth auth = (OAuth) defaultClient.getAuthentication("auth");
auth.setAccessToken("YOUR ACCESS TOKEN");
EndpointsApi apiInstance = new EndpointsApi();
String endpointuuid = "endpointuuid_example"; // String | Unique identifier representing a specific endpoint
try {
InventoryEndpointResponse result = apiInstance.inventoryEndpointByEndpointuuidGet(endpointuuid);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling EndpointsApi#inventoryEndpointByEndpointuuidGet");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
endpointuuid | String | Unique identifier representing a specific endpoint |
- Content-Type: application/json
- Accept: application/json
InventoryEndpointsCustomeruuidResponse inventoryEndpointsCustomeruuidByCustomeruuidGet(customeruuid)
Get list of endpoints for a customer
Get list of endpoints for a customer
// Import classes:
//import invalidPackageName.ApiClient;
//import invalidPackageName.ApiException;
//import invalidPackageName.Configuration;
//import invalidPackageName.auth.*;
//import TelstraTPN.EndpointsApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: auth
OAuth auth = (OAuth) defaultClient.getAuthentication("auth");
auth.setAccessToken("YOUR ACCESS TOKEN");
EndpointsApi apiInstance = new EndpointsApi();
String customeruuid = "customeruuid_example"; // String | Unique identifier representing a specific customer
try {
InventoryEndpointsCustomeruuidResponse result = apiInstance.inventoryEndpointsCustomeruuidByCustomeruuidGet(customeruuid);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling EndpointsApi#inventoryEndpointsCustomeruuidByCustomeruuidGet");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
customeruuid | String | Unique identifier representing a specific customer |
InventoryEndpointsCustomeruuidResponse
- Content-Type: application/json
- Accept: application/json
List<InventoryRegularendpointResponse> inventoryRegularendpointPost(body)
Create Physical (Port) Endpoint
Create Physical (Port) Endpoint
// Import classes:
//import invalidPackageName.ApiClient;
//import invalidPackageName.ApiException;
//import invalidPackageName.Configuration;
//import invalidPackageName.auth.*;
//import TelstraTPN.EndpointsApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: auth
OAuth auth = (OAuth) defaultClient.getAuthentication("auth");
auth.setAccessToken("YOUR ACCESS TOKEN");
EndpointsApi apiInstance = new EndpointsApi();
InventoryRegularendpointRequest body = new InventoryRegularendpointRequest(); // InventoryRegularendpointRequest |
try {
List<InventoryRegularendpointResponse> result = apiInstance.inventoryRegularendpointPost(body);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling EndpointsApi#inventoryRegularendpointPost");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
body | InventoryRegularendpointRequest | [optional] |
List<InventoryRegularendpointResponse>
- Content-Type: application/json
- Accept: application/json
List<InventoryVnfendpointResponse> inventoryVnfendpointPost(body)
Create VNF Endpoint
Create VNF Endpoint
// Import classes:
//import invalidPackageName.ApiClient;
//import invalidPackageName.ApiException;
//import invalidPackageName.Configuration;
//import invalidPackageName.auth.*;
//import TelstraTPN.EndpointsApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure OAuth2 access token for authorization: auth
OAuth auth = (OAuth) defaultClient.getAuthentication("auth");
auth.setAccessToken("YOUR ACCESS TOKEN");
EndpointsApi apiInstance = new EndpointsApi();
InventoryVnfendpointRequest body = new InventoryVnfendpointRequest(); // InventoryVnfendpointRequest |
try {
List<InventoryVnfendpointResponse> result = apiInstance.inventoryVnfendpointPost(body);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling EndpointsApi#inventoryVnfendpointPost");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
body | InventoryVnfendpointRequest | [optional] |
List<InventoryVnfendpointResponse>
- Content-Type: application/json
- Accept: application/json