Trendsic Platform Service

<back to all web services

CourierPhotoRemoveRequest

Requires Authentication
The following routes are available for this service:
DELETE,OPTIONS/v1/worker/dispatch/od/{Code}/photo/{PhotoId}
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;

public class dtos
{

    public static class CourierPhotoRemoveRequest
    {
        public String Code = null;
        public Integer PhotoId = null;
        
        public String getCode() { return Code; }
        public CourierPhotoRemoveRequest setCode(String value) { this.Code = value; return this; }
        public Integer getPhotoId() { return PhotoId; }
        public CourierPhotoRemoveRequest setPhotoId(Integer value) { this.PhotoId = value; return this; }
    }

    public static class CourierDriverResponse
    {
        public CourierDriverView Courier = null;
        public Date ServerUtc = null;
        public String Result = null;
        public String Detail = null;
        public String Message = null;
        public Integer PhotoId = null;
        public ResponseStatus ResponseStatus = null;
        
        public CourierDriverView getCourier() { return Courier; }
        public CourierDriverResponse setCourier(CourierDriverView value) { this.Courier = value; return this; }
        public Date getServerUtc() { return ServerUtc; }
        public CourierDriverResponse setServerUtc(Date value) { this.ServerUtc = value; return this; }
        public String getResult() { return Result; }
        public CourierDriverResponse setResult(String value) { this.Result = value; return this; }
        public String getDetail() { return Detail; }
        public CourierDriverResponse setDetail(String value) { this.Detail = value; return this; }
        public String getMessage() { return Message; }
        public CourierDriverResponse setMessage(String value) { this.Message = value; return this; }
        public Integer getPhotoId() { return PhotoId; }
        public CourierDriverResponse setPhotoId(Integer value) { this.PhotoId = value; return this; }
        public ResponseStatus getResponseStatus() { return ResponseStatus; }
        public CourierDriverResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; }
    }

    public static class CourierDriverView
    {
        public String DriverCode = null;
        public String Name = null;
        public Boolean Online = null;
        public Boolean OnRoster = null;
        public CourierVanView Van = null;
        public CourierDriverOrder Current = null;
        public ArrayList<CourierDriverOrder> Queue = new ArrayList<CourierDriverOrder>();
        public ArrayList<CourierDriverOrder> Aboard = new ArrayList<CourierDriverOrder>();
        public ArrayList<CourierRunView> Runs = new ArrayList<CourierRunView>();
        public CourierDriverOrder UpNext = null;
        public BigDecimal RadiusMi = null;
        public BigDecimal PingRadiusMi = null;
        public Date PingRadiusUntilUtc = null;
        public Boolean HideAddressesInHistory = null;
        
        public String getDriverCode() { return DriverCode; }
        public CourierDriverView setDriverCode(String value) { this.DriverCode = value; return this; }
        public String getName() { return Name; }
        public CourierDriverView setName(String value) { this.Name = value; return this; }
        public Boolean isOnline() { return Online; }
        public CourierDriverView setOnline(Boolean value) { this.Online = value; return this; }
        public Boolean isOnRoster() { return OnRoster; }
        public CourierDriverView setOnRoster(Boolean value) { this.OnRoster = value; return this; }
        public CourierVanView getVan() { return Van; }
        public CourierDriverView setVan(CourierVanView value) { this.Van = value; return this; }
        public CourierDriverOrder getCurrent() { return Current; }
        public CourierDriverView setCurrent(CourierDriverOrder value) { this.Current = value; return this; }
        public ArrayList<CourierDriverOrder> getQueue() { return Queue; }
        public CourierDriverView setQueue(ArrayList<CourierDriverOrder> value) { this.Queue = value; return this; }
        public ArrayList<CourierDriverOrder> getAboard() { return Aboard; }
        public CourierDriverView setAboard(ArrayList<CourierDriverOrder> value) { this.Aboard = value; return this; }
        public ArrayList<CourierRunView> getRuns() { return Runs; }
        public CourierDriverView setRuns(ArrayList<CourierRunView> value) { this.Runs = value; return this; }
        public CourierDriverOrder getUpNext() { return UpNext; }
        public CourierDriverView setUpNext(CourierDriverOrder value) { this.UpNext = value; return this; }
        public BigDecimal getRadiusMi() { return RadiusMi; }
        public CourierDriverView setRadiusMi(BigDecimal value) { this.RadiusMi = value; return this; }
        public BigDecimal getPingRadiusMi() { return PingRadiusMi; }
        public CourierDriverView setPingRadiusMi(BigDecimal value) { this.PingRadiusMi = value; return this; }
        public Date getPingRadiusUntilUtc() { return PingRadiusUntilUtc; }
        public CourierDriverView setPingRadiusUntilUtc(Date value) { this.PingRadiusUntilUtc = value; return this; }
        public Boolean isHideAddressesInHistory() { return HideAddressesInHistory; }
        public CourierDriverView setHideAddressesInHistory(Boolean value) { this.HideAddressesInHistory = value; return this; }
    }

    public static class CourierVanView
    {
        public String State = null;
        public Date LeaveByUtc = null;
        public String LeaveByText = null;
        public Integer SlackMin = null;
        public Integer InVan = null;
        public Integer Committed = null;
        public BigDecimal Delivery = null;
        public BigDecimal Cap = null;
        public String CapUnit = null;
        public String VehicleUnit = null;
        public String CriticalCode = null;
        public Integer DriveMin = null;
        public String FacilityName = null;
        public String SendNote = null;
        public Integer GoMin = null;
        public Integer LastMin = null;
        public Integer NearFull = null;
        public Integer MarginMin = null;
        public Integer IntakeMin = null;
        public String FacilityAddress = null;
        public BigDecimal FacilityLat = null;
        public BigDecimal FacilityLng = null;
        
        public String getState() { return State; }
        public CourierVanView setState(String value) { this.State = value; return this; }
        public Date getLeaveByUtc() { return LeaveByUtc; }
        public CourierVanView setLeaveByUtc(Date value) { this.LeaveByUtc = value; return this; }
        public String getLeaveByText() { return LeaveByText; }
        public CourierVanView setLeaveByText(String value) { this.LeaveByText = value; return this; }
        public Integer getSlackMin() { return SlackMin; }
        public CourierVanView setSlackMin(Integer value) { this.SlackMin = value; return this; }
        public Integer getInVan() { return InVan; }
        public CourierVanView setInVan(Integer value) { this.InVan = value; return this; }
        public Integer getCommitted() { return Committed; }
        public CourierVanView setCommitted(Integer value) { this.Committed = value; return this; }
        public BigDecimal getDelivery() { return Delivery; }
        public CourierVanView setDelivery(BigDecimal value) { this.Delivery = value; return this; }
        public BigDecimal getCap() { return Cap; }
        public CourierVanView setCap(BigDecimal value) { this.Cap = value; return this; }
        public String getCapUnit() { return CapUnit; }
        public CourierVanView setCapUnit(String value) { this.CapUnit = value; return this; }
        public String getVehicleUnit() { return VehicleUnit; }
        public CourierVanView setVehicleUnit(String value) { this.VehicleUnit = value; return this; }
        public String getCriticalCode() { return CriticalCode; }
        public CourierVanView setCriticalCode(String value) { this.CriticalCode = value; return this; }
        public Integer getDriveMin() { return DriveMin; }
        public CourierVanView setDriveMin(Integer value) { this.DriveMin = value; return this; }
        public String getFacilityName() { return FacilityName; }
        public CourierVanView setFacilityName(String value) { this.FacilityName = value; return this; }
        public String getSendNote() { return SendNote; }
        public CourierVanView setSendNote(String value) { this.SendNote = value; return this; }
        public Integer getGoMin() { return GoMin; }
        public CourierVanView setGoMin(Integer value) { this.GoMin = value; return this; }
        public Integer getLastMin() { return LastMin; }
        public CourierVanView setLastMin(Integer value) { this.LastMin = value; return this; }
        public Integer getNearFull() { return NearFull; }
        public CourierVanView setNearFull(Integer value) { this.NearFull = value; return this; }
        public Integer getMarginMin() { return MarginMin; }
        public CourierVanView setMarginMin(Integer value) { this.MarginMin = value; return this; }
        public Integer getIntakeMin() { return IntakeMin; }
        public CourierVanView setIntakeMin(Integer value) { this.IntakeMin = value; return this; }
        public String getFacilityAddress() { return FacilityAddress; }
        public CourierVanView setFacilityAddress(String value) { this.FacilityAddress = value; return this; }
        public BigDecimal getFacilityLat() { return FacilityLat; }
        public CourierVanView setFacilityLat(BigDecimal value) { this.FacilityLat = value; return this; }
        public BigDecimal getFacilityLng() { return FacilityLng; }
        public CourierVanView setFacilityLng(BigDecimal value) { this.FacilityLng = value; return this; }
    }

    public static class CourierDriverOrder
    {
        public String Code = null;
        public String CourierStep = null;
        public String RouteShape = null;
        public String ProfileName = null;
        public String UnitOne = null;
        public String UnitMany = null;
        public String FacilityNoun = null;
        public String FacilityName = null;
        public String LevelName = null;
        public Date DueUtc = null;
        public String DueText = null;
        public Integer Units = null;
        public Integer UnitsFound = null;
        public String Area = null;
        public Integer Minutes = null;
        public String Address = null;
        public String Unit = null;
        public String City = null;
        public String Zip = null;
        public Integer CourierFacilityId = null;
        public BigDecimal Lat = null;
        public BigDecimal Lng = null;
        public String CustomerName = null;
        public String CustomerPhone = null;
        public String Handoff = null;
        public String GateCode = null;
        public String Instructions = null;
        public String DropoffAddress = null;
        public String DropoffContactName = null;
        public BigDecimal DropLat = null;
        public BigDecimal DropLng = null;
        public Date ArrivedUtc = null;
        public ArrayList<CourierItemView> Tags = new ArrayList<CourierItemView>();
        public HashMap<String,String> Proof = new HashMap<String,String>();
        public HashMap<String,Integer> Photos = new HashMap<String,Integer>();
        public ArrayList<String> Needs = new ArrayList<String>();
        public Integer MissedWaitMin = null;
        public Boolean MissedRequireContact = null;
        public Boolean MissedRequirePhoto = null;
        public BigDecimal MissedFee = null;
        public Integer DispatchOdRequestID = null;
        public String UnitOneEs = null;
        public String UnitManyEs = null;
        public String FacilityNounEs = null;
        public BigDecimal PerPickup = null;
        public Integer WaitAfterMin = null;
        public BigDecimal WaitPerMin = null;
        public String DropoffZip = null;
        public String DamageNote = null;
        public Date PickedUpUtc = null;
        public ArrayList<CourierPhotoView> PhotoList = new ArrayList<CourierPhotoView>();
        
        public String getCode() { return Code; }
        public CourierDriverOrder setCode(String value) { this.Code = value; return this; }
        public String getCourierStep() { return CourierStep; }
        public CourierDriverOrder setCourierStep(String value) { this.CourierStep = value; return this; }
        public String getRouteShape() { return RouteShape; }
        public CourierDriverOrder setRouteShape(String value) { this.RouteShape = value; return this; }
        public String getProfileName() { return ProfileName; }
        public CourierDriverOrder setProfileName(String value) { this.ProfileName = value; return this; }
        public String getUnitOne() { return UnitOne; }
        public CourierDriverOrder setUnitOne(String value) { this.UnitOne = value; return this; }
        public String getUnitMany() { return UnitMany; }
        public CourierDriverOrder setUnitMany(String value) { this.UnitMany = value; return this; }
        public String getFacilityNoun() { return FacilityNoun; }
        public CourierDriverOrder setFacilityNoun(String value) { this.FacilityNoun = value; return this; }
        public String getFacilityName() { return FacilityName; }
        public CourierDriverOrder setFacilityName(String value) { this.FacilityName = value; return this; }
        public String getLevelName() { return LevelName; }
        public CourierDriverOrder setLevelName(String value) { this.LevelName = value; return this; }
        public Date getDueUtc() { return DueUtc; }
        public CourierDriverOrder setDueUtc(Date value) { this.DueUtc = value; return this; }
        public String getDueText() { return DueText; }
        public CourierDriverOrder setDueText(String value) { this.DueText = value; return this; }
        public Integer getUnits() { return Units; }
        public CourierDriverOrder setUnits(Integer value) { this.Units = value; return this; }
        public Integer getUnitsFound() { return UnitsFound; }
        public CourierDriverOrder setUnitsFound(Integer value) { this.UnitsFound = value; return this; }
        public String getArea() { return Area; }
        public CourierDriverOrder setArea(String value) { this.Area = value; return this; }
        public Integer getMinutes() { return Minutes; }
        public CourierDriverOrder setMinutes(Integer value) { this.Minutes = value; return this; }
        public String getAddress() { return Address; }
        public CourierDriverOrder setAddress(String value) { this.Address = value; return this; }
        public String getUnit() { return Unit; }
        public CourierDriverOrder setUnit(String value) { this.Unit = value; return this; }
        public String getCity() { return City; }
        public CourierDriverOrder setCity(String value) { this.City = value; return this; }
        public String getZip() { return Zip; }
        public CourierDriverOrder setZip(String value) { this.Zip = value; return this; }
        public Integer getCourierFacilityId() { return CourierFacilityId; }
        public CourierDriverOrder setCourierFacilityId(Integer value) { this.CourierFacilityId = value; return this; }
        public BigDecimal getLat() { return Lat; }
        public CourierDriverOrder setLat(BigDecimal value) { this.Lat = value; return this; }
        public BigDecimal getLng() { return Lng; }
        public CourierDriverOrder setLng(BigDecimal value) { this.Lng = value; return this; }
        public String getCustomerName() { return CustomerName; }
        public CourierDriverOrder setCustomerName(String value) { this.CustomerName = value; return this; }
        public String getCustomerPhone() { return CustomerPhone; }
        public CourierDriverOrder setCustomerPhone(String value) { this.CustomerPhone = value; return this; }
        public String getHandoff() { return Handoff; }
        public CourierDriverOrder setHandoff(String value) { this.Handoff = value; return this; }
        public String getGateCode() { return GateCode; }
        public CourierDriverOrder setGateCode(String value) { this.GateCode = value; return this; }
        public String getInstructions() { return Instructions; }
        public CourierDriverOrder setInstructions(String value) { this.Instructions = value; return this; }
        public String getDropoffAddress() { return DropoffAddress; }
        public CourierDriverOrder setDropoffAddress(String value) { this.DropoffAddress = value; return this; }
        public String getDropoffContactName() { return DropoffContactName; }
        public CourierDriverOrder setDropoffContactName(String value) { this.DropoffContactName = value; return this; }
        public BigDecimal getDropLat() { return DropLat; }
        public CourierDriverOrder setDropLat(BigDecimal value) { this.DropLat = value; return this; }
        public BigDecimal getDropLng() { return DropLng; }
        public CourierDriverOrder setDropLng(BigDecimal value) { this.DropLng = value; return this; }
        public Date getArrivedUtc() { return ArrivedUtc; }
        public CourierDriverOrder setArrivedUtc(Date value) { this.ArrivedUtc = value; return this; }
        public ArrayList<CourierItemView> getTags() { return Tags; }
        public CourierDriverOrder setTags(ArrayList<CourierItemView> value) { this.Tags = value; return this; }
        public HashMap<String,String> getProof() { return Proof; }
        public CourierDriverOrder setProof(HashMap<String,String> value) { this.Proof = value; return this; }
        public HashMap<String,Integer> getPhotos() { return Photos; }
        public CourierDriverOrder setPhotos(HashMap<String,Integer> value) { this.Photos = value; return this; }
        public ArrayList<String> getNeeds() { return Needs; }
        public CourierDriverOrder setNeeds(ArrayList<String> value) { this.Needs = value; return this; }
        public Integer getMissedWaitMin() { return MissedWaitMin; }
        public CourierDriverOrder setMissedWaitMin(Integer value) { this.MissedWaitMin = value; return this; }
        public Boolean isMissedRequireContact() { return MissedRequireContact; }
        public CourierDriverOrder setMissedRequireContact(Boolean value) { this.MissedRequireContact = value; return this; }
        public Boolean isMissedRequirePhoto() { return MissedRequirePhoto; }
        public CourierDriverOrder setMissedRequirePhoto(Boolean value) { this.MissedRequirePhoto = value; return this; }
        public BigDecimal getMissedFee() { return MissedFee; }
        public CourierDriverOrder setMissedFee(BigDecimal value) { this.MissedFee = value; return this; }
        public Integer getDispatchOdRequestID() { return DispatchOdRequestID; }
        public CourierDriverOrder setDispatchOdRequestID(Integer value) { this.DispatchOdRequestID = value; return this; }
        public String getUnitOneEs() { return UnitOneEs; }
        public CourierDriverOrder setUnitOneEs(String value) { this.UnitOneEs = value; return this; }
        public String getUnitManyEs() { return UnitManyEs; }
        public CourierDriverOrder setUnitManyEs(String value) { this.UnitManyEs = value; return this; }
        public String getFacilityNounEs() { return FacilityNounEs; }
        public CourierDriverOrder setFacilityNounEs(String value) { this.FacilityNounEs = value; return this; }
        public BigDecimal getPerPickup() { return PerPickup; }
        public CourierDriverOrder setPerPickup(BigDecimal value) { this.PerPickup = value; return this; }
        public Integer getWaitAfterMin() { return WaitAfterMin; }
        public CourierDriverOrder setWaitAfterMin(Integer value) { this.WaitAfterMin = value; return this; }
        public BigDecimal getWaitPerMin() { return WaitPerMin; }
        public CourierDriverOrder setWaitPerMin(BigDecimal value) { this.WaitPerMin = value; return this; }
        public String getDropoffZip() { return DropoffZip; }
        public CourierDriverOrder setDropoffZip(String value) { this.DropoffZip = value; return this; }
        public String getDamageNote() { return DamageNote; }
        public CourierDriverOrder setDamageNote(String value) { this.DamageNote = value; return this; }
        public Date getPickedUpUtc() { return PickedUpUtc; }
        public CourierDriverOrder setPickedUpUtc(Date value) { this.PickedUpUtc = value; return this; }
        public ArrayList<CourierPhotoView> getPhotoList() { return PhotoList; }
        public CourierDriverOrder setPhotoList(ArrayList<CourierPhotoView> value) { this.PhotoList = 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 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 CourierRunView
    {
        public Integer CourierRunID = null;
        public String Code = null;
        public String Status = null;
        public Integer CourierProfileId = null;
        public String ProfileName = null;
        public Integer CourierFacilityId = null;
        public String FacilityName = null;
        public String FacilityAddress = null;
        public Integer DriverContactId = null;
        public String DriverName = null;
        public Integer EquipmentID = null;
        public String VehicleUnit = null;
        public String UnitOne = null;
        public String UnitMany = null;
        public String UnitOneEs = null;
        public String UnitManyEs = null;
        public String FacilityNoun = null;
        public String FacilityNounEs = null;
        public BigDecimal FacilityLat = null;
        public BigDecimal FacilityLng = null;
        public Integer Units = null;
        public Integer StopCount = null;
        public Integer StopsDone = null;
        public BigDecimal Pay = null;
        public Date BuiltUtc = null;
        public Date StartedUtc = null;
        public Date CompletedUtc = null;
        public Integer ToLoad = null;
        public Integer ToReturn = null;
        public String Shelf = null;
        public ArrayList<CourierStopView> Stops = new ArrayList<CourierStopView>();
        
        public Integer getCourierRunID() { return CourierRunID; }
        public CourierRunView setCourierRunID(Integer value) { this.CourierRunID = value; return this; }
        public String getCode() { return Code; }
        public CourierRunView setCode(String value) { this.Code = value; return this; }
        public String getStatus() { return Status; }
        public CourierRunView setStatus(String value) { this.Status = value; return this; }
        public Integer getCourierProfileId() { return CourierProfileId; }
        public CourierRunView setCourierProfileId(Integer value) { this.CourierProfileId = value; return this; }
        public String getProfileName() { return ProfileName; }
        public CourierRunView setProfileName(String value) { this.ProfileName = value; return this; }
        public Integer getCourierFacilityId() { return CourierFacilityId; }
        public CourierRunView setCourierFacilityId(Integer value) { this.CourierFacilityId = value; return this; }
        public String getFacilityName() { return FacilityName; }
        public CourierRunView setFacilityName(String value) { this.FacilityName = value; return this; }
        public String getFacilityAddress() { return FacilityAddress; }
        public CourierRunView setFacilityAddress(String value) { this.FacilityAddress = value; return this; }
        public Integer getDriverContactId() { return DriverContactId; }
        public CourierRunView setDriverContactId(Integer value) { this.DriverContactId = value; return this; }
        public String getDriverName() { return DriverName; }
        public CourierRunView setDriverName(String value) { this.DriverName = value; return this; }
        public Integer getEquipmentID() { return EquipmentID; }
        public CourierRunView setEquipmentID(Integer value) { this.EquipmentID = value; return this; }
        public String getVehicleUnit() { return VehicleUnit; }
        public CourierRunView setVehicleUnit(String value) { this.VehicleUnit = value; return this; }
        public String getUnitOne() { return UnitOne; }
        public CourierRunView setUnitOne(String value) { this.UnitOne = value; return this; }
        public String getUnitMany() { return UnitMany; }
        public CourierRunView setUnitMany(String value) { this.UnitMany = value; return this; }
        public String getUnitOneEs() { return UnitOneEs; }
        public CourierRunView setUnitOneEs(String value) { this.UnitOneEs = value; return this; }
        public String getUnitManyEs() { return UnitManyEs; }
        public CourierRunView setUnitManyEs(String value) { this.UnitManyEs = value; return this; }
        public String getFacilityNoun() { return FacilityNoun; }
        public CourierRunView setFacilityNoun(String value) { this.FacilityNoun = value; return this; }
        public String getFacilityNounEs() { return FacilityNounEs; }
        public CourierRunView setFacilityNounEs(String value) { this.FacilityNounEs = value; return this; }
        public BigDecimal getFacilityLat() { return FacilityLat; }
        public CourierRunView setFacilityLat(BigDecimal value) { this.FacilityLat = value; return this; }
        public BigDecimal getFacilityLng() { return FacilityLng; }
        public CourierRunView setFacilityLng(BigDecimal value) { this.FacilityLng = value; return this; }
        public Integer getUnits() { return Units; }
        public CourierRunView setUnits(Integer value) { this.Units = value; return this; }
        public Integer getStopCount() { return StopCount; }
        public CourierRunView setStopCount(Integer value) { this.StopCount = value; return this; }
        public Integer getStopsDone() { return StopsDone; }
        public CourierRunView setStopsDone(Integer value) { this.StopsDone = value; return this; }
        public BigDecimal getPay() { return Pay; }
        public CourierRunView setPay(BigDecimal value) { this.Pay = value; return this; }
        public Date getBuiltUtc() { return BuiltUtc; }
        public CourierRunView setBuiltUtc(Date value) { this.BuiltUtc = value; return this; }
        public Date getStartedUtc() { return StartedUtc; }
        public CourierRunView setStartedUtc(Date value) { this.StartedUtc = value; return this; }
        public Date getCompletedUtc() { return CompletedUtc; }
        public CourierRunView setCompletedUtc(Date value) { this.CompletedUtc = value; return this; }
        public Integer getToLoad() { return ToLoad; }
        public CourierRunView setToLoad(Integer value) { this.ToLoad = value; return this; }
        public Integer getToReturn() { return ToReturn; }
        public CourierRunView setToReturn(Integer value) { this.ToReturn = value; return this; }
        public String getShelf() { return Shelf; }
        public CourierRunView setShelf(String value) { this.Shelf = value; return this; }
        public ArrayList<CourierStopView> getStops() { return Stops; }
        public CourierRunView setStops(ArrayList<CourierStopView> value) { this.Stops = value; return this; }
    }

    public static class CourierStopView
    {
        public Integer Sequence = null;
        public String Status = null;
        public Integer DispatchOdRequestID = null;
        public String Code = null;
        public String CourierStep = null;
        public String Address = null;
        public String Unit = null;
        public String City = null;
        public String Zip = null;
        public BigDecimal Lat = null;
        public BigDecimal Lng = null;
        public String CustomerName = null;
        public String CustomerPhone = null;
        public String Handoff = null;
        public String GateCode = null;
        public String Instructions = null;
        public Integer Units = null;
        public String DueText = null;
        public String Note = null;
        public ArrayList<String> Needs = new ArrayList<String>();
        public HashMap<String,String> Proof = new HashMap<String,String>();
        public Integer Photos = null;
        public ArrayList<CourierItemView> Items = new ArrayList<CourierItemView>();
        
        public Integer getSequence() { return Sequence; }
        public CourierStopView setSequence(Integer value) { this.Sequence = value; return this; }
        public String getStatus() { return Status; }
        public CourierStopView setStatus(String value) { this.Status = value; return this; }
        public Integer getDispatchOdRequestID() { return DispatchOdRequestID; }
        public CourierStopView setDispatchOdRequestID(Integer value) { this.DispatchOdRequestID = value; return this; }
        public String getCode() { return Code; }
        public CourierStopView setCode(String value) { this.Code = value; return this; }
        public String getCourierStep() { return CourierStep; }
        public CourierStopView setCourierStep(String value) { this.CourierStep = value; return this; }
        public String getAddress() { return Address; }
        public CourierStopView setAddress(String value) { this.Address = value; return this; }
        public String getUnit() { return Unit; }
        public CourierStopView setUnit(String value) { this.Unit = value; return this; }
        public String getCity() { return City; }
        public CourierStopView setCity(String value) { this.City = value; return this; }
        public String getZip() { return Zip; }
        public CourierStopView setZip(String value) { this.Zip = value; return this; }
        public BigDecimal getLat() { return Lat; }
        public CourierStopView setLat(BigDecimal value) { this.Lat = value; return this; }
        public BigDecimal getLng() { return Lng; }
        public CourierStopView setLng(BigDecimal value) { this.Lng = value; return this; }
        public String getCustomerName() { return CustomerName; }
        public CourierStopView setCustomerName(String value) { this.CustomerName = value; return this; }
        public String getCustomerPhone() { return CustomerPhone; }
        public CourierStopView setCustomerPhone(String value) { this.CustomerPhone = value; return this; }
        public String getHandoff() { return Handoff; }
        public CourierStopView setHandoff(String value) { this.Handoff = value; return this; }
        public String getGateCode() { return GateCode; }
        public CourierStopView setGateCode(String value) { this.GateCode = value; return this; }
        public String getInstructions() { return Instructions; }
        public CourierStopView setInstructions(String value) { this.Instructions = value; return this; }
        public Integer getUnits() { return Units; }
        public CourierStopView setUnits(Integer value) { this.Units = value; return this; }
        public String getDueText() { return DueText; }
        public CourierStopView setDueText(String value) { this.DueText = value; return this; }
        public String getNote() { return Note; }
        public CourierStopView setNote(String value) { this.Note = value; return this; }
        public ArrayList<String> getNeeds() { return Needs; }
        public CourierStopView setNeeds(ArrayList<String> value) { this.Needs = value; return this; }
        public HashMap<String,String> getProof() { return Proof; }
        public CourierStopView setProof(HashMap<String,String> value) { this.Proof = value; return this; }
        public Integer getPhotos() { return Photos; }
        public CourierStopView setPhotos(Integer value) { this.Photos = value; return this; }
        public ArrayList<CourierItemView> getItems() { return Items; }
        public CourierStopView setItems(ArrayList<CourierItemView> value) { this.Items = value; return this; }
    }

}

Java CourierPhotoRemoveRequest DTOs

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

HTTP + JSV

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

DELETE /v1/worker/dispatch/od/{Code}/photo/{PhotoId} HTTP/1.1 
Host: api.dev.dynamics.trendsic.com 
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	Courier: 
	{
		DriverCode: String,
		Name: String,
		Online: False,
		OnRoster: False,
		Van: 
		{
			State: String,
			LeaveByUtc: 0001-01-01,
			LeaveByText: String,
			SlackMin: 0,
			InVan: 0,
			Committed: 0,
			Delivery: 0,
			Cap: 0,
			CapUnit: String,
			VehicleUnit: String,
			CriticalCode: String,
			DriveMin: 0,
			FacilityName: String,
			SendNote: String,
			GoMin: 0,
			LastMin: 0,
			NearFull: 0,
			MarginMin: 0,
			IntakeMin: 0,
			FacilityAddress: String,
			FacilityLat: 0,
			FacilityLng: 0
		},
		Current: 
		{
			Code: String,
			CourierStep: String,
			RouteShape: String,
			ProfileName: String,
			UnitOne: String,
			UnitMany: String,
			FacilityNoun: String,
			FacilityName: String,
			LevelName: String,
			DueUtc: 0001-01-01,
			DueText: String,
			Units: 0,
			UnitsFound: 0,
			Area: String,
			Minutes: 0,
			Address: String,
			Unit: String,
			City: String,
			Zip: String,
			CourierFacilityId: 0,
			Lat: 0,
			Lng: 0,
			CustomerName: String,
			CustomerPhone: String,
			Handoff: String,
			GateCode: String,
			Instructions: String,
			DropoffAddress: String,
			DropoffContactName: String,
			DropLat: 0,
			DropLng: 0,
			ArrivedUtc: 0001-01-01,
			Tags: 
			[
				{
					CourierItemID: 0,
					DispatchOdRequestID: 0,
					Seq: 0,
					TagCode: String,
					Custody: String,
					IsOpen: False,
					IsMissing: False,
					MissingReason: String,
					IsManual: False,
					ReTagFlag: False,
					Scanned: False
				}
			],
			Proof: 
			{
				String: String
			},
			Photos: 
			{
				String: 0
			},
			Needs: 
			[
				String
			],
			MissedWaitMin: 0,
			MissedRequireContact: False,
			MissedRequirePhoto: False,
			MissedFee: 0,
			DispatchOdRequestID: 0,
			UnitOneEs: String,
			UnitManyEs: String,
			FacilityNounEs: String,
			PerPickup: 0,
			WaitAfterMin: 0,
			WaitPerMin: 0,
			DropoffZip: String,
			DamageNote: String,
			PickedUpUtc: 0001-01-01,
			PhotoList: 
			[
				{
					PhotoId: 0,
					Kind: String,
					FileName: String,
					Url: String,
					TakenUtc: 0001-01-01
				}
			]
		},
		Queue: 
		[
			{
				Code: String,
				CourierStep: String,
				RouteShape: String,
				ProfileName: String,
				UnitOne: String,
				UnitMany: String,
				FacilityNoun: String,
				FacilityName: String,
				LevelName: String,
				DueUtc: 0001-01-01,
				DueText: String,
				Units: 0,
				UnitsFound: 0,
				Area: String,
				Minutes: 0,
				Address: String,
				Unit: String,
				City: String,
				Zip: String,
				CourierFacilityId: 0,
				Lat: 0,
				Lng: 0,
				CustomerName: String,
				CustomerPhone: String,
				Handoff: String,
				GateCode: String,
				Instructions: String,
				DropoffAddress: String,
				DropoffContactName: String,
				DropLat: 0,
				DropLng: 0,
				ArrivedUtc: 0001-01-01,
				Tags: 
				[
					{
						CourierItemID: 0,
						DispatchOdRequestID: 0,
						Seq: 0,
						TagCode: String,
						Custody: String,
						IsOpen: False,
						IsMissing: False,
						MissingReason: String,
						IsManual: False,
						ReTagFlag: False,
						Scanned: False
					}
				],
				Proof: 
				{
					String: String
				},
				Photos: 
				{
					String: 0
				},
				Needs: 
				[
					String
				],
				MissedWaitMin: 0,
				MissedRequireContact: False,
				MissedRequirePhoto: False,
				MissedFee: 0,
				DispatchOdRequestID: 0,
				UnitOneEs: String,
				UnitManyEs: String,
				FacilityNounEs: String,
				PerPickup: 0,
				WaitAfterMin: 0,
				WaitPerMin: 0,
				DropoffZip: String,
				DamageNote: String,
				PickedUpUtc: 0001-01-01,
				PhotoList: 
				[
					{
						PhotoId: 0,
						Kind: String,
						FileName: String,
						Url: String,
						TakenUtc: 0001-01-01
					}
				]
			}
		],
		Aboard: 
		[
			{
				Code: String,
				CourierStep: String,
				RouteShape: String,
				ProfileName: String,
				UnitOne: String,
				UnitMany: String,
				FacilityNoun: String,
				FacilityName: String,
				LevelName: String,
				DueUtc: 0001-01-01,
				DueText: String,
				Units: 0,
				UnitsFound: 0,
				Area: String,
				Minutes: 0,
				Address: String,
				Unit: String,
				City: String,
				Zip: String,
				CourierFacilityId: 0,
				Lat: 0,
				Lng: 0,
				CustomerName: String,
				CustomerPhone: String,
				Handoff: String,
				GateCode: String,
				Instructions: String,
				DropoffAddress: String,
				DropoffContactName: String,
				DropLat: 0,
				DropLng: 0,
				ArrivedUtc: 0001-01-01,
				Tags: 
				[
					{
						CourierItemID: 0,
						DispatchOdRequestID: 0,
						Seq: 0,
						TagCode: String,
						Custody: String,
						IsOpen: False,
						IsMissing: False,
						MissingReason: String,
						IsManual: False,
						ReTagFlag: False,
						Scanned: False
					}
				],
				Proof: 
				{
					String: String
				},
				Photos: 
				{
					String: 0
				},
				Needs: 
				[
					String
				],
				MissedWaitMin: 0,
				MissedRequireContact: False,
				MissedRequirePhoto: False,
				MissedFee: 0,
				DispatchOdRequestID: 0,
				UnitOneEs: String,
				UnitManyEs: String,
				FacilityNounEs: String,
				PerPickup: 0,
				WaitAfterMin: 0,
				WaitPerMin: 0,
				DropoffZip: String,
				DamageNote: String,
				PickedUpUtc: 0001-01-01,
				PhotoList: 
				[
					{
						PhotoId: 0,
						Kind: String,
						FileName: String,
						Url: String,
						TakenUtc: 0001-01-01
					}
				]
			}
		],
		Runs: 
		[
			{
				CourierRunID: 0,
				Code: String,
				Status: String,
				CourierProfileId: 0,
				ProfileName: String,
				CourierFacilityId: 0,
				FacilityName: String,
				FacilityAddress: String,
				DriverContactId: 0,
				DriverName: String,
				EquipmentID: 0,
				VehicleUnit: String,
				UnitOne: String,
				UnitMany: String,
				UnitOneEs: String,
				UnitManyEs: String,
				FacilityNoun: String,
				FacilityNounEs: String,
				FacilityLat: 0,
				FacilityLng: 0,
				Units: 0,
				StopCount: 0,
				StopsDone: 0,
				Pay: 0,
				BuiltUtc: 0001-01-01,
				StartedUtc: 0001-01-01,
				CompletedUtc: 0001-01-01,
				ToLoad: 0,
				ToReturn: 0,
				Shelf: String,
				Stops: 
				[
					{
						Sequence: 0,
						Status: String,
						DispatchOdRequestID: 0,
						Code: String,
						CourierStep: String,
						Address: String,
						Unit: String,
						City: String,
						Zip: String,
						Lat: 0,
						Lng: 0,
						CustomerName: String,
						CustomerPhone: String,
						Handoff: String,
						GateCode: String,
						Instructions: String,
						Units: 0,
						DueText: String,
						Note: String,
						Needs: 
						[
							String
						],
						Proof: 
						{
							String: String
						},
						Photos: 0,
						Items: 
						[
							{
								CourierItemID: 0,
								DispatchOdRequestID: 0,
								Seq: 0,
								TagCode: String,
								Custody: String,
								IsOpen: False,
								IsMissing: False,
								MissingReason: String,
								IsManual: False,
								ReTagFlag: False,
								Scanned: False
							}
						]
					}
				]
			}
		],
		UpNext: 
		{
			Code: String,
			CourierStep: String,
			RouteShape: String,
			ProfileName: String,
			UnitOne: String,
			UnitMany: String,
			FacilityNoun: String,
			FacilityName: String,
			LevelName: String,
			DueUtc: 0001-01-01,
			DueText: String,
			Units: 0,
			UnitsFound: 0,
			Area: String,
			Minutes: 0,
			Address: String,
			Unit: String,
			City: String,
			Zip: String,
			CourierFacilityId: 0,
			Lat: 0,
			Lng: 0,
			CustomerName: String,
			CustomerPhone: String,
			Handoff: String,
			GateCode: String,
			Instructions: String,
			DropoffAddress: String,
			DropoffContactName: String,
			DropLat: 0,
			DropLng: 0,
			ArrivedUtc: 0001-01-01,
			Tags: 
			[
				{
					CourierItemID: 0,
					DispatchOdRequestID: 0,
					Seq: 0,
					TagCode: String,
					Custody: String,
					IsOpen: False,
					IsMissing: False,
					MissingReason: String,
					IsManual: False,
					ReTagFlag: False,
					Scanned: False
				}
			],
			Proof: 
			{
				String: String
			},
			Photos: 
			{
				String: 0
			},
			Needs: 
			[
				String
			],
			MissedWaitMin: 0,
			MissedRequireContact: False,
			MissedRequirePhoto: False,
			MissedFee: 0,
			DispatchOdRequestID: 0,
			UnitOneEs: String,
			UnitManyEs: String,
			FacilityNounEs: String,
			PerPickup: 0,
			WaitAfterMin: 0,
			WaitPerMin: 0,
			DropoffZip: String,
			DamageNote: String,
			PickedUpUtc: 0001-01-01,
			PhotoList: 
			[
				{
					PhotoId: 0,
					Kind: String,
					FileName: String,
					Url: String,
					TakenUtc: 0001-01-01
				}
			]
		},
		RadiusMi: 0,
		PingRadiusMi: 0,
		PingRadiusUntilUtc: 0001-01-01,
		HideAddressesInHistory: False
	},
	ServerUtc: 0001-01-01,
	Result: String,
	Detail: String,
	Message: String,
	PhotoId: 0,
	ResponseStatus: 
	{
		ErrorCode: String,
		Message: String,
		StackTrace: String,
		Errors: 
		[
			{
				ErrorCode: String,
				FieldName: String,
				Message: String,
				Meta: 
				{
					String: String
				}
			}
		],
		Meta: 
		{
			String: String
		}
	}
}