AnalysisByFoodIdRequest

NameTypeDescription
FoodIdGUID

The user code assigned to the food the requested analysis is for.

XML Example
<api:FoodId>dbfac0f0-b138-08c8-27c3-41e8c688e289</api:FoodId>
JSON Example
"FoodId":"dbfac0f0-b138-08c8-27c3-41e8c688e289"
UnitIdGUID

The id of the unit of measure that "Quantity" is in terms of, obtained from a call to ListUnits (SOAP, REST).

XML Example
<api:UnitId>a7df0af5-001f-0000-7484-751e8eaf05c6</api:UnitId>
JSON Example
"UnitId":"a7df0af5-001f-0000-7484-751e8eaf05c6"
QuanityNumeric

The number of units to analyze the food for.

XML Example
<api:Quantity><exlx:Value>1.0</exlx:Value></api:Quantity>
JSON Example
"Quantity":{"Value":1}