Skip to main content Skip to complementary content

ExportAuditTrail

General

URL

https://{Host}/attunityenterprisemanager/api/v1/security/audit_trail

Description

Export audit trail data from all servers.

Supported only from Replicate November 2020.

HTTP method

GET

Required user role

See Required Enterprise Manager permissions.

Request parameters

Request parameters
Location Name Required Example

URL

Host [string]

Yes

computer.network.net

URL

start_timestamp

[UTC format or Ticks]

Yes

2020-06-30T16:15:00Z (UTC format)

637410358250082194 (Ticks)

URL

end_timestamp

[UTC format or Ticks]

No

2020-06-30T16:15:00Z (UTC format)

637410358250082194 (Ticks)

Default : latest audit trail record

Response

JSON File (stream)

cURL example

Request

CURL.EXE -i -k --header "EnterpriseManager.APISessionID: wCo0_KvjEUFROvfHF5KGrw" https://computer.network.net/attunityenterprisemanager/api/v1/security/audit_trail?start_timestamp={start_timestamp}&end_timestamp={end_timestamp}

Response

JSON file (stream)

Error response

Error responses
HTTP Error Message Description
500

AEM_INVALID_TIMESTAMP_FORMAT

Timestamp is not a timestamp.

Timestamp format should be 'yyyy'-'MM'-'dd'T'HH':'mm':'ss'Z or Ticks.

Timestamp is not valid.

500

AEM_EXPORT_INNER_ERR

Failed to export audit trail.

AUDIT-E-INVRANGE. The end time is before the start time.

Time range is not valid.

401 UNAUTHORIZED_REQUEST Unauthorized Request. request: AemExportAuditTrail User does not have permission to access the audit trail information.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!