Enquiry audit report
/v1/EnquiryReport/{enquiryId}/Auditenquiries.readRetrieve the audit trail for a single enquiry.
This is a convenience endpoint that wraps the audit report and pre-filters it to the Enquiries entity type and the supplied enquiry identifier.
Request body
Parameters
enquiryIdintegerRequiredsincedate-timeRequireduntildate-timeOptionalpageNumberintegerOptionalpageSizeintegerOptionalexpand.payloadbooleanOptionalexpand.aggregatesbooleanOptionalResponse
Returns a paginated list of AuditReporting objects for the specified enquiry.
The AuditReporting object
auditRecordIdstringUnique identifier of the audit record.
entityIdstringIdentifier of the Enquiries entity type.
entityRecordIdstringIdentifier of the enquiry record that was audited.
entityTypestringName of the entity type.
operationTypestringType of operation, for example Create, Update, or Delete.
recordCreateddate-timeWhen the audit record was created.
dateAuditeddate-timeDate and time of the audited action.
userIdintegerIdentifier of the user who performed the action.
companyIdintegerIdentifier of the company associated with the action.
originalValuesstringSerialized original values, when available.
newValuesstringSerialized new values, when available.
correlationIdstringCorrelation identifier for tracing the action.
Pagination
pageNumberintegerCurrent page number.
pageSizeintegerNumber of items per page.
totalCountintegerTotal number of matching entries.
Errors
| Status | Meaning |
|---|---|
400 Bad Request | Validation failed or the request body is missing. |
401 Unauthorized | The Bearer token is missing, expired, or lacks the required scope. |
403 Forbidden | The client is not permitted to view this enquiry or audit data. |
curl -X POST https://dashboard.alpha.meetingsbooker.com/reportingapi/v1/EnquiryReport/12345/Audit \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{
"since": "2025-01-01T00:00:00Z",
"until": "2025-01-31T23:59:59Z"
}'{
"items": [
{
"auditRecordId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"entityId": "5",
"entityRecordId": "12345",
"entityType": "Enquiry",
"operationType": "Update",
"recordCreated": "2025-01-15T09:23:00Z",
"dateAudited": "2025-01-15T09:23:00Z",
"userId": 42,
"companyId": 1001,
"originalValues": "{\"status\":1}",
"newValues": "{\"status\":2}",
"correlationId": "corr-9876543210"
}
],
"pageNumber": 1,
"pageSize": 100,
"totalCount": 1
}