Values Update

Update input values of certain workflow owned by the user’s organization

Request

POST https://api.cloudplan.biz/api/workflow/values/update

cp_id:          (string) id of the field to update
docusign_cp_id: (string) id of the workflow
value:          (any) actual value you want to set, type depends on field

Request Example

POST https://api.cloudplan.biz/api/workflow/values/update

{
    "cp_id": "5EA16B3414625499589EA2EB23526045",
    "docusign_cp_id": "62B18D2C4A65E596D6D7D67F495C1E6F",
    "value" 678
}

Reply

{
    "status": 200,
    "result": true,
    "params": {
        "cp_id": "5EA16B3414625499589EA2EB23526045",
        "value" 678
    },
    "data": {
        "inputs": [
            {
                "cp_id": "5EA16B3414625499589EA2EB23526045",
                "docusign_cp_id": "5E99B226A8A359837559CE38B9680B7B",
                "user_cp_id": "5603C79F5EF509852A307B172EDFD227",
                "value": 678,
                "value_type": "integer"
            }
        ]
    }
}

Error Codes

workflow_not_found
workflow_not_owned
value_not_provided
not_a_number
not_a_boolean
not_a_string
select_tag_not_found_in_workflow
select_value_invalid
select_tag_not_found
value_not_found