l3

Welcome to l3, a multi-protocol high performance web-api.
Please select a version.

Version 4 [2013-05-24]

Changes

  • deprecated old functions
  • added function svc_setOptin
  • added function svc_productsCatalog

URL

https://api.regio-abo.com/regioabo.4/<METHOD>?<PARAMS>

Available public methods

How-To

HTTP / XML/JSON

The methods are available via this URL scheme:
https://api.regio-abo.com/regioabo.4/<METHOD>?<PARAMS>

Parameters

PARAMS are named parameters as defined in the method's signature.
Simple params are passed as-is, i.e. "param=value".
Dict params are passed as param.key=value (example: customer.street=some%20street)

You may at any time use POST or GET as you want.

However, when using POST, you may pass JSON, where the JSON dict keys are the method's parameters and the values are the respecitve values. If you want to send JSON, you have to either send a GET-param called "_ct=application/json" or a HTTP header "Content-Type: application/json". You may add a ";charset=utf-8" or any valid charset you send to the Content-Type string. Example: "Content-Type: application/json;charset=utf-8"

Example

Here's the documentation for the method 'postalCodes': postalCodes
When calling, just pass the required params like that:
https://api.regio-abo.com/regioabo.4/postalCodes?country=DE&city=Ulm

You can pass the parameter 'fmt' to get a different format of the data:

Dict-params are passed as param.key=value like this:
https://api.regio-abo.com/regioabo.4/products?country=DE&postalCode=89073&customer.first_name=Johnny&customer.last_name=Cash

Testing

If you want to test your implementation (especially the order method), please use obvious testing-data. At least street, first_name or last_name must contain the word "TEST".