---
schema_version: "1"
id: e9b66732b779920db3bb02aea6f688f90590541ab1de547cbb1feadd8e543666
title: DsarPolicyLog
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_dsarpolicylog.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_dsarpolicylog.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 7978c7d896db15ae65224c52fd1f57b3f48065f86a307c19fdf916c6f3e0f52e
description: Represents the history of Data Subject Access Request (DSAR) policy execution requests. This log records the status and results of executed DSAR policies for a customer. This object is available in API version 50.0 and later.
---
# DsarPolicyLog

Represents the history of Data Subject Access Request (DSAR) policy execution requests. This log records the status and results of executed DSAR policies for a customer. This object is available in API version 50.0 and later.

## Supported Calls

describeSObjects(), query(), retrieve()

## Special Access Rules

This object is for Privacy Center customers with the ReadAllData or PrivacyDataAccess permissions.

## Fields

| Field | Details |
| --- | --- |
| CompletionDateTime | 
Type

dateTime

Properties

Filter, Nillable, Sort

Description

The date and time when the data subject access request was completed. Available in API version 51.0 and later.



 |
| DataSubjectId | 

Type

reference

Properties

Filter, Group, Nillable, Sort

Description

The 15–18 character ID of the data subject making the request. Available in API version 51.0 and later.



 |
| DeletedDateTime | 

Type

dateTime

Properties

Filter, Nillable, Sort

Description

The date and time when the file generated for the data subject’s request is deleted. Available in API version 51.0 and later.



 |
| DeveloperName | 

Type

string

Properties

Filter, Group, Sort

Description

Developer name of the policy.

![Note](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/images/icon_note.png)

#### Note

Only users with View DeveloperName OR View Setup and Configuration permission can view, group, sort, and filter this field.















 |
| DownloadedDateTime | 

Type

dateTime

Properties

Filter, Nillable, Sort

Description

The most recent date and time when the data subject downloaded the file generated at their request. Available in API version 51.0 and later.



 |
| DsarError | 

Type

picklist

Properties

Filter, Group, Nillable, Restricted picklist, Sort

Description

Represents an error in generating the file for the data subject access request. Available in API version 51.0 and later.



 |
| DsarPolicyId | 

Type

reference

Properties

Filter, Group, Nillable, Sort

Description

The ID of the DSAR policy.



 |
| FileURL | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

The result of the DSAR policy execution. The URL links to a downloadable file that contains the customer data.



 |
| Language | 

Type

picklist

Properties

Filter, Group, Restricted picklist, Sort

Description

The language of the MasterLabel.

Possible values are:

- da—Danish
- de—German
- en\_US—English
- es—Spanish
- es\_MX—Spanish (Mexico)
- fi—Finnish
- fr—French
- it—Italian
- ja—Japanese
- ko—Korean
- nl\_NL—Dutch
- no—Norwegian
- pt\_BR—Portuguese (Brazil)
- ru—Russian
- sv—Swedish
- th—Thai
- zh\_CN—Chinese (Simplified)
- zh\_TW—Chinese (Traditional)





 |
| MasterLabel | 

Type

string

Properties

Filter, Group, Sort

Description

Label of the policy.



 |
| RequestDateTime | 

Type

dateTime

Properties

Filter, Nillable, Sort

Description

The date and time when a data subject requested access to their data in the org. Available in API version 51.0 and later.



 |
| RequestStatus | 

Type

picklist

Properties

Filter, Group, Nillable, Restricted picklist, Sort

Description

The status of the policy execution.

Possible values are:

- Complete
- Deleted
- Downloaded
- Expired
- Failed
- In Progress





 |
| RequestUserId | 

Type

reference

Properties

Filter, Group, Nillable, Sort

Description

The ID of the org employee or admin making the request on behalf of the data subject. Available in API version 51.0 and later.



 |

## Associated Objects

This object has the following associated objects. Unless noted, they’re available in the same API version as the object.

[DsarPolicy](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_dsarpolicy.htm "Represents a Data Subject Access Request (DSAR) policy created in the Privacy Center managed package. DSAR policies anonymize or transfer personal data from your org at your customer’s request. This object is available in API version 50.0 and later.")

Sharing is available for the object.