{"id":2070,"date":"2023-01-12T22:05:09","date_gmt":"2023-01-12T21:05:09","guid":{"rendered":"https:\/\/www.ems-help.ch\/docs\/first-steps-for-administrators\/system-settings\/export-data\/"},"modified":"2025-05-06T09:58:56","modified_gmt":"2025-05-06T07:58:56","password":"","slug":"export-data","status":"publish","type":"docs","link":"https:\/\/www.ems-help.online\/en\/docs\/export-data\/","title":{"rendered":"Exporting data"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Data export to ems<\/h2>\n\n<p>It is possible to export data in various system areas (time recording, accounting, order management, etc.). Export functions are only accessible to administrators. <\/p>\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"287\" height=\"238\" src=\"https:\/\/www.ems-help.online\/wp-content\/uploads\/2024\/06\/Datenexport-Menue-1.png\" alt=\"\" class=\"wp-image-4389\" style=\"width:195px;height:auto\"\/><\/figure>\n\n<p>Data export is possible in 3 ways:<\/p>\n\n<ol class=\"wp-block-list\">\n<li>Download a csv file (Excel)<\/li>\n\n\n\n<li>Data retrieval for Power BI or Excel with your ems login data<\/li>\n\n\n\n<li>Data retrieval for Power BI or Excel with an API key<\/li>\n<\/ol>\n\n<h3 class=\"wp-block-heading\">Data export in a csv file  <\/h3>\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"919\" height=\"298\" src=\"https:\/\/www.ems-help.online\/wp-content\/uploads\/2024\/07\/image.png\" alt=\"\" class=\"wp-image-4455\" srcset=\"https:\/\/www.ems-help.online\/wp-content\/uploads\/2024\/07\/image.png 919w, https:\/\/www.ems-help.online\/wp-content\/uploads\/2024\/07\/image-300x97.png 300w, https:\/\/www.ems-help.online\/wp-content\/uploads\/2024\/07\/image-768x249.png 768w\" sizes=\"auto, (max-width: 919px) 100vw, 919px\" \/><\/figure>\n\n<p>Data is exported as &#8220;raw data&#8221; in csv. The export reports are prepared for corresponding applications.  The file is created on the server and then downloaded and cannot be updated.<\/p>\n\n<p>The formatting is as follows:<br\/>, as separator<br\/>&#8220;&#8230;&#8221; as text identifier<br\/>. as decimal separator<br\/>yyyy-MM-dd as format for date<br\/>yyyy-MM-dd HH:mm:ss as format for date and time <\/p>\n\n<h3 class=\"wp-block-heading\">Retrieval of data with user login<\/h3>\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"920\" height=\"297\" src=\"https:\/\/www.ems-help.online\/wp-content\/uploads\/2024\/07\/image-1.png\" alt=\"\" class=\"wp-image-4457\" srcset=\"https:\/\/www.ems-help.online\/wp-content\/uploads\/2024\/07\/image-1.png 920w, https:\/\/www.ems-help.online\/wp-content\/uploads\/2024\/07\/image-1-300x97.png 300w, https:\/\/www.ems-help.online\/wp-content\/uploads\/2024\/07\/image-1-768x248.png 768w\" sizes=\"auto, (max-width: 920px) 100vw, 920px\" \/><\/figure>\n\n<p>When you click on the Power Query button <img loading=\"lazy\" decoding=\"async\" width=\"150\" height=\"43\" class=\"wp-image-4399\" style=\"width: 150px;\" src=\"https:\/\/www.ems-help.online\/wp-content\/uploads\/2024\/06\/Power-Query.png\" alt=\"\"\/>, help appears on how applications such as Power BI or Excel can be connected directly to the selected export:<\/p>\n\n<ul class=\"wp-block-list\">\n<li>Copy the URL displayed in the mask and paste it into the corresponding field in Power BI \/ Excel.<\/li>\n\n\n\n<li>Use the &#8220;Standard&#8221; login option and enter your login details to establish the connection.<\/li>\n\n\n\n<li>The data can then be updated directly at any time (click on the <em>Update <\/em>button in the application).<\/li>\n<\/ul>\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"626\" height=\"462\" src=\"https:\/\/www.ems-help.online\/wp-content\/uploads\/2024\/07\/image-2.png\" alt=\"\" class=\"wp-image-4459\" srcset=\"https:\/\/www.ems-help.online\/wp-content\/uploads\/2024\/07\/image-2.png 626w, https:\/\/www.ems-help.online\/wp-content\/uploads\/2024\/07\/image-2-300x221.png 300w\" sizes=\"auto, (max-width: 626px) 100vw, 626px\" \/><\/figure>\n\n<p>Please also note the automatically adopted parameters in the URL, which can be adjusted if necessary.<\/p>\n\n<p><strong>Important: Only the ems integrated login with user name and password is possible. It is not possible to log in via Google, Microsoft 365 or with a local network login! <\/strong><\/p>\n\n<h3 class=\"wp-block-heading\">Retrieving data with an API key<\/h3>\n\n<p>For interactive access (without user login), you can set up the corresponding interfaces in the system settings. To activate the web interface, you need &#8220;System administrator rights&#8221;. Go to the system settings and the &#8220;Interfaces&#8221; tab.  <\/p>\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"654\" height=\"81\" src=\"https:\/\/www.ems-help.online\/wp-content\/uploads\/2023\/05\/Web-Schnitstellen-Neu.jpg\" alt=\"\" class=\"wp-image-8113\" srcset=\"https:\/\/www.ems-help.online\/wp-content\/uploads\/2023\/05\/Web-Schnitstellen-Neu.jpg 654w, https:\/\/www.ems-help.online\/wp-content\/uploads\/2023\/05\/Web-Schnitstellen-Neu-300x37.jpg 300w, https:\/\/www.ems-help.online\/wp-content\/uploads\/2023\/05\/Web-Schnitstellen-Neu-360x45.jpg 360w\" sizes=\"auto, (max-width: 654px) 100vw, 654px\" \/><\/figure>\n\n<p>Use the plus sign to add a new interface of the type<em>&#8220;Data export via web interface<\/em>&#8220;. You will automatically receive the path for access and the API key.<\/p>\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"624\" height=\"396\" src=\"https:\/\/www.ems-help.online\/wp-content\/uploads\/2024\/07\/image-3.png\" alt=\"\" class=\"wp-image-4461\" srcset=\"https:\/\/www.ems-help.online\/wp-content\/uploads\/2024\/07\/image-3.png 624w, https:\/\/www.ems-help.online\/wp-content\/uploads\/2024\/07\/image-3-300x190.png 300w\" sizes=\"auto, (max-width: 624px) 100vw, 624px\" \/><\/figure>\n\n<p>Enter a valid <strong>ems<\/strong> personnel number in the employee number. All data is retrieved with the authorizations of this personnel number.<\/p>\n\n<p>You can now use the web path as a data source in various systems.<\/p>\n\n<p>For example, for Microsoft Power BI or Excel. It is important that the API key is transferred in the header. Below you will find an overview of the valid parameters that must be transferred in the URL:<\/p>\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>331 &#8211; Customer data for Comatic<\/td><td>Special (selection of data records)<\/td><\/tr><tr><td>332 &#8211; Debtor data for Abacus<br\/>341 &#8211; Creditor data for Abacus<\/td><td>BookingDateFrom<br\/>BookingDateTo<br\/>CreateDateFrom<br\/>CreateDateTo<br\/>SummaryBooking<\/td><\/tr><tr><td>51 &#8211; Financial data for Power BI<br\/>101 &#8211; Time recording data<br\/>102 &#8211; Compensation data<br\/>103 &#8211; Provisions (generic)<br\/>104 &#8211; Credit hours<br\/>201 &#8211; Service items<br\/>231 &#8211; Cash evaluation<\/td><td>BookingDateFrom<br\/>BookingDateTo<\/td><\/tr><tr><td>61 &#8211; Customer address list<br\/>241 &#8211; Supplier address list<\/td><td>CountryISO<\/td><\/tr><tr><td>11 &#8211; Article list<\/td><td>ProductGroupCode <br\/>SaleProduct<br\/>MaterialProduct<br\/>ServiceProduct<\/td><\/tr><\/tbody><\/table><\/figure>\n\n<h4 class=\"wp-block-heading\">Example configuration (Power BI):<\/h4>\n\n<figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"713\" height=\"552\" src=\"https:\/\/www.ems-help.online\/wp-content\/uploads\/2024\/02\/image-1.png\" alt=\"\" class=\"wp-image-4223\" style=\"width:714px;height:auto\" srcset=\"https:\/\/www.ems-help.online\/wp-content\/uploads\/2024\/02\/image-1.png 713w, https:\/\/www.ems-help.online\/wp-content\/uploads\/2024\/02\/image-1-300x232.png 300w\" sizes=\"auto, (max-width: 713px) 100vw, 713px\" \/><\/figure>\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"114\" src=\"https:\/\/www.ems-help.online\/wp-content\/uploads\/2024\/02\/image-2-1024x114.png\" alt=\"\" class=\"wp-image-4225\" srcset=\"https:\/\/www.ems-help.online\/wp-content\/uploads\/2024\/02\/image-2-1024x114.png 1024w, https:\/\/www.ems-help.online\/wp-content\/uploads\/2024\/02\/image-2-300x33.png 300w, https:\/\/www.ems-help.online\/wp-content\/uploads\/2024\/02\/image-2-768x85.png 768w, https:\/\/www.ems-help.online\/wp-content\/uploads\/2024\/02\/image-2.png 1150w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n<h4 class=\"wp-block-heading\">Error messages<\/h4>\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>400<\/td><td>Bad Request<\/td><td>The API key was not transferred or not transferred correctly.<\/td><\/tr><tr><td>401<\/td><td>Unauthorized<\/td><td>An invalid API key has been transferred or the interface is not available in the ems system.<\/td><\/tr><tr><td>403<\/td><td>Forbidden<\/td><td>The API key is valid, but the employee defined behind the API key (also virtual employee) does not have sufficient authorizations to perform the action.<\/td><\/tr><tr><td>406<\/td><td>Not Acceptable<\/td><td>Incorrect or not all required parameters were transferred.<br\/>This error message is returned if processing is not possible based on the parameters.<\/td><\/tr><\/tbody><\/table><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Data export to ems It is possible to export data in various system areas (time recording, accounting, order management, etc.). [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"doc_category":[193],"glossaries":[],"doc_tag":[195],"class_list":["post-2070","docs","type-docs","status-publish","hentry","doc_category-importing-and-exporting-data","doc_tag-administrator-en"],"year_month":"2026-05","word_count":532,"total_views":"1406","reactions":{"happy":"0","normal":"0","sad":"0"},"author_info":{"name":"Daniel Suter","author_nicename":"daniel-sutersubris-ch","author_url":"https:\/\/www.ems-help.online\/en\/author\/daniel-sutersubris-ch\/"},"doc_category_info":[{"term_name":"Importing and exporting data","term_url":"https:\/\/www.ems-help.online\/en\/docs-category\/importing-and-exporting-data\/"}],"doc_tag_info":[{"term_name":"Administrator","term_url":"https:\/\/www.ems-help.online\/en\/docs-tag\/administrator-en\/"}],"knowledge_base_info":[],"knowledge_base_slug":[],"_links":{"self":[{"href":"https:\/\/www.ems-help.online\/en\/wp-json\/wp\/v2\/docs\/2070","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ems-help.online\/en\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/www.ems-help.online\/en\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/www.ems-help.online\/en\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ems-help.online\/en\/wp-json\/wp\/v2\/comments?post=2070"}],"version-history":[{"count":14,"href":"https:\/\/www.ems-help.online\/en\/wp-json\/wp\/v2\/docs\/2070\/revisions"}],"predecessor-version":[{"id":8170,"href":"https:\/\/www.ems-help.online\/en\/wp-json\/wp\/v2\/docs\/2070\/revisions\/8170"}],"wp:attachment":[{"href":"https:\/\/www.ems-help.online\/en\/wp-json\/wp\/v2\/media?parent=2070"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/www.ems-help.online\/en\/wp-json\/wp\/v2\/doc_category?post=2070"},{"taxonomy":"glossaries","embeddable":true,"href":"https:\/\/www.ems-help.online\/en\/wp-json\/wp\/v2\/glossaries?post=2070"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/www.ems-help.online\/en\/wp-json\/wp\/v2\/doc_tag?post=2070"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}