Antel API

<back to all web services

GetUpliftSchedule

Requires Authentication
The following routes are available for this service:
GET/upliftscedule
ApiServiceRequest Parameters:
NameParameterData TypeRequiredDescription
ApiKeyformstringYesThe API Key required for authentication
LatitudeformdoubleNoLatitude of the user making this request
LongitudeformdoubleNoLongitude of the user making this request
GetUpliftScheduleResponse Parameters:
NameParameterData TypeRequiredDescription
AppointmentsformList<AppointmentData>No
ApiServiceResponse Parameters:
NameParameterData TypeRequiredDescription
DescriptionformstringYesInformation about the response.
HeadingformstringYesHeading or summary of the response.
WasSuccessfulformbooleanYesDid the intended operation for this response complete successfully?
ResponseStatusformResponseStatusNo
AppointmentData Parameters:
NameParameterData TypeRequiredDescription
ScheduleIdformintNo
AppointmentDateformstringNo
OutletNameformstringNo
OutletChannelformstringNo
UpliftStatusformUpliftScheduleStatusNo
IsCompleteformboolNo
InProgressformboolNo
IsLateformboolNo
GoodToCollectStatusformboolNo
PrinciplesWithGoodsToCollectformstringNo
PrincipleAppointmentsformList<AppointmentPrincipleData>No
UpliftScheduleStatus Enum:
NameValue
Unconfirmed0
Confirmed1
PortalCancelled4
UserCancelled5
NoOperatorAssigned6
AppointmentPrincipleData Parameters:
NameParameterData TypeRequiredDescription
PrincipleformPrincipalDataNo
ScheduledDateformstringNo
UpliftScheduleIdformintNo
UpliftSchedulePrincipleIdformintNo
PrincipleOutletIdformintNo
VerificationCodeformstringNo
GoodsToCollectformboolNo
OutletRegionformstringNo
OutletNameformstringNo
OutletChannelformstringNo
OutletLatitudeformdoubleNo
OutletLongitudeformdoubleNo
MaxSubmissionDistanceformdoubleNo
ActionOutsideMaxDistanceformActionOutsideMaxDistanceTypeNo
CompletedDateformstringNo
CancelledformboolNo
CompletedformboolNo
UpliftTemplateformUpliftTemplateDataNo
PrePopulatedformboolNo
AllowedProductStockStatusesformList<StockStatusData>No
NoteToOperatorformstringNo
SealTemplateformSealTemplateDataNo
PrePopulatedWithSealsformboolNo
PreAuthedformboolNo
OperatorNameformstringNo
SystemUserIdformintNo
ProductExceptionsformList<ProductExceptionData>No
StoreConfirmationDocumentUrlformstringNo
PrincipalData Parameters:
NameParameterData TypeRequiredDescription
PrincipalIdformintNo
NameformstringNo
AuthLetterFileUrlformList<string>No
LogoImageUrlformstringNo
ProductsformList<ProductDataCategory>No
UpliftPrefixformstringNo
ContactNameformstringNo
ContactNumberformstringNo
ContactEmailformstringNo
AllowProductLookupformboolNo
HasLogoformboolNo
HasAuthLetterformboolNo
SealNetWeightMandatoryformboolNo
AllowBillableSealsformboolNo
CaptureSerialNumberformboolNo
BatchCodesMandatoryformboolNo
CaptureManufactureAndExpiryDateformboolNo
ProductExceptionsformList<ProductExceptionData>No
UsesOwnSealNumbersformboolNo
ProductDataCategory Parameters:
NameParameterData TypeRequiredDescription
UnitBarcodeformstringNo
ProductsformList<ProductData>No
ProductData Parameters:
NameParameterData TypeRequiredDescription
ProductIdformintNo
PrincipalIdformintNo
NameformstringNo
CategoryformstringNo
ProductCodeformstringNo
UnitBarcodeformstringNo
CartonQuantityformintNo
ShrinkQuantityformintNo
UnitQuantityformintNo
CartonMeasurementformstringNo
ShrinkMeasurementformstringNo
UnitMeasurementformstringNo
CartonWeightformdoubleNo
ShrinkWeightformdoubleNo
UnitWeightformdecimalNo
CartonPriceformdecimalNo
ShrinkPriceformdecimalNo
UnitPriceformdecimalNo
MaxQuantityformintNo
MaxPriceformintNo
ProductExceptionData Parameters:
NameParameterData TypeRequiredDescription
RegionformstringNo
ChannelformstringNo
ProductIdformintNo
StockStatusIdsformList<int>No
ActionOutsideMaxDistanceType Enum:
NameValue
Warn0
Block1
UpliftTemplateData Parameters:
NameParameterData TypeRequiredDescription
TotalValueformdecimalNo
ProductsformList<TemplateProductData>No
SealsformList<UpliftRequestSealData>No
TemplateProductData Parameters:
NameParameterData TypeRequiredDescription
NameformstringNo
ProductCodeformstringNo
BarcodeformstringNo
StatusQtyformDictionary<int, int>No
ReturnValueformdecimalNo
UpliftRequestSealData Parameters:
NameParameterData TypeRequiredDescription
NumberformstringNo
WeightformdoubleNo
StockStatusData Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
NameformstringNo
PhotoRequiredformboolNo
ColorformstringNo
SealTemplateData Parameters:
NameParameterData TypeRequiredDescription
ItemsformList<SealTemplateItemData>No
SealTemplateItemData Parameters:
NameParameterData TypeRequiredDescription
SealNumberformstringNo
ProductStockStatusformintNo
ProductsformList<SealTemplateProduct>No
SealTemplateProduct Parameters:
NameParameterData TypeRequiredDescription
ProductIdformintNo
NameformstringNo
ProductStockStatusIdformintNo
QuantityformintNo
SerialNumberformstringNo

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