The workflow's id to update
- Delete a workflow
NP6 API Reference (8.1.0)
This documentation provides comprehensive access to the full range of functionalities offered by the NP6 platform through a standardized RESTful interface.
If you have any questions or need assistance, please contact our support team at https://support.chapsvision.com.
Data used to update the workflow
The workflow's script settings
The workflow's listeners
The workflow's capping definition
The workflow's nodes
- publish
- request
- script
- sendMail
- sendSms
- sms
- sleep
- wait
- wait.kill
- updateTarget
- multipleslots
- sendpushapp
- data-manager/pipeline
- data-table/pipeline
- np6.notification/execution
- if
- match
- sample
- split
- switch
- wait.race
- wait.all
- conditionaltimeslots
- data-explorer-v2.match
- terminal
The rationale for using this node, typically provided by AI.
Explains the logic, justification, or reasoning behind the node's presence in the workflow.
Set when applicable (e.g., when the node was suggested or auto-configured by AI).
- Production serverhttps://api-cm.np6.com/scripting/workflows/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PUT \
'https://api-cm.np6.com/scripting/workflows/{id}' \
-H 'Content-Type: application/json' \
-H 'X-Key: string' \
-d '{
"id": 0,
"name": "string",
"description": "string",
"state": 0,
"creationDate": "2019-08-24T14:15:22Z",
"updateDate": "2019-08-24T14:15:22Z",
"scripting": {
"version": "string"
},
"settings": {},
"listeners": [
{
"id": "string",
"name": "string",
"description": "string",
"event": {
"type": "string"
},
"handler": "string"
}
],
"capping": [
{
"key": {
"type": "string"
},
"increment": 0,
"threshold": 0,
"period": {
"type": "string"
},
"nodes": [
"string"
]
}
],
"nodes": [
{
"type": "string"
}
],
"tasks": [
{
"id": "string",
"name": "string",
"description": "string",
"schedulers": [
{
"type": "string"
}
],
"provider": {
"type": "string"
},
"handler": "string"
}
]
}'The updated workflow
The workflow's script settings
The workflow's listeners
The workflow's capping definition
The workflow's nodes
- publish
- request
- script
- sendMail
- sendSms
- sms
- sleep
- wait
- wait.kill
- updateTarget
- multipleslots
- sendpushapp
- data-manager/pipeline
- data-table/pipeline
- np6.notification/execution
- if
- match
- sample
- split
- switch
- wait.race
- wait.all
- conditionaltimeslots
- data-explorer-v2.match
- terminal
The rationale for using this node, typically provided by AI.
Explains the logic, justification, or reasoning behind the node's presence in the workflow.
Set when applicable (e.g., when the node was suggested or auto-configured by AI).
{ "id": 0, "name": "string", "description": "string", "state": 0, "creationDate": "2019-08-24T14:15:22Z", "updateDate": "2019-08-24T14:15:22Z", "scripting": { "version": "string" }, "settings": {}, "listeners": [ { "id": "string", "name": "string", "description": "string", "event": { "type": "string" }, "handler": "string" } ], "capping": [ { "key": { "type": "string" }, "increment": 0, "threshold": 0, "period": { "type": "string" }, "nodes": [ "string" ] } ], "nodes": [ { "type": "string" } ], "tasks": [ { "id": "string", "name": "string", "description": "string", "schedulers": [ { "type": "string" } ], "provider": { "type": "string" }, "handler": "string" } ] }
- Production serverhttps://api-cm.np6.com/scripting/workflows/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
'https://api-cm.np6.com/scripting/workflows/{id}' \
-H 'X-Key: string'- Production serverhttps://api-cm.np6.com/scripting/workflows/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PATCH \
'https://api-cm.np6.com/scripting/workflows/{id}' \
-H 'X-Key: string'The updated workflow
The workflow's script settings
The workflow's listeners
The workflow's capping definition
The workflow's nodes
- publish
- request
- script
- sendMail
- sendSms
- sms
- sleep
- wait
- wait.kill
- updateTarget
- multipleslots
- sendpushapp
- data-manager/pipeline
- data-table/pipeline
- np6.notification/execution
- if
- match
- sample
- split
- switch
- wait.race
- wait.all
- conditionaltimeslots
- data-explorer-v2.match
- terminal
The rationale for using this node, typically provided by AI.
Explains the logic, justification, or reasoning behind the node's presence in the workflow.
Set when applicable (e.g., when the node was suggested or auto-configured by AI).
{ "id": 0, "name": "string", "description": "string", "state": 0, "creationDate": "2019-08-24T14:15:22Z", "updateDate": "2019-08-24T14:15:22Z", "scripting": { "version": "string" }, "settings": {}, "listeners": [ { "id": "string", "name": "string", "description": "string", "event": { "type": "string" }, "handler": "string" } ], "capping": [ { "key": { "type": "string" }, "increment": 0, "threshold": 0, "period": { "type": "string" }, "nodes": [ "string" ] } ], "nodes": [ { "type": "string" } ], "tasks": [ { "id": "string", "name": "string", "description": "string", "schedulers": [ { "type": "string" } ], "provider": { "type": "string" }, "handler": "string" } ] }