Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
NameTypeDescription
UserCodeString 

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

 
Code Block
languagexml
titleXML Example
<api:UserCode>1234</api:UserCode>
Code Block
languagejs
titleJSON 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).

Code Block
languagexml
titleXML Example
<api:UnitId>a7df0af5-001f-0000-7484-751e8eaf05c6</api:UnitId>
Code Block
languagejs
titleJSON Example
"UnitId":"a7df0af5-001f-0000-7484-751e8eaf05c6"
Quantity Numeric

The number of units to analyze the food for.

Code Block
languagexml
titleXML Example
<api:Quantity><exlx:Value>1.0</exlx:Value></api:Quantity>
Code Block
languagejs
titleJSON Example
"Quantity":{"Value":1}