Endpoint allows you to download accepted freight.

Url parameters and connection settings

  • URL: https://api.platform.trans.eu
  • Endpoint: /ext/freights-api/v1/accepted
  • Method: GET

Headers:

  • Content-type: application/json
  • Accept: application/json
  • Authorization: Bearer {access_token}
  • Api-key: {unique_app_api-key}

Authorization and access

Authorization process is described here. Each API request must also consist of unique Api-key obtained during application registration together with client_id and client_secret.

Usage

Allows you to get your list of accepted freights.

Request Example

GET https://api.platform.trans.eu/ext/freights-api/v1/accepted

Response

[
  {
    "contact_employees": [
      {
        "last_name": "Marek",
        "name": "Markowski",
        "trans_id": "1007386-1"
      }
    ],
    "created": "2022-11-21T13:42:29.000Z",
    "ftl": true,
    "height": null,
    "id": 1747467,
    "length": null,
    "loading": {
      "place": {
        "country": "pl",
        "locality": "Poznań",
        "postal_code": "61-625"
      }
    },
    "publication": {
      "auction_id": null,
      "end_reason": null,
      "id": 1454036,
      "is_quick_pay": false,
      "is_recommended": null,
      "is_shared": null,
      "offer_id": null,
      "price": {
        "currency": "eur",
        "period": {
          "days": 5,
          "payment": "deferred"
        },
        "value": 120
      },
      "publish_date": "2022-11-21T13:42:29.000Z",
      "publish_type": "exchange",
      "received_offers": null,
      "receivers": null,
      "refresh_from": null,
      "sent_offers": null,
      "sent_to": null,
      "smart_match_offers": null,
      "status": "finished",
      "stock_id": null
    },
    "reference_number": null,
    "shipment_external_id": null,
    "status": null,
    "temperature": {
      "max": null,
      "min": null
    },
    "transit_time": null,
    "transport_type": "ftl",
    "truck_bodies": [
      "curtainsider"
    ],
    "unloading": {
      "place": {
        "country": "pl",
        "locality": "Poznań",
        "postal_code": "61-625"
      }
    },
    "vehicle_size": "any_size",
    "volume": null,
    "width": null
  },
  {
    "contact_employees": [
      {
        "last_name": "MArkowski",
        "name": "Marek",
        "trans_id": "1007386-1"
      }
    ],
    "created": "2022-10-18T09:49:28.000Z",
    "ftl": true,
    "height": null,
    "id": 1695390,
    "length": null,
    "loading": {
      "place": {
        "country": "at",
        "locality": "Bad Aussee",
        "postal_code": "8990"
      }
    },
    "publication": {
      "auction_id": null,
      "end_reason": null,
      "id": 1404171,
      "is_quick_pay": false,
      "is_recommended": null,
      "is_shared": null,
      "offer_id": null,
      "price": {
        "currency": "eur",
        "period": {
          "days": 5,
          "payment": "deferred"
        },
        "value": 999
      },
      "publish_date": "2022-10-18T09:49:28.000Z",
      "publish_type": "exchange",
      "received_offers": null,
      "receivers": null,
      "refresh_from": null,
      "sent_offers": null,
      "sent_to": null,
      "smart_match_offers": null,
      "status": "finished",
      "stock_id": null
    },
    "reference_number": null,
    "shipment_external_id": null,
    "status": null,
    "temperature": {
      "max": 999,
      "min": -999
    },
    "transit_time": null,
    "transport_type": "ftl",
    "truck_bodies": [
      "cooler"
    ],
    "unloading": {
      "place": {
        "country": "at",
        "locality": "Bad Aussee",
        "postal_code": "8990"
      }
    },
    "vehicle_size": "solo",
    "volume": null,
    "width": null
  }
]