Skip to content

Export Audit Log File

Request

Produces a collection a csv of Audit records.

Security
bearerToken
Bodyapplication/jsonrequired
fileTypestringrequired
Value:"csv"
auditTypestring
Enum:"alert.accepted""alert.rejected""alert.received""profile.added""profile.created""investigation.accepted""investigation.created""investigation.file_downloaded""schedule.created""schedule.removed"
userIdinteger, (int32)
keywordSearchstring
createdAtOrAfterstring, (date-time)
createdAtOrBeforestring, (date-time)
payloadobject(ConnectProtectAuditExportPayloadDto)
curl -i -X POST \
  https://connect.sandbox.creditsafe.com/v1/protect/audits \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "fileType": "csv",
    "auditType": "alert.accepted",
    "userId": 0,
    "keywordSearch": "string",
    "createdAtOrAfter": "2019-08-24T14:15:22Z",
    "createdAtOrBefore": "2019-08-24T14:15:22Z",
    "payload": {
      "profileId": "string",
      "investigationId": "string"
    }
  }'

Responses

Bodyapplication/json
locationstring, (uri)
Response
{ "location": "http://example.com" }