Aukro WebAPI

doSetUserLicenceDate

This method allows the key owner to set the expiry date of a license belonging to an indicated user.

  1. adminSessionHandle | String | required
    User's session identifier received using the doLogin(Enc) method.
  2. userLicLogin | String | required
    Username.
  3. userLicCountry | Integer | required
    Country identifier (a list of country identifiers can be loaded using the doGetCountries method).
  4. userLicDate | BigDecimal | required
    User's license expiration date.
  1. setDateValue | Integer
    Operation result (1 - success, 0 - fail).
  • ERR_BID_CANNOT_MASK
    Only the owner of a key provided while logging-in can call the method.
  • ERR_BLOCKED_USER_CANT_INVOKE_METHOD
    User whose account has been blocked cannot use this method.
  • ERR_NO_DATABASE
    Problems with Allegro database.
  • ERR_NO_SESSION / ERR_SESSION_EXPIRED
    Invalid session identifier or the session has expired.
  • ERR_USER_LOGIN_NOT_FOUND
    Incorrect username.
  • ERR_WEBAPI_KEY_INACTIVE
    The WebAPI key has been deactivated (User Agreement not accepted).
  • ERR_WEBAPI_NOT_AVAIL
    Problems with Aukro WebAPI service.