Details of created order

Allows to access details of cre­at­ed trans­port order.

Url parameters and connection settings

  • URL: https://api.platform.trans.eu
  • End­point: /ext/orders-api/v1/orders-created/{order-id}
  • Method: GET

Headers:

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

Authorization

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.

Order

Full descrip­tion of order details and para­me­ters can be found here.

Json example:

Exam­ple of details of received order

{
  "additional_terms": null,
  "archived_at": null,
  "attachments": [
    {
      "description": "description",
      "media_id": "5425ef8b-6bd6-47e5-bd8a-f452f5af6fa7",
      "media_name": "9c2f2f2fac7ddef2c23be429e8f8862a.png",
      "type_id": "2_transport_order"
    }
  ],
  "can_archive": false,
  "cancellation": null,
  "cooperation": {
    "status": "ACTIVE"
  },
  "created_at": "2021-07-01T08:54:07.008Z",
  "driver": {
    "account_id": 771476,
    "contact_phone": {
      "number": "11111111111",
      "prefix": "0048"
    },
    "email": "trans@trans.eu",
    "employee_id": 999446,
    "family_name": "Driver",
    "full_name": "Jan Driver",
    "given_name": "Jan",
    "identity_document_number": null,
    "phone": null
  },
  "freight": {
    "carrier": {
      "assignee": null,
      "legal_name": "Test Company",
      "vat_id": "11111111111"
    },
    "reference_number": null,
    "requirements": {
      "is_ftl": true,
      "other_requirements": [
        "lift",
        "hds"
      ],
      "required_adr_classes": [
        "adr_1"
      ],
      "required_truck_bodies": [
        "cooler",
        "isotherm"
      ],
      "required_ways_of_loading": [
        "top"
      ],
      "shipping_remarks": "Shipping remarks",
      "temperature": {
        "max": 100,
        "min": 10
      },
      "vehicle_size_id": "bus"
    },
    "shipper": {
      "assignee": {
        "account_id": 749989,
        "email": "test@trans.eu",
        "family_name": "Kowalski",
        "fax": null,
        "given_name": "Krzysztof",
        "telephone": "0048 111111111",
        "trans_id": "1007374-1"
      },
      "legal_name": "Test spedition company",
      "vat_id": "222222222222"
    },
    "spots": [
      {
        "description": "Example description",
        "name": "Magazine 1",
        "operations": [
          {
            "loads": [],
            "operation_order": 1,
            "time_window": null,
            "time_window_reason": null,
            "timespans": {
              "begin": "2021-06-22T09:00:00.000Z",
              "end": "2021-06-22T10:00:00.000Z"
            },
            "type": "loading"
          }
        ],
        "place": {
          "address": {
            "country": "pl",
            "description": null,
            "locality": "Kraków",
            "number": "5",
            "postal_code": "31-001",
            "street": "Wawel"
          },
          "coordinates": {
            "latitude": 50.06143,
            "longitude": 19.93658
          }
        },
        "spot_order": 1
      },
      {
        "description": null,
        "name": null,
        "operations": [
          {
            "loads": [],
            "operation_order": 1,
            "time_window": null,
            "time_window_reason": null,
            "timespans": {
              "begin": "2021-06-23T09:00:00.000Z",
              "end": "2021-06-23T09:00:00.000Z"
            },
            "type": "unloading"
          }
        ],
        "place": {
          "address": {
            "country": "pl",
            "description": null,
            "locality": "Dąbrowa Środkowa",
            "number": "34",
            "postal_code": "59-330",
            "street": "Średnia"
          },
          "coordinates": {
            "latitude": 51.41828,
            "longitude": 16.33485
          }
        },
        "spot_order": 2
      }
    ]
  },
  "id": "da012de9-faca-4b14-b380-9b94aadff6fa",
  "invoice": null,
  "is_archived_permanently": false,
  "legacy_freight_id": null,
  "monitoring": {
    "providers": [
      "trans_task",
      "external_telematics"
    ],
    "required": true
  },
  "number": "2021/07/01/1",
  "payment": {
    "days": 30,
    "price": {
      "currency": "pln",
      "type": "km",
      "value": 1500
    }
  },
  "related": [],
  "source": {
    "author_account_id": 749989,
    "source_date": "2021-07-01T08:54:07.008Z",
    "source_id": null,
    "type": "api"
  },
  "status": {
    "comment": null,
    "value": "waiting-for-confirmation"
  },
  "vehicle": {
    "semi_trailer": {
      "dispatcher_id": 54083,
      "id": 501737,
      "kind": "4_semi_trailer",
      "registration_plate_number": "PL1111111",
      "type": "5_tent"
    },
    "truck": {
      "dispatcher_id": 41483,
      "id": 236503,
      "kind": "5_truck",
      "registration_plate_number": "DW1111111",
      "revision": 1,
      "type": null
    }
  }
}