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 | |