| POST | /sync/saveincompleteuplift |
|---|
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
public static class SaveIncompleteUplift extends ApiServiceRequest
{
public UUID incompleteUpliftId = null;
public ArrayList<String> imageIdsOnDevice = null;
public UpliftData upliftData = null;
public UUID getIncompleteUpliftId() { return incompleteUpliftId; }
public SaveIncompleteUplift setIncompleteUpliftId(UUID value) { this.incompleteUpliftId = value; return this; }
public ArrayList<String> getImageIdsOnDevice() { return imageIdsOnDevice; }
public SaveIncompleteUplift setImageIdsOnDevice(ArrayList<String> value) { this.imageIdsOnDevice = value; return this; }
public UpliftData getUpliftData() { return upliftData; }
public SaveIncompleteUplift setUpliftData(UpliftData value) { this.upliftData = value; return this; }
}
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 UpliftData
{
public Integer upliftId = null;
public Integer principleOutletId = null;
public Integer upliftScheduleId = null;
public Integer upliftSchedulePrincipleId = null;
public UUID authRequestId = null;
public Boolean delayedAuth = null;
public AppointmentPrincipleData appointmentPrincipleData = null;
public String authCode = null;
public String startTime = null;
public String endTime = null;
public String sequentialNumber = null;
public Double startLatitude = null;
public Double startLongitude = null;
public Double endLatitude = null;
public Double endLongitude = null;
public BigDecimal totalValue = null;
public Double totalUnits = null;
public String comments = null;
public String adhocEmailAddress = null;
public BigDecimal vatValue = null;
public HashMap<Integer,ArrayList<Object>> statusImages = null;
public ArrayList<Object> damagedOkImages = null;
public ArrayList<Object> damagedBadImages = null;
public ArrayList<Object> expiredImages = null;
public ArrayList<Object> recallImages = null;
public ArrayList<Object> goodStockImages = null;
public ArrayList<Object> derangedImages = null;
public ArrayList<Object> overstockedImages = null;
public ArrayList<Object> factoryFaultImages = null;
public String outletContactName = null;
public String outletContactNumber = null;
public Double outletLatitude = null;
public Double outletLongitude = null;
public Double maxSubmissionDistance = null;
public ActionOutsideMaxDistanceType actionOutsideMaxDistance = null;
public Object outletSignatureImage = null;
public Object operatorSignatureImage = null;
public Object operatorRegNumberImage = null;
public ArrayList<UpliftSealData> seals = null;
public Boolean invalidAntelSeal = null;
public UpliftSealData unbaggedItems = null;
public Boolean authorised = null;
public ArrayList<UpliftClaimData> claims = null;
public Date lastUpdated = null;
public Date lastSynced = null;
public UUID checkedOutDeviceId = null;
public String checkedOutOperatorName = null;
public UUID incompleteUpliftId = null;
public String pauseReason = null;
public String storeConfirmationDocumentUrl = null;
public Integer getUpliftId() { return upliftId; }
public UpliftData setUpliftId(Integer value) { this.upliftId = value; return this; }
public Integer getPrincipleOutletId() { return principleOutletId; }
public UpliftData setPrincipleOutletId(Integer value) { this.principleOutletId = value; return this; }
public Integer getUpliftScheduleId() { return upliftScheduleId; }
public UpliftData setUpliftScheduleId(Integer value) { this.upliftScheduleId = value; return this; }
public Integer getUpliftSchedulePrincipleId() { return upliftSchedulePrincipleId; }
public UpliftData setUpliftSchedulePrincipleId(Integer value) { this.upliftSchedulePrincipleId = value; return this; }
public UUID getAuthRequestId() { return authRequestId; }
public UpliftData setAuthRequestId(UUID value) { this.authRequestId = value; return this; }
public Boolean isDelayedAuth() { return delayedAuth; }
public UpliftData setDelayedAuth(Boolean value) { this.delayedAuth = value; return this; }
public AppointmentPrincipleData getAppointmentPrincipleData() { return appointmentPrincipleData; }
public UpliftData setAppointmentPrincipleData(AppointmentPrincipleData value) { this.appointmentPrincipleData = value; return this; }
public String getAuthCode() { return authCode; }
public UpliftData setAuthCode(String value) { this.authCode = value; return this; }
public String getStartTime() { return startTime; }
public UpliftData setStartTime(String value) { this.startTime = value; return this; }
public String getEndTime() { return endTime; }
public UpliftData setEndTime(String value) { this.endTime = value; return this; }
public String getSequentialNumber() { return sequentialNumber; }
public UpliftData setSequentialNumber(String value) { this.sequentialNumber = value; return this; }
public Double getStartLatitude() { return startLatitude; }
public UpliftData setStartLatitude(Double value) { this.startLatitude = value; return this; }
public Double getStartLongitude() { return startLongitude; }
public UpliftData setStartLongitude(Double value) { this.startLongitude = value; return this; }
public Double getEndLatitude() { return endLatitude; }
public UpliftData setEndLatitude(Double value) { this.endLatitude = value; return this; }
public Double getEndLongitude() { return endLongitude; }
public UpliftData setEndLongitude(Double value) { this.endLongitude = value; return this; }
public BigDecimal getTotalValue() { return totalValue; }
public UpliftData setTotalValue(BigDecimal value) { this.totalValue = value; return this; }
public Double getTotalUnits() { return totalUnits; }
public UpliftData setTotalUnits(Double value) { this.totalUnits = value; return this; }
public String getComments() { return comments; }
public UpliftData setComments(String value) { this.comments = value; return this; }
public String getAdhocEmailAddress() { return adhocEmailAddress; }
public UpliftData setAdhocEmailAddress(String value) { this.adhocEmailAddress = value; return this; }
public BigDecimal getVatValue() { return vatValue; }
public UpliftData setVatValue(BigDecimal value) { this.vatValue = value; return this; }
public HashMap<Integer,ArrayList<Object>> getStatusImages() { return statusImages; }
public UpliftData setStatusImages(HashMap<Integer,ArrayList<Object>> value) { this.statusImages = value; return this; }
public ArrayList<Object> getDamagedOkImages() { return damagedOkImages; }
public UpliftData setDamagedOkImages(ArrayList<Object> value) { this.damagedOkImages = value; return this; }
public ArrayList<Object> getDamagedBadImages() { return damagedBadImages; }
public UpliftData setDamagedBadImages(ArrayList<Object> value) { this.damagedBadImages = value; return this; }
public ArrayList<Object> getExpiredImages() { return expiredImages; }
public UpliftData setExpiredImages(ArrayList<Object> value) { this.expiredImages = value; return this; }
public ArrayList<Object> getRecallImages() { return recallImages; }
public UpliftData setRecallImages(ArrayList<Object> value) { this.recallImages = value; return this; }
public ArrayList<Object> getGoodStockImages() { return goodStockImages; }
public UpliftData setGoodStockImages(ArrayList<Object> value) { this.goodStockImages = value; return this; }
public ArrayList<Object> getDerangedImages() { return derangedImages; }
public UpliftData setDerangedImages(ArrayList<Object> value) { this.derangedImages = value; return this; }
public ArrayList<Object> getOverstockedImages() { return overstockedImages; }
public UpliftData setOverstockedImages(ArrayList<Object> value) { this.overstockedImages = value; return this; }
public ArrayList<Object> getFactoryFaultImages() { return factoryFaultImages; }
public UpliftData setFactoryFaultImages(ArrayList<Object> value) { this.factoryFaultImages = value; return this; }
public String getOutletContactName() { return outletContactName; }
public UpliftData setOutletContactName(String value) { this.outletContactName = value; return this; }
public String getOutletContactNumber() { return outletContactNumber; }
public UpliftData setOutletContactNumber(String value) { this.outletContactNumber = value; return this; }
public Double getOutletLatitude() { return outletLatitude; }
public UpliftData setOutletLatitude(Double value) { this.outletLatitude = value; return this; }
public Double getOutletLongitude() { return outletLongitude; }
public UpliftData setOutletLongitude(Double value) { this.outletLongitude = value; return this; }
public Double getMaxSubmissionDistance() { return maxSubmissionDistance; }
public UpliftData setMaxSubmissionDistance(Double value) { this.maxSubmissionDistance = value; return this; }
public ActionOutsideMaxDistanceType getActionOutsideMaxDistance() { return actionOutsideMaxDistance; }
public UpliftData setActionOutsideMaxDistance(ActionOutsideMaxDistanceType value) { this.actionOutsideMaxDistance = value; return this; }
public Object getOutletSignatureImage() { return outletSignatureImage; }
public UpliftData setOutletSignatureImage(Object value) { this.outletSignatureImage = value; return this; }
public Object getOperatorSignatureImage() { return operatorSignatureImage; }
public UpliftData setOperatorSignatureImage(Object value) { this.operatorSignatureImage = value; return this; }
public Object getOperatorRegNumberImage() { return operatorRegNumberImage; }
public UpliftData setOperatorRegNumberImage(Object value) { this.operatorRegNumberImage = value; return this; }
public ArrayList<UpliftSealData> getSeals() { return seals; }
public UpliftData setSeals(ArrayList<UpliftSealData> value) { this.seals = value; return this; }
public Boolean isInvalidAntelSeal() { return invalidAntelSeal; }
public UpliftData setInvalidAntelSeal(Boolean value) { this.invalidAntelSeal = value; return this; }
public UpliftSealData getUnbaggedItems() { return unbaggedItems; }
public UpliftData setUnbaggedItems(UpliftSealData value) { this.unbaggedItems = value; return this; }
public Boolean isAuthorised() { return authorised; }
public UpliftData setAuthorised(Boolean value) { this.authorised = value; return this; }
public ArrayList<UpliftClaimData> getClaims() { return claims; }
public UpliftData setClaims(ArrayList<UpliftClaimData> value) { this.claims = value; return this; }
public Date getLastUpdated() { return lastUpdated; }
public UpliftData setLastUpdated(Date value) { this.lastUpdated = value; return this; }
public Date getLastSynced() { return lastSynced; }
public UpliftData setLastSynced(Date value) { this.lastSynced = value; return this; }
public UUID getCheckedOutDeviceId() { return checkedOutDeviceId; }
public UpliftData setCheckedOutDeviceId(UUID value) { this.checkedOutDeviceId = value; return this; }
public String getCheckedOutOperatorName() { return checkedOutOperatorName; }
public UpliftData setCheckedOutOperatorName(String value) { this.checkedOutOperatorName = value; return this; }
public UUID getIncompleteUpliftId() { return incompleteUpliftId; }
public UpliftData setIncompleteUpliftId(UUID value) { this.incompleteUpliftId = value; return this; }
public String getPauseReason() { return pauseReason; }
public UpliftData setPauseReason(String value) { this.pauseReason = value; return this; }
public String getStoreConfirmationDocumentUrl() { return storeConfirmationDocumentUrl; }
public UpliftData setStoreConfirmationDocumentUrl(String value) { this.storeConfirmationDocumentUrl = value; return this; }
}
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; }
}
public static class UpliftSealData
{
public Boolean unbagged = null;
public String sealNumber = null;
public String antelSealNumber = null;
public ArrayList<UpliftProductData> products = null;
public Double totalPrice = null;
public Double totalQuantity = null;
public Double netWeight = null;
public Double grossWeight = null;
public Boolean billableSeal = null;
public Boolean invalidAntelSealNumber = null;
public Boolean isUnbagged() { return unbagged; }
public UpliftSealData setUnbagged(Boolean value) { this.unbagged = value; return this; }
public String getSealNumber() { return sealNumber; }
public UpliftSealData setSealNumber(String value) { this.sealNumber = value; return this; }
public String getAntelSealNumber() { return antelSealNumber; }
public UpliftSealData setAntelSealNumber(String value) { this.antelSealNumber = value; return this; }
public ArrayList<UpliftProductData> getProducts() { return products; }
public UpliftSealData setProducts(ArrayList<UpliftProductData> value) { this.products = value; return this; }
public Double getTotalPrice() { return totalPrice; }
public UpliftSealData setTotalPrice(Double value) { this.totalPrice = value; return this; }
public Double getTotalQuantity() { return totalQuantity; }
public UpliftSealData setTotalQuantity(Double value) { this.totalQuantity = value; return this; }
public Double getNetWeight() { return netWeight; }
public UpliftSealData setNetWeight(Double value) { this.netWeight = value; return this; }
public Double getGrossWeight() { return grossWeight; }
public UpliftSealData setGrossWeight(Double value) { this.grossWeight = value; return this; }
public Boolean isBillableSeal() { return billableSeal; }
public UpliftSealData setBillableSeal(Boolean value) { this.billableSeal = value; return this; }
public Boolean isInvalidAntelSealNumber() { return invalidAntelSealNumber; }
public UpliftSealData setInvalidAntelSealNumber(Boolean value) { this.invalidAntelSealNumber = value; return this; }
}
public static class UpliftProductData
{
public Integer upliftProductId = null;
public Integer upliftId = null;
public Integer productId = null;
public BigDecimal unitPrice = null;
public String name = null;
public String category = null;
public String unitBarcode = null;
public String unitSize = null;
public BigDecimal unitWeight = null;
public String code = null;
public ArrayList<Object> upliftImages = null;
public Double quantity = null;
public BigDecimal value = null;
public Boolean priceOverMax = null;
public Boolean quantityOverMax = null;
public Boolean quantityOverRequirement = null;
public String serialNumber = null;
public String batchCode = null;
public Integer stockStatusId = null;
public String lotNumber = null;
public String expiryDate = null;
public String manufactureDate = null;
public Integer getUpliftProductId() { return upliftProductId; }
public UpliftProductData setUpliftProductId(Integer value) { this.upliftProductId = value; return this; }
public Integer getUpliftId() { return upliftId; }
public UpliftProductData setUpliftId(Integer value) { this.upliftId = value; return this; }
public Integer getProductId() { return productId; }
public UpliftProductData setProductId(Integer value) { this.productId = value; return this; }
public BigDecimal getUnitPrice() { return unitPrice; }
public UpliftProductData setUnitPrice(BigDecimal value) { this.unitPrice = value; return this; }
public String getName() { return name; }
public UpliftProductData setName(String value) { this.name = value; return this; }
public String getCategory() { return category; }
public UpliftProductData setCategory(String value) { this.category = value; return this; }
public String getUnitBarcode() { return unitBarcode; }
public UpliftProductData setUnitBarcode(String value) { this.unitBarcode = value; return this; }
public String getUnitSize() { return unitSize; }
public UpliftProductData setUnitSize(String value) { this.unitSize = value; return this; }
public BigDecimal getUnitWeight() { return unitWeight; }
public UpliftProductData setUnitWeight(BigDecimal value) { this.unitWeight = value; return this; }
public String getCode() { return code; }
public UpliftProductData setCode(String value) { this.code = value; return this; }
public ArrayList<Object> getUpliftImages() { return upliftImages; }
public UpliftProductData setUpliftImages(ArrayList<Object> value) { this.upliftImages = value; return this; }
public Double getQuantity() { return quantity; }
public UpliftProductData setQuantity(Double value) { this.quantity = value; return this; }
public BigDecimal getValue() { return value; }
public UpliftProductData setValue(BigDecimal value) { this.value = value; return this; }
public Boolean isPriceOverMax() { return priceOverMax; }
public UpliftProductData setPriceOverMax(Boolean value) { this.priceOverMax = value; return this; }
public Boolean isQuantityOverMax() { return quantityOverMax; }
public UpliftProductData setQuantityOverMax(Boolean value) { this.quantityOverMax = value; return this; }
public Boolean isQuantityOverRequirement() { return quantityOverRequirement; }
public UpliftProductData setQuantityOverRequirement(Boolean value) { this.quantityOverRequirement = value; return this; }
public String getSerialNumber() { return serialNumber; }
public UpliftProductData setSerialNumber(String value) { this.serialNumber = value; return this; }
public String getBatchCode() { return batchCode; }
public UpliftProductData setBatchCode(String value) { this.batchCode = value; return this; }
public Integer getStockStatusId() { return stockStatusId; }
public UpliftProductData setStockStatusId(Integer value) { this.stockStatusId = value; return this; }
public String getLotNumber() { return lotNumber; }
public UpliftProductData setLotNumber(String value) { this.lotNumber = value; return this; }
public String getExpiryDate() { return expiryDate; }
public UpliftProductData setExpiryDate(String value) { this.expiryDate = value; return this; }
public String getManufactureDate() { return manufactureDate; }
public UpliftProductData setManufactureDate(String value) { this.manufactureDate = value; return this; }
}
public static class UpliftClaimData
{
public Integer upliftClaimId = null;
public Integer claimUnits = null;
public String claimNumber = null;
public BigDecimal claimValue = null;
public ArrayList<Object> claimDocumentImages = null;
public String returnOrderNumber = null;
public Integer lineCount = null;
public Integer getUpliftClaimId() { return upliftClaimId; }
public UpliftClaimData setUpliftClaimId(Integer value) { this.upliftClaimId = value; return this; }
public Integer getClaimUnits() { return claimUnits; }
public UpliftClaimData setClaimUnits(Integer value) { this.claimUnits = value; return this; }
public String getClaimNumber() { return claimNumber; }
public UpliftClaimData setClaimNumber(String value) { this.claimNumber = value; return this; }
public BigDecimal getClaimValue() { return claimValue; }
public UpliftClaimData setClaimValue(BigDecimal value) { this.claimValue = value; return this; }
public ArrayList<Object> getClaimDocumentImages() { return claimDocumentImages; }
public UpliftClaimData setClaimDocumentImages(ArrayList<Object> value) { this.claimDocumentImages = value; return this; }
public String getReturnOrderNumber() { return returnOrderNumber; }
public UpliftClaimData setReturnOrderNumber(String value) { this.returnOrderNumber = value; return this; }
public Integer getLineCount() { return lineCount; }
public UpliftClaimData setLineCount(Integer value) { this.lineCount = value; return this; }
}
public static class SaveIncompleteUpliftResponse extends ApiServiceResponse
{
public ArrayList<String> imageIds = null;
public ArrayList<String> getImageIds() { return imageIds; }
public SaveIncompleteUpliftResponse setImageIds(ArrayList<String> value) { this.imageIds = 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; }
}
}
Java SaveIncompleteUplift DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /sync/saveincompleteuplift HTTP/1.1
Host: antel.api.dev.86degrees.com
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
imageIdsOnDevice:
[
String
],
upliftData:
{
upliftId: 0,
principleOutletId: 0,
upliftScheduleId: 0,
upliftSchedulePrincipleId: 0,
delayedAuth: False,
appointmentPrincipleData:
{
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
},
authCode: String,
startTime: String,
endTime: String,
sequentialNumber: String,
startLatitude: 0,
startLongitude: 0,
endLatitude: 0,
endLongitude: 0,
totalValue: 0,
totalUnits: 0,
comments: String,
adhocEmailAddress: String,
vatValue: 0,
statusImages:
{
0:
[
{
}
]
},
damagedOkImages:
[
{
}
],
damagedBadImages:
[
{
}
],
expiredImages:
[
{
}
],
recallImages:
[
{
}
],
goodStockImages:
[
{
}
],
derangedImages:
[
{
}
],
overstockedImages:
[
{
}
],
factoryFaultImages:
[
{
}
],
outletContactName: String,
outletContactNumber: String,
outletLatitude: 0,
outletLongitude: 0,
maxSubmissionDistance: 0,
actionOutsideMaxDistance: 0,
outletSignatureImage: {},
operatorSignatureImage: {},
operatorRegNumberImage: {},
seals:
[
{
unbagged: False,
sealNumber: String,
antelSealNumber: String,
products:
[
{
upliftProductId: 0,
upliftId: 0,
productId: 0,
unitPrice: 0,
name: String,
category: String,
unitBarcode: String,
unitSize: String,
unitWeight: 0,
code: String,
upliftImages:
[
{
}
],
quantity: 0,
value: 0,
priceOverMax: False,
quantityOverMax: False,
quantityOverRequirement: False,
serialNumber: String,
batchCode: String,
stockStatusId: 0,
lotNumber: String,
expiryDate: String,
manufactureDate: String
}
],
totalPrice: 0,
totalQuantity: 0,
netWeight: 0,
grossWeight: 0,
billableSeal: False,
invalidAntelSealNumber: False
}
],
invalidAntelSeal: False,
unbaggedItems:
{
unbagged: False,
sealNumber: String,
antelSealNumber: String,
products:
[
{
upliftProductId: 0,
upliftId: 0,
productId: 0,
unitPrice: 0,
name: String,
category: String,
unitBarcode: String,
unitSize: String,
unitWeight: 0,
code: String,
upliftImages:
[
{
}
],
quantity: 0,
value: 0,
priceOverMax: False,
quantityOverMax: False,
quantityOverRequirement: False,
serialNumber: String,
batchCode: String,
stockStatusId: 0,
lotNumber: String,
expiryDate: String,
manufactureDate: String
}
],
totalPrice: 0,
totalQuantity: 0,
netWeight: 0,
grossWeight: 0,
billableSeal: False,
invalidAntelSealNumber: False
},
authorised: False,
claims:
[
{
upliftClaimId: 0,
claimUnits: 0,
claimNumber: String,
claimValue: 0,
claimDocumentImages:
[
{
}
],
returnOrderNumber: String,
lineCount: 0
}
],
lastUpdated: 0001-01-01,
lastSynced: 0001-01-01,
checkedOutOperatorName: String,
pauseReason: String,
storeConfirmationDocumentUrl: String
},
apiKey: String,
latitude: 0,
longitude: 0
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
imageIds:
[
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
}
}
}