{"id":1288,"date":"2017-07-05T17:22:28","date_gmt":"2017-07-05T17:22:28","guid":{"rendered":"http:\/\/kpd.kpd-tst.qumak.pl\/?page_id=1288"},"modified":"2024-07-03T23:45:13","modified_gmt":"2024-07-03T23:45:13","slug":"technical-specifications","status":"publish","type":"page","link":"https:\/\/kpd.gddkia.gov.pl\/index.php\/en\/technical-specifications\/","title":{"rendered":"Technical specifications"},"content":{"rendered":"<div id=\"pl-1288\"  class=\"panel-layout\" ><div id=\"pg-1288-0\"  class=\"panel-grid panel-no-style\" ><div id=\"pgc-1288-0-0\"  class=\"panel-grid-cell\" ><div id=\"panel-1288-0-0-0\" class=\"so-panel widget widget_sow-editor panel-first-child\" data-index=\"0\" ><div\r\n\t\t\t\r\n\t\t\tclass=\"so-widget-sow-editor so-widget-sow-editor-base\"\r\n\t\t\t\r\n\t\t>\r\n<div class=\"siteorigin-widget-tinymce textwidget\">\r\n\t<p><strong>Receiving and sending messages<\/strong><br \/>\nNAP uses 3.4 version of DATEX II protocol. 2 operating modes have been implemented:<\/p>\n<ul>\n<li>Push on Occurrence \u2013 in this mode NAP sends messages after changes in difficulties to the given address<\/li>\n<li>Client Pull \u2013 in this mode the client can download the whole content of current difficulties set.<\/li>\n<\/ul>\n<p>In both modes, the call proceeds with the WebService protocol. Use of Push on Occurence is the preferred mode of operation. Client Pull mode is intended for use after the registration, after a longer pause in the work of receiving software or in the case of recovering the work after failure.<br \/>\n<strong>Receiving information \u2013 Push Occurence<\/strong><br \/>\nNAP attempts sending a message about difficulties immediately after receiving information about it. Every occurrence of a new difficulty will result in\u00a0NAP attempt to contact registered data recipients.<\/p>\n<\/div>\r\n<\/div><\/div><div id=\"panel-1288-0-0-1\" class=\"so-panel widget widget_sow-editor\" data-index=\"1\" ><div class=\"panel-widget-style panel-widget-style-for-1288-0-0-1\" ><div\r\n\t\t\t\r\n\t\t\tclass=\"so-widget-sow-editor so-widget-sow-editor-base\"\r\n\t\t\t\r\n\t\t>\r\n<div class=\"siteorigin-widget-tinymce textwidget\">\r\n\t<p><img loading=\"lazy\" decoding=\"async\" class=\"so-widget-image aligncenter img-responsive\" src=\"\/wp-content\/uploads\/2024\/06\/dataDelivery.png\" alt=\"Image - send a message about inconvenience\" width=\"606\" height=\"583\" \/><\/p>\n<\/div>\r\n<\/div><\/div><\/div><div id=\"panel-1288-0-0-2\" class=\"so-panel widget widget_sow-editor\" data-index=\"2\" ><div\r\n\t\t\t\r\n\t\t\tclass=\"so-widget-sow-editor so-widget-sow-editor-base\"\r\n\t\t\t\r\n\t\t>\r\n<div class=\"siteorigin-widget-tinymce textwidget\">\r\n\t<p><strong>Downloading all available information \u2013 Client Snapshot  Pull<\/strong><br \/>\nData recipient can download all information about difficulties by means of one call. The use of this method involves some restrictions.<\/p>\n<\/div>\r\n<\/div><\/div><div id=\"panel-1288-0-0-3\" class=\"so-panel widget widget_sow-editor\" data-index=\"3\" ><div class=\"panel-widget-style panel-widget-style-for-1288-0-0-3\" ><div\r\n\t\t\t\r\n\t\t\tclass=\"so-widget-sow-editor so-widget-sow-editor-base\"\r\n\t\t\t\r\n\t\t>\r\n<div class=\"siteorigin-widget-tinymce textwidget\">\r\n\t<p><img loading=\"lazy\" decoding=\"async\" class=\"so-widget-image img-responsive\" src=\"\/wp-content\/uploads\/2024\/06\/snapshotPull.png\" alt=\"Image - download information about inconvenience\" width=\"606\" height=\"474\" \/><\/p>\n<\/div>\r\n<\/div><\/div><\/div><div id=\"panel-1288-0-0-4\" class=\"so-panel widget widget_sow-editor panel-last-child\" data-index=\"4\" ><div\r\n\t\t\t\r\n\t\t\tclass=\"so-widget-sow-editor so-widget-sow-editor-base\"\r\n\t\t\t\r\n\t\t>\r\n<div class=\"siteorigin-widget-tinymce textwidget\">\r\n\t<p>Additional method of situations data downloading is \"D2Light\" mode. Data Recipient can download all information about difficulties.<\/p>\n<p>D2Light interface implementation was made according to <a href=\"https:\/\/docs.datex2.eu\/downloads\/d2light.html\">https:\/\/docs.datex2.eu\/downloads\/d2light.html<\/a>. JSON Schema of the response matches <a href=\"https:\/\/docs.datex2.eu\/_static\/data\/D2Light\/LevelC_3_SituationPublicationLight.zip\">JSON Situation Publication Schema Definition mapping<\/a>.<\/p>\n<\/div>\r\n<\/div><\/div><\/div><\/div><div id=\"pg-1288-1\"  class=\"panel-grid panel-no-style\" ><div id=\"pgc-1288-1-0\"  class=\"panel-grid-cell\" ><div id=\"panel-1288-1-0-0\" class=\"so-panel widget widget_sow-editor panel-first-child\" data-index=\"5\" ><div class=\"panel-widget-style panel-widget-style-for-1288-1-0-0\" ><div\r\n\t\t\t\r\n\t\t\tclass=\"so-widget-sow-editor so-widget-sow-editor-base\"\r\n\t\t\t\r\n\t\t>\r\n<div class=\"siteorigin-widget-tinymce textwidget\">\r\n\t<h5 class=\"orange\" style=\"font-family: verdana, geneva, sans-serif; font-size: 11pt;\">EXEMPLARY CLIENT WEBSERVICE<\/h5>\n<\/div>\r\n<\/div><\/div><\/div><div id=\"panel-1288-1-0-1\" class=\"so-panel widget widget_sow-editor panel-last-child\" data-index=\"6\" ><div\r\n\t\t\t\r\n\t\t\tclass=\"so-widget-sow-editor so-widget-sow-editor-base\"\r\n\t\t\t\r\n\t\t>\r\n<div class=\"siteorigin-widget-tinymce textwidget\">\r\n\t<p><strong> Files to download with exemplary clients can be found below:<\/strong><\/p>\n<p><a href=\"\/wp-content\/themes\/kpd_test\/static-pages\/pliki\/specyfikacja_techniczna\/dotNet_sample_datex2.zip\">Download exemplary client.Net and C#<\/a><\/p>\n<p><a href=\"\/wp-content\/themes\/kpd_test\/static-pages\/pliki\/specyfikacja_techniczna\/java_sample_datex2.zip\">Download exemplary client Java<\/a><\/p>\n<p><a href=\"\/wp-content\/themes\/kpd_test\/static-pages\/pliki\/specyfikacja_techniczna\/wsdl.zip\">Download Web Services Description Language <\/a><\/p>\n<\/div>\r\n<\/div><\/div><\/div><\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>Receiving and sending messages NAP uses 3.4 version of DATEX II protocol. 2 operating modes have been implemented: Push on Occurrence \u2013 in this mode NAP sends messages after changes in difficulties to the given address Client Pull \u2013 in this mode the client can download the whole content of current difficulties set. In both [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"_links":{"self":[{"href":"https:\/\/kpd.gddkia.gov.pl\/index.php\/wp-json\/wp\/v2\/pages\/1288"}],"collection":[{"href":"https:\/\/kpd.gddkia.gov.pl\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/kpd.gddkia.gov.pl\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/kpd.gddkia.gov.pl\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kpd.gddkia.gov.pl\/index.php\/wp-json\/wp\/v2\/comments?post=1288"}],"version-history":[{"count":48,"href":"https:\/\/kpd.gddkia.gov.pl\/index.php\/wp-json\/wp\/v2\/pages\/1288\/revisions"}],"predecessor-version":[{"id":3827,"href":"https:\/\/kpd.gddkia.gov.pl\/index.php\/wp-json\/wp\/v2\/pages\/1288\/revisions\/3827"}],"wp:attachment":[{"href":"https:\/\/kpd.gddkia.gov.pl\/index.php\/wp-json\/wp\/v2\/media?parent=1288"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}