Versions Compared

Key

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


Info
titleSummary


Excerpt
Searches published foods returning those which have a modified date between start and end inclusive. 


Note: If you are upgrading to Gen API 3.1 (or later) you will want to reference this page.


Tip
iconfalse
titleQuery Parameters


ParameterTypeDescription
startXmlDateTimeOffsetThe point which starts the range, or null for unbounded.
endXmlDateTimeOffsetThe point which ends the range, or null for unbounded.
startrowintThe first food included in the search results. The default value is 1.
pagesizeintThe number of search results included in the response. The default value is the total count after startrow.



Tip
iconfalse
titleResponse Parameters


ParameterTypeDescription

PublishedFoodsListResponseA list of published foods which have a modified date between start and end inclusive.



Examples

Code Block
languagexml
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:analysis="http://ns.esha.com/2013/genesisapi/food/analysis" xmlns:gen="http://ns.esha.com/2013/genesisapi" xmlns:exlx="http://ns.esha.com/2013/exlx">
   <soap:Header/>
   <soap:Body>
      <analysis:PublishedFoodsByModifiedDateRangeRequest>
	 <!-- Optional: Default value is min date time. -->
         <gen:Start>
            <exlx:DateTime>2017-02-22T04:15:00</exlx:DateTime>
            <exlx:UtcOffsetInMinutes>-480</exlx:UtcOffsetInMinutes>
         </gen:Start>
	 <!-- Optional: Default value is max date time. -->	
         <gen:End>
            <exlx:DateTime>2017-02-22T04:30:00</exlx:DateTime>
            <exlx:UtcOffsetInMinutes>-480</exlx:UtcOffsetInMinutes>
         </gen:End>
	 <!-- Optional: Default value is 1. -->
         <gen:StartRow>1</gen:StartRow>
	 <!-- Optional: Default value is the total count after startrow. -->
         <gen:PageSize>10</gen:PageSize>
      </analysis:PublishedFoodsByModifiedDateRangeRequest>
   </soap:Body>
</soap:Envelope>