Versions Compared

Key

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

...

  • Food
    • Type: exlx:FoodDto
    • The metadata of the requested food
  • Labels
    • Type: LabelDto[]
    • The requested foods food's analyzed nutritional data
  • Status
    • Type: exlx:ResultStatus
    • The ResultStatus of the given response
  • ResponseVersion
    • Type: exlx:XmlVersion
    • The version of the given response.


Code Block
languagexml
titleSOAP Request
linenumberstrue
collapsetrue
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:gen="http://ns.esha.com/2013/genesisapi">
   <soap:Header/>
   <soap:Body>
      <gen:FoodAnalysisRequest>
         <gen:Quantity Type="Double">100</gen:Quantity>
         <gen:UnitId>a7df0af5-0008-0000-7484-751e8eaf05c6</gen:UnitId>
         <gen:UserCode>REC-123</gen:UserCode>
      </gen:FoodAnalysisRequest>
   </soap:Body>
</soap:Envelope>

...