Trendsic Platform Service

<back to all web services

CourierHeldPingsRequest

Requires Authentication
The following routes are available for this service:
GET,OPTIONS/v1/dispatch/courier/held-pings
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;

public class dtos
{

    public static class CourierHeldPingsRequest
    {
        
    }

    public static class CourierOrderResponse
    {
        public ArrayList<CourierOrderView> Orders = new ArrayList<CourierOrderView>();
        public CourierOrderView Order = null;
        public String Message = null;
        public ResponseStatus ResponseStatus = null;
        
        public ArrayList<CourierOrderView> getOrders() { return Orders; }
        public CourierOrderResponse setOrders(ArrayList<CourierOrderView> value) { this.Orders = value; return this; }
        public CourierOrderView getOrder() { return Order; }
        public CourierOrderResponse setOrder(CourierOrderView value) { this.Order = value; return this; }
        public String getMessage() { return Message; }
        public CourierOrderResponse setMessage(String value) { this.Message = value; return this; }
        public ResponseStatus getResponseStatus() { return ResponseStatus; }
        public CourierOrderResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; }
    }

    public static class CourierOrderView
    {
        public Integer DispatchOdRequestID = null;
        public String Code = null;
        public Integer CourierProfileId = null;
        public String ProfileName = null;
        public String RouteShape = null;
        public String UnitOne = null;
        public String UnitMany = null;
        public Integer CourierFacilityId = null;
        public String FacilityName = null;
        public String ServiceLevelCode = null;
        public String LevelName = null;
        public String Source = null;
        public String Address = null;
        public String Unit = null;
        public String City = null;
        public String Zip = null;
        public String Zone = null;
        public String PickupContactName = null;
        public String DropoffAddress = null;
        public String DropoffUnit = null;
        public String DropoffCity = null;
        public String DropoffZip = null;
        public String DropoffContactName = null;
        public BigDecimal Miles = null;
        public Integer Units = null;
        public Integer UnitsFound = null;
        public String Stage = null;
        public String CourierStep = null;
        public String StepLabel = null;
        public String DriverCode = null;
        public String DriverName = null;
        public Integer DriverContactId = null;
        public Integer CourierRunId = null;
        public String RunCode = null;
        public Integer StopSequence = null;
        public Integer QueueSequence = null;
        public Boolean IsAsap = null;
        public Date WindowStartUtc = null;
        public Date WindowEndUtc = null;
        public String WindowText = null;
        public Date DueUtc = null;
        public String DueText = null;
        public Date PingAfterUtc = null;
        public Date PingExpiresUtc = null;
        public String CandidateCode = null;
        public String HeldReason = null;
        public Date HeldUtc = null;
        public String CustomerName = null;
        public String CustomerPhone = null;
        public String Handoff = null;
        public String GateCode = null;
        public String Instructions = null;
        public String DamageNote = null;
        public String DeliveredToName = null;
        public String PayMode = null;
        public BigDecimal Fare = null;
        public BigDecimal FinalPrice = null;
        public BigDecimal TipAmount = null;
        public String CancelledBy = null;
        public String CancelReason = null;
        public BigDecimal CancelFeeApplied = null;
        public BigDecimal MissedFeeApplied = null;
        public String CaptureMode = null;
        public BigDecimal AuthorizedAmount = null;
        public BigDecimal CapturedAmount = null;
        public BigDecimal RefundedAmount = null;
        public String ChargeError = null;
        public Date CreatedAt = null;
        public Date ArrivedUtc = null;
        public Date PickedUpUtc = null;
        public Date IntakeUtc = null;
        public Date ReadyUtc = null;
        public Date OutForDeliveryUtc = null;
        public Date DeliveredUtc = null;
        public Date MissedUtc = null;
        public Date CancelledUtc = null;
        public Boolean IsClosed = null;
        public Integer RebookOfId = null;
        public Integer RecurrenceId = null;
        public Integer PickupLoadId = null;
        public CourierOrderRuleView Rule = null;
        public ArrayList<CourierItemView> Items = new ArrayList<CourierItemView>();
        public ArrayList<CourierScanView> Scans = new ArrayList<CourierScanView>();
        public ArrayList<CourierProofResultView> Proof = new ArrayList<CourierProofResultView>();
        public ArrayList<CourierEventView> Events = new ArrayList<CourierEventView>();
        public ArrayList<CourierPhotoView> Photos = new ArrayList<CourierPhotoView>();
        public ArrayList<CourierPayLineView> PayLines = new ArrayList<CourierPayLineView>();
        
        public Integer getDispatchOdRequestID() { return DispatchOdRequestID; }
        public CourierOrderView setDispatchOdRequestID(Integer value) { this.DispatchOdRequestID = value; return this; }
        public String getCode() { return Code; }
        public CourierOrderView setCode(String value) { this.Code = value; return this; }
        public Integer getCourierProfileId() { return CourierProfileId; }
        public CourierOrderView setCourierProfileId(Integer value) { this.CourierProfileId = value; return this; }
        public String getProfileName() { return ProfileName; }
        public CourierOrderView setProfileName(String value) { this.ProfileName = value; return this; }
        public String getRouteShape() { return RouteShape; }
        public CourierOrderView setRouteShape(String value) { this.RouteShape = value; return this; }
        public String getUnitOne() { return UnitOne; }
        public CourierOrderView setUnitOne(String value) { this.UnitOne = value; return this; }
        public String getUnitMany() { return UnitMany; }
        public CourierOrderView setUnitMany(String value) { this.UnitMany = value; return this; }
        public Integer getCourierFacilityId() { return CourierFacilityId; }
        public CourierOrderView setCourierFacilityId(Integer value) { this.CourierFacilityId = value; return this; }
        public String getFacilityName() { return FacilityName; }
        public CourierOrderView setFacilityName(String value) { this.FacilityName = value; return this; }
        public String getServiceLevelCode() { return ServiceLevelCode; }
        public CourierOrderView setServiceLevelCode(String value) { this.ServiceLevelCode = value; return this; }
        public String getLevelName() { return LevelName; }
        public CourierOrderView setLevelName(String value) { this.LevelName = value; return this; }
        public String getSource() { return Source; }
        public CourierOrderView setSource(String value) { this.Source = value; return this; }
        public String getAddress() { return Address; }
        public CourierOrderView setAddress(String value) { this.Address = value; return this; }
        public String getUnit() { return Unit; }
        public CourierOrderView setUnit(String value) { this.Unit = value; return this; }
        public String getCity() { return City; }
        public CourierOrderView setCity(String value) { this.City = value; return this; }
        public String getZip() { return Zip; }
        public CourierOrderView setZip(String value) { this.Zip = value; return this; }
        public String getZone() { return Zone; }
        public CourierOrderView setZone(String value) { this.Zone = value; return this; }
        public String getPickupContactName() { return PickupContactName; }
        public CourierOrderView setPickupContactName(String value) { this.PickupContactName = value; return this; }
        public String getDropoffAddress() { return DropoffAddress; }
        public CourierOrderView setDropoffAddress(String value) { this.DropoffAddress = value; return this; }
        public String getDropoffUnit() { return DropoffUnit; }
        public CourierOrderView setDropoffUnit(String value) { this.DropoffUnit = value; return this; }
        public String getDropoffCity() { return DropoffCity; }
        public CourierOrderView setDropoffCity(String value) { this.DropoffCity = value; return this; }
        public String getDropoffZip() { return DropoffZip; }
        public CourierOrderView setDropoffZip(String value) { this.DropoffZip = value; return this; }
        public String getDropoffContactName() { return DropoffContactName; }
        public CourierOrderView setDropoffContactName(String value) { this.DropoffContactName = value; return this; }
        public BigDecimal getMiles() { return Miles; }
        public CourierOrderView setMiles(BigDecimal value) { this.Miles = value; return this; }
        public Integer getUnits() { return Units; }
        public CourierOrderView setUnits(Integer value) { this.Units = value; return this; }
        public Integer getUnitsFound() { return UnitsFound; }
        public CourierOrderView setUnitsFound(Integer value) { this.UnitsFound = value; return this; }
        public String getStage() { return Stage; }
        public CourierOrderView setStage(String value) { this.Stage = value; return this; }
        public String getCourierStep() { return CourierStep; }
        public CourierOrderView setCourierStep(String value) { this.CourierStep = value; return this; }
        public String getStepLabel() { return StepLabel; }
        public CourierOrderView setStepLabel(String value) { this.StepLabel = value; return this; }
        public String getDriverCode() { return DriverCode; }
        public CourierOrderView setDriverCode(String value) { this.DriverCode = value; return this; }
        public String getDriverName() { return DriverName; }
        public CourierOrderView setDriverName(String value) { this.DriverName = value; return this; }
        public Integer getDriverContactId() { return DriverContactId; }
        public CourierOrderView setDriverContactId(Integer value) { this.DriverContactId = value; return this; }
        public Integer getCourierRunId() { return CourierRunId; }
        public CourierOrderView setCourierRunId(Integer value) { this.CourierRunId = value; return this; }
        public String getRunCode() { return RunCode; }
        public CourierOrderView setRunCode(String value) { this.RunCode = value; return this; }
        public Integer getStopSequence() { return StopSequence; }
        public CourierOrderView setStopSequence(Integer value) { this.StopSequence = value; return this; }
        public Integer getQueueSequence() { return QueueSequence; }
        public CourierOrderView setQueueSequence(Integer value) { this.QueueSequence = value; return this; }
        public Boolean getIsAsap() { return IsAsap; }
        public CourierOrderView setIsAsap(Boolean value) { this.IsAsap = value; return this; }
        public Date getWindowStartUtc() { return WindowStartUtc; }
        public CourierOrderView setWindowStartUtc(Date value) { this.WindowStartUtc = value; return this; }
        public Date getWindowEndUtc() { return WindowEndUtc; }
        public CourierOrderView setWindowEndUtc(Date value) { this.WindowEndUtc = value; return this; }
        public String getWindowText() { return WindowText; }
        public CourierOrderView setWindowText(String value) { this.WindowText = value; return this; }
        public Date getDueUtc() { return DueUtc; }
        public CourierOrderView setDueUtc(Date value) { this.DueUtc = value; return this; }
        public String getDueText() { return DueText; }
        public CourierOrderView setDueText(String value) { this.DueText = value; return this; }
        public Date getPingAfterUtc() { return PingAfterUtc; }
        public CourierOrderView setPingAfterUtc(Date value) { this.PingAfterUtc = value; return this; }
        public Date getPingExpiresUtc() { return PingExpiresUtc; }
        public CourierOrderView setPingExpiresUtc(Date value) { this.PingExpiresUtc = value; return this; }
        public String getCandidateCode() { return CandidateCode; }
        public CourierOrderView setCandidateCode(String value) { this.CandidateCode = value; return this; }
        public String getHeldReason() { return HeldReason; }
        public CourierOrderView setHeldReason(String value) { this.HeldReason = value; return this; }
        public Date getHeldUtc() { return HeldUtc; }
        public CourierOrderView setHeldUtc(Date value) { this.HeldUtc = value; return this; }
        public String getCustomerName() { return CustomerName; }
        public CourierOrderView setCustomerName(String value) { this.CustomerName = value; return this; }
        public String getCustomerPhone() { return CustomerPhone; }
        public CourierOrderView setCustomerPhone(String value) { this.CustomerPhone = value; return this; }
        public String getHandoff() { return Handoff; }
        public CourierOrderView setHandoff(String value) { this.Handoff = value; return this; }
        public String getGateCode() { return GateCode; }
        public CourierOrderView setGateCode(String value) { this.GateCode = value; return this; }
        public String getInstructions() { return Instructions; }
        public CourierOrderView setInstructions(String value) { this.Instructions = value; return this; }
        public String getDamageNote() { return DamageNote; }
        public CourierOrderView setDamageNote(String value) { this.DamageNote = value; return this; }
        public String getDeliveredToName() { return DeliveredToName; }
        public CourierOrderView setDeliveredToName(String value) { this.DeliveredToName = value; return this; }
        public String getPayMode() { return PayMode; }
        public CourierOrderView setPayMode(String value) { this.PayMode = value; return this; }
        public BigDecimal getFare() { return Fare; }
        public CourierOrderView setFare(BigDecimal value) { this.Fare = value; return this; }
        public BigDecimal getFinalPrice() { return FinalPrice; }
        public CourierOrderView setFinalPrice(BigDecimal value) { this.FinalPrice = value; return this; }
        public BigDecimal getTipAmount() { return TipAmount; }
        public CourierOrderView setTipAmount(BigDecimal value) { this.TipAmount = value; return this; }
        public String getCancelledBy() { return CancelledBy; }
        public CourierOrderView setCancelledBy(String value) { this.CancelledBy = value; return this; }
        public String getCancelReason() { return CancelReason; }
        public CourierOrderView setCancelReason(String value) { this.CancelReason = value; return this; }
        public BigDecimal getCancelFeeApplied() { return CancelFeeApplied; }
        public CourierOrderView setCancelFeeApplied(BigDecimal value) { this.CancelFeeApplied = value; return this; }
        public BigDecimal getMissedFeeApplied() { return MissedFeeApplied; }
        public CourierOrderView setMissedFeeApplied(BigDecimal value) { this.MissedFeeApplied = value; return this; }
        public String getCaptureMode() { return CaptureMode; }
        public CourierOrderView setCaptureMode(String value) { this.CaptureMode = value; return this; }
        public BigDecimal getAuthorizedAmount() { return AuthorizedAmount; }
        public CourierOrderView setAuthorizedAmount(BigDecimal value) { this.AuthorizedAmount = value; return this; }
        public BigDecimal getCapturedAmount() { return CapturedAmount; }
        public CourierOrderView setCapturedAmount(BigDecimal value) { this.CapturedAmount = value; return this; }
        public BigDecimal getRefundedAmount() { return RefundedAmount; }
        public CourierOrderView setRefundedAmount(BigDecimal value) { this.RefundedAmount = value; return this; }
        public String getChargeError() { return ChargeError; }
        public CourierOrderView setChargeError(String value) { this.ChargeError = value; return this; }
        public Date getCreatedAt() { return CreatedAt; }
        public CourierOrderView setCreatedAt(Date value) { this.CreatedAt = value; return this; }
        public Date getArrivedUtc() { return ArrivedUtc; }
        public CourierOrderView setArrivedUtc(Date value) { this.ArrivedUtc = value; return this; }
        public Date getPickedUpUtc() { return PickedUpUtc; }
        public CourierOrderView setPickedUpUtc(Date value) { this.PickedUpUtc = value; return this; }
        public Date getIntakeUtc() { return IntakeUtc; }
        public CourierOrderView setIntakeUtc(Date value) { this.IntakeUtc = value; return this; }
        public Date getReadyUtc() { return ReadyUtc; }
        public CourierOrderView setReadyUtc(Date value) { this.ReadyUtc = value; return this; }
        public Date getOutForDeliveryUtc() { return OutForDeliveryUtc; }
        public CourierOrderView setOutForDeliveryUtc(Date value) { this.OutForDeliveryUtc = value; return this; }
        public Date getDeliveredUtc() { return DeliveredUtc; }
        public CourierOrderView setDeliveredUtc(Date value) { this.DeliveredUtc = value; return this; }
        public Date getMissedUtc() { return MissedUtc; }
        public CourierOrderView setMissedUtc(Date value) { this.MissedUtc = value; return this; }
        public Date getCancelledUtc() { return CancelledUtc; }
        public CourierOrderView setCancelledUtc(Date value) { this.CancelledUtc = value; return this; }
        public Boolean getIsClosed() { return IsClosed; }
        public CourierOrderView setIsClosed(Boolean value) { this.IsClosed = value; return this; }
        public Integer getRebookOfId() { return RebookOfId; }
        public CourierOrderView setRebookOfId(Integer value) { this.RebookOfId = value; return this; }
        public Integer getRecurrenceId() { return RecurrenceId; }
        public CourierOrderView setRecurrenceId(Integer value) { this.RecurrenceId = value; return this; }
        public Integer getPickupLoadId() { return PickupLoadId; }
        public CourierOrderView setPickupLoadId(Integer value) { this.PickupLoadId = value; return this; }
        public CourierOrderRuleView getRule() { return Rule; }
        public CourierOrderView setRule(CourierOrderRuleView value) { this.Rule = value; return this; }
        public ArrayList<CourierItemView> getItems() { return Items; }
        public CourierOrderView setItems(ArrayList<CourierItemView> value) { this.Items = value; return this; }
        public ArrayList<CourierScanView> getScans() { return Scans; }
        public CourierOrderView setScans(ArrayList<CourierScanView> value) { this.Scans = value; return this; }
        public ArrayList<CourierProofResultView> getProof() { return Proof; }
        public CourierOrderView setProof(ArrayList<CourierProofResultView> value) { this.Proof = value; return this; }
        public ArrayList<CourierEventView> getEvents() { return Events; }
        public CourierOrderView setEvents(ArrayList<CourierEventView> value) { this.Events = value; return this; }
        public ArrayList<CourierPhotoView> getPhotos() { return Photos; }
        public CourierOrderView setPhotos(ArrayList<CourierPhotoView> value) { this.Photos = value; return this; }
        public ArrayList<CourierPayLineView> getPayLines() { return PayLines; }
        public CourierOrderView setPayLines(ArrayList<CourierPayLineView> value) { this.PayLines = value; return this; }
    }

    public static class CourierOrderRuleView
    {
        public Integer PingSecs = null;
        public Integer MissedWaitMin = null;
        public BigDecimal MissedFee = null;
        public BigDecimal CancelFee = null;
        public Boolean MissedAutoRebook = null;
        public Boolean MissedRequireContact = null;
        public Boolean MissedRequirePhoto = null;
        public String PayTiming = null;
        public Boolean FinalPriceAfterCount = null;
        public String PayPlanName = null;
        public BigDecimal PerPickup = null;
        public BigDecimal PerStop = null;
        public BigDecimal PerMissed = null;
        public BigDecimal PerCancel = null;
        public Date AcceptedUtc = null;
        public HashMap<String,String> Proof = new HashMap<String,String>();
        
        public Integer getPingSecs() { return PingSecs; }
        public CourierOrderRuleView setPingSecs(Integer value) { this.PingSecs = value; return this; }
        public Integer getMissedWaitMin() { return MissedWaitMin; }
        public CourierOrderRuleView setMissedWaitMin(Integer value) { this.MissedWaitMin = value; return this; }
        public BigDecimal getMissedFee() { return MissedFee; }
        public CourierOrderRuleView setMissedFee(BigDecimal value) { this.MissedFee = value; return this; }
        public BigDecimal getCancelFee() { return CancelFee; }
        public CourierOrderRuleView setCancelFee(BigDecimal value) { this.CancelFee = value; return this; }
        public Boolean isMissedAutoRebook() { return MissedAutoRebook; }
        public CourierOrderRuleView setMissedAutoRebook(Boolean value) { this.MissedAutoRebook = value; return this; }
        public Boolean isMissedRequireContact() { return MissedRequireContact; }
        public CourierOrderRuleView setMissedRequireContact(Boolean value) { this.MissedRequireContact = value; return this; }
        public Boolean isMissedRequirePhoto() { return MissedRequirePhoto; }
        public CourierOrderRuleView setMissedRequirePhoto(Boolean value) { this.MissedRequirePhoto = value; return this; }
        public String getPayTiming() { return PayTiming; }
        public CourierOrderRuleView setPayTiming(String value) { this.PayTiming = value; return this; }
        public Boolean isFinalPriceAfterCount() { return FinalPriceAfterCount; }
        public CourierOrderRuleView setFinalPriceAfterCount(Boolean value) { this.FinalPriceAfterCount = value; return this; }
        public String getPayPlanName() { return PayPlanName; }
        public CourierOrderRuleView setPayPlanName(String value) { this.PayPlanName = value; return this; }
        public BigDecimal getPerPickup() { return PerPickup; }
        public CourierOrderRuleView setPerPickup(BigDecimal value) { this.PerPickup = value; return this; }
        public BigDecimal getPerStop() { return PerStop; }
        public CourierOrderRuleView setPerStop(BigDecimal value) { this.PerStop = value; return this; }
        public BigDecimal getPerMissed() { return PerMissed; }
        public CourierOrderRuleView setPerMissed(BigDecimal value) { this.PerMissed = value; return this; }
        public BigDecimal getPerCancel() { return PerCancel; }
        public CourierOrderRuleView setPerCancel(BigDecimal value) { this.PerCancel = value; return this; }
        public Date getAcceptedUtc() { return AcceptedUtc; }
        public CourierOrderRuleView setAcceptedUtc(Date value) { this.AcceptedUtc = value; return this; }
        public HashMap<String,String> getProof() { return Proof; }
        public CourierOrderRuleView setProof(HashMap<String,String> value) { this.Proof = value; return this; }
    }

    public static class CourierItemView
    {
        public Integer CourierItemID = null;
        public Integer DispatchOdRequestID = null;
        public Integer Seq = null;
        public String TagCode = null;
        public String Custody = null;
        public Boolean IsOpen = null;
        public Boolean IsMissing = null;
        public String MissingReason = null;
        public Boolean IsManual = null;
        public Boolean ReTagFlag = null;
        public Boolean Scanned = null;
        
        public Integer getCourierItemID() { return CourierItemID; }
        public CourierItemView setCourierItemID(Integer value) { this.CourierItemID = value; return this; }
        public Integer getDispatchOdRequestID() { return DispatchOdRequestID; }
        public CourierItemView setDispatchOdRequestID(Integer value) { this.DispatchOdRequestID = value; return this; }
        public Integer getSeq() { return Seq; }
        public CourierItemView setSeq(Integer value) { this.Seq = value; return this; }
        public String getTagCode() { return TagCode; }
        public CourierItemView setTagCode(String value) { this.TagCode = value; return this; }
        public String getCustody() { return Custody; }
        public CourierItemView setCustody(String value) { this.Custody = value; return this; }
        public Boolean getIsOpen() { return IsOpen; }
        public CourierItemView setIsOpen(Boolean value) { this.IsOpen = value; return this; }
        public Boolean getIsMissing() { return IsMissing; }
        public CourierItemView setIsMissing(Boolean value) { this.IsMissing = value; return this; }
        public String getMissingReason() { return MissingReason; }
        public CourierItemView setMissingReason(String value) { this.MissingReason = value; return this; }
        public Boolean getIsManual() { return IsManual; }
        public CourierItemView setIsManual(Boolean value) { this.IsManual = value; return this; }
        public Boolean isReTagFlag() { return ReTagFlag; }
        public CourierItemView setReTagFlag(Boolean value) { this.ReTagFlag = value; return this; }
        public Boolean isScanned() { return Scanned; }
        public CourierItemView setScanned(Boolean value) { this.Scanned = value; return this; }
    }

    public static class CourierScanView
    {
        public String TagCode = null;
        public String Stage = null;
        public String Result = null;
        public Date AtUtc = null;
        
        public String getTagCode() { return TagCode; }
        public CourierScanView setTagCode(String value) { this.TagCode = value; return this; }
        public String getStage() { return Stage; }
        public CourierScanView setStage(String value) { this.Stage = value; return this; }
        public String getResult() { return Result; }
        public CourierScanView setResult(String value) { this.Result = value; return this; }
        public Date getAtUtc() { return AtUtc; }
        public CourierScanView setAtUtc(Date value) { this.AtUtc = value; return this; }
    }

    public static class CourierProofResultView
    {
        public String Stage = null;
        public String StepKey = null;
        public String Value = null;
        public Date AtUtc = null;
        
        public String getStage() { return Stage; }
        public CourierProofResultView setStage(String value) { this.Stage = value; return this; }
        public String getStepKey() { return StepKey; }
        public CourierProofResultView setStepKey(String value) { this.StepKey = value; return this; }
        public String getValue() { return Value; }
        public CourierProofResultView setValue(String value) { this.Value = value; return this; }
        public Date getAtUtc() { return AtUtc; }
        public CourierProofResultView setAtUtc(Date value) { this.AtUtc = value; return this; }
    }

    public static class CourierEventView
    {
        public String Kind = null;
        public String Party = null;
        public String Body = null;
        public Date AtUtc = null;
        
        public String getKind() { return Kind; }
        public CourierEventView setKind(String value) { this.Kind = value; return this; }
        public String getParty() { return Party; }
        public CourierEventView setParty(String value) { this.Party = value; return this; }
        public String getBody() { return Body; }
        public CourierEventView setBody(String value) { this.Body = value; return this; }
        public Date getAtUtc() { return AtUtc; }
        public CourierEventView setAtUtc(Date value) { this.AtUtc = value; return this; }
    }

    public static class CourierPhotoView
    {
        public Integer PhotoId = null;
        public String Kind = null;
        public String FileName = null;
        public String Url = null;
        public Date TakenUtc = null;
        
        public Integer getPhotoId() { return PhotoId; }
        public CourierPhotoView setPhotoId(Integer value) { this.PhotoId = value; return this; }
        public String getKind() { return Kind; }
        public CourierPhotoView setKind(String value) { this.Kind = value; return this; }
        public String getFileName() { return FileName; }
        public CourierPhotoView setFileName(String value) { this.FileName = value; return this; }
        public String getUrl() { return Url; }
        public CourierPhotoView setUrl(String value) { this.Url = value; return this; }
        public Date getTakenUtc() { return TakenUtc; }
        public CourierPhotoView setTakenUtc(Date value) { this.TakenUtc = value; return this; }
    }

    public static class CourierPayLineView
    {
        public Integer DispatchLoadID = null;
        public String Kind = null;
        public String Label = null;
        public BigDecimal Qty = null;
        public BigDecimal Rate = null;
        public BigDecimal Amount = null;
        
        public Integer getDispatchLoadID() { return DispatchLoadID; }
        public CourierPayLineView setDispatchLoadID(Integer value) { this.DispatchLoadID = value; return this; }
        public String getKind() { return Kind; }
        public CourierPayLineView setKind(String value) { this.Kind = value; return this; }
        public String getLabel() { return Label; }
        public CourierPayLineView setLabel(String value) { this.Label = value; return this; }
        public BigDecimal getQty() { return Qty; }
        public CourierPayLineView setQty(BigDecimal value) { this.Qty = value; return this; }
        public BigDecimal getRate() { return Rate; }
        public CourierPayLineView setRate(BigDecimal value) { this.Rate = value; return this; }
        public BigDecimal getAmount() { return Amount; }
        public CourierPayLineView setAmount(BigDecimal value) { this.Amount = value; return this; }
    }

}

Java CourierHeldPingsRequest DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /v1/dispatch/courier/held-pings HTTP/1.1 
Host: api.dev.dynamics.trendsic.com 
Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"Orders":[{"DispatchOdRequestID":0,"Code":"String","CourierProfileId":0,"ProfileName":"String","RouteShape":"String","UnitOne":"String","UnitMany":"String","CourierFacilityId":0,"FacilityName":"String","ServiceLevelCode":"String","LevelName":"String","Source":"String","Address":"String","Unit":"String","City":"String","Zip":"String","Zone":"String","PickupContactName":"String","DropoffAddress":"String","DropoffUnit":"String","DropoffCity":"String","DropoffZip":"String","DropoffContactName":"String","Miles":0,"Units":0,"UnitsFound":0,"Stage":"String","CourierStep":"String","StepLabel":"String","DriverCode":"String","DriverName":"String","DriverContactId":0,"CourierRunId":0,"RunCode":"String","StopSequence":0,"QueueSequence":0,"IsAsap":false,"WindowStartUtc":"0001-01-01T00:00:00.0000000","WindowEndUtc":"0001-01-01T00:00:00.0000000","WindowText":"String","DueUtc":"0001-01-01T00:00:00.0000000","DueText":"String","PingAfterUtc":"0001-01-01T00:00:00.0000000","PingExpiresUtc":"0001-01-01T00:00:00.0000000","CandidateCode":"String","HeldReason":"String","HeldUtc":"0001-01-01T00:00:00.0000000","CustomerName":"String","CustomerPhone":"String","Handoff":"String","GateCode":"String","Instructions":"String","DamageNote":"String","DeliveredToName":"String","PayMode":"String","Fare":0,"FinalPrice":0,"TipAmount":0,"CancelledBy":"String","CancelReason":"String","CancelFeeApplied":0,"MissedFeeApplied":0,"CaptureMode":"String","AuthorizedAmount":0,"CapturedAmount":0,"RefundedAmount":0,"ChargeError":"String","CreatedAt":"0001-01-01T00:00:00.0000000","ArrivedUtc":"0001-01-01T00:00:00.0000000","PickedUpUtc":"0001-01-01T00:00:00.0000000","IntakeUtc":"0001-01-01T00:00:00.0000000","ReadyUtc":"0001-01-01T00:00:00.0000000","OutForDeliveryUtc":"0001-01-01T00:00:00.0000000","DeliveredUtc":"0001-01-01T00:00:00.0000000","MissedUtc":"0001-01-01T00:00:00.0000000","CancelledUtc":"0001-01-01T00:00:00.0000000","IsClosed":false,"RebookOfId":0,"RecurrenceId":0,"PickupLoadId":0,"Rule":{"PingSecs":0,"MissedWaitMin":0,"MissedFee":0,"CancelFee":0,"MissedAutoRebook":false,"MissedRequireContact":false,"MissedRequirePhoto":false,"PayTiming":"String","FinalPriceAfterCount":false,"PayPlanName":"String","PerPickup":0,"PerStop":0,"PerMissed":0,"PerCancel":0,"AcceptedUtc":"0001-01-01T00:00:00.0000000","Proof":{"String":"String"}},"Items":[{"CourierItemID":0,"DispatchOdRequestID":0,"Seq":0,"TagCode":"String","Custody":"String","IsOpen":false,"IsMissing":false,"MissingReason":"String","IsManual":false,"ReTagFlag":false,"Scanned":false}],"Scans":[{"TagCode":"String","Stage":"String","Result":"String","AtUtc":"0001-01-01T00:00:00.0000000"}],"Proof":[{"Stage":"String","StepKey":"String","Value":"String","AtUtc":"0001-01-01T00:00:00.0000000"}],"Events":[{"Kind":"String","Party":"String","Body":"String","AtUtc":"0001-01-01T00:00:00.0000000"}],"Photos":[{"PhotoId":0,"Kind":"String","FileName":"String","Url":"String","TakenUtc":"0001-01-01T00:00:00.0000000"}],"PayLines":[{"DispatchLoadID":0,"Kind":"String","Label":"String","Qty":0,"Rate":0,"Amount":0}]}],"Order":{"DispatchOdRequestID":0,"Code":"String","CourierProfileId":0,"ProfileName":"String","RouteShape":"String","UnitOne":"String","UnitMany":"String","CourierFacilityId":0,"FacilityName":"String","ServiceLevelCode":"String","LevelName":"String","Source":"String","Address":"String","Unit":"String","City":"String","Zip":"String","Zone":"String","PickupContactName":"String","DropoffAddress":"String","DropoffUnit":"String","DropoffCity":"String","DropoffZip":"String","DropoffContactName":"String","Miles":0,"Units":0,"UnitsFound":0,"Stage":"String","CourierStep":"String","StepLabel":"String","DriverCode":"String","DriverName":"String","DriverContactId":0,"CourierRunId":0,"RunCode":"String","StopSequence":0,"QueueSequence":0,"IsAsap":false,"WindowStartUtc":"0001-01-01T00:00:00.0000000","WindowEndUtc":"0001-01-01T00:00:00.0000000","WindowText":"String","DueUtc":"0001-01-01T00:00:00.0000000","DueText":"String","PingAfterUtc":"0001-01-01T00:00:00.0000000","PingExpiresUtc":"0001-01-01T00:00:00.0000000","CandidateCode":"String","HeldReason":"String","HeldUtc":"0001-01-01T00:00:00.0000000","CustomerName":"String","CustomerPhone":"String","Handoff":"String","GateCode":"String","Instructions":"String","DamageNote":"String","DeliveredToName":"String","PayMode":"String","Fare":0,"FinalPrice":0,"TipAmount":0,"CancelledBy":"String","CancelReason":"String","CancelFeeApplied":0,"MissedFeeApplied":0,"CaptureMode":"String","AuthorizedAmount":0,"CapturedAmount":0,"RefundedAmount":0,"ChargeError":"String","CreatedAt":"0001-01-01T00:00:00.0000000","ArrivedUtc":"0001-01-01T00:00:00.0000000","PickedUpUtc":"0001-01-01T00:00:00.0000000","IntakeUtc":"0001-01-01T00:00:00.0000000","ReadyUtc":"0001-01-01T00:00:00.0000000","OutForDeliveryUtc":"0001-01-01T00:00:00.0000000","DeliveredUtc":"0001-01-01T00:00:00.0000000","MissedUtc":"0001-01-01T00:00:00.0000000","CancelledUtc":"0001-01-01T00:00:00.0000000","IsClosed":false,"RebookOfId":0,"RecurrenceId":0,"PickupLoadId":0,"Rule":{"PingSecs":0,"MissedWaitMin":0,"MissedFee":0,"CancelFee":0,"MissedAutoRebook":false,"MissedRequireContact":false,"MissedRequirePhoto":false,"PayTiming":"String","FinalPriceAfterCount":false,"PayPlanName":"String","PerPickup":0,"PerStop":0,"PerMissed":0,"PerCancel":0,"AcceptedUtc":"0001-01-01T00:00:00.0000000","Proof":{"String":"String"}},"Items":[{"CourierItemID":0,"DispatchOdRequestID":0,"Seq":0,"TagCode":"String","Custody":"String","IsOpen":false,"IsMissing":false,"MissingReason":"String","IsManual":false,"ReTagFlag":false,"Scanned":false}],"Scans":[{"TagCode":"String","Stage":"String","Result":"String","AtUtc":"0001-01-01T00:00:00.0000000"}],"Proof":[{"Stage":"String","StepKey":"String","Value":"String","AtUtc":"0001-01-01T00:00:00.0000000"}],"Events":[{"Kind":"String","Party":"String","Body":"String","AtUtc":"0001-01-01T00:00:00.0000000"}],"Photos":[{"PhotoId":0,"Kind":"String","FileName":"String","Url":"String","TakenUtc":"0001-01-01T00:00:00.0000000"}],"PayLines":[{"DispatchLoadID":0,"Kind":"String","Label":"String","Qty":0,"Rate":0,"Amount":0}]},"Message":"String","ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}