List audit events
GET
https://api.nicer.travel/commerce/audit-events
The company's commission audit trail, newest first (25 by default, at most 100, keyset-paged by when each row was written): every write and every audited read, with who acted, from where, what changed (a personal field only as changed, never its value) and why. subjectKind and subjectId together answer one record's Activity tab; actorUserId, action, from and to narrow the staff audit search. Agency admins read their own company; finance staff read any, and each of their reads is audited.
Authorization
Query parameters
- fromoptionalstringformat: date-time · pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$
- subjectKindoptionalstring·one of 20 valuesAllowed values: AGENCY_IDENTIFIER, ALLOCATION, AUDIT_TRAIL, COMMISSION_FILE, COMMISSION_INVOICE, COMMISSION_ITEM, COMMISSION_SETTINGS, COMPANY, EXPORT, EXTERNAL_BOOKING, HOST_RELATIONSHIP, ORDER, PAYEE, PAYOUT, PAYOUT_RUN, REMITTANCE, REMITTANCE_LINE, SPLIT_PLAN, STATEMENT, SUPPLIER
- tooptionalstringformat: date-time · pattern: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$