Method: PureCloud::AlertingApi#post_alerting_interactionstats_rules

Defined in:
lib/purecloudplatformclientv2/api/alerting_api.rb

#post_alerting_interactionstats_rules(body, opts = {}) ⇒ InteractionStatsRule

Create an interaction stats rule.

Parameters:

  • body

    AlertingRule

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

    the optional parameters

Options Hash (opts):

  • :expand (Array<String>)

    Which fields, if any, to expand

Returns:



547
548
549
550
# File 'lib/purecloudplatformclientv2/api/alerting_api.rb', line 547

def post_alerting_interactionstats_rules(body, opts = {})
  data, _status_code, _headers = post_alerting_interactionstats_rules_with_http_info(body, opts)
  return data
end