Aukro WebAPI

doLogin

This method allows for authentication and authorisation of a user using account access data (login or e-mail address and password). After successful authentication, the user receives a session identifier which can then be used when calling methods requiring authorisation. The session identifier is valid for one hour from its creation.

  1. userLogin | String | required
    Username (1-16 characters) or e-mail address.
  2. userPassword | String | required
    User's password (6-16 characters).
  3. countryId | Integer | required
    Country identifier (a list of country identifiers can be loaded using the doGetCountries method).
  4. webapiKey | String | required
    User's WebAPI key.
  5. localVersion | Long | required
    Version key relevant for a selected country and WebAPI key provided.
  1. sessionHandlePart | String | required
    Session identifier.
  2. userId | Long
    Logged user identifier
  3. serverTime | Long
    Current server time (in the Unix time format)
  • ERR_AUTHORIZATION_ERROR
    Indicated account has been closed and you cannot log in.
  • ERR_CAPTCHA_REQUIRED
    Access to WebAPI has been blocked due to significant number of failed attempts of logging in. The access will be unblocked after a successful logging in on Login page.
  • ERR_INPUT_COUNTRY_ERROR
    Invalid country identifier (zero or empty value has been provided in the parameter).
  • ERR_INVALID_VERSION_CAT_SELL_FIELDS
    Invalid key version value.
  • ERR_JUNIOR_CANT_LOGIN_IN_THIS_COUNTRY
    Junior account user cannot log in to the indicated country.
  • ERR_LICENCE_EXPIRED_OR_CLOSED
    User calling the method is not on a list of users allowed to use an API key with enabled license mechanism.
  • ERR_NO_DATABASE
    Problems with Allegro database.
  • ERR_NO_SESSION
    Problems with authorization mechanism or a user has terminated the User Agreement.
  • ERR_PASSWORD_TOO_EASY
    Due to security reasons, please create new password to your Allegro account. In order to provide required changes, log in and then follow displayed instructions.
  • ERR_SM_MIGRATION_IN_PROGRESS
    You cannot log in during account migration to the Sale Manager.
  • ERR_USER_PASSWD
    Incorrect password.
  • ERR_WEBAPI_EXPIRED
    Expiry date of WebAPI key has been exceeded.
  • ERR_WEBAPI_KEY
    Invalid value of WebAPI key or WebAPI key has been blocked.
  • ERR_WEBAPI_KEY_INACTIVE
    The WebAPI key has been deactivated (User Agreement not accepted).
  • ERR_WEBAPI_NOT_AVAIL
    Problems with Aukro WebAPI service.