API Version 1.2

API Documentation for developers

Request message format

  • Data requests should be sent as a typical HTTP request (i.e. in query string for GET and DELETE requests and as a body in format param1=value1&param2=value2... for PUT and POST requests)
  • Character data must be encoded in Unicode (UTF-8). Any invalid data will be ignored.
  • Successful update operations require every element describing the given resource to be provided. Update operations will fail if all required elements are not provided, resulting in corresponding resource property being lost.
  • There are some restrictions regarding specific data types, these are outlined in the table below. (more specific information will follow in later sections).
Request message format
Data type Notes
Time Must be sent as unix time (http://en.wikipedia.org/wiki/Unix_time)
Date Must be sent in in dd.mm.yyyy (e.g. 16.06.2011) format
Country Must be sent as ISO-3166 2-letter country code (ISO 3166-1-alpha-2 code) except Greece, where EL must be sent
Boolean Must be sent 0 (false) or 1 (true)
String Leading and trailing spaces will be ignored and removed from the value

Next "Request authorization"