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...
|
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" }
Comments
Please sign in to leave a comment.