Fields

Get fields from a workflow owned by the user’s organization

Request

POST https://api.cloudplan.biz/api/workflow/fields

{
    "cp_id": "5F71F6012A4B7030C01715028D88BDB8"
}

Reply

{
    "status": 200,
    "result": true,
    "params": {
        "cp_id": "5F71F6012A4B7030C01715028D88BDB8"
    },
    "data": [
        {
            "x": 25.28,
            "y": 21.27,
            "width": 16.7,
            "height": 3.34,
            "page": "1",
            "file_cp_id": "5F71CC6A71472280FF7004CF8130D72D",
            "email": "user1@cloudplan.net",
            "display_type": "signature",
            "cp_id": "5F71F714961AD19DAF8EF89B2A27B00F",
            "step": 0,
            "dateformat": "Y-m-d",
            "required": true,
            "prefilled": true,
            "show_only": false,
            "title": "Unterschrift",
            "background_color": "transparent",
            "border_show": false,
            "title_show": true
        },
        {
            "x": 20,
            "y": 30,
            "width": 13.16,
            "height": 3.45,
            "page": "1",
            "file_cp_id": "5F71CC6A71472280FF7004CF8130D72D",
            "email": "user1@cloudplan.net",
            "display_type": "integer",
            "cp_id": "5F71F71459E493333429DFAF7ABC9576",
            "step": 0,
            "required": true,
            "prefilled": true,
            "show_only": false,
            "title": "Number",
            "text": "fgnnnnn",
            "value_pre": "9",
            "fontsize": 2,
            "background_color": "transparent",
            "border_show": false,
            "title_show": true
        }
    ]
}

Error Codes

workflow_not_found
workflow_not_owned
invalid_cp_id