FoodAnalysisRequest

NameTypeDescription
UserCodeString 

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

XML Example
<api:UserCode>1234</api:UserCode>
JSON Example
"UserCode":"1234"
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"
Quantity Numeric

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}