/
Get Container Visit By Id

Get Container Visit By Id

If you have a single container visit id, which is a PortConnect reference to a unique container visit, you can also retrieve container data by putting the id in the path of the container visits uri.  For instance this request returns the same information as the above example:

Endpoint

GET https://api.portconnect.io/v1/container-visits/{containerVisitId}

Path Parameters

Name

Description

Name

Description

containerVisitId

Identifier for the container visit

Example Request:

GET https://api.portconnect.io/v1/container-visits/12345

Example Response:

{ "containerVisitId": 12345, "portCode": "NZAKL", "category": "EXPORT", "containerNumber": "MSKU1512500", "shipmentDirection": "OUTBOUND", "inboundVesselRef": null, "inboundVesselName": null, "inboundVesselPublishedArrivalDatetime": null, "inboundVesselActualArrivalDatetime": null, "inboundVesselPublishedDepartureDatetime": null, "inboundVesselActualDepartureDatetime": null, "outboundVesselRef": "RIB917N", "outboundVesselName": "RIO BLANCO", "outboundVesselPublishedArrivalDatetime": "2019-05-05T15:30:00+12:00", "outboundVesselActualArrivalDatetime": null, "outboundVesselPublishedDepartureDatetime": "2019-05-06T21:30:00+12:00", "outboundVesselActualDepartureDatetime": null, "containerIsoTypeCode": "4510", "containerIsoTypeDescription": "40' 9'6 HIGH CUBE", "declaredWeight": 30430.0, "declaredWeightVgm": true, "commodityCode": "FAK", "containerStatus": "FULL", "requiredTemperature": 0.0, "ventSetting": null, "o2Percent": null, "cO2Percent": null, "humidityPercent": null, "packedOffPowerDatetime": null, "PackedOffPowerTemp": null, "maxHoursAllowedOffPower": null, "containerOperatorCode": "MAEU", "containerOperatorName": "Maersk Line", "containerOperatorVoyageId": "917N", "loadPortCode": "NZTRG", "loadPortName": "Tauranga", "dischargePortCode": "MYTPP", "dischargePortName": "Tanjung Pelepas", "destinationPortCode": "INVTZ", "destinationPortName": "Visakhapatnam", "inlandPortArrivalDatetime": null, "inlandPortCarrier": null, "seaPortCarrier": "B340 (Road)", "loadDatetime": null, "receivedDatetime": "2019-05-02T13:44:31.017+12:00", "inlandPortInboundCarrier": null, "seaPortArrivalDatetime": "2019-05-02T13:44:31.017+12:00", "seaPortInboundCarrier": "B340 (Road)", "bookingReference": "968486382", "cedoNumberCode": null, "dischargedDatetime": null, "deliveredDatetime": null, "securityCheck": null, "lastFreeDatetime": null, "lineReleaseDatetime": null, "customsReleaseDatetime": null, "mpiReleaseDatetime": null, "containerLocation": "YARD", "emptyReturnDepotCode": null, "emptyReturnDepotName": null, "sealCount": 1, "hazardCount": 0, "stopCount": 1, "oversizeCount": 0, "seals": [{ "containerSealTypeCode": "Other", "containerSealValue": "FJO3729049" }], "hazards": [], "stops": [{ "stopTypeCode": "!NO VGM NO VESSEL LOAD" }], "oversizes": [] "seaPortGateOutDateTime": null, "inlandPortGateOutDateTime": null, "attachedEquipment": null, "vbsSlotDatetime": "2022-10-10T17:30:00+13:00" }

Related content

API Documentation
API Documentation
Read with this
Container Visits Search
Container Visits Search
More like this
Container Event Subscriptions API
Container Event Subscriptions API
Read with this
Get Export Pre-advice
Get Export Pre-advice
More like this
Get All Vessel Schedule Subscriptions - V1
Get All Vessel Schedule Subscriptions - V1
Read with this
Container Visits API
Container Visits API
More like this

© PortConnect 2023