Call enquiry example

Prev Next

This is an example of the data sent by a call enquiry event. The values in categorySpecificData will be included if the information has been captured.

{
    "type":"call.create",
    "timestamp":"2025-04-01T10:26:10.344522Z",
    "data":{
        "id": 12345,
        "category": {
            "id": 62,
            "name": "Care Enquiry via Phone"
        },
        "member": {
            "id": 123456,
            "name": "Hallamshire",
            "postcode": "RG17 9PY"
         },
         "group": {
            "id": 786543,
            "name": "Hallamshire Care Group",
            "postcode": "RG17 9PY"
         },
         "to": "anon@anon.com",
         "from": "anon@anon.com",
         "date": "2013-03-18 22:17:07",
         "bodycontent": "anon",
         "firstName": "anon",
         "surname": "anon",
         "address1": "anon",
         "address2": "anon",
         "address3": "anon",
         "town": "anon",
         "postcode": "anon",
         "telephone": "anon",
         "isAnonymised": true,
         "categorySpecificData": {
             "comment": "lorem ipsum",
             "whoIsNeedOfCare": "A parent",
             "typeOfCare": "Visiting care",
             "howSoonIsCareNeeded": "6 months +",
             "fundingType": "Fully private (self-funded)",
             "postcodeForCare": "RG17 9PY"
         }
    }
}

Care Data Options

Some of the care data is chosen from predefined lists and is available in categorySpecificData.  Here is all the possible values for these lists.

{
    "whoIsNeedOfCare": [
        "Myself",
        "A parent",
        "A partner",
        "Another family member",
        "A friend",
        "A client"
    ],
    "careNeededType": [
        "Visiting care",
        "Live-in care",
        "Not sure"
    ],
    "howSoonType": [
        "Immediately (1 day – 1 week)",
        "1 week – 1 month",
        "1–3 months",
        "3–6 months",
        "6+ months"
    ],
    "fundingType": [
        "Fully private (self-funded)",
        "Direct Payment from Local Authority or NHS",
        "Arranged and funded by Local Authority",
        "Arranged and funded by NHS",
        "Not sure"
    ]
}