peopleFlows/steps/getAll

Lists all People Flow Steps within a given People Flow, including Instruction and Description data The fields listed here will be returned when this method is called.

POST
https://api.elvanto.com/v1/peopleFlows/steps/getAll.{json|xml|php}

Parameters

Name Type Description
flow_id Required string The UUID of the People Flow you wish to get the Steps for
Expected request JSON HTTP POST
{
    "flow_id": "2449eaa0-1058-11e5-bd65-06e37142e2e1"
}
Expected response JSON XML PHP
{
    "generated_in": "0.68",
    "status": "ok",
    "people_flow_steps": {
        "on_this_page": 3,
        "page": 1,
        "per_page": 3,
        "total": 3,
        "people_flow_step": [
            {
                "priority": "1",
                "status": "",
                "name": "Initial Email",
                "description": "Initial "Welcome to church" email.",
                "instructions": "First print all letters for those who have not got email addresses, then mark everyone as complete in the step and the emails will automatically be sent.",
                "notifications": "y",
                "entry_point": "",
                "step_due": {
                    "type": ""
                },
                "admins": [
                    {
                        "id": "bc49f10f-0333-11e5-bd65-06e37142e2e1",
                        "role": "Youth"
                    },
                    {
                        "id": "b96e2c40-0333-11e5-bd65-06e37142e2e1",
                        "role": ""
                    }
                ],
                "id": "d852e973-1058-11e5-bd65-06e37142e2e1",
                "steps": [
                    {
                        "priority": "1",
                        "status": "",
                        "name": "Phone Call",
                        "description": "First phone call someone receives when they are new to church.",
                        "instructions": "Call person. If you don't get on to them, make a note and mark their status to "In Progress". If you speak to the person, make a note and mark as Completed.",
                        "notifications": "y",
                        "entry_point": "",
                        "step_due": {
                            "type": "days",
                            "days": "3"
                        },
                        "admins": [
                            {
                                "id": "bc2c9a5f-0333-11e5-bd65-06e37142e2e1",
                                "role": ""
                            }
                        ],
                        "id": "0dc1474d-1059-11e5-bd65-06e37142e2e1",
                        "steps": [
                            {
                                "priority": "1",
                                "status": "",
                                "name": "4 Week Phone Call",
                                "description": "Person receives another phone call after 4 weeks.",
                                "instructions": "After calling, write a note and mark as Completed. Once marked Completed, choose whether they are Connecting or Not Connecting.",
                                "notifications": "y",
                                "entry_point": "",
                                "step_due": {
                                    "type": "days",
                                    "days": 30
                                },
                                "admins": [
                                    {
                                        "id": "bb7955cc-0333-11e5-bd65-06e37142e2e1",
                                        "role": ""
                                    }
                                ],
                                "id": "1b2d9759-1314-11e5-bd65-06e37142e2e1",
                                "steps": []
                            }
                        ]
                    }
                ]
            },
            {
                "priority": "2",
                "status": "",
                "name": "Connected",
                "description": "Once marked as Completed from here, the person moves from being a New Person to a Church Member.",
                "instructions": "",
                "notifications": "",
                "entry_point": "",
                "step_due": "",
                "admins": [],
                "id": "2cec5d9b-1314-11e5-bd65-06e37142e2e1",
                "steps": []
            },
            {
                "priority": "3",
                "status": "",
                "name": "Not Connected",
                "description": "If a person no longer wants to be contacted and does not want to connect with the church they are added to this step. Only Flow Admins can remove people from this step.",
                "instructions": "Once marked as Completed, a person moves from New Person to Inactive",
                "notifications": "",
                "entry_point": "",
                "step_due": "",
                "admins": [],
                "id": "39c21fac-1314-11e5-bd65-06e37142e2e1",
                "steps": []
            }
        ]
    }
}
Error responses

Please see our response status codes documentation for details of potential error responses for any API request.

  • 250: The "flow_id" parameter is required. A People Flow ID must be provided.
  • 250: The "flow_id" parameter is invalid. The People Flow UUID provided is not a valid UUID, or does not correspond to a People Flow in the system