Execute a webhook to create a new job.
Executes a webhook to create a new job. This requires the ArcGIS Workflow Manager Server Advanced role. The jobCreate privilege and access to the workflow item are required. If the primary credentials fail, use the fallback credentials. If the attachment is defined in the webhook, the input JSON is added to the job as an attachment in the folder defined. The default size limit of job attachment is 10MB. If the request was sent by a Feature Service webhook and Extract Changes is enabled, the action's output values are taken from the changesUrl value in the request body.
Starting at 11.2, the header
is required to execute webhooks. Enter the key and value that was used in the header
parameter when the webhook was created. If you are using the ArcGIS Webhook header security option, set the key to x-esri
.
If you choose not to set the header
, you must add allow
to the WorkflowManager.conf file to continue using the webhook. If you have an existing webhook where the header
is set, but is
is set to false
, you must update is
to true
.
Note: This functionality is not supported in ArcGIS Online.
Body parameter
{}
Path parameters
Name | Type | Required |
---|---|---|
|
| |
|
| |
|
| |
|
|
Examples
Request
# You can also use wget
curl -X POST /{orgId}/{itemId}/jobTemplates/{jobTemplateId}/automatedCreation/{automationId}/executeWebhook \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer {access-token}'
Response
200 Response
{
"jobIds": [
"string"
],
"message": "string",
"autoExecuted": true
}
Status | Meaning | Description | Schema |
---|---|---|---|
| success | ||
| error |