Skip to content

Retrieve audit history for an order

Request

Returns the audit trail (changes, status transitions, system messages) for the order.


Requires orders::read permission.

Security
JWTAuthorizer
Path
uidstringrequired

Order UID

curl -i -X GET \
  'https://apidocs.trustgrid.io/_mock/provisioning/api/v1/orders/{uid}/history' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>'

Responses

OK

Bodyapplication/json
Array [
uidstring

Audit entry UID

userNamestring

User ID that performed the action

createdAtstring, (date-time)

Timestamp when the action occurred

auditTypestring

Type of audit event

messagestring

Human-readable summary

detailsstring

Free-form details about the action

changesArray of objects(Order Audit Change)

Fields that changed in the action

]
Response
[ { "uid": "string", "userName": "string", "createdAt": "2019-08-24T14:15:22Z", "auditType": "string", "message": "string", "details": "string", "changes": [] } ]