User Tools

Site Tools


api1:rules

Format rules

Dates

All date and time values are displayed as integer numbers and represent the number of seconds since the Unix Epoch (January 1 1970 00:00:00 GMT), like PHP time() function. The date/time property type in the specification is specified as “Time”, the actual JSON type is “Number”.

Case Sensitive Parameters

The field and parameter names in requests are case sensitive.

Currencies

We support these currencies

  • « EUR »
  • « USD »

The ISO_4217 format is expected

Languages

We support thesse languages:

  • « FR »
  • « EN »
  • « ES »

The ISO_3166 format is expected.

HTTP Response Code

The following HTTP codes are used by the API to respond to requests:

  • 200 : request successful
  • 201 : the object has been created
  • 400 : any kind of logical error (missing parameters, invalid operation, constraint violation etc.)
  • 403 : access is forbidden (authentication or authorization failure)
  • 404 : object not found
  • 405 : HTTP method not allowed (for example if you try to update a read-only object)
  • 411 : length Required (if the request body is empty for methods that require it)
  • 500 : internal server error

Error code

Waiting for API v2.

api1/rules.txt · Last modified: 2017/10/17 10:00 by maries