Download a Cost of goods report

GET /reports/consumption/:id/download

Generate an Excel file for one Cost of goods report. The technical API path uses consumption.

Path parameters

  • id: The report's created timestamp.

Parameters

All query parameters are optional.

  • lang: Language of the file, "de" or "en". Defaults to "de".
  • timezone_offset: Local time zone offset used to display dates and times. Defaults to 0 (UTC).

Status codes

  • 200 on success
  • 404 if the report was not found

Response properties

  • url: Temporary URL for the generated Excel file. Retrieve it with GET before it expires. A HEAD request may be rejected because the URL is signed for GET.