Export
The Swedish Tax Agency may request an export of register data from the journal memory in XML format.

From the efsta EFR point of view, an export is still triggered locally from the EFR. The content of the file, however, must follow the Swedish standard export model and now includes TCS / control-system related elements when applicable.
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
GET http://localhost:5618/control/export?target=C:/temp