/providers/{NamespaceID}/{ProviderID}/AuditData

This endpoint returns the Audit Data for the specified provider when the Data Audit toggle is enabled for the selected model.

Audit Data stores all the data changes and timestamps in the Fact Data from the moment you enable the option. To enable the option, within the Modeler, click to access the model preferences, and under Access and Privacy, click the Data Audit toggle. Once the option is enabled, changes can be retrieved using the Audit Data endpoint. If you disable the option, all Audit Data is removed, and you will not be able to retrieve the data changes anymore.

Note
This feature is only available for administrators, and only supports two-legged OAuth authentication.

API Request Details

URL {BaseURL}/providers/{NamespaceID}/{ProviderID}/AuditData
Request Type GET
Content Type application/json

The reponse can also be generated in .CSV format using the $format=text/csv parameter in the request.

Sample Response

{ 
	"@odata.context": "$metadata#AuditData", 
	"value": [ 
        { 
			"Version": "public.Actual", 
			"Account": "400000", 
			"Region": "USA", 
			"Product": "Mountain_Bike", 
			"Currency": "CAD", 
			"Time": "202201", 
			"Audit_Time": "2022-02-01T12:59:21.154Z", 
			"Audit_User": "TESTUSER", 
			"Audit_Old_MyMeasure1": null, 
			"Audit_New_MyMeasure1: 10557.33, 
			"Audit_Delta_MyMeasure1": 10557.33, 
			"Audit_Flag_MyMeasure1": 2 
        } 
}