# /api/External/GetVisitsData Endpoint: GET /api/External/GetVisitsData Version: v1 ## Query parameters: - `sVisitId` (string) - `facilityId` (integer) ## Response 200 fields (application/json): - `action` (string,null) - `activeTerminal` (string,null) - `associatedCompany` (integer) - `associatedCompanyName` (string,null) - `truckingCompany_Uid` (string,null) - `editVisibility` (array,null) - `selectedSlot` (object) - `selectedSlot.text` (string,null) - `selectedSlot.value` (any,null) - `visit` (object) - `visit.visitUIId` (integer) - `visit.truckGroup_UId` (string,null) - `visit.truckGroup_Name` (string,null) - `visit.mtO_Id` (integer) - `visit.mtoDisplay_Cd` (string,null) - `visit.truckVisit_Id` (integer) - `visit.truckvisitFeeResponsibleParty_Id` (integer) - `visit.responsiblePartyCompany_Uid` (string,null) - `visit.claimAllFees_Flg` (string,null) - `visit.visitDisplay_Nm` (string,null) - `visit.truckPlate_Num` (string,null) - `visit.rfiD_Cd` (string,null) - `visit.pool_Cd` (string,null) - `visit.apptPool_Id` (integer) - `visit.apptSlotSchedule_Id` (integer) - `visit.request_Identifier` (string,null) - `visit.request_Source` (string,null) - `visit.request_Source_Identifier` (string,null) - `visit.visitMoveDate` (string,null) - `visit.trucker_FirstName` (string,null) - `visit.messages` (array,null) - `visit.messages.severity` (integer) - `visit.messages.messageid` (string,null) - `visit.messages.messageseverity` (integer) Enum: 0, 1, 2, 3 - `visit.messages.messagetext` (string,null) - `visit.messages.messagedetail` (string,null) - `visit.messages.messageservicecd` (string,null) - `visit.createUser_Id` (integer) - `visit.create_DtTm` (string) - `visit.initialSS_Id` (integer) - `visit.userAction` (string,null) - `visit.visitBusn_Dt` (string) - `visit.visitFrom_Tm` (string) - `visit.visitTo_Tm` (string) - `visit.visitFrom_DtTm` (string) - `visit.visitTo_DtTm` (string) - `visit.company_Id` (integer) - `visit.company_Uid` (string,null) - `visit.isRecommendedSlot` (boolean) - `moves` (array,null) - `moves.moveUIId` (integer) - `moves.con_Cd` (string,null) - `moves.equipmentIso_Cd` (string,null) - `moves.gateAppt_Id` (integer) - `moves.slotScheduleTimeSlotRule_Id` (integer) - `moves.associatedPools` (string,null) - `moves.container_Num` (string,null) - `moves.apptType_Cd` (string,null) - `moves.apptType_Dsc` (string,null) - `moves.tradeType` (string,null) - `moves.cargoRef_Num` (string,null) - `moves.errSeverity_Ind` (integer) - `moves.overallSeverity_Ind` (integer) - `moves.cancelBy` (string,null) - `moves.vessel_Nm` (string,null) - `moves.voy_Num` (string,null) - `moves.dual_Flg` (string,null) - `moves.isDualTransactionOverrideCapacity` (boolean) - `moves.dualOverrideCapacity_Flg` (string,null) - `moves.lastModify_DtTm` (string) - `moves.apptTosStatus` (string,null) - `moves.terminalStatusCd` (string,null) - `moves.timeSlotMandatory` (boolean) - `moves.terminalStatusDesc` (string,null) - `moves.externalApptRef_Nbr` (string,null) - `moves.isHaz` (boolean) - `moves.isHaz_Old` (boolean) - `moves.isReefer_Old` (boolean) - `moves.isReefer` (boolean) - `moves.isOD_Old` (boolean) - `moves.isOD` (boolean) - `moves.isOwnChs` (boolean) - `moves.seal1_Num` (string,null) - `moves.seal2_Num` (string,null) - `moves.seal3_Num` (string,null) - `moves.seal4_Num` (string,null) - `moves.seal5_Num` (string,null) - `moves.seal6_Num` (string,null) - `moves.seal7_Num` (string,null) - `moves.seal8_Num` (string,null) - `moves.specialHandleInstr` (string,null) - `moves.apptStatus_Cd` (string,null) - `moves.tosApptStatus` (string,null) - `moves.apptStatus_Dsc` (string,null) - `moves.shippingLine_Cd` (string,null) - `moves.shippingLine_Nm` (string,null) - `moves.ship_Cd` (string,null) - `moves.pod` (string,null) - `moves.pdl` (string,null) - `moves.remarks` (string,null) - `moves.cancelByUser_Id` (integer) - `moves.gateApptCon_Id` (integer) - `moves.con_Num` (string,null) - `moves.chassis` (string,null) - `moves.chassis_Num` (string,null) - `moves.conChkDigit` (string,null) - `moves.container_Len` (integer) - `moves.conPrefix_Cd` (string,null) - `moves.shippingLine_Id` (integer) - `moves.piN_Num` (string,null) - `moves.genset_Num` (string,null) - `moves.sChassisWeight` (string,null) - `moves.specialInst` (string,null) - `moves.chassisSzTyp` (string,null) - `moves.move_Request_Identifier` (string,null) - `moves.mode` (string,null) - `moves.apptSlotScheduleDetails_Id` (integer) - `moves.availability` (any,null) - `moves.bookingEDOState` (object) - `moves.bookingEDOState.bookingEDO_Num` (string,null) - `moves.bookingEDOState.truckingCompany_SCAC` (string,null) - `moves.bookingEDOState.totalOrdered_Qty` (integer) - `moves.bookingEDOState.diff_Flg` (string,null) - `moves.bookingEDOState.equipmentSzTypeCd` (string,null) - `moves.bookingEDOState.ecpIdentifier` (string,null) - `moves.bookingEDOState.blockType_Cd` (string,null) - `moves.bookingEDOState.bookingEdoType_Cd` (string,null) - `moves.bookingEDOState.shippingLine_SCAC` (string,null) - `moves.bookingEDOState.usdaInspectionRequired_Flg` (boolean) - `moves.bookingEDOState.fumigationReqd_Flg` (boolean) - `moves.bookingEDOState.noSubstitution_Flg` (boolean) - `moves.bookingEDOState.cutoffOverride_Flg` (boolean) - `moves.bookingEDOState.containerGroup_Cd` (string,null) - `moves.bookingEDOState.truckerPool_Cd` (string,null) - `moves.bookingEDOState.dispatchStart_DtTm` (string,null) - `moves.bookingEDOState.dispatchEnd_DtTm` (string,null) - `moves.bookingEDOState.cargoCutOff_DtTm` (string,null) - `moves.bookingEDOState.beginRcvd_DtTm` (string,null) - `moves.bookingEDOState.reeferCutoff_DtTm` (string,null) - `moves.bookingEDOState.hazmatCutoff_DtTm` (string,null) - `moves.bookingEDOState.odCutoff_DtTm` (string,null) - `moves.bookingEDOState.dep_Dt` (string,null) - `moves.bookingEDOState.utcTerminalLastModified_DtTm` (string,null) - `moves.initialCTEU` (integer) - `moves.isoList` (array,null) - `moves.initialSSD_Id` (integer) - `moves.preExist` (boolean) - `moves.intialBookingEDO_Num` (string,null) - `moves.oldContainer_Num` (string,null) - `moves.moveIdentifier` (string) - `moves.newMoveIdentifier` (string) - `moves.isRebookAllowed` (boolean) - `moves.isRebookApplied` (boolean) - `moves.oldPIN_Num` (string,null) - `moves.offdkCarrTpInd` (boolean) - `moves.specialHandlingInstructions` (array,null) - `moves.specialHandlingInstructions.key` (string,null) - `moves.isCheckIn` (boolean) - `moves.ref_Type` (string,null) - `moves.sVgm_Weight` (string,null) - `moves.uom` (string,null) - `moves.sizeTypeList` (array,null) - `moves.preAdviceFlag` (boolean) - `moves.billofLadingNumber` (string,null) - `moves.isNextGenPregateWebCall` (boolean) - `moves.lloyds_Num` (string,null) - `moves.scaC_CD` (string,null) - `moves.truckingCompany_Nm` (string,null) - `moves.visibilityEndPoint` (string,null) - `moves.scacless` (string,null) - `generalMessages` (array,null) - `isDisplayFeeCat` (boolean) - `claimFeesCat` (array,null) - `claimFeesCat.feeCat` (string,null) - `claimFeesCat.isMandatory` (boolean) - `claimFeesCat.isChecked` (boolean) - `allowFeePayments` (boolean) - `feeItems` (array,null) - `feeItems.tariff_Id` (integer) - `feeItems.tariffFee_Id` (integer) - `feeItems.terminalFee_Cd` (integer) - `feeItems.fee_Id` (integer) - `feeItems.fee_Cd` (string,null) - `feeItems.fee_Dsc` (string,null) - `feeItems.fee_Amount` (number) - `feeItems.matchWeight` (integer) - `feeItems.moveType` (string,null) - `feeItems.feeExemption` (boolean) - `feeItems.tempMove_Id` (integer) - `feeItems.reschDisp` (string,null) - `feeItems.gateApptReschDisp` (integer) - `addToCartFeeCodes` (array,null) - `availableTerminalList` (array,null) ## Response 401 fields (application/json): - `type` (string,null) - `title` (string,null) - `status` (integer,null) - `detail` (string,null) - `instance` (string,null) ## Response 403 fields (application/json): - `type` (string,null) - `title` (string,null) - `status` (integer,null) - `detail` (string,null) - `instance` (string,null) ## Response 404 fields (application/json): - `type` (string,null) - `title` (string,null) - `status` (integer,null) - `detail` (string,null) - `instance` (string,null) ## Response 500 fields