{"id":1640,"date":"2020-04-29T13:10:14","date_gmt":"2020-04-29T11:10:14","guid":{"rendered":"https:\/\/www.trans.eu\/api\/?p=1640"},"modified":"2026-05-15T15:13:48","modified_gmt":"2026-05-15T13:13:48","slug":"details-of-a-received-order","status":"publish","type":"post","link":"https:\/\/www.trans.eu\/api\/orders\/orders-received\/details-of-a-received-order\/","title":{"rendered":"Details of a received order"},"content":{"rendered":"\n<p>Allows to down\u00adload select\u00aded trans\u00adport order details.<\/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> https:\/\/api.platform.trans.eu<\/li>\n\n\n\n<li><strong>End\u00adpoint:<\/strong> \/ext\/orders-api\/v1\/orders-received\/{order-id}<\/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_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 <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\">Order<\/h2>\n\n\n\n<p>Full descrip\u00adtion of order details and para\u00adme\u00adters can be found <a href=\"https:\/\/www.trans.eu\/api\/orders\/orders-description\/\" target=\"_blank\" rel=\"noopener\">here<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Json example:<\/h2>\n\n\n\n<p>Exam\u00adple of details of received ored\u00ader<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-json\" data-lang=\"JSON\"><code>{\n    \"id\": \"da012de9-faca-4b14-b380-9b94aadff6fa\",\n    \"additional_terms\": null,\n    \"archived_at\": null,\n    \"can_archive\": false,\n    \"created_at\": \"2021-07-01T08:54:07.008Z\",\n    \"freight\": {\n        \"carrier\": {\n            \"assignee\": null,\n            \"legal_name\": \"Test Company\",\n            \"vat_id\": \"11111111111\"\n        },\n        \"distance\": 2036000,\n        \"is_roundtrip\": false,\n        \"reference_number\": null,\n        \"shipper\": {\n            \"assignee\": {\n                \"account_id\": 749989,\n                \"email\": \"test@trans.eu\",\n                \"family_name\": \"Kowalski\",\n                \"fax\": null,\n                \"given_name\": \"Krzysztof\",\n                \"telephone\": \"0048 111111111\",\n                \"trans_id\": \"1007374-1\"\n            },\n            \"legal_name\": \"Test spedition company\",\n            \"vat_id\": \"222222222222\"\n        },\n        \"spots\": [\n            {\n                \"description\": \"Example description\",\n                \"name\": \"Magazine 1\",\n                \"operations\": [\n                    {\n                        \"loads\": [],\n                        \"operation_order\": 1,\n                        \"operation_time\": null,\n                        \"time_window\": null,\n                        \"time_window_reason\": null,\n                        \"timespans\": {\n                            \"begin\": \"2021-06-22T09:00:00.000Z\",\n                            \"end\": \"2021-06-22T10:00:00.000Z\"\n                        },\n                        \"type\": \"loading\"\n                    }\n                ],\n                \"place\": {\n                    \"address\": {\n                        \"country\": \"pl\",\n                        \"description\": null,\n                        \"locality\": \"Krak\u00f3w\",\n                        \"number\": \"5\",\n                        \"postal_code\": \"31-001\",\n                        \"street\": \"Wawel\",\n                        \"tracking\": null\n                    },\n                    \"coordinates\": {\n                        \"latitude\": 50.06143,\n                        \"longitude\": 19.93658\n                    },\n                    \"timezone\": \"Europe\/Warsaw\"\n                },\n                \"spot_order\": 1\n            },\n            {\n                \"description\": null,\n                \"name\": null,\n                \"operations\": [\n                    {\n                        \"loads\": [],\n                        \"operation_order\": 1,\n                        \"operation_time\": null,\n                        \"time_window\": null,\n                        \"time_window_reason\": null,\n                        \"timespans\": {\n                            \"begin\": \"2021-06-23T09:00:00.000Z\",\n                            \"end\": \"2021-06-23T09:00:00.000Z\"\n                        },\n                        \"type\": \"unloading\"\n                    }\n                ],\n                \"place\": {\n                    \"address\": {\n                        \"country\": \"pl\",\n                        \"description\": null,\n                        \"locality\": \"D\u0105browa \u015arodkowa\",\n                        \"number\": \"34\",\n                        \"postal_code\": \"59-330\",\n                        \"street\": \"\u015arednia\",\n                        \"tracking\": null\n                    },\n                    \"coordinates\": {\n                        \"latitude\": 51.41828,\n                        \"longitude\": 16.33485\n                    },\n                    \"timezone\": \"Europe\/Warsaw\"\n                },\n                \"spot_order\": 2\n            }\n        ],\n        \"requirements\": {\n            \"temperature\": {\n                \"max\": 100,\n                \"min\": 10\n            },\n            \"exemption_from_adr\": null,\n            \"is_ftl\": true,\n            \"monitoring\": null,\n            \"other_requirements\": [\n                \"lift\",\n                \"hds\"\n            ],\n            \"required_adr_classes\": [\n                \"adr_1\"\n            ],\n            \"required_door_types\": [],\n            \"required_tipper_trailer_additional_equipment\": [],\n            \"required_truck_bodies\": [\n                \"cooler\",\n                \"isotherm\"\n            ],\n            \"required_ways_of_loading\": [\n                \"top\"\n            ],\n            \"shipping_remarks\": \"Shipping remarks\",\n            \"transport\": {\n                \"count\": 1,\n                \"schedule_type\": \"together\",\n                \"settlement_basis\": null,\n                \"total_weight\": null,\n                \"type\": \"ftl\"\n            },\n            \"vehicle_size_id\": \"bus\"\n        },\n        \"capacity\": {\n            \"value\": 22,\n            \"unit_code\": \"t\"\n        },\n        \"shipment_external_id\": \"ABC123\",\n        \"transit_time\": null,\n        \"surcharges\": {},\n        \"loads\": []\n    },\n    \"invoice\": null,\n    \"is_archived_permanently\": false,\n    \"legacy_freight_id\": null,\n    \"monitoring\": {\n        \"providers\": [\n            \"trans_task\",\n            \"external_telematics\"\n        ],\n        \"required\": true,\n        \"expected_monitoring_id\": \"required\"\n    },\n    \"number\": \"2021\/07\/01\/1\",\n    \"payment\": {\n        \"days\": 30,\n        \"period\": null,\n        \"price\": {\n            \"currency\": \"pln\",\n            \"type\": \"km\",\n            \"value\": 1500\n        },\n        \"total_estimated_price\": {\n            \"currency\": \"eur\",\n            \"value\": 3333,\n            \"type\": \"route\"\n        }\n    },\n    \"related\": [],\n    \"status\": {\n        \"comment\": null,\n        \"value\": \"waiting-for-confirmation\"\n    },\n    \"vehicle\": {\n        \"semi_trailer\": {\n            \"dispatcher_id\": 54083,\n            \"id\": 501737,\n            \"kind\": \"4_semi_trailer\",\n            \"registration_plate_number\": \"PL1111111\",\n            \"type\": \"5_tent\"\n        },\n        \"truck\": {\n            \"dispatcher_id\": 41483,\n            \"id\": 236503,\n            \"kind\": \"5_truck\",\n            \"registration_plate_number\": \"DW1111111\",\n            \"revision\": 1,\n            \"type\": null\n        }\n    },\n    \"insurance\": null,\n    \"additional_costs\": {\n        \"for_carrier\": {\n            \"sum\": 50,\n            \"currency\": \"eur\",\n            \"items\": [\n                {\n                    \"id\": \"f608cfa5-7a6c-4e93-a5bb-f4ec8bba3ce4\",\n                    \"category\": \"contractual-penalty\",\n                    \"name\": \"additional charge 1\",\n                    \"price\": {\n                        \"type\": \"fixed\",\n                        \"value\": 50,\n                        \"percentage\": null\n                    },\n                    \"settlement_method\": \"debit-note\",\n                    \"description\": null,\n                    \"created_at\": \"2026-05-14T15:05:31.499Z\",\n                    \"updated_at\": \"2026-05-14T15:05:31.499Z\",\n                    \"attachments\": [],\n                    \"transportIds\": [],\n                    \"status\": null\n                }\n            ]\n        },\n        \"for_shipper\": {\n            \"sum\": 100,\n            \"currency\": \"eur\",\n            \"items\": [\n                {\n                    \"id\": \"8bc13309-07e3-483f-907a-ccaedccb1a2b\",\n                    \"category\": \"4_addition\",\n                    \"name\": \"additional charge 2\",\n                    \"price\": {\n                        \"type\": \"fixed\",\n                        \"value\": 100,\n                        \"percentage\": null\n                    },\n                    \"settlement_method\": \"included-in-freight-price\",\n                    \"description\": null,\n                    \"created_at\": \"2026-05-14T15:05:31.499Z\",\n                    \"updated_at\": \"2026-05-14T15:05:31.499Z\",\n                    \"attachments\": [],\n                    \"transportIds\": [],\n                    \"status\": null\n                }\n            ]\n        }\n    },\n    \"attachments_requirements\": {\n        \"required_types\": [],\n        \"other_attachment_type_description\": null\n    },\n    \"_metadata\": {\n        \"restrictions\": [],\n        \"applied_default_terms_template\": false,\n        \"carrier_company_is_blocked\": false,\n        \"order_price_was_changed_by_contract_update\": false\n    },\n    \"attachments\": [\n        {\n            \"author\": null,\n            \"company\": {\n                \"legal_name\": \"Test Company\",\n                \"company_id\": 1111119\n            },\n            \"created_at\": \"2026-05-14T15:03:25.751Z\",\n            \"description\": \"CMR document 1\",\n            \"media_id\": \"51757085-8b34-4a9c-8339-62fe333e915b\",\n            \"media_name\": \"2114520770672180.pdf\",\n            \"protected\": false,\n            \"source\": \"orders\",\n            \"source_id\": null,\n            \"type_id\": \"cmr\",\n            \"visible_to_contractor\": true\n        }\n    ],\n    \"cooperation\": {\n        \"status\": null\n    },\n    \"delivery_confirmation\": null,\n    \"driver\": \"Jan Driver\",\n    \"cancellation\": null,\n    \"required_execution_data\": []\n}<\/code><\/pre><\/div>\n","protected":false},"excerpt":{"rendered":"<p class=\"dont-break-out\">Allows to down\u00adload select\u00aded trans\u00adport order details.<\/p>\n","protected":false},"author":4,"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":[108],"tags":[],"class_list":["post-1640","post","type-post","status-publish","format-standard","hentry","category-orders-received"],"acf":[],"aioseo_notices":[],"lang":"en","translations":{"en":1640},"pll_sync_post":[],"_links":{"self":[{"href":"https:\/\/www.trans.eu\/api\/wp-json\/wp\/v2\/posts\/1640","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\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.trans.eu\/api\/wp-json\/wp\/v2\/comments?post=1640"}],"version-history":[{"count":3,"href":"https:\/\/www.trans.eu\/api\/wp-json\/wp\/v2\/posts\/1640\/revisions"}],"predecessor-version":[{"id":6662,"href":"https:\/\/www.trans.eu\/api\/wp-json\/wp\/v2\/posts\/1640\/revisions\/6662"}],"wp:attachment":[{"href":"https:\/\/www.trans.eu\/api\/wp-json\/wp\/v2\/media?parent=1640"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.trans.eu\/api\/wp-json\/wp\/v2\/categories?post=1640"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.trans.eu\/api\/wp-json\/wp\/v2\/tags?post=1640"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}