Data Gap Percentage Calculation
Calculate a record whenever you update data, such as emission factors.
Special Access Rules
Manage Data Gaps setting should be enabled in the Salesforce Organization.
Resource
/services/data/vXX.X/connect/sustainability/dgf/compute-datagap/sObjectParam/S_OBJECT_PARAM
S_OBJECT_PARAM: The sObjectParam is a path parameter representing the name of the sObject (Salesforce Object) such as StnryAssetEnvrSrc
Resource Example
https://yourInstance.salesforce.com/services/data/vXX.X/connect/sustainability/dgf/compute-datagap/sObjectParam/S_OBJECT_PARAM
Available Version
64.0
HTTP Methods
POST
Request Body for POST
JSON Example
1{
2 "type": "string",
3 "usageType": "string"
4}
Properties
| Property Name | Type | Description | Required or Optional | Available Version |
|---|
type | String | Specifies the reason for data gap percentage computation such as FuelConsumption. | Required | 64.0 |
usageType | String | Specifies the usage category or purpose for the data such as ESG (Environmental, Social, and Governance). | Required | 64.0 |
Response Body for POST
Data Gap Percentage Calculation Output