'; out+='
'; if (data.Result.ErrorNumber > 0) { out += '

'; } else if (data.Result.ErrorMessage !== '' && data.Result.ErrorMessage != null) { //shipment not found out += '

'; } if (data.Result.Shipments != null) { for (var i = 0; i

'; out += '

'; if (shipment.shipper_city != null && shipment.shipper_city !== '') { out += '

'; } if (shipment.consignee_city != null && shipment.consignee_city !== '') { out += '

'; } out += '

'; if (shipment.signer != null && shipment.signer !== '') { out += '

'; } if (isShowImagesEnabled) { out += '

'; } } out += "

Error: ' + data.Result.ErrorNumber + ' (' + data.Result.ErrorMessage + ')
' + data.Result.ErrorMessage + '
HAWB: ' + shipment.hawb + '
PCS / WGT: ' + shipment.pieces + ' / ' + shipment.weight + ' LBS' + '
ORIGIN: ' + shipment.shipper_city + ', ' + displayEmptyForNull(shipment.shipper_state) + '
DESTINATION: ' + shipment.consignee_city + ', ' + displayEmptyForNull(shipment.consignee_state) + '
STATUS: ' + shipment.status + ' @ ' + shipment.status_datetime + '
SIGNED: ' + shipment.signer + '
IMAGE: '; if (shipment.images != null) { for (var i = 0; i Click for Image
'; } } } out += '

"; $("#results").html(out); }).fail(function (jqxhr, settings, ex) { $("#results").html(ex); }); //return information return true; } function displayEmptyForNull(data) { if (!data) return ''; else return data; }

Crown Data Systems API Template




Log into Crown Connect For More Detailed Information