Antel API

<back to all web services

GetUpliftSchedule

Requires Authentication
The following routes are available for this service:
GET/upliftscedule
import java.math.*;
import java.util.*;
import net.servicestack.client.*;

public class dtos
{

    public static class GetUpliftSchedule extends ApiServiceRequest
    {
        
    }

    public static class ApiServiceRequest implements IServiceRequest, IHasApiKey, IHasDeviceInfo
    {
        /**
        * The API Key required for authentication
        */
        @ApiMember(DataType="string", Description="The API Key required for authentication", IsRequired=true)
        public String apiKey = null;

        /**
        * Latitude of the user making this request
        */
        @ApiMember(DataType="double", Description="Latitude of the user making this request")
        public Double latitude = null;

        /**
        * Longitude of the user making this request
        */
        @ApiMember(DataType="double", Description="Longitude of the user making this request")
        public Double longitude = null;
        
        public String getApiKey() { return apiKey; }
        public ApiServiceRequest setApiKey(String value) { this.apiKey = value; return this; }
        public Double getLatitude() { return latitude; }
        public ApiServiceRequest setLatitude(Double value) { this.latitude = value; return this; }
        public Double getLongitude() { return longitude; }
        public ApiServiceRequest setLongitude(Double value) { this.longitude = value; return this; }
    }

    public static class GetUpliftScheduleResponse extends ApiServiceResponse
    {
        public ArrayList<AppointmentData> appointments = null;
        
        public ArrayList<AppointmentData> getAppointments() { return appointments; }
        public GetUpliftScheduleResponse setAppointments(ArrayList<AppointmentData> value) { this.appointments = value; return this; }
    }

    public static class ApiServiceResponse implements IServiceResponse
    {
        /**
        * Information about the response.
        */
        @ApiMember(Description="Information about the response.", IsRequired=true)
        public String description = null;

        /**
        * Heading or summary of the response.
        */
        @ApiMember(Description="Heading or summary of the response.", IsRequired=true)
        public String heading = null;

        /**
        * Did the intended operation for this response complete successfully?
        */
        @ApiMember(DataType="boolean", Description="Did the intended operation for this response complete successfully?", IsRequired=true)
        public Boolean wasSuccessful = null;

        public ResponseStatus responseStatus = null;
        
        public String getDescription() { return description; }
        public ApiServiceResponse setDescription(String value) { this.description = value; return this; }
        public String getHeading() { return heading; }
        public ApiServiceResponse setHeading(String value) { this.heading = value; return this; }
        public Boolean isWasSuccessful() { return wasSuccessful; }
        public ApiServiceResponse setWasSuccessful(Boolean value) { this.wasSuccessful = value; return this; }
        public ResponseStatus getResponseStatus() { return responseStatus; }
        public ApiServiceResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; }
    }

    public static class AppointmentData
    {
        public Integer scheduleId = null;
        public String appointmentDate = null;
        public String outletName = null;
        public String outletChannel = null;
        public UpliftScheduleStatus upliftStatus = null;
        public Boolean isComplete = null;
        public Boolean inProgress = null;
        public Boolean isLate = null;
        public Boolean goodToCollectStatus = null;
        public String principlesWithGoodsToCollect = null;
        public ArrayList<AppointmentPrincipleData> principleAppointments = null;
        
        public Integer getScheduleId() { return scheduleId; }
        public AppointmentData setScheduleId(Integer value) { this.scheduleId = value; return this; }
        public String getAppointmentDate() { return appointmentDate; }
        public AppointmentData setAppointmentDate(String value) { this.appointmentDate = value; return this; }
        public String getOutletName() { return outletName; }
        public AppointmentData setOutletName(String value) { this.outletName = value; return this; }
        public String getOutletChannel() { return outletChannel; }
        public AppointmentData setOutletChannel(String value) { this.outletChannel = value; return this; }
        public UpliftScheduleStatus getUpliftStatus() { return upliftStatus; }
        public AppointmentData setUpliftStatus(UpliftScheduleStatus value) { this.upliftStatus = value; return this; }
        public Boolean getIsComplete() { return isComplete; }
        public AppointmentData setIsComplete(Boolean value) { this.isComplete = value; return this; }
        public Boolean isInProgress() { return inProgress; }
        public AppointmentData setInProgress(Boolean value) { this.inProgress = value; return this; }
        public Boolean getIsLate() { return isLate; }
        public AppointmentData setIsLate(Boolean value) { this.isLate = value; return this; }
        public Boolean isGoodToCollectStatus() { return goodToCollectStatus; }
        public AppointmentData setGoodToCollectStatus(Boolean value) { this.goodToCollectStatus = value; return this; }
        public String getPrinciplesWithGoodsToCollect() { return principlesWithGoodsToCollect; }
        public AppointmentData setPrinciplesWithGoodsToCollect(String value) { this.principlesWithGoodsToCollect = value; return this; }
        public ArrayList<AppointmentPrincipleData> getPrincipleAppointments() { return principleAppointments; }
        public AppointmentData setPrincipleAppointments(ArrayList<AppointmentPrincipleData> value) { this.principleAppointments = value; return this; }
    }

    public static enum UpliftScheduleStatus
    {
        @SerializedName("0") Unconfirmed(0),
        @SerializedName("1") Confirmed(1),
        @SerializedName("4") PortalCancelled(4),
        @SerializedName("5") UserCancelled(5),
        @SerializedName("6") NoOperatorAssigned(6);

        private final int value;
        UpliftScheduleStatus(final int intValue) { value = intValue; }
        public int getValue() { return value; }
    }

    public static class AppointmentPrincipleData
    {
        public PrincipalData principle = null;
        public String scheduledDate = null;
        public Integer upliftScheduleId = null;
        public Integer upliftSchedulePrincipleId = null;
        public Integer principleOutletId = null;
        public String verificationCode = null;
        public Boolean goodsToCollect = null;
        public String outletRegion = null;
        public String outletName = null;
        public String outletChannel = null;
        public Double outletLatitude = null;
        public Double outletLongitude = null;
        public Double maxSubmissionDistance = null;
        public ActionOutsideMaxDistanceType actionOutsideMaxDistance = null;
        public String completedDate = null;
        public Boolean cancelled = null;
        public Boolean completed = null;
        public UpliftTemplateData upliftTemplate = null;
        public Boolean prePopulated = null;
        public ArrayList<StockStatusData> allowedProductStockStatuses = null;
        public String noteToOperator = null;
        public SealTemplateData sealTemplate = null;
        public Boolean prePopulatedWithSeals = null;
        public Boolean preAuthed = null;
        public String operatorName = null;
        public Integer systemUserId = null;
        public ArrayList<ProductExceptionData> productExceptions = null;
        public String storeConfirmationDocumentUrl = null;
        
        public PrincipalData getPrinciple() { return principle; }
        public AppointmentPrincipleData setPrinciple(PrincipalData value) { this.principle = value; return this; }
        public String getScheduledDate() { return scheduledDate; }
        public AppointmentPrincipleData setScheduledDate(String value) { this.scheduledDate = value; return this; }
        public Integer getUpliftScheduleId() { return upliftScheduleId; }
        public AppointmentPrincipleData setUpliftScheduleId(Integer value) { this.upliftScheduleId = value; return this; }
        public Integer getUpliftSchedulePrincipleId() { return upliftSchedulePrincipleId; }
        public AppointmentPrincipleData setUpliftSchedulePrincipleId(Integer value) { this.upliftSchedulePrincipleId = value; return this; }
        public Integer getPrincipleOutletId() { return principleOutletId; }
        public AppointmentPrincipleData setPrincipleOutletId(Integer value) { this.principleOutletId = value; return this; }
        public String getVerificationCode() { return verificationCode; }
        public AppointmentPrincipleData setVerificationCode(String value) { this.verificationCode = value; return this; }
        public Boolean isGoodsToCollect() { return goodsToCollect; }
        public AppointmentPrincipleData setGoodsToCollect(Boolean value) { this.goodsToCollect = value; return this; }
        public String getOutletRegion() { return outletRegion; }
        public AppointmentPrincipleData setOutletRegion(String value) { this.outletRegion = value; return this; }
        public String getOutletName() { return outletName; }
        public AppointmentPrincipleData setOutletName(String value) { this.outletName = value; return this; }
        public String getOutletChannel() { return outletChannel; }
        public AppointmentPrincipleData setOutletChannel(String value) { this.outletChannel = value; return this; }
        public Double getOutletLatitude() { return outletLatitude; }
        public AppointmentPrincipleData setOutletLatitude(Double value) { this.outletLatitude = value; return this; }
        public Double getOutletLongitude() { return outletLongitude; }
        public AppointmentPrincipleData setOutletLongitude(Double value) { this.outletLongitude = value; return this; }
        public Double getMaxSubmissionDistance() { return maxSubmissionDistance; }
        public AppointmentPrincipleData setMaxSubmissionDistance(Double value) { this.maxSubmissionDistance = value; return this; }
        public ActionOutsideMaxDistanceType getActionOutsideMaxDistance() { return actionOutsideMaxDistance; }
        public AppointmentPrincipleData setActionOutsideMaxDistance(ActionOutsideMaxDistanceType value) { this.actionOutsideMaxDistance = value; return this; }
        public String getCompletedDate() { return completedDate; }
        public AppointmentPrincipleData setCompletedDate(String value) { this.completedDate = value; return this; }
        public Boolean isCancelled() { return cancelled; }
        public AppointmentPrincipleData setCancelled(Boolean value) { this.cancelled = value; return this; }
        public Boolean isCompleted() { return completed; }
        public AppointmentPrincipleData setCompleted(Boolean value) { this.completed = value; return this; }
        public UpliftTemplateData getUpliftTemplate() { return upliftTemplate; }
        public AppointmentPrincipleData setUpliftTemplate(UpliftTemplateData value) { this.upliftTemplate = value; return this; }
        public Boolean isPrePopulated() { return prePopulated; }
        public AppointmentPrincipleData setPrePopulated(Boolean value) { this.prePopulated = value; return this; }
        public ArrayList<StockStatusData> getAllowedProductStockStatuses() { return allowedProductStockStatuses; }
        public AppointmentPrincipleData setAllowedProductStockStatuses(ArrayList<StockStatusData> value) { this.allowedProductStockStatuses = value; return this; }
        public String getNoteToOperator() { return noteToOperator; }
        public AppointmentPrincipleData setNoteToOperator(String value) { this.noteToOperator = value; return this; }
        public SealTemplateData getSealTemplate() { return sealTemplate; }
        public AppointmentPrincipleData setSealTemplate(SealTemplateData value) { this.sealTemplate = value; return this; }
        public Boolean isPrePopulatedWithSeals() { return prePopulatedWithSeals; }
        public AppointmentPrincipleData setPrePopulatedWithSeals(Boolean value) { this.prePopulatedWithSeals = value; return this; }
        public Boolean isPreAuthed() { return preAuthed; }
        public AppointmentPrincipleData setPreAuthed(Boolean value) { this.preAuthed = value; return this; }
        public String getOperatorName() { return operatorName; }
        public AppointmentPrincipleData setOperatorName(String value) { this.operatorName = value; return this; }
        public Integer getSystemUserId() { return systemUserId; }
        public AppointmentPrincipleData setSystemUserId(Integer value) { this.systemUserId = value; return this; }
        public ArrayList<ProductExceptionData> getProductExceptions() { return productExceptions; }
        public AppointmentPrincipleData setProductExceptions(ArrayList<ProductExceptionData> value) { this.productExceptions = value; return this; }
        public String getStoreConfirmationDocumentUrl() { return storeConfirmationDocumentUrl; }
        public AppointmentPrincipleData setStoreConfirmationDocumentUrl(String value) { this.storeConfirmationDocumentUrl = value; return this; }
    }

    public static class PrincipalData
    {
        public Integer principalId = null;
        public String name = null;
        public ArrayList<String> authLetterFileUrl = null;
        public String logoImageUrl = null;
        public ArrayList<ProductDataCategory> products = null;
        public String upliftPrefix = null;
        public String contactName = null;
        public String contactNumber = null;
        public String contactEmail = null;
        public Boolean allowProductLookup = null;
        public Boolean hasLogo = null;
        public Boolean hasAuthLetter = null;
        public Boolean sealNetWeightMandatory = null;
        public Boolean allowBillableSeals = null;
        public Boolean captureSerialNumber = null;
        public Boolean batchCodesMandatory = null;
        public Boolean captureManufactureAndExpiryDate = null;
        public ArrayList<ProductExceptionData> productExceptions = null;
        public Boolean usesOwnSealNumbers = null;
        
        public Integer getPrincipalId() { return principalId; }
        public PrincipalData setPrincipalId(Integer value) { this.principalId = value; return this; }
        public String getName() { return name; }
        public PrincipalData setName(String value) { this.name = value; return this; }
        public ArrayList<String> getAuthLetterFileUrl() { return authLetterFileUrl; }
        public PrincipalData setAuthLetterFileUrl(ArrayList<String> value) { this.authLetterFileUrl = value; return this; }
        public String getLogoImageUrl() { return logoImageUrl; }
        public PrincipalData setLogoImageUrl(String value) { this.logoImageUrl = value; return this; }
        public ArrayList<ProductDataCategory> getProducts() { return products; }
        public PrincipalData setProducts(ArrayList<ProductDataCategory> value) { this.products = value; return this; }
        public String getUpliftPrefix() { return upliftPrefix; }
        public PrincipalData setUpliftPrefix(String value) { this.upliftPrefix = value; return this; }
        public String getContactName() { return contactName; }
        public PrincipalData setContactName(String value) { this.contactName = value; return this; }
        public String getContactNumber() { return contactNumber; }
        public PrincipalData setContactNumber(String value) { this.contactNumber = value; return this; }
        public String getContactEmail() { return contactEmail; }
        public PrincipalData setContactEmail(String value) { this.contactEmail = value; return this; }
        public Boolean isAllowProductLookup() { return allowProductLookup; }
        public PrincipalData setAllowProductLookup(Boolean value) { this.allowProductLookup = value; return this; }
        public Boolean isHasLogo() { return hasLogo; }
        public PrincipalData setHasLogo(Boolean value) { this.hasLogo = value; return this; }
        public Boolean isHasAuthLetter() { return hasAuthLetter; }
        public PrincipalData setHasAuthLetter(Boolean value) { this.hasAuthLetter = value; return this; }
        public Boolean isSealNetWeightMandatory() { return sealNetWeightMandatory; }
        public PrincipalData setSealNetWeightMandatory(Boolean value) { this.sealNetWeightMandatory = value; return this; }
        public Boolean isAllowBillableSeals() { return allowBillableSeals; }
        public PrincipalData setAllowBillableSeals(Boolean value) { this.allowBillableSeals = value; return this; }
        public Boolean isCaptureSerialNumber() { return captureSerialNumber; }
        public PrincipalData setCaptureSerialNumber(Boolean value) { this.captureSerialNumber = value; return this; }
        public Boolean isBatchCodesMandatory() { return batchCodesMandatory; }
        public PrincipalData setBatchCodesMandatory(Boolean value) { this.batchCodesMandatory = value; return this; }
        public Boolean isCaptureManufactureAndExpiryDate() { return captureManufactureAndExpiryDate; }
        public PrincipalData setCaptureManufactureAndExpiryDate(Boolean value) { this.captureManufactureAndExpiryDate = value; return this; }
        public ArrayList<ProductExceptionData> getProductExceptions() { return productExceptions; }
        public PrincipalData setProductExceptions(ArrayList<ProductExceptionData> value) { this.productExceptions = value; return this; }
        public Boolean isUsesOwnSealNumbers() { return usesOwnSealNumbers; }
        public PrincipalData setUsesOwnSealNumbers(Boolean value) { this.usesOwnSealNumbers = value; return this; }
    }

    public static class ProductDataCategory
    {
        public String unitBarcode = null;
        public ArrayList<ProductData> products = null;
        
        public String getUnitBarcode() { return unitBarcode; }
        public ProductDataCategory setUnitBarcode(String value) { this.unitBarcode = value; return this; }
        public ArrayList<ProductData> getProducts() { return products; }
        public ProductDataCategory setProducts(ArrayList<ProductData> value) { this.products = value; return this; }
    }

    public static class ProductData
    {
        public Integer productId = null;
        public Integer principalId = null;
        public String name = null;
        public String category = null;
        public String productCode = null;
        public String unitBarcode = null;
        public Integer cartonQuantity = null;
        public Integer shrinkQuantity = null;
        public Integer unitQuantity = null;
        public String cartonMeasurement = null;
        public String shrinkMeasurement = null;
        public String unitMeasurement = null;
        public Double cartonWeight = null;
        public Double shrinkWeight = null;
        public BigDecimal unitWeight = null;
        public BigDecimal cartonPrice = null;
        public BigDecimal shrinkPrice = null;
        public BigDecimal unitPrice = null;
        public Integer maxQuantity = null;
        public Integer maxPrice = null;
        
        public Integer getProductId() { return productId; }
        public ProductData setProductId(Integer value) { this.productId = value; return this; }
        public Integer getPrincipalId() { return principalId; }
        public ProductData setPrincipalId(Integer value) { this.principalId = value; return this; }
        public String getName() { return name; }
        public ProductData setName(String value) { this.name = value; return this; }
        public String getCategory() { return category; }
        public ProductData setCategory(String value) { this.category = value; return this; }
        public String getProductCode() { return productCode; }
        public ProductData setProductCode(String value) { this.productCode = value; return this; }
        public String getUnitBarcode() { return unitBarcode; }
        public ProductData setUnitBarcode(String value) { this.unitBarcode = value; return this; }
        public Integer getCartonQuantity() { return cartonQuantity; }
        public ProductData setCartonQuantity(Integer value) { this.cartonQuantity = value; return this; }
        public Integer getShrinkQuantity() { return shrinkQuantity; }
        public ProductData setShrinkQuantity(Integer value) { this.shrinkQuantity = value; return this; }
        public Integer getUnitQuantity() { return unitQuantity; }
        public ProductData setUnitQuantity(Integer value) { this.unitQuantity = value; return this; }
        public String getCartonMeasurement() { return cartonMeasurement; }
        public ProductData setCartonMeasurement(String value) { this.cartonMeasurement = value; return this; }
        public String getShrinkMeasurement() { return shrinkMeasurement; }
        public ProductData setShrinkMeasurement(String value) { this.shrinkMeasurement = value; return this; }
        public String getUnitMeasurement() { return unitMeasurement; }
        public ProductData setUnitMeasurement(String value) { this.unitMeasurement = value; return this; }
        public Double getCartonWeight() { return cartonWeight; }
        public ProductData setCartonWeight(Double value) { this.cartonWeight = value; return this; }
        public Double getShrinkWeight() { return shrinkWeight; }
        public ProductData setShrinkWeight(Double value) { this.shrinkWeight = value; return this; }
        public BigDecimal getUnitWeight() { return unitWeight; }
        public ProductData setUnitWeight(BigDecimal value) { this.unitWeight = value; return this; }
        public BigDecimal getCartonPrice() { return cartonPrice; }
        public ProductData setCartonPrice(BigDecimal value) { this.cartonPrice = value; return this; }
        public BigDecimal getShrinkPrice() { return shrinkPrice; }
        public ProductData setShrinkPrice(BigDecimal value) { this.shrinkPrice = value; return this; }
        public BigDecimal getUnitPrice() { return unitPrice; }
        public ProductData setUnitPrice(BigDecimal value) { this.unitPrice = value; return this; }
        public Integer getMaxQuantity() { return maxQuantity; }
        public ProductData setMaxQuantity(Integer value) { this.maxQuantity = value; return this; }
        public Integer getMaxPrice() { return maxPrice; }
        public ProductData setMaxPrice(Integer value) { this.maxPrice = value; return this; }
    }

    public static class ProductExceptionData
    {
        public String region = null;
        public String channel = null;
        public Integer productId = null;
        public ArrayList<Integer> stockStatusIds = null;
        
        public String getRegion() { return region; }
        public ProductExceptionData setRegion(String value) { this.region = value; return this; }
        public String getChannel() { return channel; }
        public ProductExceptionData setChannel(String value) { this.channel = value; return this; }
        public Integer getProductId() { return productId; }
        public ProductExceptionData setProductId(Integer value) { this.productId = value; return this; }
        public ArrayList<Integer> getStockStatusIds() { return stockStatusIds; }
        public ProductExceptionData setStockStatusIds(ArrayList<Integer> value) { this.stockStatusIds = value; return this; }
    }

    public static enum ActionOutsideMaxDistanceType
    {
        @SerializedName("0") Warn(0),
        @SerializedName("1") Block(1);

        private final int value;
        ActionOutsideMaxDistanceType(final int intValue) { value = intValue; }
        public int getValue() { return value; }
    }

    public static class UpliftTemplateData
    {
        public BigDecimal totalValue = null;
        public ArrayList<TemplateProductData> products = null;
        public ArrayList<UpliftRequestSealData> seals = null;
        
        public BigDecimal getTotalValue() { return totalValue; }
        public UpliftTemplateData setTotalValue(BigDecimal value) { this.totalValue = value; return this; }
        public ArrayList<TemplateProductData> getProducts() { return products; }
        public UpliftTemplateData setProducts(ArrayList<TemplateProductData> value) { this.products = value; return this; }
        public ArrayList<UpliftRequestSealData> getSeals() { return seals; }
        public UpliftTemplateData setSeals(ArrayList<UpliftRequestSealData> value) { this.seals = value; return this; }
    }

    public static class TemplateProductData
    {
        public String name = null;
        public String productCode = null;
        public String barcode = null;
        public HashMap<Integer,Integer> statusQty = null;
        public BigDecimal returnValue = null;
        
        public String getName() { return name; }
        public TemplateProductData setName(String value) { this.name = value; return this; }
        public String getProductCode() { return productCode; }
        public TemplateProductData setProductCode(String value) { this.productCode = value; return this; }
        public String getBarcode() { return barcode; }
        public TemplateProductData setBarcode(String value) { this.barcode = value; return this; }
        public HashMap<Integer,Integer> getStatusQty() { return statusQty; }
        public TemplateProductData setStatusQty(HashMap<Integer,Integer> value) { this.statusQty = value; return this; }
        public BigDecimal getReturnValue() { return returnValue; }
        public TemplateProductData setReturnValue(BigDecimal value) { this.returnValue = value; return this; }
    }

    public static class UpliftRequestSealData
    {
        public String number = null;
        public Double weight = null;
        
        public String getNumber() { return number; }
        public UpliftRequestSealData setNumber(String value) { this.number = value; return this; }
        public Double getWeight() { return weight; }
        public UpliftRequestSealData setWeight(Double value) { this.weight = value; return this; }
    }

    public static class StockStatusData
    {
        public Integer id = null;
        public String name = null;
        public Boolean photoRequired = null;
        public String color = null;
        
        public Integer getId() { return id; }
        public StockStatusData setId(Integer value) { this.id = value; return this; }
        public String getName() { return name; }
        public StockStatusData setName(String value) { this.name = value; return this; }
        public Boolean isPhotoRequired() { return photoRequired; }
        public StockStatusData setPhotoRequired(Boolean value) { this.photoRequired = value; return this; }
        public String getColor() { return color; }
        public StockStatusData setColor(String value) { this.color = value; return this; }
    }

    public static class SealTemplateData
    {
        public ArrayList<SealTemplateItemData> items = null;
        
        public ArrayList<SealTemplateItemData> getItems() { return items; }
        public SealTemplateData setItems(ArrayList<SealTemplateItemData> value) { this.items = value; return this; }
    }

    public static class SealTemplateItemData
    {
        public String sealNumber = null;
        public Integer productStockStatus = null;
        public ArrayList<SealTemplateProduct> products = null;
        
        public String getSealNumber() { return sealNumber; }
        public SealTemplateItemData setSealNumber(String value) { this.sealNumber = value; return this; }
        public Integer getProductStockStatus() { return productStockStatus; }
        public SealTemplateItemData setProductStockStatus(Integer value) { this.productStockStatus = value; return this; }
        public ArrayList<SealTemplateProduct> getProducts() { return products; }
        public SealTemplateItemData setProducts(ArrayList<SealTemplateProduct> value) { this.products = value; return this; }
    }

    public static class SealTemplateProduct
    {
        public Integer productId = null;
        public String name = null;
        public Integer productStockStatusId = null;
        public Integer quantity = null;
        public String serialNumber = null;
        
        public Integer getProductId() { return productId; }
        public SealTemplateProduct setProductId(Integer value) { this.productId = value; return this; }
        public String getName() { return name; }
        public SealTemplateProduct setName(String value) { this.name = value; return this; }
        public Integer getProductStockStatusId() { return productStockStatusId; }
        public SealTemplateProduct setProductStockStatusId(Integer value) { this.productStockStatusId = value; return this; }
        public Integer getQuantity() { return quantity; }
        public SealTemplateProduct setQuantity(Integer value) { this.quantity = value; return this; }
        public String getSerialNumber() { return serialNumber; }
        public SealTemplateProduct setSerialNumber(String value) { this.serialNumber = value; return this; }
    }

}

Java GetUpliftSchedule 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 /upliftscedule HTTP/1.1 
Host: antel.api.dev.86degrees.com 
Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"appointments":[{"scheduleId":0,"appointmentDate":"String","outletName":"String","outletChannel":"String","upliftStatus":0,"isComplete":false,"inProgress":false,"isLate":false,"goodToCollectStatus":false,"principlesWithGoodsToCollect":"","principleAppointments":[{"principle":{"principalId":0,"name":"String","authLetterFileUrl":["String"],"logoImageUrl":"String","products":[{"unitBarcode":"String","products":[{"productId":0,"principalId":0,"name":"String","category":"String","productCode":"String","unitBarcode":"String","cartonQuantity":0,"shrinkQuantity":0,"unitQuantity":0,"cartonMeasurement":"String","shrinkMeasurement":"String","unitMeasurement":"String","cartonWeight":0,"shrinkWeight":0,"unitWeight":0,"cartonPrice":0,"shrinkPrice":0,"unitPrice":0,"maxQuantity":0,"maxPrice":0}]}],"upliftPrefix":"String","contactName":"String","contactNumber":"String","contactEmail":"String","allowProductLookup":false,"hasLogo":false,"hasAuthLetter":false,"sealNetWeightMandatory":false,"allowBillableSeals":false,"captureSerialNumber":false,"batchCodesMandatory":false,"captureManufactureAndExpiryDate":false,"productExceptions":[{"region":"String","channel":"String","productId":0,"stockStatusIds":[0]}],"usesOwnSealNumbers":false},"scheduledDate":"String","upliftScheduleId":0,"upliftSchedulePrincipleId":0,"principleOutletId":0,"verificationCode":"String","goodsToCollect":false,"outletRegion":"String","outletName":"String","outletChannel":"String","outletLatitude":0,"outletLongitude":0,"maxSubmissionDistance":0,"actionOutsideMaxDistance":0,"completedDate":"String","cancelled":false,"completed":false,"upliftTemplate":{"totalValue":0,"products":[{"name":"String","productCode":"String","barcode":"String","statusQty":{"0":0},"returnValue":0}],"seals":[{"number":"String","weight":0}]},"prePopulated":false,"allowedProductStockStatuses":[{"id":0,"name":"String","photoRequired":false,"color":"String"}],"noteToOperator":"String","sealTemplate":{"items":[{"sealNumber":"String","productStockStatus":0,"products":[{"productId":0,"name":"String","productStockStatusId":0,"quantity":0,"serialNumber":"String"}]}]},"prePopulatedWithSeals":false,"preAuthed":false,"operatorName":"String","systemUserId":0,"productExceptions":[{"region":"String","channel":"String","productId":0,"stockStatusIds":[0]}],"storeConfirmationDocumentUrl":"String"}]}],"description":"String","heading":"String","wasSuccessful":false,"responseStatus":{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}}}