Retrieve Complete Audit History for a Single Document
GET https://{{vaultDNS}}/api/{{version}}/objects/documents/:{doc_id}/audittrail
https://developer.veevavault.com/api/23.3/#Retrieve_Document_Audit_History
Retrieve complete audit history for a single document.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
start_date | null | Specify a start date to retrieve audit history. This date cannot be more than 30 days ago. Dates must be YYYY-MM-DDTHH:MM:SSZ format, for example, 7AM on January 15, 2018 would use 2018-01-15T07:00:00Z. If omitted, defaults to the vault’s creation date. | |
end_date | null | Specify an end date to retrieve audit history. This date cannot be more than 30 days ago. Dates must be YYYY-MM-DDTHH:MM:SSZ format, for example, 7AM on January 15, 2018 would use 2018-01-15T07:00:00Z. If omitted, defaults to today’s date. | |
format_result | null | To request a CSV file of your audit history, use csv. | |
limit | null | Paginate the results by specifying the maximum number of histories per page in the response. This can be any value between 1 and 1000. If omitted, defaults to 200. | |
offset | null | Paginate the results displayed per page by specifying the amount of offset from the entry returned. For example, if you are viewing the first 50 results (page 1) and want to see the next page, set this to offset=51. If omitted, defaults to 0. | |
events | null | Provide a comma-separated list of one or more audit events to retrieve their audit history. See Vault Help for a full list of document audit events. The values passed to this parameter are case sensitive. For example, events=WorkflowCompletion,TaskAssignment. If omitted, defaults to all audit events. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string | ||
Accept | string |