{ "opencollection": "1.0.0", "info": { "name": "Salesforce Net Zero Cloud REST Carbon Emissions Water Usage API", "version": "59.0.0" }, "request": { "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://login.salesforce.com/services/oauth2/authorize", "accessTokenUrl": "https://login.salesforce.com/services/oauth2/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "items": [ { "info": { "name": "Water Usage", "type": "folder" }, "items": [ { "info": { "name": "List Water Withdrawal Records", "type": "http" }, "http": { "method": "GET", "url": "https://{instance}.my.salesforce.com/services/data/v59.0/sobjects/WaterWithdrawal" }, "docs": "Retrieves water withdrawal and consumption records from various sources such as municipal supply, groundwater, and rainwater." }, { "info": { "name": "Create Water Withdrawal Record", "type": "http" }, "http": { "method": "POST", "url": "https://{instance}.my.salesforce.com/services/data/v59.0/sobjects/WaterWithdrawal", "body": { "type": "json", "data": "{}" } }, "docs": "Creates a new water withdrawal record." } ] } ], "bundled": true }