Home Discussions Questions & Answers Setting Parameters and Options via Concurrent API

Setting Parameters and Options via Concurrent API

Avatar photoCustomer July 9, 2019 at 10:06 am

When using `xxen_api.report_submit_concurrent_` (the flexible API), how do I set individual user parameters and runtime options like the desired template name?

Viewing 4 reply threads
  • Author
    Replies
    • Support July 11, 2019 at 1:05 am  

      After initiating the submission to get a `run_id`, you use dedicated setting procedures. For user parameters, use `xxen_api.set_parameter_value_`.

    • Avatar photoCustomer July 11, 2019 at 9:40 am  

      And how do I specify a runtime option, like the ‘EMAIL’ address?

    • Support July 12, 2019 at 1:40 am  

      For runtime options, you call **`xxen_api.set_runtime_option`**. You pass the name of the option (e.g., ‘EMAIL’, ‘OUTPUT_FORMAT’, ‘TEMPLATE_NAME’, or ‘ROW_LIMIT’) and the corresponding value, linked by the `p_run_id`.

    • Avatar photoCustomer July 13, 2019 at 7:34 am  

      Does the API handle referencing parameters by name or ID?

    • Support July 14, 2019 at 10:35 pm  

      Yes, procedures like `xxen_api.set_parameter_value_` can be called either by parameter name or by parameter ID.

Viewing 4 reply threads
  • You must be logged in to reply to this post.

Login with: