ListNutrients - Resource

Summary


 Provides a list of nutrients available which could be present in some quantity in foods.

Note: If you are upgrading to Gen API 3.1 (or later) you will want to reference this page.

Resource


POST /rest/FoodQueryService.svc/ListNutrients

Request
 The request body is empty.

Examples


Example Request
request={ }
Example Response
 {
    "Nutrients": [
        {
            "Name": {
                "en-US": "Calories"
            },
            "UnitId": null,
            "LegacyKey": 0,
            "StandardKey": 0,
            "IsScalar": true,
            "Precision": null,
            "Id": "84a8709a-0000-0000-ebf9-90cea7d9d44f"
        },
...
        {
            "Name": {
                "en-US": "Net Carbs"
            },
            "UnitId": "e18c6bbd-0008-0000-b47b-3e1e9fe8d6f3",
            "LegacyKey": 1016,
            "StandardKey": 1016,
            "IsScalar": true,
            "Precision": null,
            "Id": "84a8709a-03f8-0000-ebf9-90cea7d9d44f"
        }
    ],
    "Status": 0
}