Public endpoint to retrieve a previously shared movement

GET /api/public/shared/movement/{uuid}

Retrieves a movement by its shared uuid.

Headers

  • Specify effective organization_id for Admin and Group Organization Admins. This is a global header for all endpoints only taken into consideration when it makes sense (it won't be used in Auth, for example)

Path parameters

Query parameters

  • Retrieves also the creator of the movement. Note that the retrieved creator can be still null if it is not an active account anymore

  • Retrieves also the account that last updated of the movement (or the creator if nobody else updated it). Note that the retrieved updated can be still null if it is not an active account anymore

Responses

GET /api/public/shared/movement/{uuid}
curl \
 -X GET https://api-dev.gatego.io:443/api/public/shared/movement/{uuid} \
 -H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "attachment_picture_shared_ids": [
    "string"
  ],
  "attachment_shared_ids": [
    "string"
  ],
  "chassis_number": "string",
  "chassis_size": "string",
  "comments": "string",
  "created_at": "2023-05-04T09:42:00+00:00",
  "created_by_name": "string",
  "destination": "string",
  "direction": "IN",
  "driver_license_picture_id": "string",
  "driver_name": "string",
  "driver_photo_id": "string",
  "inside_trailer_picture_shared_id": "string",
  "inspections": [
    {
      "created_at": "2023-05-04T09:42:00+00:00",
      "id": 42,
      "inspection_content": {},
      "inspection_type": "string",
      "last_modified_at": "2023-05-04T09:42:00+00:00",
      "trailer_id": 42,
      "trailer_number": "string",
      "truck_id": 42,
      "truck_number": "string",
      "yard_movement_id": 42
    }
  ],
  "last_modified_at": "2023-05-04T09:42:00+00:00",
  "last_modified_by_name": "string",
  "left_trailer_image_shared_id": "string",
  "load": "string",
  "movement_timestamp": "2023-05-04T09:42:00+00:00",
  "other_trailer_carrier": "string",
  "other_truck_carrier": "string",
  "purpose": "string",
  "rear_trailer_picture_shared_id": "string",
  "right_trailer_image_shared_id": "string",
  "seal": "string",
  "seal_picture_shared_ids": [
    "string"
  ],
  "shipment_id": "string",
  "sku": "string",
  "spare_tire_truck_photo_id": 42,
  "status": "string",
  "trailer_carrier_name": "string",
  "trailer_invalidated": true,
  "trailer_location": {
    "level": "string",
    "row": "string",
    "values": [
      "string"
    ],
    "zone": "string"
  },
  "trailer_number": "string",
  "trailer_number_inference": "string",
  "trailer_tags": [
    {
      "associated_at": "2023-05-04T09:42:00+00:00",
      "color": "string",
      "created_at": "2023-05-04T09:42:00+00:00",
      "id": 42,
      "last_modified_at": "2023-05-04T09:42:00+00:00",
      "name": "string"
    }
  ],
  "trailer_type": "string",
  "truck_carrier_name": "string",
  "truck_carrier_name_original": "string",
  "truck_fuel_type": "CNG",
  "truck_image_shared_id": "string",
  "truck_invalidated": true,
  "truck_left_photo_id": 42,
  "truck_number": "string",
  "truck_right_photo_id": 42,
  "truck_type": "BOX",
  "vehicle_image_shared_id": "string",
  "visit_type": "string",
  "yard_name": "string"
}