Retrieve Complete Audit History for a Single Object Record

GET https://{{vaultDNS}}/api/{{version}}/vobjects/:{object_name}/:{object_record_id}/audittrail?start_date=&end_date=

https://developer.veevavault.com/api/22.3/#Retrieve_Object_Audit_History

Retrieve complete audit history for a single object record.

Vault does not audit individual field values for newly created records. For example, the audit trail for a new Product record would only include a single entry, and the Event Description would be “Product: CholeCap created”. We recommend exporting the current record along with the audit trail to ensure a complete export of all values. When a user deletes an object record, the audit trail captures all field values.

Request Params

KeyDatatypeRequiredDescription
start_datenullSpecify 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 vVault’s creation date.
end_datenullSpecify 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_resultnullTo request a CSV file of your audit history, use csv.

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring
Acceptstring