Export
The Swedish Tax Agency during audits may request an export of register data in xml format.

Export via API
The export can also be triggered via GET request.
GET /control/export
Query
| Name | Value | Example |
|---|---|---|
| from | Optional from date (yyyy-mm-dd) | 2000-01-01 |
| till | Optional till date (yyyy-mm-dd) | 2001-01-01 |
| target | Optional, name of target path | C:/temp |
Response Header
| Name | Value |
|---|---|
| Content-type | Application/octet-stream |
| Content-disposition | Attachment;filename=export.tar |
Request Example
http://localhost:5618/control/export?target=C:/temp