ListUnits - Resource
Summary
 Provides a list of units available in which nutrients can be measured.
Note: If you are upgrading to Gen API 3.1 (or later) you will want to reference this page.
Resource
POST
/rest/FoodQueryService.svc/ListUnits
Request
The request body is empty.
Examples
Example Request
request={ }
Example Response
 { "Units": [ { "Dimension": 1, "Name": { "en-US": "Teaspoon" }, "Abbreviation": { "en-US": "tsp" }, "StandardKey": 1, "Id": "a7df0af5-0001-0000-7484-751e8eaf05c6" }, ... { "Dimension": 2, "Name": { "en-US": "Package" }, "Abbreviation": { "en-US": "pkg" }, "StandardKey": 650, "Id": "a7df0af5-028a-0000-7484-751e8eaf05c6" } ], "Status": 0 }