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:

  1. <header>  
  2.   <date-received>20090323053207</date-received>  
  3.   <date-sent>20090323052410</date-sent>  
  4.   <from-domain>Tarot.com Horoscope <news@tarot.com></from-domain>  
  5.   <sender-domain>1.mercury.tarot.com [69.30.39.248]</sender-domain>  
  6. </header>  
<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>