Show interchange for a given interchange ID.

Supported Formats

json

Errors

Code Description
404 Not found.
422 Unprocessable Entity.
500 Internal Server Error.
409 Entity conflict.

Examples

curl --location --request GET 'https://app.octopi.co/api/v1/truck_visits/34234/interchanges/123.json'     --header 'Content-Type: application/json'
{
  "truck_visit_id": 34234,
  "action_type": "interchange_in",
  "container_number": "CONZ1234674",
  "container_status": "full",
  "container_usage": 0,
  "container_has_damage": null,
  "container_vgm": null,
  "container_seal": null,
  "booking": "BOOKING12APR",
  "export_release": "EXP1",
  "bill_of_lading": null,
  "delivery_order": null,
  "chassis_number": "TESTCH-201",
  "chassis_weight": null,
  "genset": null,
  "genset_seal": null,
  "genset_fuel_level": null,
  "genset_has_reefer_compartment_seal": null,
  "genset_weight": null,
  "reefer_temperature": null,
  "reefer_temperature_unit": null,
  "reefer_set_point_temperature": null,
  "operating_reefer": false,
  "reefer_supply_temperature": null,
  "reefer_humidity": null,
  "reefer_ventilation": null,
  "scale_weight": null,
  "truck_weight": null,
  "completed_at": null,
  "interchange": null
}

Params

Param name Description
id
required

Interchange ID.

Validations:

  • Must be a Integer

truck_visit_id
required

Truck visit ID.

Validations:

  • Must be a Integer