Sha256: 0783c1bf2ad0db2a83226d8db6cc23beaa5abb394bd30ef3e516249cb98c17d7

Contents?: true

Size: 411 Bytes

Versions: 5

Compression:

Stored size: 411 Bytes

Contents

# Execute a workflow returns "Created" response

require "datadog_api_client"
api_instance = DatadogAPIClient::V2::WorkflowAutomationAPI.new

body = DatadogAPIClient::V2::WorkflowInstanceCreateRequest.new({
  meta: DatadogAPIClient::V2::WorkflowInstanceCreateMeta.new({
    payload: {
      "input": "value",
    },
  }),
})
p api_instance.create_workflow_instance("ccf73164-1998-4785-a7a3-8d06c7e5f558", body)

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
datadog_api_client-2.28.1 examples/v2/workflow-automation/CreateWorkflowInstance.rb
datadog_api_client-2.27.1 examples/v2/workflow-automation/CreateWorkflowInstance.rb
datadog_api_client-2.26.1 examples/v2/workflow-automation/CreateWorkflowInstance.rb
datadog_api_client-2.26.0 examples/v2/workflow-automation/CreateWorkflowInstance.rb
datadog_api_client-2.25.0 examples/v2/workflow-automation/CreateWorkflowInstance.rb