Run Workflow Mapping Rule
post
https://api.flxpoint.com/workflow/mapping-rule/runUse this when you want to create workflow data through the API.
๐ X-API-TOKENโฑ 2 req/sToken: Account ยท Source ยท Channel
This page explains the endpoint. To send a live test request, use the interactive tester in Stoplight or your own Postman / HTTP client.
Request
Body
application/jsonmappingRuleIdsarray[integer]requiredThe workflow rule ids to run (will be run in the order passed)
integer
objectsobjectrequiredNo properties documented.
valueobjectNo properties documented.
Example request
post
/workflow/mapping-rule/runcurl -X POST "https://api.flxpoint.com/workflow/mapping-rule/run" \
-H "Accept: application/json" \
-H "X-API-TOKEN: YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"mappingRuleIds": [
0
],
"objects": {},
"value": {}
}'Example body ยท application/json
{
"mappingRuleIds": [
0
],
"objects": {},
"value": {}
}Responses
200OKapplication/json
mappingRuleIdsarray[integer]requiredThe workflow rule ids to run (will be run in the order passed)
integer
objectsobjectrequiredNo properties documented.
valueobjectNo properties documented.
Example response
{
"mappingRuleIds": [
0
],
"objects": {},
"value": {}
}OpenAPI fragment
{
"post": {
"summary": "Run Workflow Mapping Rule",
"parameters": [],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/RunWorkflowRuleRequest"
}
}
}
},
"responses": {
"200": {
"description": "OK",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/RunWorkflowRuleRequest"
}
}
}
}
}
}
}Ready to run it? Send the curl from your terminal or Postman, or use the interactive tester in Stoplight.Open in Stoplight