Newer Version Available

This content describes an older version of this product. View Latest

Date Issues

Identify and get energy consumption records with date issues associated with the Stationary Asset Carbon Footprint object.
Resource
1/connect/sustainability/dgf/identify-date-issues
Resource example
1https://yourInstance.salesforce.com/services/data/v66.0/connect/sustainability/dgf/identify-date-issues
Available version
55.0
Requires Chatter
No
HTTP methods
POST
Request body for POST
JSON example
1{
2   "recordId":"0ps1Q00002WsMwBQAV",
3   "types":[
4      "MISSING_DATES",
5      "OUT_OF_DATE_RANGE",
6      "OVERLAPPING_DATES"
7   ],
8   "filters":[
9      {
10         "item":"FuelType",
11         "value":"Diesel"
12      }
13   ]
14}
Properties
Name Type Description Required or Optional Available Version
filters Filter Input[] List of filters to filter the records. Each filter item is a key-value pair that contains the name and its value.

Possible name is:

  • FuelType
Required 55.0
recordId String ID of the Stationary Asset Carbon Footprint object for which the associated energy consumption records with date issues must be retrieved.

Ensure that the Stationary Asset Carbon Footprint object has a valid start date and end date.

Required 55.0
types String[] Types of date issues.

Possible values are:

  • MISSING_DATES
  • OUT_OF_DATE_RANGE
  • OVERLAPPING_DATES
Required 55.0
Response body for POST
Sustainability Date Issue Output