Get announcement list

This method allows you to down­load a list of announce­ments.

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: /ex­t/­dock-sched­uler-api/v1/an­nounce­ment
  • 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}

Available filters

Important for shipper role! To get the announcement list, at least warehouse filter has to be used.

List of avail­able fil­ters

  • ware­house ids (?filter={“warehouse_ids”: [10]})
  • car­ri­er ids (?filter={“carrier_ids”: [1234,1235]})
  • ship­per ids ( ?filter={“shipper_ids”: [1234,1235]})
  • date from (?filter={“date_from”: “2022–03-01”})
  • date to (?filter={“date_to”: “2022–03-31”})
  • order ref­er­ence num­ber (?filter={“order”: {“reference_number”: “2022/01/25/9”}})
  • time win­dow ref­er­ence num­ber (?filter={“time_window”: {“reference_number”:“DS/21A645”}})
  • freight ref­er­ence num­ber (?fil­ter={“freight”: {“reference_number”: “FR/2022/09/28/L1D2”}})
  • time win­dow exter­nal num­ber (?filter={“time_window”: {“external_number”: “1a2b3c”}})
  • announce­ment ref­er­ence num­ber (?filter={“reference_number”: “DS/21A645/1”})
  • stages (?filter={“statuses”: [“LOADING_REFUSED”]}) all avail­able stages can be found here

Exam­ple of com­bined fil­ter: ?fil­ter={“warehouse_ids”:[10],“carrier_ids”: [1234]}

Paging

When call­ing GET method, page should be added as para­me­ter in the URL, for exam­ple:

Json response example

{
    "2023-07-12": [
        {
            "fields_changes": {
                "status": {
                    "after": "CONFIRMED",
                    "before": null
                }
            },
            "modification_date_time": "2023-07-12T11:01:01",
            "modified_by": {
                "family_name": "Wankiewicz",
                "given_name": "Paweł",
                "trans_id": "1007386-1"
            },
            "properties_changed": [
                "status"
            ]
        },
        {
            "fields_changes": {
                "arrival_delay": {
                    "after": 0,
                    "before": null
                },
                "custom_status_order": {
                    "after": 30,
                    "before": null
                },
                "modified_at": {
                    "after": "2023-07-12T11:01:27",
                    "before": null
                },
                "stage": {
                    "after": "VEHICLE_ARRIVED",
                    "before": null
                },
                "status": {
                    "after": "IN_PROGRESS",
                    "before": "CONFIRMED"
                }
            },
            "modification_date_time": "2023-07-12T11:01:27",
            "modified_by": {
                "family_name": "Wankiewicz",
                "given_name": "Paweł",
                "trans_id": "1007386-1"
            },
            "properties_changed": [
                "stage",
                "modified_at",
                "arrival_delay",
                "custom_status_order",
                "status"
            ]
        },
        {
            "fields_changes": {
                "custom_status_order": {
                    "after": 40,
                    "before": null
                },
                "modified_at": {
                    "after": "2023-07-12T11:01:30",
                    "before": null
                },
                "stage": {
                    "after": "STARTED",
                    "before": "VEHICLE_ARRIVED"
                }
            },
            "modification_date_time": "2023-07-12T11:01:30",
            "modified_by": {
                "family_name": "Wankiewicz",
                "given_name": "Paweł",
                "trans_id": "1007386-1"
            },
            "properties_changed": [
                "stage",
                "modified_at",
                "custom_status_order"
            ]
        }
    ]
}