Aukro WebAPI

doGetTransactionsIDs

This method allows for loading values of transaction identifiers (purchases completed by filling out an after-sale form by a buyer) and related additional payments based on passed offer identifiers. Results can be filtered by delivery methods by providing their identifiers while calling. Results are sorted in the same order in which forms related to the given offer have been filled out (since the most recent to the oldest one). Received transaction identifiers can be used e.g. to load filled out after-sale forms using the doGetPostBuyFormsDataForSellers/ForBuyers method. This method returns only transaction identifiers with filled out by a buyer after-sale forms (within the given offer).

  1. sessionHandle | String | required
    User's session identifier received using the doLogin(Enc) method.
  2. itemsIdArray | Long[] | required
    Array of offer identifiers (max. 25).
  3. userRole | String | required
    Role of a user in a transaction (appropriate for provided offer identifiers). Parameter can have one of two values ('seller' or 'buyer').
  4. shipmentIdArray | Long[]
    Array of shipping method identifiers (it can be loaded by using the doGetShipmentData). If no transaction are found for the given identifier, an empty structure is returned.
  1. transactionsIdsArray | Long[]
    Array of transaction IDs and related additional payments.
  • ERR_INPUT_ARRAY_EMPTY
    Array of transaction identifiers is empty.
  • ERR_INVALID_USER_TYPE
    Incorrect value for user's role
  • 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).