All URIs are relative to http://localhost/
| Method | HTTP request | Description |
|---|---|---|
| create | POST api/v2/reports.json_api | Create a(n) Report |
| list | PUT api/v2/reports.json_api | Get a list of Reports |
| show | GET api/v2/reports/{id}.json_api | Show a single Report |
Report create(teamId, include)
Create a(n) Report
// Import classes:
//import io.evident.EspSdk.ApiException;
//import io.evident.api.ReportsApi;
ReportsApi apiInstance = new ReportsApi();
Integer teamId = 56; // Integer | The ID of the team to create a report for
String include = "include_example"; // String | Related objects that can be included in the response: organization, sub_organization, team, external_account, stat See Including Objects for more information.
try {
Report result = apiInstance.create(teamId, include);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ReportsApi#create");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| teamId | Integer | The ID of the team to create a report for | |
| include | String | Related objects that can be included in the response: organization, sub_organization, team, external_account, stat See Including Objects for more information. | [optional] |
No authorization required
- Content-Type: application/vnd.api+json
- Accept: application/vnd.api+json
PaginatedCollection list(include, filter, page)
Get a list of Reports
// Import classes:
//import io.evident.EspSdk.ApiException;
//import io.evident.api.ReportsApi;
ReportsApi apiInstance = new ReportsApi();
String include = "include_example"; // String | Related objects that can be included in the response: organization, sub_organization, team, external_account, stat See Including Objects for more information.
Map<String, String> filter = new HashMap(); // Map<String, String> | Filter Params for Searching. Equality Searchable Attributes: [id, created_at] Limited Searchable Attributes: [external_account_arn_eq, external_account_provider_eq] Sortable Attributes: [created_at, id] Searchable Associations: [organization, sub_organization, team, external_account] See Searching Lists for more information. See the filter parameter of the association's list action to see what attributes are searchable on each association. See Conditions on Relationships in Searching Lists for more information.
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(include, filter, page);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ReportsApi#list");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| include | String | Related objects that can be included in the response: organization, sub_organization, team, external_account, stat See Including Objects for more information. | [optional] |
| filter | Map<String, String> | Filter Params for Searching. Equality Searchable Attributes: [id, created_at] Limited Searchable Attributes: [external_account_arn_eq, external_account_provider_eq] Sortable Attributes: [created_at, id] Searchable Associations: [organization, sub_organization, team, external_account] See Searching Lists for more information. See the filter parameter of the association's list action to see what attributes are searchable on each association. See Conditions on Relationships in Searching Lists for more information. | [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
Report show(id, include)
Show a single Report
// Import classes:
//import io.evident.EspSdk.ApiException;
//import io.evident.api.ReportsApi;
ReportsApi apiInstance = new ReportsApi();
Integer id = 56; // Integer | Report ID
String include = "include_example"; // String | Related objects that can be included in the response: organization, sub_organization, team, external_account, stat See Including Objects for more information.
try {
Report result = apiInstance.show(id, include);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ReportsApi#show");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| id | Integer | Report ID | |
| include | String | Related objects that can be included in the response: organization, sub_organization, team, external_account, stat See Including Objects for more information. | [optional] |
No authorization required
- Content-Type: application/vnd.api+json
- Accept: application/vnd.api+json