This object is meant to be part of a larger query to search for objects by a date range.

  • isodate fields use one of these ISO 8601 formats: 2014-01-01T10:30:00.000+01:00, 2014-01-01T10:30:00.000+0100, 2014-01-01T10:30:00.000Z
  • Dsco reserves the right to add new attributes at any time so Partners should ensure their validators won't break should this happen

Attributes

Name Req Type Description
dateField enum Indicates which date field will be used to query on, one of the following...
  • created
    The query will find objects that were created within the range specified
  • updated
    The query will find objects that were updated within the range specified
startDate isodate The start date to bound the query by, inclusive (meaning it includes the moment specified)
endDate
object
object.dscoRetailerId
object.dscoTradingPartnerId
The end date to bound the query by, exclusive (meaning it goes up to but does not include the moment specified)

Example

{
    "dateField": "created",
    "startDate": "2019-05-02T10:30:00.000Z",
    "endDate": "2019-05-02T11:00:00.000Z"
}
Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.