{"info":{"_postman_id":"fa49c8ca-f461-437e-9097-a00a964623dd","name":"Hermes SMP migration key API","description":"<html><head></head><body><h1 id=\"business-context\">Business Context</h1>\n<ul>\n<li><p>To boost generalization of e-invoicing in Belgium, the Government decided to set up Hermes (hrms), an xml to pdf gateway that brings Belgian enterprises not yet equipped with inbound e-invoicing tools within the reach of Peppol BIS invoice senders.</p>\n</li>\n<li><p>A key component of hrms is HermeSMP (hsmp): this smp is dedicated to store only hrms receivers, ie all Belgian enterprises as long as they have not found a suitable Peppol Access Provider.</p>\n</li>\n<li><p>This API provides a 'machine friendly exit' for participant by providing Peppol access point to get the necessary migration key to start the standard SMP migration process, as defined in Peppol specifications.</p>\n</li>\n<li><p>Note that beside this API, there is also the possibility for an enterprise representative manually collects the migration key using a webform exposed by the Government. TODO : @Arnaud could you provide the url of the IWF</p>\n</li>\n</ul>\n<h1 id=\"api-documentation\">API Documentation</h1>\n<p>This documentation describes the REST interface for the exchanges between the HSMP and a client wishing to retrieve a migration key in order to take over a Peppol participant.</p>\n<p>This process is part of the</p>\n<p><a href=\"https://github.com/OpenPEPPOL/documentation/blob/master/TransportInfrastructure/ICT-Transport-SML_Service_Specification-101.pdf\">Peppol SML specification</a></p>\n<p>. But the actual exchange of the migration key part is left to specific implementation, as described in this extract of the SML specification:</p>\n<p>_Another set of steps relating to SMPs and the SML relates to the migration of the metadata about a participant from one SMP to another SMP (for example, the participant decides to change suppliers for this function). There are interfaces to the SML to support migrations of this kind, which imply following a sequence of steps along the lines shown in figure 4.__<strong>In this sequence, the original SMP receives a request from a participant to migrate its metadata to a new SMP (a step that is done out-of-band: there are no interfaces defined in these specifications for this).</strong><strong>The SMP generates a Migration Key which is a unique string containing characters and numbers only, with a maximum length of 24 characters.</strong><strong>The original SMP invokes the PrepareToMigrate operation of the SML and then passes the migration key to the new SMP (the key passing is an out-of-band step not defined in these specifications).</strong>__When the new SMP has created the relevant metadata for the participant, it signals that it is taking over by invoking the Migrate operation of the SML, which then causes the DNS record(s) for that participant ID to be updated to point at the new SMP._<em>Once this switch is complete, the original SMP can remove the metadata which it holds for the participant.</em></p>\n<h2 id=\"mutual-tls-authentication\">Mutual TLS authentication</h2>\n<p>In order to call the API, the access point must use a valid Peppol certificate to perform a mutual TLS authentication:</p>\n<ul>\n<li><p>Production Access point certificate can be used for PROD and TEST Participants (SML and SMK)</p>\n</li>\n<li><p>Test Access Point Certificate can only be used for TEST Participants (SMK)</p>\n</li>\n</ul>\n<p>Swagger is not able to specify security based on mutual TLS authentication, therefore the security part is left empty in the endpoint documentation.</p>\n<h2 id=\"user-blacklisting\">User blacklisting</h2>\n<p>HSMP allows a maximum of 1000 queries per day coming from a single certificate. If the limit is reached, the certificate is permanently baned. Access point may send a email request to BOSA support in order to to unblock the certificate.</p>\n<h2 id=\"api-dns-and-ips\">API DNS and IP's</h2>\n<p>The DNS entries are done for the following domains:</p>\n<h3 id=\"test-smk--smpacc-hermes-belgiumbe\">TEST SMK : smp.acc-hermes-belgium.be</h3>\n<ul>\n<li><p>91.198.243.18</p>\n</li>\n<li><p>91.198.243.19</p>\n</li>\n</ul>\n<h3 id=\"prod-sml--smphermes-belgiumbe\">PROD SML : smp.hermes-belgium.be</h3>\n<ul>\n<li><p>91.198.243.20</p>\n</li>\n<li><p>91.198.243.21</p>\n</li>\n</ul>\n<h1 id=\"changes\">Changes</h1>\n<h2 id=\"100\">1.0.0</h2>\n<p>The first release was done as parto f the initial development of the HSMP. Its purpose was to enable the BOSA intelligent web form to gather and distribute the migration key.</p>\n<h2 id=\"200beta\">2.0.0beta</h2>\n<p>Following up on Access Points feedback, BOSA decided to provide a public API for Access Point to automate Participant migration.</p>\n<p>Here is the list of changes:</p>\n<ul>\n<li><p>The name of the API was changed to a more 'REST' friendly resource like name</p>\n</li>\n<li><p>The xml elements names were adapted to be closer to the one used in the SML documentation</p>\n</li>\n<li><p>The xml structure of the API request and response have been adapted in order to be fit in the capabilities of the swagger definition file.</p>\n</li>\n<li><p>Authentication was change to leverage the Peppol PKI</p>\n</li>\n<li><p>Error code were added. Note that due to swagger documentation, the error code are documented as x-000-HSMP-000. The API will respond a standard response code corresponding to the first 3 digits. The body of the response will contain the error code and message.</p>\n</li>\n</ul>\n<h2 id=\"200cr\">2.0.0CR</h2>\n<p>As part of the development few consistency changes were made.</p>\n<p>Here is the list of changes:</p>\n<ul>\n<li><p>Change prefix to URL : /hermes-rw/migrationKey</p>\n</li>\n<li><p>Few error codes (002 -&gt; 012, 003 -&gt; 013, 004 -&gt; 811) were changed to insure consistency with the former SMP.Belgium.be</p>\n</li>\n</ul>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"Business Context","slug":"business-context"},{"content":"API Documentation","slug":"api-documentation"},{"content":"Changes","slug":"changes"}],"owner":"11381713","collectionId":"fa49c8ca-f461-437e-9097-a00a964623dd","publishedId":"T17FCUqp","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2020-07-03T15:08:30.000Z"},"item":[{"name":"1. Setup","item":[{"name":"Returns the migration key for one participants; requires mutual TLS authentication.","id":"0c43135c-d4c9-42bf-ab4f-1034320f8a88","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"smp.acc-hermes-belgium.be/migrationKey?participant=0211487714","description":"<p>In order to be able to perform this test, you need to add you Peppol access point to the Postman:</p>\n<ol>\n<li>Open Postman.</li>\n<li>Go to “Preferences” in the main navigation and select “certificates” tab.</li>\n<li>Click “Add Certificates”.</li>\n<li>Choose the following values:</li>\n</ol>\n<ul>\n<li>Host: <a href=\"https://smp.acc-hermes-belgium.be\">https://smp.acc-hermes-belgium.be</a></li>\n<li>CRT: your_peppol_ap_cert.crt (Public certificate)</li>\n<li>Key: your_peppol_ap_cert.pem (private key)</li>\n</ul>\n","urlObject":{"path":["migrationKey"],"host":["smp.acc-hermes-belgium.be"],"query":[{"description":{"content":"<p>(Required) 1 participant ID</p>\n","type":"text/plain"},"key":"participant","value":"0211487714"}],"variable":[]}},"response":[{"id":"06bb7f6f-f096-4489-af40-be01c1f4cfbb","name":"Ok","originalRequest":{"method":"GET","header":[],"url":{"raw":"smp.acc-hermes-belgium.be/migrationKey?participant=<string>","host":["smp.acc-hermes-belgium.be"],"path":["migrationKey"],"query":[{"key":"participant","value":"<string>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"xml","header":[{"key":"Content-Type","value":"application/xml"}],"cookie":[],"responseTime":null,"body":"<element>(string)</element>"},{"id":"82a80245-ce75-4283-836d-bb23a18d1f86","name":"#### Error Code:\n* HSMP-999: The service encountered an internal error\n","originalRequest":{"method":"GET","header":[],"url":{"raw":"smp.acc-hermes-belgium.be/migrationKey?participant=<string>","host":["smp.acc-hermes-belgium.be"],"path":["migrationKey"],"query":[{"key":"participant","value":"<string>"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"xml","header":[{"key":"Content-Type","value":"application/xml"}],"cookie":[],"responseTime":null,"body":"<Error><Code>HSMP-999</Code><Message>The service encountered an internal error</Message><Error/>"},{"id":"8c55ec49-052a-4920-9742-01ffd8a507d6","name":"#### Error Code:\n* HSMP-004 : Blacklisted. Please contact BOSA\n","originalRequest":{"method":"GET","header":[],"url":{"raw":"smp.acc-hermes-belgium.be/migrationKey?participant=<string>","host":["smp.acc-hermes-belgium.be"],"path":["migrationKey"],"query":[{"key":"participant","value":"<string>"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"xml","header":[{"key":"Content-Type","value":"application/xml"}],"cookie":[],"responseTime":null,"body":"<Error><Code>HSMP-004</Code><Message>Blacklisted. Please contact BOSA</Message><Error/>"},{"id":"d9d4f315-803b-477b-9a19-8a9f6294b94f","name":"#### Error Code:\n* HSMP-001 : Invalid or non-existing enterprise number + id\n* HSMP-002 : Inactive enterprise number + id\n* HSMP-003 : Already migrated  + id\n","originalRequest":{"method":"GET","header":[],"url":{"raw":"smp.acc-hermes-belgium.be/migrationKey?participant=<string>","host":["smp.acc-hermes-belgium.be"],"path":["migrationKey"],"query":[{"key":"participant","value":"<string>"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"xml","header":[{"key":"Content-Type","value":"application/xml"}],"cookie":[],"responseTime":null,"body":"<Error><Code>HSMP-001</Code><Message>Invalid or non-existing enterprise number 123456789 </Message><Error/>"},{"id":"da319c0b-b098-444d-be08-35c26e9f93ba","name":"#### Error Code:\n* HSMP-802 : No certificate supplied with the request\n* HSMP-803 : Error while parsing client certificate\n* HSMP-804 : Certificate expired or not yet valid\n* HSMP-805 : Certificate cannot be trusted by PEPPOL trustStore\n* HSMP-806 : Certi","originalRequest":{"method":"GET","header":[],"url":{"raw":"smp.acc-hermes-belgium.be/migrationKey?participant=<string>","host":["smp.acc-hermes-belgium.be"],"path":["migrationKey"],"query":[{"key":"participant","value":"<string>"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"xml","header":[{"key":"Content-Type","value":"application/xml"}],"cookie":[],"responseTime":null,"body":"<Error><Code>HSMP-802</Code><Message>No certificate supplied with the request</Message><Error/>"}],"_postman_id":"0c43135c-d4c9-42bf-ab4f-1034320f8a88"}],"id":"8251c0de-e7f2-426e-b6ea-dff09387fd32","_postman_id":"8251c0de-e7f2-426e-b6ea-dff09387fd32","description":""},{"name":"2. smp test cases","item":[{"name":"Case 2.1. Get Service Group for active participant","id":"8e06d72c-d663-4961-92ab-259fb93fcb2b","protocolProfileBehavior":{"disableBodyPruning":true,"followRedirects":false},"request":{"method":"GET","header":[],"url":"http://smp.acc-hermes-belgium.be/iso6523-actorid-upis%3A%3A0208%3A0211487714","description":"<p>Get the service group for a valid participant</p>\n","urlObject":{"protocol":"http","path":["iso6523-actorid-upis%3A%3A0208%3A0211487714"],"host":["smp.acc-hermes-belgium.be"],"query":[],"variable":[]}},"response":[],"_postman_id":"8e06d72c-d663-4961-92ab-259fb93fcb2b"},{"name":"Case 2.2. Get Service Group for non 0208 participant","id":"4435e4cb-5805-4a6f-9745-23a42fef515f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://smp.acc-hermes-belgium.be/iso6523-actorid-upis%3A%3A9956%3A00000","description":"<p>Get the service group for a non 0208 participant</p>\n","urlObject":{"protocol":"http","path":["iso6523-actorid-upis%3A%3A9956%3A00000"],"host":["smp.acc-hermes-belgium.be"],"query":[],"variable":[]}},"response":[],"_postman_id":"4435e4cb-5805-4a6f-9745-23a42fef515f"},{"name":"Case 2.3. Get Service Group for syntactically invalid CBE","id":"a483b419-287c-4624-a1b7-835b7c99c1c5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://smp.acc-hermes-belgium.be/iso6523-actorid-upis%3A%3A0208%3A1111","description":"<p>Get the service group for a syntactically invalid CDE number</p>\n","urlObject":{"protocol":"http","path":["iso6523-actorid-upis%3A%3A0208%3A1111"],"host":["smp.acc-hermes-belgium.be"],"query":[],"variable":[]}},"response":[],"_postman_id":"a483b419-287c-4624-a1b7-835b7c99c1c5"},{"name":"Case 2.4. Get Service Metadata for active participant","id":"8a08011c-6660-45b9-a2bb-90b315ea93e8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://smp.acc-hermes-belgium.be/iso6523-actorid-upis%3A%3A0208%3A0211487714/services/busdox-docid-qns%3A%3Aurn%3Aoasis%3Anames%3Aspecification%3Aubl%3Aschema%3Axsd%3ACreditNote-2%3A%3ACreditNote%23%23urn%3Acen.eu%3Aen16931%3A2017%23compliant%23urn%3Afdc%3Apeppol.eu%3A2017%3Apoacc%3Abilling%3A3.0%3A%3A2.1","description":"<p>Get the service metadata for a valid participant</p>\n","urlObject":{"protocol":"http","path":["iso6523-actorid-upis%3A%3A0208%3A0211487714","services","busdox-docid-qns%3A%3Aurn%3Aoasis%3Anames%3Aspecification%3Aubl%3Aschema%3Axsd%3ACreditNote-2%3A%3ACreditNote%23%23urn%3Acen.eu%3Aen16931%3A2017%23compliant%23urn%3Afdc%3Apeppol.eu%3A2017%3Apoacc%3Abilling%3A3.0%3A%3A2.1"],"host":["smp.acc-hermes-belgium.be"],"query":[],"variable":[]}},"response":[],"_postman_id":"8a08011c-6660-45b9-a2bb-90b315ea93e8"},{"name":"Case 2.5. Get Service Metadata for invalid participant","id":"af731773-1d0f-41f8-a53d-2e379388314c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://smp.acc-hermes-belgium.be/iso6523-actorid-upis%3A%3A0208%3A1111/services/busdox-docid-qns%3A%3Aurn%3Aoasis%3Anames%3Aspecification%3Aubl%3Aschema%3Axsd%3ACreditNote-2%3A%3ACreditNote%23%23urn%3Acen.eu%3Aen16931%3A2017%23compliant%23urn%3Afdc%3Apeppol.eu%3A2017%3Apoacc%3Abilling%3A3.0%3A%3A2.1","description":"<p>Get the service group for a invalid participant. This number was never known as a valid Belgian BCE number.</p>\n","urlObject":{"protocol":"http","path":["iso6523-actorid-upis%3A%3A0208%3A1111","services","busdox-docid-qns%3A%3Aurn%3Aoasis%3Anames%3Aspecification%3Aubl%3Aschema%3Axsd%3ACreditNote-2%3A%3ACreditNote%23%23urn%3Acen.eu%3Aen16931%3A2017%23compliant%23urn%3Afdc%3Apeppol.eu%3A2017%3Apoacc%3Abilling%3A3.0%3A%3A2.1"],"host":["smp.acc-hermes-belgium.be"],"query":[],"variable":[]}},"response":[],"_postman_id":"af731773-1d0f-41f8-a53d-2e379388314c"},{"name":"Case 2.6. Get Service Metadata for migrated participant","id":"f1e5c8a5-0e35-4064-8080-e4f5dd5e1707","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://smp.acc-hermes-belgium.be/iso6523-actorid-upis%3A%3A0208%3A0211276292/services/busdox-docid-qns%3A%3Aurn%3Aoasis%3Anames%3Aspecification%3Aubl%3Aschema%3Axsd%3ACreditNote-2%3A%3ACreditNote%23%23urn%3Acen.eu%3Aen16931%3A2017%23compliant%23urn%3Afdc%3Apeppol.eu%3A2017%3Apoacc%3Abilling%3A3.0%3A%3A2.1","description":"<p>Get the service group for a migrated participant.</p>\n","urlObject":{"protocol":"http","path":["iso6523-actorid-upis%3A%3A0208%3A0211276292","services","busdox-docid-qns%3A%3Aurn%3Aoasis%3Anames%3Aspecification%3Aubl%3Aschema%3Axsd%3ACreditNote-2%3A%3ACreditNote%23%23urn%3Acen.eu%3Aen16931%3A2017%23compliant%23urn%3Afdc%3Apeppol.eu%3A2017%3Apoacc%3Abilling%3A3.0%3A%3A2.1"],"host":["smp.acc-hermes-belgium.be"],"query":[],"variable":[]}},"response":[],"_postman_id":"f1e5c8a5-0e35-4064-8080-e4f5dd5e1707"},{"name":"Case 2.7. Get Service Metadata for deleted participant","id":"91bd0c85-83f1-411f-b7d7-f1fb492a3563","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://smp.acc-hermes-belgium.be/iso6523-actorid-upis%3A%3A0208%3A0458625502/services/busdox-docid-qns%3A%3Aurn%3Aoasis%3Anames%3Aspecification%3Aubl%3Aschema%3Axsd%3ACreditNote-2%3A%3ACreditNote%23%23urn%3Acen.eu%3Aen16931%3A2017%23compliant%23urn%3Afdc%3Apeppol.eu%3A2017%3Apoacc%3Abilling%3A3.0%3A%3A2.1","description":"<p>Get the service group for a deleted participant.</p>\n","urlObject":{"protocol":"http","path":["iso6523-actorid-upis%3A%3A0208%3A0458625502","services","busdox-docid-qns%3A%3Aurn%3Aoasis%3Anames%3Aspecification%3Aubl%3Aschema%3Axsd%3ACreditNote-2%3A%3ACreditNote%23%23urn%3Acen.eu%3Aen16931%3A2017%23compliant%23urn%3Afdc%3Apeppol.eu%3A2017%3Apoacc%3Abilling%3A3.0%3A%3A2.1"],"host":["smp.acc-hermes-belgium.be"],"query":[],"variable":[]}},"response":[],"_postman_id":"91bd0c85-83f1-411f-b7d7-f1fb492a3563"},{"name":"Case 2.8. Get Service Metadata for invalid document","id":"1fa90c06-6683-4197-997e-551ba6578465","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://smp.acc-hermes-belgium.be/iso6523-actorid-upis%3A%3A0208%3A0211487714/services/busdox-docid-qns%3A%3Aurn%3Aoasis%3Anames%3Aspecification%3Aubl%3Aschema%3Axsd%3ACreditNote-2%3A%3ACreditNote%23%23urn%3Acen.eu%3Aen16931%3A2017%23compliant%23urn%3Afdc%3Apeppol.eu%3A2017%3Apoacc%3Abilling%3A3.0%3A%3A2.4","description":"<p>Get the service group for a invalid document.</p>\n","urlObject":{"protocol":"http","path":["iso6523-actorid-upis%3A%3A0208%3A0211487714","services","busdox-docid-qns%3A%3Aurn%3Aoasis%3Anames%3Aspecification%3Aubl%3Aschema%3Axsd%3ACreditNote-2%3A%3ACreditNote%23%23urn%3Acen.eu%3Aen16931%3A2017%23compliant%23urn%3Afdc%3Apeppol.eu%3A2017%3Apoacc%3Abilling%3A3.0%3A%3A2.4"],"host":["smp.acc-hermes-belgium.be"],"query":[],"variable":[]}},"response":[],"_postman_id":"1fa90c06-6683-4197-997e-551ba6578465"}],"id":"355f18d3-6771-431f-8223-b04823c571e6","_postman_id":"355f18d3-6771-431f-8223-b04823c571e6","description":""},{"name":"3. migrationKey test cases","item":[{"name":"Case 3.1. Get Migration Key for active participant","id":"c230ac33-03f2-4e96-a19a-3657925a2cf9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"https://smp.acc-hermes-belgium.be/hermes-rw/migrationKey?participant=0211487714","description":"<p>In order to be able to perform this test, you need to add you Peppol access point to the Postman:</p>\n<ol>\n<li><p>Open Postman.</p>\n</li>\n<li><p>Go to “Preferences” in the main navigation</p>\n</li>\n<li><p>In \"General\", disable SSL certificate verification</p>\n</li>\n<li><p>In \"Certificates\" tab, click “Add Certificates”. Choose the following values:</p>\n</li>\n</ol>\n<ul>\n<li><p>Host: <a href=\"https://smp.acc-hermes-belgium.be\">https://smp.acc-hermes-belgium.be</a></p>\n</li>\n<li><p>CRT: your_peppol_ap_cert.crt (Public certificate)</p>\n</li>\n<li><p>Key: your_peppol_ap_cert.pem (private key)</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["hermes-rw","migrationKey"],"host":["smp.acc-hermes-belgium.be"],"query":[{"description":{"content":"<p>(Required) 1 participant ID</p>\n","type":"text/plain"},"key":"participant","value":"0211487714"}],"variable":[]}},"response":[{"id":"3df4877d-e0d9-49d7-9103-d53f39780f1a","name":"Ok","originalRequest":{"method":"GET","header":[],"url":{"raw":"smp.acc-hermes-belgium.be/hermes-rw/migrationKey?participant=<string>","host":["smp","acc-hermes-belgium","be"],"path":["hermes-rw","migrationKey"],"query":[{"key":"participant","value":"<string>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"xml","header":[{"key":"Content-Type","value":"application/xml"}],"cookie":[],"responseTime":null,"body":"<element>(string)</element>"},{"id":"69203b02-5cab-4e63-a83f-3f58a8e19e24","name":"#### Error Code:\n* HSMP-001 : Invalid or non-existing enterprise number + id\n* HSMP-002 : Inactive enterprise number + id\n* HSMP-003 : Already migrated  + id\n","originalRequest":{"method":"GET","header":[],"url":{"raw":"smp.acc-hermes-belgium.be/hermes-rw/migrationKey?participant=<string>","host":["smp.acc-hermes-belgium.be"],"path":["hermes-rw","migrationKey"],"query":[{"key":"participant","value":"<string>"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"xml","header":[{"key":"Content-Type","value":"application/xml"}],"cookie":[],"responseTime":null,"body":"<Error><Code>HSMP-001</Code><Message>Invalid or non-existing enterprise number 123456789 </Message><Error/>"},{"id":"84d5f5de-faf5-41f2-8664-faae6286e50e","name":"#### Error Code:\n* HSMP-802 : No certificate supplied with the request\n* HSMP-803 : Error while parsing client certificate\n* HSMP-804 : Certificate expired or not yet valid\n* HSMP-805 : Certificate cannot be trusted by PEPPOL trustStore\n* HSMP-806 : Certi","originalRequest":{"method":"GET","header":[],"url":{"raw":"smp.acc-hermes-belgium.be/hermes-rw/migrationKey?participant=<string>","host":["smp.acc-hermes-belgium.be"],"path":["hermes-rw","migrationKey"],"query":[{"key":"participant","value":"<string>"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"xml","header":[{"key":"Content-Type","value":"application/xml"}],"cookie":[],"responseTime":null,"body":"<Error><Code>HSMP-802</Code><Message>No certificate supplied with the request</Message><Error/>"},{"id":"b56ebf03-19fa-4c82-82ab-0ade1ba17007","name":"#### Error Code:\n* HSMP-999: The service encountered an internal error\n","originalRequest":{"method":"GET","header":[],"url":{"raw":"smp.acc-hermes-belgium.be/hermes-rw/migrationKey?participant=<string>","host":["smp.acc-hermes-belgium.be"],"path":["hermes-rw","migrationKey"],"query":[{"key":"participant","value":"<string>"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"xml","header":[{"key":"Content-Type","value":"application/xml"}],"cookie":[],"responseTime":null,"body":"<Error><Code>HSMP-999</Code><Message>The service encountered an internal error</Message><Error/>"},{"id":"ee7a2e49-e502-47e8-b4ae-2cacfbccbb39","name":"#### Error Code:\n* HSMP-004 : Blacklisted. Please contact BOSA\n","originalRequest":{"method":"GET","header":[],"url":{"raw":"smp.acc-hermes-belgium.be/hermes-rw/migrationKey?participant=<string>","host":["smp.acc-hermes-belgium.be"],"path":["hermes-rw","migrationKey"],"query":[{"key":"participant","value":"<string>"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"xml","header":[{"key":"Content-Type","value":"application/xml"}],"cookie":[],"responseTime":null,"body":"<Error><Code>HSMP-004</Code><Message>Blacklisted. Please contact BOSA</Message><Error/>"}],"_postman_id":"c230ac33-03f2-4e96-a19a-3657925a2cf9"},{"name":"Case 3.2. Get Migration Key for invalid participant","id":"8dee9fa5-93cb-4239-ab75-d4a440911456","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"https://smp.acc-hermes-belgium.be/hermes-rw/migrationKey?participant=1111","description":"<p>In order to be able to perform this test, you need to add you Peppol access point to the Postman:</p>\n<ol>\n<li>Open Postman.</li>\n<li>Go to “Preferences” in the main navigation and select “certificates” tab.</li>\n<li>Click “Add Certificates”.</li>\n<li>Choose the following values:</li>\n</ol>\n<ul>\n<li>Host: <a href=\"https://smp.acc-hermes-belgium.be\">https://smp.acc-hermes-belgium.be</a></li>\n<li>CRT: your_peppol_ap_cert.crt (Public certificate)</li>\n<li>Key: your_peppol_ap_cert.pem (private key)</li>\n</ul>\n","urlObject":{"protocol":"https","path":["hermes-rw","migrationKey"],"host":["smp.acc-hermes-belgium.be"],"query":[{"description":{"content":"<p>(Required) 1 participant ID</p>\n","type":"text/plain"},"key":"participant","value":"1111"}],"variable":[]}},"response":[{"id":"4b6c620f-d627-46fe-83b7-2c2a7dd39e99","name":"#### Error Code:\n* HSMP-004 : Blacklisted. Please contact BOSA\n","originalRequest":{"method":"GET","header":[],"url":{"raw":"smp.acc-hermes-belgium.be/hermes-rw/migrationKey?participant=<string>","host":["smp","acc-hermes-belgium","be"],"path":["hermes-rw","migrationKey"],"query":[{"key":"participant","value":"<string>"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"xml","header":[{"key":"Content-Type","value":"application/xml"}],"cookie":[],"responseTime":null,"body":"<Error><Code>HSMP-004</Code><Message>Blacklisted. Please contact BOSA</Message><Error/>"},{"id":"aaf61b4a-fac1-4bb1-bcb8-82ee6dbd9688","name":"#### Error Code:\n* HSMP-802 : No certificate supplied with the request\n* HSMP-803 : Error while parsing client certificate\n* HSMP-804 : Certificate expired or not yet valid\n* HSMP-805 : Certificate cannot be trusted by PEPPOL trustStore\n* HSMP-806 : Certi","originalRequest":{"method":"GET","header":[],"url":{"raw":"smp.acc-hermes-belgium.be/hermes-rw/migrationKey?participant=<string>","host":["smp.acc-hermes-belgium.be"],"path":["hermes-rw","migrationKey"],"query":[{"key":"participant","value":"<string>"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"xml","header":[{"key":"Content-Type","value":"application/xml"}],"cookie":[],"responseTime":null,"body":"<Error><Code>HSMP-802</Code><Message>No certificate supplied with the request</Message><Error/>"},{"id":"adb87b10-fd3f-40e8-a45f-067dfb8c5cae","name":"#### Error Code:\n* HSMP-001 : Invalid or non-existing enterprise number + id\n* HSMP-002 : Inactive enterprise number + id\n* HSMP-003 : Already migrated  + id\n","originalRequest":{"method":"GET","header":[],"url":{"raw":"smp.acc-hermes-belgium.be/hermes-rw/migrationKey?participant=<string>","host":["smp.acc-hermes-belgium.be"],"path":["hermes-rw","migrationKey"],"query":[{"key":"participant","value":"<string>"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"xml","header":[{"key":"Content-Type","value":"application/xml"}],"cookie":[],"responseTime":null,"body":"<Error><Code>HSMP-001</Code><Message>Invalid or non-existing enterprise number 123456789 </Message><Error/>"},{"id":"b8afaf5f-fca7-45c6-9f57-554edf08b854","name":"Ok","originalRequest":{"method":"GET","header":[],"url":{"raw":"smp.acc-hermes-belgium.be/hermes-rw/migrationKey?participant=<string>","host":["smp.acc-hermes-belgium.be"],"path":["hermes-rw","migrationKey"],"query":[{"key":"participant","value":"<string>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"xml","header":[{"key":"Content-Type","value":"application/xml"}],"cookie":[],"responseTime":null,"body":"<element>(string)</element>"},{"id":"bade7d2a-bbd2-4b2e-b186-24c59fb57ce1","name":"#### Error Code:\n* HSMP-999: The service encountered an internal error\n","originalRequest":{"method":"GET","header":[],"url":{"raw":"smp.acc-hermes-belgium.be/hermes-rw/migrationKey?participant=<string>","host":["smp.acc-hermes-belgium.be"],"path":["hermes-rw","migrationKey"],"query":[{"key":"participant","value":"<string>"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"xml","header":[{"key":"Content-Type","value":"application/xml"}],"cookie":[],"responseTime":null,"body":"<Error><Code>HSMP-999</Code><Message>The service encountered an internal error</Message><Error/>"}],"_postman_id":"8dee9fa5-93cb-4239-ab75-d4a440911456"},{"name":"Case 3.3. Get Migration Key for migrated participant","id":"6b197889-d822-4435-a903-94a719369ce9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"https://smp.acc-hermes-belgium.be/hermes-rw/migrationKey?participant=0211276292","description":"<p>In order to be able to perform this test, you need to add you Peppol access point to the Postman:</p>\n<ol>\n<li>Open Postman.</li>\n<li>Go to “Preferences” in the main navigation and select “certificates” tab.</li>\n<li>Click “Add Certificates”.</li>\n<li>Choose the following values:</li>\n</ol>\n<ul>\n<li>Host: <a href=\"https://smp.acc-hermes-belgium.be\">https://smp.acc-hermes-belgium.be</a></li>\n<li>CRT: your_peppol_ap_cert.crt (Public certificate)</li>\n<li>Key: your_peppol_ap_cert.pem (private key)</li>\n</ul>\n","urlObject":{"protocol":"https","path":["hermes-rw","migrationKey"],"host":["smp.acc-hermes-belgium.be"],"query":[{"description":{"content":"<p>(Required) 1 participant ID</p>\n","type":"text/plain"},"key":"participant","value":"0211276292"}],"variable":[]}},"response":[{"id":"0a95c7b4-6da5-4440-b247-d2f77c5079c9","name":"#### Error Code:\n* HSMP-004 : Blacklisted. Please contact BOSA\n","originalRequest":{"method":"GET","header":[],"url":{"raw":"smp.acc-hermes-belgium.be/hermes-rw/migrationKey?participant=<string>","host":["smp","acc-hermes-belgium","be"],"path":["hermes-rw","migrationKey"],"query":[{"key":"participant","value":"<string>"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"xml","header":[{"key":"Content-Type","value":"application/xml"}],"cookie":[],"responseTime":null,"body":"<Error><Code>HSMP-004</Code><Message>Blacklisted. Please contact BOSA</Message><Error/>"},{"id":"2b5c6c27-3654-4457-b813-bb95125654ac","name":"#### Error Code:\n* HSMP-802 : No certificate supplied with the request\n* HSMP-803 : Error while parsing client certificate\n* HSMP-804 : Certificate expired or not yet valid\n* HSMP-805 : Certificate cannot be trusted by PEPPOL trustStore\n* HSMP-806 : Certi","originalRequest":{"method":"GET","header":[],"url":{"raw":"smp.acc-hermes-belgium.be/hermes-rw/migrationKey?participant=<string>","host":["smp.acc-hermes-belgium.be"],"path":["hermes-rw","migrationKey"],"query":[{"key":"participant","value":"<string>"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"xml","header":[{"key":"Content-Type","value":"application/xml"}],"cookie":[],"responseTime":null,"body":"<Error><Code>HSMP-802</Code><Message>No certificate supplied with the request</Message><Error/>"},{"id":"3f9a48b6-7a81-4337-b3cd-b3c74cac522c","name":"#### Error Code:\n* HSMP-001 : Invalid or non-existing enterprise number + id\n* HSMP-002 : Inactive enterprise number + id\n* HSMP-003 : Already migrated  + id\n","originalRequest":{"method":"GET","header":[],"url":{"raw":"smp.acc-hermes-belgium.be/hermes-rw/migrationKey?participant=<string>","host":["smp.acc-hermes-belgium.be"],"path":["hermes-rw","migrationKey"],"query":[{"key":"participant","value":"<string>"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"xml","header":[{"key":"Content-Type","value":"application/xml"}],"cookie":[],"responseTime":null,"body":"<Error><Code>HSMP-001</Code><Message>Invalid or non-existing enterprise number 123456789 </Message><Error/>"},{"id":"e41e9537-7cbf-4efe-920b-08c3580611d9","name":"Ok","originalRequest":{"method":"GET","header":[],"url":{"raw":"smp.acc-hermes-belgium.be/hermes-rw/migrationKey?participant=<string>","host":["smp.acc-hermes-belgium.be"],"path":["hermes-rw","migrationKey"],"query":[{"key":"participant","value":"<string>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"xml","header":[{"key":"Content-Type","value":"application/xml"}],"cookie":[],"responseTime":null,"body":"<element>(string)</element>"},{"id":"ec7b3d92-2d91-4d97-a9d1-abe3bb26d9ed","name":"#### Error Code:\n* HSMP-999: The service encountered an internal error\n","originalRequest":{"method":"GET","header":[],"url":{"raw":"smp.acc-hermes-belgium.be/hermes-rw/migrationKey?participant=<string>","host":["smp.acc-hermes-belgium.be"],"path":["hermes-rw","migrationKey"],"query":[{"key":"participant","value":"<string>"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"xml","header":[{"key":"Content-Type","value":"application/xml"}],"cookie":[],"responseTime":null,"body":"<Error><Code>HSMP-999</Code><Message>The service encountered an internal error</Message><Error/>"}],"_postman_id":"6b197889-d822-4435-a903-94a719369ce9"},{"name":"Case 3.4. Get Migration Key for deleted participant","id":"df71bcf2-531a-437d-b677-61a3785be4a9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"https://smp.acc-hermes-belgium.be/hermes-rw/migrationKey?participant=0458625502","description":"<p>In order to be able to perform this test, you need to add you Peppol access point to the Postman:</p>\n<ol>\n<li>Open Postman.</li>\n<li>Go to “Preferences” in the main navigation and select “certificates” tab.</li>\n<li>Click “Add Certificates”.</li>\n<li>Choose the following values:</li>\n</ol>\n<ul>\n<li>Host: <a href=\"https://smp.acc-hermes-belgium.be\">https://smp.acc-hermes-belgium.be</a></li>\n<li>CRT: your_peppol_ap_cert.crt (Public certificate)</li>\n<li>Key: your_peppol_ap_cert.pem (private key)</li>\n</ul>\n","urlObject":{"protocol":"https","path":["hermes-rw","migrationKey"],"host":["smp.acc-hermes-belgium.be"],"query":[{"description":{"content":"<p>(Required) 1 participant ID</p>\n","type":"text/plain"},"key":"participant","value":"0458625502"}],"variable":[]}},"response":[{"id":"1ebc1ab4-ddfd-4dbd-aea0-4a1ed2fcde03","name":"#### Error Code:\n* HSMP-999: The service encountered an internal error\n","originalRequest":{"method":"GET","header":[],"url":{"raw":"smp.acc-hermes-belgium.be/hermes-rw/migrationKey?participant=<string>","host":["smp","acc-hermes-belgium","be"],"path":["hermes-rw","migrationKey"],"query":[{"key":"participant","value":"<string>"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"xml","header":[{"key":"Content-Type","value":"application/xml"}],"cookie":[],"responseTime":null,"body":"<Error><Code>HSMP-999</Code><Message>The service encountered an internal error</Message><Error/>"},{"id":"94a62f9b-0f4f-4323-b93e-8f073ced9459","name":"#### Error Code:\n* HSMP-001 : Invalid or non-existing enterprise number + id\n* HSMP-002 : Inactive enterprise number + id\n* HSMP-003 : Already migrated  + id\n","originalRequest":{"method":"GET","header":[],"url":{"raw":"smp.acc-hermes-belgium.be/hermes-rw/migrationKey?participant=<string>","host":["smp.acc-hermes-belgium.be"],"path":["hermes-rw","migrationKey"],"query":[{"key":"participant","value":"<string>"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"xml","header":[{"key":"Content-Type","value":"application/xml"}],"cookie":[],"responseTime":null,"body":"<Error><Code>HSMP-001</Code><Message>Invalid or non-existing enterprise number 123456789 </Message><Error/>"},{"id":"a2516a26-6138-4178-8374-e770bcef9db0","name":"Ok","originalRequest":{"method":"GET","header":[],"url":{"raw":"smp.acc-hermes-belgium.be/hermes-rw/migrationKey?participant=<string>","host":["smp.acc-hermes-belgium.be"],"path":["hermes-rw","migrationKey"],"query":[{"key":"participant","value":"<string>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"xml","header":[{"key":"Content-Type","value":"application/xml"}],"cookie":[],"responseTime":null,"body":"<element>(string)</element>"},{"id":"b5d0ae6c-5d0c-4a2e-90e3-6b30c15820f1","name":"#### Error Code:\n* HSMP-004 : Blacklisted. Please contact BOSA\n","originalRequest":{"method":"GET","header":[],"url":{"raw":"smp.acc-hermes-belgium.be/hermes-rw/migrationKey?participant=<string>","host":["smp.acc-hermes-belgium.be"],"path":["hermes-rw","migrationKey"],"query":[{"key":"participant","value":"<string>"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"xml","header":[{"key":"Content-Type","value":"application/xml"}],"cookie":[],"responseTime":null,"body":"<Error><Code>HSMP-004</Code><Message>Blacklisted. Please contact BOSA</Message><Error/>"},{"id":"c694ea3c-1e72-4d74-bb77-fc46f5399d76","name":"#### Error Code:\n* HSMP-802 : No certificate supplied with the request\n* HSMP-803 : Error while parsing client certificate\n* HSMP-804 : Certificate expired or not yet valid\n* HSMP-805 : Certificate cannot be trusted by PEPPOL trustStore\n* HSMP-806 : Certi","originalRequest":{"method":"GET","header":[],"url":{"raw":"smp.acc-hermes-belgium.be/hermes-rw/migrationKey?participant=<string>","host":["smp.acc-hermes-belgium.be"],"path":["hermes-rw","migrationKey"],"query":[{"key":"participant","value":"<string>"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"xml","header":[{"key":"Content-Type","value":"application/xml"}],"cookie":[],"responseTime":null,"body":"<Error><Code>HSMP-802</Code><Message>No certificate supplied with the request</Message><Error/>"}],"_postman_id":"df71bcf2-531a-437d-b677-61a3785be4a9"},{"name":"Case 3.5. Get Migration Key for active participant on HTTP","id":"c8ef983a-24bf-4da0-a96a-1ea8e009662b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"http://smp.acc-hermes-belgium.be/hermes-rw/migrationKey?participant=0211487714","description":"<p>In order to be able to perform this test, you need to add you Peppol access point to the Postman:</p>\n<ol>\n<li>Open Postman.</li>\n<li>Go to “Preferences” in the main navigation and select “certificates” tab.</li>\n<li>Click “Add Certificates”.</li>\n<li>Choose the following values:</li>\n</ol>\n<ul>\n<li>Host: <a href=\"https://smp.acc-hermes-belgium.be\">https://smp.acc-hermes-belgium.be</a></li>\n<li>CRT: your_peppol_ap_cert.crt (Public certificate)</li>\n<li>Key: your_peppol_ap_cert.pem (private key)</li>\n</ul>\n","urlObject":{"protocol":"http","path":["hermes-rw","migrationKey"],"host":["smp.acc-hermes-belgium.be"],"query":[{"description":{"content":"<p>(Required) 1 participant ID</p>\n","type":"text/plain"},"key":"participant","value":"0211487714"}],"variable":[]}},"response":[{"id":"47240390-8242-4591-a438-db16b7a18159","name":"#### Error Code:\n* HSMP-001 : Invalid or non-existing enterprise number + id\n* HSMP-002 : Inactive enterprise number + id\n* HSMP-003 : Already migrated  + id\n","originalRequest":{"method":"GET","header":[],"url":{"raw":"smp.acc-hermes-belgium.be/hermes-rw/migrationKey?participant=<string>","host":["smp","acc-hermes-belgium","be"],"path":["hermes-rw","migrationKey"],"query":[{"key":"participant","value":"<string>"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"xml","header":[{"key":"Content-Type","value":"application/xml"}],"cookie":[],"responseTime":null,"body":"<Error><Code>HSMP-001</Code><Message>Invalid or non-existing enterprise number 123456789 </Message><Error/>"},{"id":"609b46b6-1866-453f-b021-863f70d66c36","name":"#### Error Code:\n* HSMP-004 : Blacklisted. Please contact BOSA\n","originalRequest":{"method":"GET","header":[],"url":{"raw":"smp.acc-hermes-belgium.be/hermes-rw/migrationKey?participant=<string>","host":["smp.acc-hermes-belgium.be"],"path":["hermes-rw","migrationKey"],"query":[{"key":"participant","value":"<string>"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"xml","header":[{"key":"Content-Type","value":"application/xml"}],"cookie":[],"responseTime":null,"body":"<Error><Code>HSMP-004</Code><Message>Blacklisted. Please contact BOSA</Message><Error/>"},{"id":"9c3f303c-159e-4157-8fcf-449936ac4fe1","name":"#### Error Code:\n* HSMP-999: The service encountered an internal error\n","originalRequest":{"method":"GET","header":[],"url":{"raw":"smp.acc-hermes-belgium.be/hermes-rw/migrationKey?participant=<string>","host":["smp.acc-hermes-belgium.be"],"path":["hermes-rw","migrationKey"],"query":[{"key":"participant","value":"<string>"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"xml","header":[{"key":"Content-Type","value":"application/xml"}],"cookie":[],"responseTime":null,"body":"<Error><Code>HSMP-999</Code><Message>The service encountered an internal error</Message><Error/>"},{"id":"c4a70fd5-13a6-4bb8-b1c6-d161154b06bd","name":"#### Error Code:\n* HSMP-802 : No certificate supplied with the request\n* HSMP-803 : Error while parsing client certificate\n* HSMP-804 : Certificate expired or not yet valid\n* HSMP-805 : Certificate cannot be trusted by PEPPOL trustStore\n* HSMP-806 : Certi","originalRequest":{"method":"GET","header":[],"url":{"raw":"smp.acc-hermes-belgium.be/hermes-rw/migrationKey?participant=<string>","host":["smp.acc-hermes-belgium.be"],"path":["hermes-rw","migrationKey"],"query":[{"key":"participant","value":"<string>"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"xml","header":[{"key":"Content-Type","value":"application/xml"}],"cookie":[],"responseTime":null,"body":"<Error><Code>HSMP-802</Code><Message>No certificate supplied with the request</Message><Error/>"},{"id":"c58e7cf8-70a0-4fb1-bd4f-d1450b248fb5","name":"Ok","originalRequest":{"method":"GET","header":[],"url":{"raw":"smp.acc-hermes-belgium.be/hermes-rw/migrationKey?participant=<string>","host":["smp.acc-hermes-belgium.be"],"path":["hermes-rw","migrationKey"],"query":[{"key":"participant","value":"<string>"}]}},"status":"OK","code":200,"_postman_previewlanguage":"xml","header":[{"key":"Content-Type","value":"application/xml"}],"cookie":[],"responseTime":null,"body":"<element>(string)</element>"}],"_postman_id":"c8ef983a-24bf-4da0-a96a-1ea8e009662b"}],"id":"2ca7007c-915b-49f8-acb2-8a39a2949cf4","_postman_id":"2ca7007c-915b-49f8-acb2-8a39a2949cf4","description":""}],"event":[{"listen":"prerequest","script":{"id":"c260fdcc-2f72-412f-be12-37b24ba02bc5","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"b43674b1-bef6-4e55-8921-139fe8baf803","type":"text/javascript","exec":[""]}}],"variable":[{"key":"baseUrl","value":"smp.acc-hermes-belgium.be"},{"key":"participant-valid","value":"0211487714"},{"key":"participant-invalid","value":"1111"},{"key":"participant-deleted","value":"0458625502"},{"key":"participant-migrated","value":"0211276292"},{"key":"belgiumSmpBaseUrl","value":"smp-test.belgium.be"},{"key":"migrationKey","value":"Hms20BE-K-0angAxmK3DJIPe"}]}