Create a Workflow Action Webhook Argument

POST {{base_url}}/Workflow/dlgWorkflowActionWebhookArgs

Use this endpoint to create a web service argument on a workflow .

Specify the data for the new workflow action webhook argument in the request body.

Request

A successful call status of 201 Created returns the JSON representation for the newly created workflow action webhook argument and a call status of 400 Bad Request returns the JSON representation for the created workflow action webhook argument with a duplicate number.

Request Body

[{"name"=>"ActionID", "value"=>"{{string}}", "datatype"=>"string"}, {"name"=>"ArgName", "value"=>"{{string}}", "datatype"=>"string"}, {"name"=>"SQLExpression", "value"=>"{{string}}", "datatype"=>"string"}, {"name"=>"SQLIfExpression", "value"=>"{{string}}", "datatype"=>"string"}, {"name"=>"SQLElseExpression", "value"=>"{{string}}", "datatype"=>"string"}, {"name"=>"ArgOrder", "value"=>"{{integer}}", "datatype"=>"string"}]

HEADERS

KeyDatatypeRequiredDescription
Content-TypestringRequired.

The type of content supported by the API endpoint. | | Authorization | string | | Required.

The type of authorization supported by the API endpoint. |

RESPONSES

status: Created

[{"ActionID":"e593999103b945c2a832625426e4b95d","ArgName":"Test Arg","SQLExpression":"'[:CA.CreateDate.Old][:CA.Detail]'\u003c\u003e'[:CA.CreateUser]'AND'[:CA.CreateDate]'","SQLIfExpression":"'[:CA.CreateUser]''[:CA.CashBasisAccount][:CA.Detail]'","SQLElseExpression":"'[:CA.Detail][:CA.Detail]'","ArgOrder":1}]