Dynamic Data Gap Percentage Calculation

Calculate the list of data gaps for stationary assets for a dynamic date range.

Special Access Rules 

Manage Data Gaps setting should be enabled in the Salesforce Organization.

Resource 

/services/data/vXX.X/connect/sustainability/dgf/compute-datagap/DATA_SOURCE_TYPE

  • DATA_SOURCE_TYPE:

Resource Example 

https://yourInstance.salesforce.com/services/data/vXX.X/connect/sustainability/dgf/compute-datagap/DATA_SOURCE_TYPE

Available Version 

64.0

HTTP Methods 

POST

Request Body for POST 

JSON Example 

1{
2  "filters": [
3    {
4      "item": "string",
5      "value": "string"
6    }
7  ],
8  "dataGapTypeVaues": [
9    {
10      "value": "string"
11    }
12  ],
13  "dataGapSourceIds": [
14    {
15      "id": "string"
16    }
17  ],
18  "dataGapComputationMethods": [
19    {
20      "computationMethod": "string"
21    }
22  ]
23}

Properties 

NameTypeDescriptionRequired or OptionalAvailable Version
filtersFilter Input[]List of filters to filter the output records. Each filter item is a key-value pair that contains the name and its value.
Possible name is:
  • FuelType
Required55.0
dataGapTypeVauesString[]An array of values specifying the types of data gaps to include in the computation. Each entry includes the parameter value which is the value of the data gap type.Optional64.0
dataGapSourceIdsString[]An array of identifiers for data gap sources. Each entry includes id which is the identifier of a data gap source like stationaryAsset environmental source.Required64.0
dataGapComputationMethodsString[]An array of computation methods used for data gap calculation. Each entry includes computationMethod which is the method used for computation. For example, Average.Required64.0

Response Body for POST 

Dynamic Data Gap Percentage Calculation Output