get_record_audit_history
Retrieves one native RetrieveRecordChangeHistory page for a Dynamics 365 record, preserving paging and audit-setting evidence while withholding attribute values by default.
Instructions
Read one native RetrieveRecordChangeHistory page. Default withholds attribute values. Preserves MoreRecords/cookie and current audit-setting evidence; no actor/time/ID is invented if native AuditRecord is absent. Empty history does not prove logs were deleted or auditing was disabled.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pageSize | No | Compatibility alias for page_size; conflicting values are rejected. | |
| recordId | No | Compatibility alias for record_id; conflicting values are rejected. | |
| page_size | No | Native audit detail count, default 20. | |
| record_id | No | ||
| pageNumber | No | Compatibility alias for page_number; conflicting values are rejected. | |
| page_number | No | Default 1; later pages require the previous native paging_cookie. | |
| maxTextChars | No | Compatibility alias for max_text_chars; conflicting values are rejected. | |
| pagingCookie | No | Compatibility alias for paging_cookie; conflicting values are rejected. | |
| includeValues | No | Compatibility alias for include_values; conflicting values are rejected. | |
| paging_cookie | No | Native cookie from this same target/page size; maximum 16 KiB UTF-8. No cookie is invented. | |
| collectionName | No | Compatibility alias for collection_name; conflicting values are rejected. | |
| include_values | No | Default false. Native audit values are received but withheld from output. Explicit true projects bounded attribute old/new values with heuristic sensitive-field masking. | |
| max_text_chars | No | Per-text preview limit, default 2000; truncation is explicit. | |
| collection_name | No |