Back to index
Summary
Processes webhook events.requestStringrequiredThis parameter and the value displayed are required; request=processWebhookTrigger must appear in your query string.tokenIdStringrequiredAccess token public ID to use for processing webhook request. httpMethodStringoptionalHTTP method for processing webhooks. webhookHeaderStringoptionalHeaders associated with the request in the JSON format. webhookPayloadStringoptionalPayload from webhook. webhookUrlStringoptionalFull raw URL of the CloudBees CD/RO server, as it is called by the third-party system. |
Usage
Groovy
import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.processWebhookTrigger( request: "test-request", tokenId: "test-tokenId" /* optional arguments */ )