Request a download order for action audit log entries

Request

Creates a download order for action audit log entries.

Security
OAuth2
Bodyapplication/jsonrequired

The parameters for generating the download order for action audit logs.

audit_typestring(AuditType)

Represents the type of audit event. IMPORTANT: Do not change the number of existing entries or their order because this will break compatibility with older versions.

Enum:"Trigger""Action""Scripting""Business""Raw""Edge""PublicLink""RawOperational""DataPackageExport""DataPackageImport"
formatstring(FileFormat)
Enum:"CSV""Json"
fromstring or null, (date-time)(NullableOfDateTime)
tostring or null, (date-time)(NullableOfDateTime)
filterobject or null(DictionaryOfStringAndIEnumerableOfObject)
rawstring or null(String)
fullTextstring or null(String)
logTypeArray of strings or null(String[])
curl -i -X POST \
  https://your-server/api/audit/action/generate \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "audit_type": "Trigger",
    "format": "CSV",
    "from": "2019-08-24T14:15:22Z",
    "to": "2019-08-24T14:15:22Z",
    "filter": {
      "property1": [
        null
      ],
      "property2": [
        null
      ]
    },
    "raw": "string",
    "fullText": "string",
    "logType": [
      "string"
    ]
  }'

Responses

Accepted

Response
No content