{"id":6584,"date":"2026-04-29T14:45:43","date_gmt":"2026-04-29T12:45:43","guid":{"rendered":"https:\/\/www.trans.eu\/api\/?p=6584"},"modified":"2026-04-30T12:47:54","modified_gmt":"2026-04-30T10:47:54","slug":"create-flexible-contract","status":"publish","type":"post","link":"https:\/\/www.trans.eu\/api\/freights-section\/create-flexible-contract\/","title":{"rendered":"Create flexible contract"},"content":{"rendered":"\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<p>Cre\u00adat\u00ading a new flex\u00adi\u00adble con\u00adtract in select\u00aded route.<\/p>\n\n\n\n<!--more-->\n\n\n\n<p>After suc\u00adcess\u00adful\u00adly exe\u00adcut\u00ading the method, you receive in response the con\u00adtract details with the unique con\u00adtract iden\u00adti\u00adfi\u00adca\u00adtion num\u00adber <strong>id <\/strong>assigned when cre\u00adat\u00ading the new con\u00adtract.<\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<pre class=\"wp-block-preformatted\"><strong>POST<\/strong><br> \/ext\/contracts-api\/v2\/contracts\/flexible<br><br><\/pre>\n<\/div>\n<\/div>\n\n\n\n<div style=\"height:56px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<div class=\"wp-block-columns has-background is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex\" style=\"background-color:#eaeaea\">\n<div class=\"wp-block-column is-vertically-aligned-center is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:25%\">\n<h6 class=\"wp-block-heading has-text-align-right\" style=\"font-style:normal;font-weight:700\"> Request Authorization<\/h6>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:75%\">\n<p>Every request MUST include a valid access token obtained dur\u00ading <a href=\"https:\/\/www.trans.eu\/api\/general-information\/authorization-process\/\" target=\"_blank\" rel=\"noopener\" title>the user autho\u00adriza\u00adtion process<\/a>, pro\u00advid\u00aded using the Bear\u00ader token scheme in the Autho\u00adriza\u00adtion head\u00ader.<\/p>\n<\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-columns has-background is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex\" style=\"background-color:#eaeaea\">\n<div class=\"wp-block-column is-vertically-aligned-top is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:25%\">\n<h6 class=\"wp-block-heading has-text-align-right\" style=\"font-style:normal;font-weight:700\"> Request<\/h6>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:75%\">\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-vertically-aligned-center is-layout-flow wp-block-column-is-layout-flow\">\n<p><a href=\"#requestheader\" title>Request Head\u00ader<\/a><\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-vertically-aligned-center is-layout-flow wp-block-column-is-layout-flow\">\n<p><a href=\"#requeststructure\" title>Request Para\u00adme\u00adters<\/a><\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-vertically-aligned-bottom is-layout-flow wp-block-column-is-layout-flow\">\n<p><a href=\"#requestbody\" title>Request Body<\/a><\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-columns has-background is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex\" style=\"background-color:#eaeaea\">\n<div class=\"wp-block-column is-vertically-aligned-top is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:25%\">\n<h6 class=\"wp-block-heading has-text-align-right\" style=\"font-style:normal;font-weight:700\"> Successful Response<\/h6>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-vertically-aligned-center is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:75%\">\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-vertically-aligned-center is-layout-flow wp-block-column-is-layout-flow\">\n<p><a href=\"#responsefields\" title>Response Fields<\/a><\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-vertically-aligned-center is-layout-flow wp-block-column-is-layout-flow\">\n<p><a href=\"#responsebody\" title=\"Response Body\">Response Body<\/a><\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<p><\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-columns has-background is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex\" style=\"background-color:#eaeaea\">\n<div class=\"wp-block-column is-vertically-aligned-top is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:25%\">\n<h6 class=\"wp-block-heading has-text-align-right\" style=\"font-style:normal;font-weight:700\"> Error Response<\/h6>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:75%\">\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-vertically-aligned-center is-layout-flow wp-block-column-is-layout-flow\">\n<p><a href=\"#validationerrors\" title>Clients errors (400)<\/a><\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<p><\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-vertically-aligned-center is-layout-flow wp-block-column-is-layout-flow\">\n<p><a href=\"https:\/\/www.trans.eu\/api\/general-information\/enpoint-and-validation-errors\/\" target=\"_blank\" rel=\"noopener\" title>Gen\u00ader\u00adal API errors<\/a><\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n\n\n\n<div style=\"height:56px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-vertically-aligned-center is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:25%\" id=\"requestbody\">\n<h6 class=\"wp-block-heading\" style=\"font-style:normal;font-weight:700\">Request Header<\/h6>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:75%\">\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>POST  \/ext\/contracts-api\/v2\/contracts\/flexible HTTP\/1.1 \nHost: api.platform.trans.eu \nContent-Type: application\/json\nAccept: application\/json\nAuthorization: Bearer {access_token) \nApi-key: {unique_app_api-key}<\/code><\/pre><\/div>\n<\/div>\n<\/div>\n\n\n\n<h6 class=\"wp-block-heading\" id=\"requeststructure\" style=\"font-style:normal;font-weight:700\">Request Parameters for create flexible contract<\/h6>\n\n\n\n<figure class=\"wp-block-table has-small-font-size\"><table><tbody><tr><td>Attribute<\/td><td>Type<\/td><td>Exam\u00adple<\/td><td>Manda\u00adto\u00adry<\/td><td>Descrip\u00adtion<\/td><\/tr><tr><td>car\u00adri\u00ader<\/td><td>Object<\/td><td><\/td><td>Yes<\/td><td>Car\u00adri\u00ader invit\u00aded to the get con\u00adtract<\/td><\/tr><tr><td>carrier.company<\/td><td>Object<\/td><td><\/td><td>Yes<\/td><td>Car\u00adri\u00ader com\u00adpa\u00adny details<\/td><\/tr><tr><td>carrier.company.id<\/td><td>Int<\/td><td>456745<\/td><td>Yes<\/td><td>Car\u00adri\u00ader com\u00adpa\u00adny Id<\/td><\/tr><tr><td>carrier.contact_persons<\/td><td>Array of Objects<\/td><td><\/td><td>No<\/td><td>Car\u00adri\u00ader per\u00adsons invit\u00aded to get con\u00adtract<\/td><\/tr><tr><td>carrier.contact_persons.employee<\/td><td>Object<\/td><td><\/td><td>No<\/td><td>Con\u00adtact per\u00adson details<\/td><\/tr><tr><td>carrier.contact_persons.employee.account_id<\/td><td>Int<\/td><td>123321<\/td><td>No<\/td><td>Con\u00adtact per\u00adson inter\u00adnal Id<\/td><\/tr><tr><td>con\u00adfig<\/td><td>Object<\/td><td><\/td><td>Yes<\/td><td>Con\u00adtract con\u00adfig\u00adu\u00adra\u00adtion<\/td><\/tr><tr><td>config.send_to_carrier<\/td><td>Boolean<\/td><td>True<\/td><td>Yes<\/td><td>Cre\u00adat\u00aded con\u00adtract will be auto\u00admat\u00adi\u00adcal\u00adly send to car\u00adri\u00ader.<br><code>True <\/code>val\u00adue is required.<\/td><\/tr><tr><td>pric\u00ading<\/td><td>Object<\/td><td><\/td><td>No<\/td><td>Pric\u00ading for con\u00adtract<\/td><\/tr><tr><td>pricing.negotiable<\/td><td>Boolean<\/td><td>True<\/td><td>No<\/td><td><\/td><\/tr><tr><td>pricing.price<\/td><td>Object<\/td><td><\/td><td>No<\/td><td>Price options for nego\u00adti\u00ada\u00adtions<\/td><\/tr><tr><td>pricing.price.currency<\/td><td>String<\/td><td>\u201ceur\u201d<\/td><td>No<\/td><td>Price cur\u00adren\u00adcy for futher nego\u00adta\u00adtions<\/td><\/tr><tr><td>route<\/td><td>Object<\/td><td><\/td><td>Yes<\/td><td>Route for new con\u00adtract<\/td><\/tr><tr><td>route.id<\/td><td>String<\/td><td>\u201c3fa85f64-5717\u20134562-b3fc-2c963f66afa6\u201d<\/td><td>Yes<\/td><td>Route Id<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-vertically-aligned-center is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:25%\" id=\"requestbody\">\n<h6 class=\"wp-block-heading\" style=\"font-style:normal;font-weight:700\">Example Request Body for create flexible contract<\/h6>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:75%\">\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-json\" data-lang=\"JSON\"><code>{\n  \"route\": {\n    \"id\": \"3a378345-1939-48c1-bc71-639e0add8048\"\n  },\n  \"pricing\": {\n    \"price\": {\n      \"currency\": \"pln\"\n    },\n    \"negotiable\": false\n  },\n  \"carrier\": {\n    \"company\": {\n      \"id\": 1013865\n    },\n    \"contact_persons\": [\n     {\n      \"employee\": {\n        \"account_id\": 771476\n      }\n     }\n    ]\n  },\n  \"config\": {\n    \"send_to_carrier\": true\n  }\n}<\/code><\/pre><\/div>\n<\/div>\n<\/div>\n\n\n\n<h6 class=\"wp-block-heading\" id=\"responsefields\" style=\"font-style:normal;font-weight:700\">Response Fields for created flexible contract<\/h6>\n\n\n\n<p>The response con\u00adtains exact\u00adly the same list of fields as the <a href=\"https:\/\/www.trans.eu\/api\/freights-section\/get-contract-details\/\" target=\"_blank\" rel=\"noopener\" title>Get con\u00adtract details<\/a> response and the fol\u00adlow\u00ading fields are filled auto\u00admat\u00adi\u00adcal\u00adly based on the request type:<\/p>\n\n\n\n<figure class=\"wp-block-table has-small-font-size\"><table><tbody><tr><td>Attribute<\/td><td>Type<\/td><td>Exam\u00adple<\/td><td>Descrip\u00adtion<\/td><\/tr><tr><td>pricing.type<\/td><td>String<\/td><td>\u201cno_rate\u201d<\/td><td>Pric\u00ading type. In the response always has val\u00adue \u201cno_rate\u201d<\/td><\/tr><tr><td>sta\u00adtus<\/td><td>String<\/td><td>\u201cwaiting_for_acceptance\u201d<\/td><td>Con\u00adtract sta\u00adtus.  In the response always has val\u00adue \u201cwaiting_for_acceptance\u201d<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-vertically-aligned-center is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:25%\" id=\"responsebody\">\n<h6 class=\"wp-block-heading\" style=\"font-style:normal;font-weight:700\">Response Body for create flexible contract<\/h6>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:75%\">\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-json\" data-lang=\"JSON\"><code>{\n    \"id\": \"0bd41dab-f606-4b38-ab7a-24e868a729a8\",\n    \"base_contract_id\": \"0bd41dab-f606-4b38-ab7a-24e868a729a8\",\n    \"type\": \"flexible\",\n    \"position\": null,\n    \"percentage_share\": 0,\n    \"route\": {\n        \"id\": \"3a378345-1939-48c1-bc71-639e0add8048\",\n        \"unique_key\": \"456788\",\n        \"name\": \"trasa2 API\",\n        \"publication_scenario\": {\n            \"type\": \"in_order\",\n            \"data\": {\n                \"publication_time\": {\n                    \"value\": 300,\n                    \"unit_code\": \"s\",\n                    \"user_unit_code\": \"min\"\n                },\n                \"order\": \"next_recipient\"\n            }\n        },\n        \"spots\": [\n            {\n                \"id\": \"287b8962-bb35-4012-938c-3eed57d52596\",\n                \"name\": \"Pocz\u0105tek PL 50-002 2021-08-11 13:51:15\",\n                \"type\": \"loading\",\n                \"place\": {\n                    \"address\": {\n                        \"locality\": \"Wroc\u0142aw\",\n                        \"postal_code\": \"50-002\",\n                        \"country\": \"pl\",\n                        \"street\": \"Nowa\",\n                        \"number\": \"2\",\n                        \"location_id\": 2513724,\n                        \"detailed_location_id\": null,\n                        \"foreign_id\": null,\n                        \"radius\": null\n                    },\n                    \"coordinates\": {\n                        \"latitude\": 51.1,\n                        \"longitude\": 17.03333\n                    }\n                }\n            },\n            {\n                \"id\": \"078e89c1-dcca-417f-9973-569cb87279c2\",\n                \"name\": \"Pocz\u0105tek trasy\",\n                \"type\": \"unloading\",\n                \"place\": {\n                    \"address\": {\n                        \"locality\": \"Wroc\u0142aw\",\n                        \"postal_code\": \"53-146\",\n                        \"country\": \"pl\",\n                        \"street\": \"Rac\u0142awicka\",\n                        \"number\": \"2-4\",\n                        \"location_id\": 1185465,\n                        \"detailed_location_id\": 58279582,\n                        \"foreign_id\": null,\n                        \"radius\": null\n                    },\n                    \"coordinates\": {\n                        \"latitude\": 51.0825872,\n                        \"longitude\": 17.0038841\n                    }\n                }\n            }\n        ],\n        \"distance\": {\n            \"declared\": null,\n            \"calculated\": {\n                \"value\": 4,\n                \"unit_code\": \"km\"\n            }\n        },\n        \"suggested_calculated_route_id\": \"fa4c5378-0ccc-4737-90d2-efec0a1dd1a8\",\n        \"distance_match\": {\n            \"min\": null,\n            \"max\": null\n        },\n        \"is_roundtrip\": false,\n        \"requirements\": {\n            \"required_truck_bodies\": [],\n            \"required_adr_classes\": [],\n            \"required_ways_of_loading\": [],\n            \"additional_requirements\": [],\n            \"shipping_remarks\": null,\n            \"freight_type\": null,\n            \"vehicle_size\": null,\n            \"width\": null,\n            \"height\": null,\n            \"length\": null,\n            \"volume\": null,\n            \"capacity\": {\n                \"min\": null,\n                \"max\": null\n            },\n            \"exemption_from_adr\": false\n        },\n        \"loads\": [\n            {\n                \"name\": null,\n                \"type_of_load\": null,\n                \"amount\": null,\n                \"width\": null,\n                \"height\": null,\n                \"length\": null,\n                \"volume\": null,\n                \"weight\": {\n                    \"min\": null,\n                    \"max\": null\n                },\n                \"pallets\": {\n                    \"is_stackable\": false,\n                    \"is_exchangeable\": false\n                }\n            }\n        ],\n        \"balancing\": {\n            \"type\": \"freight_limit\",\n            \"allowed_types\": [\n                \"manual\",\n                \"freight_limit\",\n                \"percentage_share\"\n            ],\n            \"data\": {\n                \"freight_limit\": {\n                    \"min\": null,\n                    \"max\": null\n                }\n            }\n        },\n        \"status\": \"active\",\n        \"shipments_summary\": {\n            \"amount\": 1,\n            \"weight\": {\n                \"value\": 22,\n                \"unit_code\": \"t\"\n            },\n            \"distance\": {\n                \"value\": 342,\n                \"unit_code\": \"km\"\n            },\n            \"price\": [\n                {\n                    \"amount\": 56,\n                    \"currency\": \"1_eur\"\n                }\n            ]\n        },\n        \"position\": 231,\n        \"_stats\": {\n            \"contracts\": {\n                \"fixed\": 1,\n                \"flexible\": 1\n            },\n            \"transports\": {\n                \"realized\": {\n                    \"average_price\": null,\n                    \"count\": 0\n                },\n                \"awaiting\": {\n                    \"median_price\": null,\n                    \"count\": null\n                },\n                \"cheapest_carrier_offer\": null\n            }\n        }\n    },\n    \"period\": {\n        \"from\": null,\n        \"to\": null\n    },\n    \"pricing\": {\n        \"type\": \"no_rate\",\n        \"price\": {\n            \"currency\": \"eur\"\n        }\n    },\n    \"status\": \"waiting_for_acceptance\",\n    \"carrier\": {\n        \"company\": {\n            \"id\": 1013865,\n            \"name\": \"Carrier IIT 2\"\n        },\n        \"contact_persons\": [\n            {\n                \"id\": \"011a9d31-7b53-4365-999d-e27d64df7046\",\n                \"employee\": {\n                    \"id\": 999446,\n                    \"account_id\": 771476,\n                    \"given_name\": \"Jan\",\n                    \"family_name\": \"Nowak\",\n                    \"trans_id\": \"1013865-3\",\n                    \"email\": \"jnowak@mail.eu\",\n                    \"telephone\": \"(0048) 12345678\"\n                },\n                \"channels\": [\n                    \"email\",\n                    \"push\",\n                    \"web-push\",\n                    \"messenger\"\n                ],\n                \"reported_by\": {\n                    \"company\": {\n                        \"id\": 1007374\n                    }\n                }\n            }\n        ],\n        \"cooperation_status\": \"active\"\n    },\n    \"shipper\": {\n        \"company\": {\n            \"id\": 1007374,\n            \"name\": \"Forwarder IIT\"\n        },\n        \"contact_persons\": [\n            {\n                \"id\": \"2a7936e1-3f6a-4654-9c72-93857bf6941d\",\n                \"employee\": {\n                    \"id\": 993848,\n                    \"account_id\": 765361,\n                    \"given_name\": \"Krzysztof\",\n                    \"family_name\": \"Kowalski\",\n                    \"trans_id\": \"1007374-5\",\n                    \"email\": \"kkowalski@mail.eu\",\n                    \"telephone\": null\n                },\n                \"channels\": [\n                    \"email\",\n                    \"push\",\n                    \"web-push\",\n                    \"messenger\"\n                ],\n                \"reported_by\": {\n                    \"company\": {\n                        \"id\": 1007374\n                    }\n                }\n            }\n        ],\n        \"cooperation_status\": \"active\"\n    },\n    \"deactivations\": [],\n    \"_stats\": {\n        \"transports\": {\n            \"realized\": null,\n            \"average_per_month\": null,\n            \"awaiting\": null\n        },\n        \"offers\": {\n            \"accepted\": null,\n            \"total\": null,\n            \"acceptance_rate\": null\n        },\n        \"base_contract\": {\n            \"registered\": 0,\n            \"waiting_for_acceptance\": 1,\n            \"waiting_for_initial_carrier_offer\": 0,\n            \"waiting_for_shipper_offer\": 0,\n            \"waiting_for_carrier_offer\": 0,\n            \"refused\": 0,\n            \"accepted\": 0,\n            \"active\": 0,\n            \"finished\": 0\n        }\n    },\n    \"_meta\": {\n        \"has_been_sent_to_carrier\": true\n    }\n}<\/code><\/pre><\/div>\n<\/div>\n<\/div>\n\n\n\n<div style=\"height:50px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"validationerrors\" style=\"font-style:normal;font-weight:700\">Clients errors (code 400)<\/h4>\n\n\n\n<p>HTTP 4xx sta\u00adtus codes indi\u00adcate client errors, mean\u00ading that the request could not be processed due to an issue on the client side. Below is a list of request-spe\u00adcif\u00adic errors.<\/p>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-vertically-aligned-center is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:25%\" id=\"responsebody\">\n<h6 class=\"wp-block-heading\" style=\"font-style:normal;font-weight:700\">Example error 1<\/h6>\n\n\n\n<p>Invalid route id<\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:75%\">\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-json\" data-lang=\"JSON\"><code>{\n    \"type\": \"http:\/\/www.w3.org\/Protocols\/rfc2616\/rfc2616-sec10.html\",\n    \"title\": \"Bad Request\",\n    \"status\": 400,\n    \"detail\": \"Contracted route with ID: 3fa85f64-5717-4562-b3fc-2c963f66afa6 not found!\",\n    \"service_code\": 5404\n}<\/code><\/pre><\/div>\n<\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-vertically-aligned-center is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:25%\" id=\"responsebody\">\n<h6 class=\"wp-block-heading\" style=\"font-style:normal;font-weight:700\">Example error 2<\/h6>\n\n\n\n<p>Send_to_carrier field must be set True<\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:75%\">\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-json\" data-lang=\"JSON\"><code>{\n    \"type\": \"http:\/\/www.w3.org\/Protocols\/rfc2616\/rfc2616-sec10.html\",\n    \"title\": \"Unprocessable Entity\",\n    \"status\": 422,\n    \"detail\": \"Failed Validation\",\n    \"validation_messages\": {\n        \"config\": {\n            \"send_to_carrier\": {\n                \"equals\": \"send_to_carrier must be equal to true\"\n            }\n        }\n    },\n    \"service_code\": 5404\n}<\/code><\/pre><\/div>\n<\/div>\n<\/div>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p class=\"dont-break-out\">Cre\u00adat\u00ading a new flex\u00adi\u00adble con\u00adtract in select\u00aded route. Cre\u00adat\u00ading a new flex\u00adi\u00adble con\u00adtract in select\u00aded route.<\/p>\n","protected":false},"author":16,"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":[141,157],"tags":[],"class_list":["post-6584","post","type-post","status-publish","format-standard","hentry","category-freights-section","category-route-n"],"acf":[],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.8 - aioseo.com -->\n\t<meta name=\"description\" content=\"Creating a new flexible contract in selected route. After successfully executing the method, you receive in response the contract details with the unique contract identification number id assigned when creating the new contract. POST \/ext\/contracts-api\/v2\/contracts\/flexible Request Authorization Every request MUST include a valid access token obtained during the user authorization process, provided using the Bearer\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Alek\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.trans.eu\/api\/freights-section\/create-flexible-contract\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.8\" \/>\n\t\t<meta property=\"og:locale\" content=\"pl_PL\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Trans.eu Api - Trans.eu Api\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Create flexible contract - Trans.eu Api\" \/>\n\t\t<meta property=\"og:description\" content=\"Creating a new flexible contract in selected route. After successfully executing the method, you receive in response the contract details with the unique contract identification number id assigned when creating the new contract. POST \/ext\/contracts-api\/v2\/contracts\/flexible Request Authorization Every request MUST include a valid access token obtained during the user authorization process, provided using the Bearer\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/www.trans.eu\/api\/freights-section\/create-flexible-contract\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/www.trans.eu\/api\/wp-content\/uploads\/2019\/05\/201805241459329875.png\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/www.trans.eu\/api\/wp-content\/uploads\/2019\/05\/201805241459329875.png\" \/>\n\t\t<meta property=\"og:image:width\" content=\"1182\" \/>\n\t\t<meta property=\"og:image:height\" content=\"246\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2026-04-29T12:45:43+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2026-04-30T10:47:54+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Create flexible contract - Trans.eu Api\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Creating a new flexible contract in selected route. After successfully executing the method, you receive in response the contract details with the unique contract identification number id assigned when creating the new contract. POST \/ext\/contracts-api\/v2\/contracts\/flexible Request Authorization Every request MUST include a valid access token obtained during the user authorization process, provided using the Bearer\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/www.trans.eu\/api\/wp-content\/uploads\/2019\/05\/201805241459329875.png\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BlogPosting\",\"@id\":\"https:\\\/\\\/www.trans.eu\\\/api\\\/freights-section\\\/create-flexible-contract\\\/#blogposting\",\"name\":\"Create flexible contract - Trans.eu Api\",\"headline\":\"Create flexible contract\",\"author\":{\"@id\":\"https:\\\/\\\/www.trans.eu\\\/api#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.trans.eu\\\/api\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/www.trans.eu\\\/api\\\/wp-content\\\/uploads\\\/2019\\\/05\\\/cropped-201805241459329875.png\",\"@id\":\"https:\\\/\\\/www.trans.eu\\\/api\\\/#articleImage\",\"width\":512,\"height\":512},\"datePublished\":\"2026-04-29T14:45:43+02:00\",\"dateModified\":\"2026-04-30T12:47:54+02:00\",\"inLanguage\":\"pl-PL\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.trans.eu\\\/api\\\/freights-section\\\/create-flexible-contract\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.trans.eu\\\/api\\\/freights-section\\\/create-flexible-contract\\\/#webpage\"},\"articleSection\":\"Freights section, Routes &amp; contracts, English\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.trans.eu\\\/api\\\/freights-section\\\/create-flexible-contract\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.trans.eu\\\/api#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.trans.eu\\\/api\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.trans.eu\\\/api\\\/freights\\\/#listItem\",\"name\":\"Freights\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.trans.eu\\\/api\\\/freights\\\/#listItem\",\"position\":2,\"name\":\"Freights\",\"item\":\"https:\\\/\\\/www.trans.eu\\\/api\\\/freights\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.trans.eu\\\/api\\\/freights\\\/route-n\\\/#listItem\",\"name\":\"Routes &amp; contracts\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.trans.eu\\\/api#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.trans.eu\\\/api\\\/freights\\\/route-n\\\/#listItem\",\"position\":3,\"name\":\"Routes &amp; contracts\",\"item\":\"https:\\\/\\\/www.trans.eu\\\/api\\\/freights\\\/route-n\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.trans.eu\\\/api\\\/freights-section\\\/create-flexible-contract\\\/#listItem\",\"name\":\"Create flexible contract\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.trans.eu\\\/api\\\/freights\\\/#listItem\",\"name\":\"Freights\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.trans.eu\\\/api\\\/freights-section\\\/create-flexible-contract\\\/#listItem\",\"position\":4,\"name\":\"Create flexible contract\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.trans.eu\\\/api\\\/freights\\\/route-n\\\/#listItem\",\"name\":\"Routes &amp; contracts\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.trans.eu\\\/api\\\/#organization\",\"name\":\"Trans.eu Api\",\"description\":\"Trans.eu Api\",\"url\":\"https:\\\/\\\/www.trans.eu\\\/api\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/www.trans.eu\\\/api\\\/wp-content\\\/uploads\\\/2019\\\/05\\\/cropped-201805241459329875.png\",\"@id\":\"https:\\\/\\\/www.trans.eu\\\/api\\\/freights-section\\\/create-flexible-contract\\\/#organizationLogo\",\"width\":512,\"height\":512},\"image\":{\"@id\":\"https:\\\/\\\/www.trans.eu\\\/api\\\/freights-section\\\/create-flexible-contract\\\/#organizationLogo\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.trans.eu\\\/api#author\",\"url\":\"https:\\\/\\\/www.trans.eu\\\/api\",\"name\":\"Alek\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.trans.eu\\\/api\\\/freights-section\\\/create-flexible-contract\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/2409c2adde2535cfa533f41c9961f644484c0afb743b753737bc1520fcab7b4f?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Alek\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.trans.eu\\\/api\\\/freights-section\\\/create-flexible-contract\\\/#webpage\",\"url\":\"https:\\\/\\\/www.trans.eu\\\/api\\\/freights-section\\\/create-flexible-contract\\\/\",\"name\":\"Create flexible contract - Trans.eu Api\",\"description\":\"Creating a new flexible contract in selected route. After successfully executing the method, you receive in response the contract details with the unique contract identification number id assigned when creating the new contract. POST \\\/ext\\\/contracts-api\\\/v2\\\/contracts\\\/flexible Request Authorization Every request MUST include a valid access token obtained during the user authorization process, provided using the Bearer\",\"inLanguage\":\"pl-PL\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.trans.eu\\\/api\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.trans.eu\\\/api\\\/freights-section\\\/create-flexible-contract\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.trans.eu\\\/api#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.trans.eu\\\/api#author\"},\"datePublished\":\"2026-04-29T14:45:43+02:00\",\"dateModified\":\"2026-04-30T12:47:54+02:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.trans.eu\\\/api\\\/#website\",\"url\":\"https:\\\/\\\/www.trans.eu\\\/api\\\/\",\"name\":\"Trans.eu Api\",\"description\":\"Trans.eu Api\",\"inLanguage\":\"pl-PL\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.trans.eu\\\/api\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Create flexible contract - Trans.eu Api","description":"Creating a new flexible contract in selected route. After successfully executing the method, you receive in response the contract details with the unique contract identification number id assigned when creating the new contract. POST \/ext\/contracts-api\/v2\/contracts\/flexible Request Authorization Every request MUST include a valid access token obtained during the user authorization process, provided using the Bearer","canonical_url":"https:\/\/www.trans.eu\/api\/freights-section\/create-flexible-contract\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BlogPosting","@id":"https:\/\/www.trans.eu\/api\/freights-section\/create-flexible-contract\/#blogposting","name":"Create flexible contract - Trans.eu Api","headline":"Create flexible contract","author":{"@id":"https:\/\/www.trans.eu\/api#author"},"publisher":{"@id":"https:\/\/www.trans.eu\/api\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/www.trans.eu\/api\/wp-content\/uploads\/2019\/05\/cropped-201805241459329875.png","@id":"https:\/\/www.trans.eu\/api\/#articleImage","width":512,"height":512},"datePublished":"2026-04-29T14:45:43+02:00","dateModified":"2026-04-30T12:47:54+02:00","inLanguage":"pl-PL","mainEntityOfPage":{"@id":"https:\/\/www.trans.eu\/api\/freights-section\/create-flexible-contract\/#webpage"},"isPartOf":{"@id":"https:\/\/www.trans.eu\/api\/freights-section\/create-flexible-contract\/#webpage"},"articleSection":"Freights section, Routes &amp; contracts, English"},{"@type":"BreadcrumbList","@id":"https:\/\/www.trans.eu\/api\/freights-section\/create-flexible-contract\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/www.trans.eu\/api#listItem","position":1,"name":"Home","item":"https:\/\/www.trans.eu\/api","nextItem":{"@type":"ListItem","@id":"https:\/\/www.trans.eu\/api\/freights\/#listItem","name":"Freights"}},{"@type":"ListItem","@id":"https:\/\/www.trans.eu\/api\/freights\/#listItem","position":2,"name":"Freights","item":"https:\/\/www.trans.eu\/api\/freights\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.trans.eu\/api\/freights\/route-n\/#listItem","name":"Routes &amp; contracts"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.trans.eu\/api#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/www.trans.eu\/api\/freights\/route-n\/#listItem","position":3,"name":"Routes &amp; contracts","item":"https:\/\/www.trans.eu\/api\/freights\/route-n\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.trans.eu\/api\/freights-section\/create-flexible-contract\/#listItem","name":"Create flexible contract"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.trans.eu\/api\/freights\/#listItem","name":"Freights"}},{"@type":"ListItem","@id":"https:\/\/www.trans.eu\/api\/freights-section\/create-flexible-contract\/#listItem","position":4,"name":"Create flexible contract","previousItem":{"@type":"ListItem","@id":"https:\/\/www.trans.eu\/api\/freights\/route-n\/#listItem","name":"Routes &amp; contracts"}}]},{"@type":"Organization","@id":"https:\/\/www.trans.eu\/api\/#organization","name":"Trans.eu Api","description":"Trans.eu Api","url":"https:\/\/www.trans.eu\/api\/","logo":{"@type":"ImageObject","url":"https:\/\/www.trans.eu\/api\/wp-content\/uploads\/2019\/05\/cropped-201805241459329875.png","@id":"https:\/\/www.trans.eu\/api\/freights-section\/create-flexible-contract\/#organizationLogo","width":512,"height":512},"image":{"@id":"https:\/\/www.trans.eu\/api\/freights-section\/create-flexible-contract\/#organizationLogo"}},{"@type":"Person","@id":"https:\/\/www.trans.eu\/api#author","url":"https:\/\/www.trans.eu\/api","name":"Alek","image":{"@type":"ImageObject","@id":"https:\/\/www.trans.eu\/api\/freights-section\/create-flexible-contract\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/2409c2adde2535cfa533f41c9961f644484c0afb743b753737bc1520fcab7b4f?s=96&d=mm&r=g","width":96,"height":96,"caption":"Alek"}},{"@type":"WebPage","@id":"https:\/\/www.trans.eu\/api\/freights-section\/create-flexible-contract\/#webpage","url":"https:\/\/www.trans.eu\/api\/freights-section\/create-flexible-contract\/","name":"Create flexible contract - Trans.eu Api","description":"Creating a new flexible contract in selected route. After successfully executing the method, you receive in response the contract details with the unique contract identification number id assigned when creating the new contract. POST \/ext\/contracts-api\/v2\/contracts\/flexible Request Authorization Every request MUST include a valid access token obtained during the user authorization process, provided using the Bearer","inLanguage":"pl-PL","isPartOf":{"@id":"https:\/\/www.trans.eu\/api\/#website"},"breadcrumb":{"@id":"https:\/\/www.trans.eu\/api\/freights-section\/create-flexible-contract\/#breadcrumblist"},"author":{"@id":"https:\/\/www.trans.eu\/api#author"},"creator":{"@id":"https:\/\/www.trans.eu\/api#author"},"datePublished":"2026-04-29T14:45:43+02:00","dateModified":"2026-04-30T12:47:54+02:00"},{"@type":"WebSite","@id":"https:\/\/www.trans.eu\/api\/#website","url":"https:\/\/www.trans.eu\/api\/","name":"Trans.eu Api","description":"Trans.eu Api","inLanguage":"pl-PL","publisher":{"@id":"https:\/\/www.trans.eu\/api\/#organization"}}]},"og:locale":"pl_PL","og:site_name":"Trans.eu Api - Trans.eu Api","og:type":"article","og:title":"Create flexible contract - Trans.eu Api","og:description":"Creating a new flexible contract in selected route. After successfully executing the method, you receive in response the contract details with the unique contract identification number id assigned when creating the new contract. POST \/ext\/contracts-api\/v2\/contracts\/flexible Request Authorization Every request MUST include a valid access token obtained during the user authorization process, provided using the Bearer","og:url":"https:\/\/www.trans.eu\/api\/freights-section\/create-flexible-contract\/","og:image":"https:\/\/www.trans.eu\/api\/wp-content\/uploads\/2019\/05\/201805241459329875.png","og:image:secure_url":"https:\/\/www.trans.eu\/api\/wp-content\/uploads\/2019\/05\/201805241459329875.png","og:image:width":1182,"og:image:height":246,"article:published_time":"2026-04-29T12:45:43+00:00","article:modified_time":"2026-04-30T10:47:54+00:00","twitter:card":"summary","twitter:title":"Create flexible contract - Trans.eu Api","twitter:description":"Creating a new flexible contract in selected route. After successfully executing the method, you receive in response the contract details with the unique contract identification number id assigned when creating the new contract. POST \/ext\/contracts-api\/v2\/contracts\/flexible Request Authorization Every request MUST include a valid access token obtained during the user authorization process, provided using the Bearer","twitter:image":"https:\/\/www.trans.eu\/api\/wp-content\/uploads\/2019\/05\/201805241459329875.png"},"aioseo_meta_data":{"post_id":"6584","title":null,"description":null,"keywords":null,"keyphrases":{"focus":{"keyphrase":"","score":0,"analysis":{"keyphraseInTitle":{"score":0,"maxScore":9,"error":1}}},"additional":[]},"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"BlogPosting","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":{"faqs":[],"keyPoints":[],"schemas":[],"titles":[],"descriptions":[],"socialPosts":{"email":[],"linkedin":[],"twitter":[],"facebook":[],"instagram":[]}},"created":"2026-04-29 10:53:30","updated":"2026-04-30 11:17:43","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.trans.eu\/api\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.trans.eu\/api\/freights\/\" title=\"Freights\">Freights<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.trans.eu\/api\/freights\/route-n\/\" title=\"Routes &amp; contracts\">Routes &amp; contracts<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tCreate flexible contract\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/www.trans.eu\/api"},{"label":"Freights","link":"https:\/\/www.trans.eu\/api\/freights\/"},{"label":"Routes &amp; contracts","link":"https:\/\/www.trans.eu\/api\/freights\/route-n\/"},{"label":"Create flexible contract","link":"https:\/\/www.trans.eu\/api\/freights-section\/create-flexible-contract\/"}],"lang":"en","translations":{"en":6584},"pll_sync_post":[],"_links":{"self":[{"href":"https:\/\/www.trans.eu\/api\/wp-json\/wp\/v2\/posts\/6584","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\/16"}],"replies":[{"embeddable":true,"href":"https:\/\/www.trans.eu\/api\/wp-json\/wp\/v2\/comments?post=6584"}],"version-history":[{"count":4,"href":"https:\/\/www.trans.eu\/api\/wp-json\/wp\/v2\/posts\/6584\/revisions"}],"predecessor-version":[{"id":6621,"href":"https:\/\/www.trans.eu\/api\/wp-json\/wp\/v2\/posts\/6584\/revisions\/6621"}],"wp:attachment":[{"href":"https:\/\/www.trans.eu\/api\/wp-json\/wp\/v2\/media?parent=6584"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.trans.eu\/api\/wp-json\/wp\/v2\/categories?post=6584"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.trans.eu\/api\/wp-json\/wp\/v2\/tags?post=6584"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}