Antel API

<back to all web services

SaveUplift

Requires Authentication
The following routes are available for this service:
POST/uplift
SaveUplift Parameters:
NameParameterData TypeRequiredDescription
UpliftbodyUpliftDataNo
ApiServiceRequest Parameters:
NameParameterData TypeRequiredDescription
ApiKeyformstringYesThe API Key required for authentication
LatitudeformdoubleNoLatitude of the user making this request
LongitudeformdoubleNoLongitude of the user making this request
UpliftData Parameters:
NameParameterData TypeRequiredDescription
UpliftIdformintNo
PrincipleOutletIdformintNo
UpliftScheduleIdformintNo
UpliftSchedulePrincipleIdformintNo
AuthRequestIdformGuidNo
DelayedAuthformboolNo
AppointmentPrincipleDataformAppointmentPrincipleDataNo
AuthCodeformstringNo
StartTimeformstringNo
EndTimeformstringNo
SequentialNumberformstringNo
StartLatitudeformdoubleNo
StartLongitudeformdoubleNo
EndLatitudeformdoubleNo
EndLongitudeformdoubleNo
TotalValueformdecimalNo
TotalUnitsformdoubleNo
CommentsformstringNo
AdhocEmailAddressformstringNo
VatValueformdecimalNo
StatusImagesformDictionary<int, List<Object>>No
DamagedOkImagesformList<Object>No
DamagedBadImagesformList<Object>No
ExpiredImagesformList<Object>No
RecallImagesformList<Object>No
GoodStockImagesformList<Object>No
DerangedImagesformList<Object>No
OverstockedImagesformList<Object>No
FactoryFaultImagesformList<Object>No
OutletContactNameformstringNo
OutletContactNumberformstringNo
OutletLatitudeformdoubleNo
OutletLongitudeformdoubleNo
MaxSubmissionDistanceformdoubleNo
ActionOutsideMaxDistanceformActionOutsideMaxDistanceTypeNo
OutletSignatureImageformObjectNo
OperatorSignatureImageformObjectNo
OperatorRegNumberImageformObjectNo
SealsformList<UpliftSealData>No
InvalidAntelSealformboolNo
UnbaggedItemsformUpliftSealDataNo
AuthorisedformboolNo
ClaimsformList<UpliftClaimData>No
LastUpdatedformDateTimeNo
LastSyncedformDateTimeNo
CheckedOutDeviceIdformGuidNo
CheckedOutOperatorNameformstringNo
IncompleteUpliftIdformGuidNo
PauseReasonformstringNo
StoreConfirmationDocumentUrlformstringNo
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
UpliftSealData Parameters:
NameParameterData TypeRequiredDescription
UnbaggedformboolNo
SealNumberformstringNo
AntelSealNumberformstringNo
ProductsformList<UpliftProductData>No
TotalPriceformdoubleNo
TotalQuantityformdoubleNo
NetWeightformdoubleNo
GrossWeightformdoubleNo
BillableSealformboolNo
InvalidAntelSealNumberformboolNo
UpliftProductData Parameters:
NameParameterData TypeRequiredDescription
UpliftProductIdformintNo
UpliftIdformintNo
ProductIdformintNo
UnitPriceformdecimalNo
NameformstringNo
CategoryformstringNo
UnitBarcodeformstringNo
UnitSizeformstringNo
UnitWeightformdecimalNo
CodeformstringNo
UpliftImagesformList<Object>No
QuantityformdoubleNo
ValueformdecimalNo
PriceOverMaxformboolNo
QuantityOverMaxformboolNo
QuantityOverRequirementformboolNo
SerialNumberformstringNo
BatchCodeformstringNo
StockStatusIdformintNo
LotNumberformstringNo
ExpiryDateformstringNo
ManufactureDateformstringNo
UpliftClaimData Parameters:
NameParameterData TypeRequiredDescription
UpliftClaimIdformintNo
ClaimUnitsformintNo
ClaimNumberformstringNo
ClaimValueformdecimalNo
ClaimDocumentImagesformList<Object>No
ReturnOrderNumberformstringNo
LineCountformintNo
SaveUpliftResponse Parameters:
NameParameterData TypeRequiredDescription
UpliftIdformintNo
UpliftAuthRequestIdformGuidNo
SealsformList<UpliftSealData>No
UnbaggedItemsformUpliftSealDataNo
ClaimsformList<UpliftClaimData>No
DeleteFromDeviceformboolNo
ImageIdsformList<string>No
InvalidAntelSealformboolNo
ApiServiceResponse Parameters:
NameParameterData TypeRequiredDescription
DescriptionformstringYesInformation about the response.
HeadingformstringYesHeading or summary of the response.
WasSuccessfulformbooleanYesDid the intended operation for this response complete successfully?
ResponseStatusformResponseStatusNo

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.

POST /uplift HTTP/1.1 
Host: antel.api.dev.86degrees.com 
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length

{
	uplift: 
	{
		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

{
	upliftId: 0,
	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
		}
	],
	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
	},
	claims: 
	[
		{
			upliftClaimId: 0,
			claimUnits: 0,
			claimNumber: String,
			claimValue: 0,
			claimDocumentImages: 
			[
				{
					
				}
			],
			returnOrderNumber: String,
			lineCount: 0
		}
	],
	deleteFromDevice: False,
	imageIds: 
	[
		String
	],
	invalidAntelSeal: False,
	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
		}
	}
}