getSaleECOD

Method returns content for XML ECOD file.

Usage URL: https://b2b.onesto-energy.pl/api/getSaleECOD.json?key=YOURAPIKEY

Query params

(put those in your URL, e.g. ?id=123)

  • id | required

    integer

    Internal identifier of sale.

  • lang

    string

    Language of result. ISO 2 Letter Language Codes ie

    Example: en, pl, cs

  • content

    string

    XML file content