{"id":2753,"date":"2021-03-11T12:45:15","date_gmt":"2021-03-11T11:45:15","guid":{"rendered":"https:\/\/www.trans.eu\/api\/?p=2753"},"modified":"2025-12-29T10:59:28","modified_gmt":"2025-12-29T09:59:28","slug":"block-cooperation","status":"publish","type":"post","link":"https:\/\/www.trans.eu\/api\/partners\/manage-contractors\/block-cooperation\/","title":{"rendered":"Block cooperation"},"content":{"rendered":"\n<p>Allows to block coop\u00ader\u00ada\u00adtion with com\u00adpa\u00adny because of delays in the deliv\u00adery of doc\u00adu\u00adments, lack of effi\u00adcient com\u00admu\u00adni\u00adca\u00adtion, lack of care for goods, etc.<\/p>\n\n\n\n<!--more-->\n\n\n\n<h2 class=\"wp-block-heading\">Details<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>You sus\u00adpend coop\u00ader\u00ada\u00adtion with the whole com\u00adpa\u00adny, not indi\u00advid\u00adual peo\u00adple.<\/li>\n\n\n\n<li>Sus\u00adpend\u00ading coop\u00ader\u00ada\u00adtion means that no employ\u00adee of your com\u00adpa\u00adny will be able to con\u00adclude trans\u00adac\u00adtions until coop\u00ader\u00ada\u00adtion acti\u00adva\u00adtion.<\/li>\n\n\n\n<li>Chang\u00ading the sta\u00adtus of coop\u00ader\u00ada\u00adtion is not com\u00admu\u00adni\u00adcat\u00aded to the con\u00adtrac\u00adtor.<\/li>\n\n\n\n<li>Only user with admin\u00adis\u00adtra\u00adtor role can change coop\u00ader\u00ada\u00adtion sta\u00adtus.<span id=\"more-2746\"><\/span><\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Url parameters and connection settings<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>URL:<\/strong>&nbsp;https:\/\/api.platform.trans.eu<\/li>\n\n\n\n<li><strong>End\u00adpoint:<\/strong> \/ext\/partners-api\/v1\/partners\/:partnerId\/block<\/li>\n\n\n\n<li><strong>Method:<\/strong> POST<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Headers<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Con\u00adtent-type: application\/json<\/li>\n\n\n\n<li>Accept: application\/json<\/li>\n\n\n\n<li>Autho\u00adriza\u00adtion: Bear\u00ader {access_token}<\/li>\n\n\n\n<li>Api-key: {unique_ap\u00adp_api-key}<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Authorization and access<\/h2>\n\n\n\n<p>Autho\u00adriza\u00adtion process&nbsp;<a href=\"https:\/\/www.trans.eu\/api\/general-information\/authorization-process\/\" target=\"_blank\" rel=\"noopener\" title>is described here<\/a>.&nbsp; Each API request must also con\u00adsist of unique Api-key obtained dur\u00ading appli\u00adca\u00adtion reg\u00adis\u00adtra\u00adtion togeth\u00ader with client_id and client_secret.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Description and example values<\/h2>\n\n\n\n<figure class=\"wp-block-table has-small-font-size\"><table><tbody><tr><td><strong>Json<\/strong><\/td><td><strong>Is required<\/strong><\/td><td><strong>Exam\u00adple<\/strong><\/td><td><strong>Type<\/strong><\/td><td><strong>Descrip\u00adtion<\/strong><\/td><\/tr><tr><td>rea\u00adsons<\/td><td>Yes<\/td><td>lack_of_efficient_communication<\/td><td>Array of objects<\/td><td>Rea\u00adson of coop\u00ader\u00ada\u00adtion block depend\u00ading on blocked com\u00adpa\u00adny role (for\u00adwarder, ship\u00adper, car\u00adri\u00ader) \u2014 list of avail\u00adable rea\u00adsons below<\/td><\/tr><tr><td>remarks<\/td><td>No<\/td><td>Coop\u00ader\u00ada\u00adtion blocked<\/td><td>String<\/td><td>Addi\u00adtion\u00adal descrip\u00adtion (at least 3 char\u00adac\u00adters long)<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Json example<\/h2>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-json\" data-lang=\"JSON\"><code>{\n  \"reasons\": [\n    \"lack_of_efficient_communication\",\n    \"not_observing_transport_arrangements\"\n  ],\n  \"remarks\": \"cooperation blocked\"\n}<\/code><\/pre><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Response<\/h2>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-json\" data-lang=\"JSON\"><code>{}<\/code><\/pre><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Available reasons list<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Block cooperation with carrier reasons:<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>lack_of_efficient_communication<\/li>\n\n\n\n<li>delays_in_the_delivery_of_documents<\/li>\n\n\n\n<li>lack_of_care_for_goods<\/li>\n\n\n\n<li>not_observing_transport_arrangements<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Block cooperation with shipper reasons:<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>late_payments<\/li>\n\n\n\n<li>lack_of_efficient_communication<\/li>\n\n\n\n<li>lack_of_conformity_of_the_cargo_with_the_arrangements<\/li>\n\n\n\n<li>long_waiting_time_for_loading<\/li>\n\n\n\n<li>long_waiting_time_for_unloading<\/li>\n\n\n\n<li>spam<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Block cooperation with forwarder reasons:<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>lack_of_efficient_communication<\/li>\n\n\n\n<li>delays_in_the_delivery_of_documents<\/li>\n\n\n\n<li>lack_of_care_for_goods<\/li>\n\n\n\n<li>not_observing_transport_arrangements<\/li>\n\n\n\n<li>late_payments<\/li>\n\n\n\n<li>lack_of_conformity_of_the_cargo_with_the_arrangements<\/li>\n\n\n\n<li>long_waiting_time_for_loading<\/li>\n\n\n\n<li>long_waiting_time_for_unloading<\/li>\n\n\n\n<li>spam<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p class=\"dont-break-out\">Allows to block coop\u00ader\u00ada\u00adtion with com\u00adpa\u00adny because of delays in the deliv\u00adery of doc\u00adu\u00adments, lack of effi\u00adcient com\u00admu\u00adni\u00adca\u00adtion, lack of \u2026<\/p>\n","protected":false},"author":13,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"wp_typography_post_enhancements_disabled":false,"footnotes":""},"categories":[95],"tags":[],"class_list":["post-2753","post","type-post","status-publish","format-standard","hentry","category-manage-contractors"],"acf":[],"aioseo_notices":[],"lang":"en","translations":{"en":2753},"pll_sync_post":[],"_links":{"self":[{"href":"https:\/\/www.trans.eu\/api\/wp-json\/wp\/v2\/posts\/2753","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.trans.eu\/api\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.trans.eu\/api\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.trans.eu\/api\/wp-json\/wp\/v2\/users\/13"}],"replies":[{"embeddable":true,"href":"https:\/\/www.trans.eu\/api\/wp-json\/wp\/v2\/comments?post=2753"}],"version-history":[{"count":1,"href":"https:\/\/www.trans.eu\/api\/wp-json\/wp\/v2\/posts\/2753\/revisions"}],"predecessor-version":[{"id":5519,"href":"https:\/\/www.trans.eu\/api\/wp-json\/wp\/v2\/posts\/2753\/revisions\/5519"}],"wp:attachment":[{"href":"https:\/\/www.trans.eu\/api\/wp-json\/wp\/v2\/media?parent=2753"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.trans.eu\/api\/wp-json\/wp\/v2\/categories?post=2753"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.trans.eu\/api\/wp-json\/wp\/v2\/tags?post=2753"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}