Method: VoucherifySdk::AsyncActionsApi#get_async_action

Defined in:
lib/VoucherifySdk/api/async_actions_api.rb

#get_async_action(async_action_id, opts = {}) ⇒ AsyncActionGetResponseBody

Get Async Action Check the result of a scheduled asynchronous operation. The table below lists the possible types of async actions. The types are different for each endpoint generating the async action. If you would like to learn more about importing data into Voucherify, read more [here](support.voucherify.io/article/574-data-import).

Parameters:

  • async_action_id (String)

    Unique ID of the asynchronous operation.

  • opts (Hash) (defaults to: {})

    the optional parameters

Returns:



27
28
29
30
# File 'lib/VoucherifySdk/api/async_actions_api.rb', line 27

def get_async_action(async_action_id, opts = {})
  data, _status_code, _headers = get_async_action_with_http_info(async_action_id, opts)
  data
end