Added action_name and apiv as parameters.