SearchByModifiedDateRange 1.X-2.X

SearchByModifiedDateRange 1.X-2.X

Summary

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.

Query Parameters

Parameter

Type

Description

Parameter

Type

Description

start

XmlDateTimeOffset

The point which starts the range, or null for unbounded.

end

XmlDateTimeOffset

The point which ends the range, or null for unbounded.

startrow

int

The first food included in the search results. The default value is 1.

pagesize

int

The number of search results included in the response. The default value is the total count after startrow.

Response Parameters

Parameter

Type

Description

Parameter

Type

Description



PublishedFoodsListResponse

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

Examples

<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>

Clicking links may navigate you away from the Trustwell site.