{"id":8977,"date":"2021-06-04T13:21:26","date_gmt":"2021-06-04T13:21:26","guid":{"rendered":"https:\/\/guide.itscope.com\/?post_type=kb&#038;p=8977"},"modified":"2023-06-28T16:02:56","modified_gmt":"2023-06-28T14:02:56","slug":"exporting-distributor-master-data-via-the-api","status":"publish","type":"kb","link":"https:\/\/guide.itscope.com\/en\/kb\/exporting-distributor-master-data-via-the-api\/","title":{"rendered":"Exporting distributor master data via the API"},"content":{"rendered":"\n<p>Below you will find all the steps to export supplier master data via API.<br><\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Open the ITscope API interface via the following link: <a href=\"https:\/\/api.itscope.com\/api-doc\/2.0\/index.html#!\/\">https:\/\/api.itscope.com\/api-doc\/2.0\/index.html#!\/<\/a><br><\/li>\n\n\n\n<li>Locate the Company\/Distributor option and then select it<br><\/li>\n\n\n\n<li>You can select your output format under &#8216;Parameters&#8217;. You can currently choose between JSON or XML as the format. For an EXCEL export, select XML<br><\/li>\n\n\n\n<li>Scroll down and select the &#8216;Try it out!&#8217; button<br><\/li>\n\n\n\n<li>You will now be asked to enter your API access details. These can be found in your <a href=\"https:\/\/guide.itscope.com\/en\/kb\/where-can-i-find-my-individual-api-key\/\">user profile<\/a><\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/guide.itscope.com\/wp-content\/uploads\/2020\/10\/kqVAkmNy_ZpfFBI93Yd4GA.png\"><img loading=\"lazy\" decoding=\"async\" width=\"452\" height=\"233\" src=\"https:\/\/guide.itscope.com\/wp-content\/uploads\/2020\/10\/kqVAkmNy_ZpfFBI93Yd4GA.png\" alt=\"\" class=\"wp-image-4061\" srcset=\"https:\/\/guide.itscope.com\/wp-content\/uploads\/2020\/10\/kqVAkmNy_ZpfFBI93Yd4GA.png 452w, https:\/\/guide.itscope.com\/wp-content\/uploads\/2020\/10\/kqVAkmNy_ZpfFBI93Yd4GA-300x155.png 300w\" sizes=\"auto, (max-width: 452px) 100vw, 452px\" \/><\/a><\/figure>\n\n\n\n<p>6. You will now receive another link (Request URL) to retrieve the data:<br><a href=\"https:\/\/api.itscope.com\/2.0\/company\/distributor\/company.xml\">https:\/\/api.itscope.com\/2.0\/company\/distributor\/company.xml<\/a><br><\/p>\n\n\n\n<p>7. Copy and paste this link into your browser to get an XML file.<\/p>\n\n\n\n<p>    You can also use the following link for automation:<\/p>\n\n\n\n<p>    https:\/\/[customer-number]:[API-Key]@api.itscope.com\/2.0\/company\/distributor\/company.xml<\/p>\n\n\n\n<p>    Replace the [customer-number] and [API-Key] placeholders with your corresponding details<br><\/p>\n\n\n\n<p>8. An XML file with the desired information will open<br><\/p>\n\n\n\n<p>9. You can save the page with a right click inside the browser window<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/guide.itscope.com\/wp-content\/uploads\/2020\/10\/BpYQ7gLyg5qUx-PgYWoeEw.png\"><img loading=\"lazy\" decoding=\"async\" width=\"605\" height=\"425\" src=\"https:\/\/guide.itscope.com\/wp-content\/uploads\/2020\/10\/BpYQ7gLyg5qUx-PgYWoeEw.png\" alt=\"\" class=\"wp-image-4064\" srcset=\"https:\/\/guide.itscope.com\/wp-content\/uploads\/2020\/10\/BpYQ7gLyg5qUx-PgYWoeEw.png 605w, https:\/\/guide.itscope.com\/wp-content\/uploads\/2020\/10\/BpYQ7gLyg5qUx-PgYWoeEw-300x211.png 300w\" sizes=\"auto, (max-width: 605px) 100vw, 605px\" \/><\/a><\/figure>\n\n\n\n<p>10. Save the page in a suitable location<br><\/p>\n\n\n\n<p>11. The file can then be processed further, e.g. in EXCEL.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Below you will find all the steps to export supplier master data via API. 6. You will now receive another link (Request URL) to retrieve the data:https:\/\/api.itscope.com\/2.0\/company\/distributor\/company.xml 7. Copy and &#8230;<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"kbtopic":[264],"kbtag":[],"class_list":["post-8977","kb","type-kb","status-publish","hentry","kbtopic-itscope-platform"],"_links":{"self":[{"href":"https:\/\/guide.itscope.com\/en\/wp-json\/wp\/v2\/kb\/8977","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/guide.itscope.com\/en\/wp-json\/wp\/v2\/kb"}],"about":[{"href":"https:\/\/guide.itscope.com\/en\/wp-json\/wp\/v2\/types\/kb"}],"author":[{"embeddable":true,"href":"https:\/\/guide.itscope.com\/en\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/guide.itscope.com\/en\/wp-json\/wp\/v2\/comments?post=8977"}],"version-history":[{"count":8,"href":"https:\/\/guide.itscope.com\/en\/wp-json\/wp\/v2\/kb\/8977\/revisions"}],"predecessor-version":[{"id":14842,"href":"https:\/\/guide.itscope.com\/en\/wp-json\/wp\/v2\/kb\/8977\/revisions\/14842"}],"wp:attachment":[{"href":"https:\/\/guide.itscope.com\/en\/wp-json\/wp\/v2\/media?parent=8977"}],"wp:term":[{"taxonomy":"kbtopic","embeddable":true,"href":"https:\/\/guide.itscope.com\/en\/wp-json\/wp\/v2\/kbtopic?post=8977"},{"taxonomy":"kbtag","embeddable":true,"href":"https:\/\/guide.itscope.com\/en\/wp-json\/wp\/v2\/kbtag?post=8977"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}