def arecord_user_action_on_item(action, uid, iid, optional = {})
      optional['targetEntityType'] = 'item'
      optional['targetEntityId'] = iid
      acreate_event(action, 'user', uid, optional)
    end
def arecord_user_action_on_item(action, uid, iid, optional = {})
      optional['targetEntityType'] = 'item'
      optional['targetEntityId'] = iid
      acreate_event(action, 'user', uid, optional)
    end
:category: Asynchronous Methods
 Asynchronously request to record an action on an item and return a
 PredictionIO::AsyncResponse object immediately.

 Corresponding REST API method: POST /events.json

 See also #record_user_action_on_item.