Skip to content

Latest commit

 

History

History
74 lines (55 loc) · 3.19 KB

File metadata and controls

74 lines (55 loc) · 3.19 KB

AuditingApi

All URIs are relative to https://backend.id4i.de

Method HTTP request Description
listOrganizationChangeLog GET /api/v1/changelog/organization/{organizationId}/ List change log entries of an organization

listOrganizationChangeLog

PaginatedResponseOfChangeLogEntry listOrganizationChangeLog(organizationId, messageMimeType, fromDate, toDate, offset, limit)

List change log entries of an organization

Listing change log entries of the specified organization id.

Example

// Import classes:
//import de.id4i.ApiClient;
//import de.id4i.ApiException;
//import de.id4i.Configuration;
//import de.id4i.auth.*;
//import de.id4i.api.AuditingApi;

ApiClient defaultClient = Configuration.getDefaultApiClient();

// Configure API key authorization: Authorization
ApiKeyAuth Authorization = (ApiKeyAuth) defaultClient.getAuthentication("Authorization");
Authorization.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Authorization.setApiKeyPrefix("Token");

AuditingApi apiInstance = new AuditingApi();
String organizationId = "organizationId_example"; // String | The namespace identifying the organization whose change log entries are to be listed
String messageMimeType = "text/mustache"; // String | The Mime-type for the message format that should be returned. e.g. 'text/plain' or 'text/mustache' 
LocalDateTime fromDate = new LocalDateTime(); // LocalDateTime | From date time as UTC Date-Time format
LocalDateTime toDate = new LocalDateTime(); // LocalDateTime | To date time as UTC Date-Time format
Integer offset = 56; // Integer | Start with the n-th element
Integer limit = 56; // Integer | The maximum count of returned elements
try {
    PaginatedResponseOfChangeLogEntry result = apiInstance.listOrganizationChangeLog(organizationId, messageMimeType, fromDate, toDate, offset, limit);
    System.out.println(result);
} catch (ApiException e) {
    System.err.println("Exception when calling AuditingApi#listOrganizationChangeLog");
    e.printStackTrace();
}

Parameters

Name Type Description Notes
organizationId String The namespace identifying the organization whose change log entries are to be listed
messageMimeType String The Mime-type for the message format that should be returned. e.g. 'text/plain' or 'text/mustache' [optional] [default to text/mustache]
fromDate LocalDateTime From date time as UTC Date-Time format [optional]
toDate LocalDateTime To date time as UTC Date-Time format [optional]
offset Integer Start with the n-th element [optional]
limit Integer The maximum count of returned elements [optional]

Return type

PaginatedResponseOfChangeLogEntry

Authorization

Authorization

HTTP request headers

  • Content-Type: application/xml, application/json
  • Accept: application/xml, application/json