Edit

Get pbiSustainabilityGoals

Retrieve the properties and relationships of a pbiSustainabilityGoal object for Business Central.

HTTP request

Replace the URL prefix for Business Central depending on environment following the guideline.

GET businesscentralPrefix/api/microsoft/analytics/v1.0/companies({companyId})/pbiSustainabilityGoals

Request headers

Header Value
Authorization Bearer {token}. Required.

Request body

Don't supply a request body for this method.

Response

If successful, this method returns a 200 OK response code and a pbiSustainabilityGoal object in the response body.

Request

Here's an example of the request.

GET https://{businesscentralPrefix}/api/microsoft/analytics/v1.0/companies({companyId})/pbiSustainabilityGoals

Response

Here's an example of the response.

Note

The response object shown here may be truncated for brevity. All of the properties will be returned from an actual call.

{
    "scoreCardNo": "10000",
    "no": "10000",
    "lineNo": 10000,
    "name": "Adatum Corporation",
    "owner": "",
    "countryRegion": "",
    "responsibilityCentre": "",
    "targetValueForCo2": 100.00,
    "targetValueForCh4": 100.00,
    "targetValueForN2O": 100.00,
    "targetValueForWaterIntensity": 100.00,
    "targetValueForWasteIntensity": 100.00,
    "mainGoal": false,
    "startDate": "2026-01-01",
    "endDate": "2026-06-30",
    "baselineStartDate": "2026-01-01",
    "baselineEndDate": "2026-06-30"
}

pbiSustainabilityGoal