sendReportingData

On this page
Back to index

Summary

Sends data to the DevOps Insight server.
payload
Stringrequired
The payload with the attribute values for the report object in JSON text format.
reportObjectTypeName
Stringrequired
The name of the report object for which the data(payload) is being sent to the DevOps Insight server.
validate
Booleanoptional
Whether to validate the fields in the payload based on the attributes defined for the report object type.

Usage

Groovy

import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.sendReportingData( payload: "test-payload", reportObjectTypeName: "test-reportObjectTypeName" /* optional arguments */ )