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 .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.

GET /upliftscedule HTTP/1.1 
Host: antel.api.dev.86degrees.com 
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
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
		}
	}
}