Get freight proposal by id

This method allows you to down­load details of freight pro­pos­al.

Authorization and access

Autho­riza­tion process is described here. Each API request must also con­sist of unique Api-key obtained dur­ing appli­ca­tion reg­is­tra­tion togeth­er with client_id and client_secret.

Url parameters and connection settings

  • URL: https://api.platform.trans.eu
  • End­point: /ext/freights-api/v1/freight-proposals/{freightId}
  • Http Method: GET

Headers

  • Accept: application/json
  • Con­tent-type: application/json
  • Autho­riza­tion: Bear­er {access_token}
  • Api-key: {unique_ap­p_api-key}

Response example

{
  "carrier_offer_expiration_date": null,
  "contact_employees": null,
  "created_at": "2022-03-07T12:22:50+01:00",
  "decision_date": "2022-03-10T13:30:00+01:00",
  "freight": {
    "capacity": {
      "unit_code": "t",
      "value": 12
    },
    "children": {
      "carrier": null,
      "id": null,
      "publication": null,
      "reference_number": null,
      "status": null,
      "version": null
    },
    "distance": 0,
    "id": 119885956,
    "loading_meters": {
      "unit_code": "ldm",
      "value": 0.83
    },
    "publication": {
      "id": 118499019,
      "is_quick_pay": false,
      "is_recommended": false,
      "period": {
        "days": 12,
        "payment": "1_deferred"
      },
      "price": {
        "currency": "pln",
        "value": 123
      },
      "price_type": "ROUTE",
      "publish_type": "companies",
      "total_price": {
        "currency": "pln",
        "value": 123
      }
    },
    "requirements": {
      "is_ftl": true,
      "monitoring": "3_without_monitoring",
      "other_requirements": [
        "hds",
        "gps",
        "lift"
      ],
      "required_adr_classes": [],
      "required_truck_bodies": [
        "curtainsider"
      ],
      "required_ways_of_loading": [
        "top",
        "side",
        "back"
      ],
      "shipping_remarks": null,
      "vehicle_size_id": "any_size"
    },
    "shipment_request_name": null,
    "shipper": {
      "address": {
        "country": "pl",
        "description": null,
        "id": 5547,
        "locality": "Wrocław",
        "location_id": null,
        "postal_code": "1010",
        "street": "Testowa"
      },
      "bonabanco": {
        "carrier": false,
        "forwarder": false
      },
      "company_id": 111111,
      "cooperation": {
        "is_suspended": false
      },
      "email": "123@123.pl",
      "fax_number": "0049 1111111111111",
      "id": 112,
      "legal_name": "Konto testowe Sp. z o.o.",
      "source": "companies",
      "telephone": "0049 111111111111",
      "vat_id": "01010101010"
    },
    "spots": [
      {
        "description": null,
        "id": 240425467,
        "name": null,
        "operations": [
          {
            "id": 240426835,
            "loads": [],
            "operation_order": 1,
            "timespans": {
              "begin": "2022-03-10T13:30:00+01:00",
              "end": "2022-03-10T16:00:00+01:00"
            },
            "type": "loading"
          }
        ],
        "place": {
          "address": {
            "country": "af",
            "description": null,
            "detailed_location_id": null,
            "foreign_id": null,
            "id": 240480882,
            "locality": "Kabul",
            "location_id": 13604,
            "number": null,
            "postal_code": "2",
            "radius": 10000,
            "street": null
          },
          "coordinates": {
            "latitude": 34.5260109,
            "longitude": 69.1776838
          },
          "range_distance": null
        },
        "spot_order": 1
      },
      {
        "description": null,
        "id": 240425468,
        "name": null,
        "operations": [
          {
            "id": 240426836,
            "loads": [],
            "operation_order": 1,
            "timespans": {
              "begin": "2022-03-16T17:00:00+01:00",
              "end": "2022-03-16T19:00:00+01:00"
            },
            "type": "unloading"
          }
        ],
        "place": {
          "address": {
            "country": "af",
            "description": null,
            "detailed_location_id": null,
            "foreign_id": null,
            "id": 240480883,
            "locality": "Kabul",
            "location_id": 13604,
            "number": null,
            "postal_code": "3",
            "radius": 10000,
            "street": null
          },
          "coordinates": {
            "latitude": 34.5260109,
            "longitude": 69.1776838
          },
          "range_distance": null
        },
        "spot_order": 2
      }
    ]
  },
  "freight_publication_id": 118499019,
  "height": 3,
  "id": "4a2dbtsd-bd6b-4c24-6t2c-256af1005591",
  "is_first_buy": false,
  "is_quick_pay": false,
  "length": 1,
  "new_status": "published",
  "price": {
    "currency": "pln",
    "value": 123
  },
  "price_type": "ROUTE",
  "publish_date": "2022-03-07T12:22:52+01:00",
  "stage": "active",
  "status": "published",
  "updated_at": "2022-03-07T12:22:52+01:00",
  "version": 2,
  "volume": 6,
  "width": 2
}