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

  1. sessionId | String | required
    User's session identifier received using the doLogin(Enc) method.
  2. transactionId | Long
    Transaction (after-sale form) identifier received by using the doGetTransactionsIDs method.
  3. packageInfo | PackageInfoStruct[]
    Array of structures containing information on parcel (max. 20 for each transaction).
    1. 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).
    2. packageId | String | required
      Parcel identifier.
  1. postBuyFormPackageInfo | PostBuyFormPackageInfoStruct | required
    Structure containing information on operation results
    1. packageIdsAdded | String[]
      Array of parcel identifiers which have been uploaded successfully
    2. packageIdsNotAddedIncorrectOperatorId | String[]
      Array of parcel identifiers which have not been uploaded due to invalid or empty parcel operator identifier
    3. packageIdsNotAddedIncorrectPackageId | String[]
      Array of parcel identifiers which have not been uploaded due to invalid, empty or not matching parcel operator identifier
  • 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.