Values¶
Get input values of certain workflow owned by the user’s organization
Request¶
POST https://api.cloudplan.biz/api/workflow/values
{
"cp_id": "5E99B226A8A359837559CE38B9680B7B",
"limit": 10, //(optional) amount of elements
"page": 1, //(optional) number of the page
}
Reply¶
{
"status": 200,
"result": true,
"params": {
"cp_id": "5E99B226A8A359837559CE38B9680B7B",
"limit": 10,
"page": 1
},
"data": {
"inputs": [
{
"cp_id": "5EA16B3414625499589EA2EB23526045",
"docusign_cp_id": "5E99B226A8A359837559CE38B9680B7B",
"user_cp_id": "5603C79F5EF509852A307B172EDFD227",
"value": 678,
"value_type": "integer"
},
{
"cp_id": "5EA169F7DC40B9804A49A072FE6F0187",
"docusign_cp_id": "5E99B226A8A359837559CE38B9680B7B",
"user_cp_id": "5603C79F5EF509852A307B172EDFD227",
"value": 1.676,
"value_type": "float"
},
{
"cp_id": "5EA16A03EA378B58E35FAB3D8AEC0D5B",
"docusign_cp_id": "5E99B226A8A359837559CE38B9680B7B",
"user_cp_id": "5603C79F5EF509852A307B172EDFD227",
"value": "uhjkhbkj\njklj",
"value_type": "string"
},
{
"cp_id": "5EA16A0BCBDFFA77BDD448F5122E0520",
"docusign_cp_id": "5E99B226A8A359837559CE38B9680B7B",
"user_cp_id": "5603C79F5EF509852A307B172EDFD227",
"value": "1",
"value_type": "bool"
},
{
"cp_id": "5EA169D7CAE7E517BCA6AB9BF6800796",
"docusign_cp_id": "5E99B226A8A359837559CE38B9680B7B",
"user_cp_id": "5603C79F5EF509852A307B172EDFD227",
"value": "Ich stimme zu",
"value_type": "select"
},
{
"cp_id": "5EA169D7CAE7E517BCA6AB9BF6800796",
"docusign_cp_id": "5E99B226A8A359837559CE38B9680B7B",
"user_cp_id": "5603C79F5EF509852A307B172EDFD227",
"value": "2020-09-25",
"value_type": "date"
},
{
"cp_id": "5EA169D7CAE7E517BCA6AB9BF6800796",
"docusign_cp_id": "5E99B226A8A359837559CE38B9680B7B",
"user_cp_id": "5603C79F5EF509852A307B172EDFD227",
"value": "2020-09-25 11:00:00",
"value_type": "timestamp"
},
...
]
}
}
Error Codes¶
workflow_not_found
workflow_not_owned
invalid_cp_id