{"id":3973,"date":"2022-07-12T12:13:32","date_gmt":"2022-07-12T10:13:32","guid":{"rendered":"https:\/\/www.trans.eu\/api\/?p=3973"},"modified":"2025-12-29T10:42:04","modified_gmt":"2025-12-29T09:42:04","slug":"listing-the-addresses-of-fixed-locations-for-loading-and-unloading","status":"publish","type":"post","link":"https:\/\/www.trans.eu\/api\/freights\/suggested-places-of-loading-and-unloading\/listing-the-addresses-of-fixed-locations-for-loading-and-unloading\/","title":{"rendered":"Listing the addresses of fixed locations for loading and unloading"},"content":{"rendered":"\n<p>Get\u00adting of per\u00adma\u00adnent unload\u00ading and load\u00ading list loca\u00adtions. Users of ship\u00adper accounts can use the list of ten places they often use. Saved loca\u00adtions can be changed and used for load\u00ading or unload\u00ading.<\/p>\n\n\n\n<!--more-->\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> \/ex\u00adt\/\u00adsug\u00adges\u00adtions-api\/v1\/\u00adsug\u00adges\u00adtion\u00ads\/spots<\/li>\n\n\n\n<li><strong>Method:<\/strong> GET<\/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_app_api_key}<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Authorization<\/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>. 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\">Response<\/h2>\n\n\n\n<p>Sam\u00adple of response for get\u00adting list of saved loca\u00adtion.<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-json\" data-lang=\"JSON\"><code>{\n  \"has_next_page\": true,\n  \"page\": 1,\n  \"page_size\": 5,\n  \"suggestions\": [\n    {\n      \"account_id\": 12345678,\n      \"company_id\": 7654321,\n      \"counter\": 45,\n      \"data\": {\n        \"country\": \"NL\",\n        \"latitude\": 52.37403,\n        \"locality\": \"Amsterdam\",\n        \"longitude\": 4.8936041,\n        \"name\": \"Nazwa firmy, lokalizacja 1\",\n        \"number\": \"12\",\n        \"postalCode\": \"1012\",\n        \"street\": \"Ulica\",\n        \"details\": \"some details\"\n      },\n      \"id\": \"af44e8d9-9604-48b0-af40-21663431663f\"\n    },\n    {\n      \"next_suggestion\": \"next_suggestion\"\n    }\n  ]\n}<\/code><\/pre><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Paging<\/h2>\n\n\n\n<p>When call\u00ading GET method, page should be added as para\u00adme\u00adter in the URL, for exam\u00adple: https:\/\/api.platform.trans.eu\/ext\/suggestions-api\/v1\/suggestions\/spots?page=4<\/p>\n","protected":false},"excerpt":{"rendered":"<p class=\"dont-break-out\">Get\u00adting of per\u00adma\u00adnent unload\u00ading and load\u00ading list loca\u00adtions. Users of ship\u00adper accounts can use the list of ten places they \u2026<\/p>\n","protected":false},"author":7,"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":[76],"tags":[],"class_list":["post-3973","post","type-post","status-publish","format-standard","hentry","category-suggested-places-of-loading-and-unloading"],"acf":[],"aioseo_notices":[],"lang":"en","translations":{"en":3973},"pll_sync_post":[],"_links":{"self":[{"href":"https:\/\/www.trans.eu\/api\/wp-json\/wp\/v2\/posts\/3973","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\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/www.trans.eu\/api\/wp-json\/wp\/v2\/comments?post=3973"}],"version-history":[{"count":1,"href":"https:\/\/www.trans.eu\/api\/wp-json\/wp\/v2\/posts\/3973\/revisions"}],"predecessor-version":[{"id":5479,"href":"https:\/\/www.trans.eu\/api\/wp-json\/wp\/v2\/posts\/3973\/revisions\/5479"}],"wp:attachment":[{"href":"https:\/\/www.trans.eu\/api\/wp-json\/wp\/v2\/media?parent=3973"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.trans.eu\/api\/wp-json\/wp\/v2\/categories?post=3973"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.trans.eu\/api\/wp-json\/wp\/v2\/tags?post=3973"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}