Aukro WebAPI
doAddPackageInfoToPostBuyForm
This method allows seller to add information on delivery to the after-sale form filled-out by a package recipient (up to 20 information on delivery can be added to each form).
-
sessionId | String | required
User's session identifier received using the doLogin(Enc) method. -
transactionId | Long
Transaction (after-sale form) identifier received by using the doGetTransactionsIDs method. -
packageInfo | PackageInfoStruct[]
Array of structures containing information on parcel (max. 20 for each transaction).-
operatorId | Integer
Identifier of a delivery operator (1 - UPS, 2 - GLS, 3 - Ruch, 4 - DHL, 5 - InPost, 6 - Poczta Polska, 7 -Siódemka, 9 - DPD, 10 - FedEX, 11 - TNT Express, 12 - DB Schenker, 13 - Raben, 14 - GEIS, 15 - Pocztex). -
packageId | String | required
Parcel identifier.
-
operatorId | Integer
-
postBuyFormPackageInfo | PostBuyFormPackageInfoStruct | required
Structure containing information on operation results-
packageIdsAdded | String[]
Array of parcel identifiers which have been uploaded successfully -
packageIdsNotAddedIncorrectOperatorId | String[]
Array of parcel identifiers which have not been uploaded due to invalid or empty parcel operator identifier -
packageIdsNotAddedIncorrectPackageId | String[]
Array of parcel identifiers which have not been uploaded due to invalid, empty or not matching parcel operator identifier
-
packageIdsAdded | String[]
-
ERR_INCORRECT_TRANSACTION_ID
Incorrect transaction identifier. -
ERR_NO_SESSION / ERR_SESSION_EXPIRED
Invalid session identifier or the session has expired. -
ERR_WEBAPI_KEY_INACTIVE
WebAPI key used to generate the session has been deactivated (the key owner has not accepted WebAPI User Agreement). -
ERR_WEBAPI_NOT_AVAIL
Problems with Aukro WebAPI service.