- Previous: Overview
- Up: API Documentation
- Next: URLs
Dates
Date Formats
All dates should be requested in UTC/GMT.
Requests:
The EDS API expects all dates to be passed in the following format:
yyyyMMddHHmmss
Where
yyyy is a 4-digit year (e.g. 2009)
MM is a 2-digit month (e.g. 03)
dd is a 2-digit day (e.g. 01)
hh is a 2-digit hour in 24-hour form (e.g. 22)
mm is a 2-digit minute
ss is a 2-digit second
Responses:
The EDS API will return all date fields in the following format:
yyyyMMddHHmmss
Where
yyyy is a 4-digit year (e.g. 2009)
MM is a 2-digit month (e.g. 03)
dd is a 2-digit day (e.g. 01)
hh is a 2-digit hour in 24-hour form (e.g. 22)
mm is a 2-digit minute
ss is a 2-digit second
Example Request:
http://api.emaildatasource.com/service/2.0.0/rest/api.service.search?method=doEmailSearch&term=TERM&start=20090324000000
Example Response:
- <header>
- <date-received>20090323053207</date-received>
- <date-sent>20090323052410</date-sent>
- <from-domain>Tarot.com Horoscope <news@tarot.com></from-domain>
- <sender-domain>1.mercury.tarot.com [69.30.39.248]</sender-domain>
- </header>
- Previous: Overview
- Up: API Documentation
- Next: URLs
0 Comments
Please sign in to post a comment.