Retrieve audit trail for a specific vendor by its identifier
application/json
| Parameter | Type | Required | Description |
|---|---|---|---|
id | string | Yes | The unique identifier of the Vendor to retrieve |
200 OK
Response Fields:
| Field | Type | Description |
|---|---|---|
ok | boolean | Indicates whether the request was successful |
data | object | Contains the vendor audit trail response data |
data.auditTrail | array | List of audit trail entries associated with the vendor |
data.auditTrail[].createdOn | string | The date when the audit trail entry was created (ISO 8601 format) |
data.auditTrail[].fieldType | string | The field of the audit where the data experience change. Like: ADDRESS, BANK, PAN, STATE |
data.auditTrail[].type | string | The type of the audit trail entry. Like: CREATE, UPDATE, DELETE |
data.auditTrail[].actionBy | string | Give who performed the action: USER, or PLATFORM |
data.auditTrail[].user | object | Information about the user who made the comment |
data.auditTrail[].user.id | string | Unique identifier for the user |
data.auditTrail[].user.name | string | Name of the user |
data.auditTrail[].activity | object | Details about the audit trail entry |
data.auditTrail[].activity.before | object | Gives the old state |
data.auditTrail[].activity.after | object | Gives the new state |
data.context | object | Additional context for the audit trail |
data.context.count | number | The total number of audit trail |
400 Bad Request
404 Not Found
403 Forbidden
401 Unauthorized
403 Forbidden
id returned from the vendor creation endpoint to retrieve audit trail