All URIs are relative to http://localhost/
| Method | HTTP request | Description |
|---|---|---|
| list | PUT api/v2/services.json_api | Get a list of Services |
| show | GET api/v2/services/{id}.json_api | Show a single Service |
PaginatedCollection list(filter, page)
Get a list of Services
// Import classes:
//import io.evident.EspSdk.ApiException;
//import io.evident.api.ServicesApi;
ServicesApi apiInstance = new ServicesApi();
Map<String, String> filter = new HashMap(); // Map<String, String> | Filter Params for Searching. Equality Searchable Attributes: [id, name, policy_name] Matching Searchable Attributes: [name, policy_name] Limited Searchable Attribute: [provider_eq]
String page = "{:number=>1,+:size=>20}"; // String | Page Number and Page Size. Number is the page number of the collection to return, size is the number of items to return per page.
try {
PaginatedCollection result = apiInstance.list(filter, page);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ServicesApi#list");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| filter | Map<String, String> | Filter Params for Searching. Equality Searchable Attributes: [id, name, policy_name] Matching Searchable Attributes: [name, policy_name] Limited Searchable Attribute: [provider_eq] | [optional] |
| page | String | Page Number and Page Size. Number is the page number of the collection to return, size is the number of items to return per page. | [optional] [default to {:number=>1,+:size=>20}] |
No authorization required
- Content-Type: application/vnd.api+json
- Accept: application/vnd.api+json
Service show(id)
Show a single Service
// Import classes:
//import io.evident.EspSdk.ApiException;
//import io.evident.api.ServicesApi;
ServicesApi apiInstance = new ServicesApi();
Integer id = 56; // Integer | Service ID
try {
Service result = apiInstance.show(id);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ServicesApi#show");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | Integer | Service ID |
No authorization required
- Content-Type: application/vnd.api+json
- Accept: application/vnd.api+json