Click or drag to resize
ParaPlan Logo

How To Manage User Profile

This page is used by the Client or Program Admin to get and modify the Client details.

Get Client details

  • Send a GET request to Client(String, String, String):

    C#
    1var clientDetailURL = $"{storedrestURL}ClientService/Client/{ID}?token={token}&device={device}";
    2using (WebClient client = new WebClient())
    3{
    4    string s = client.DownloadString(clientDetailURL);
    5    var clientResponse = JsonConvert.DeserializeObject<Client>(s);
    6
    7}
    Client Result
    {
        "errorMessage": "",
        "success": false,
        "tokenExists": true,
        "tokenIsValid": true,
        "accessibility": {
            "accessibilityItems": [],
            "equipmentType": [
                {
                    "attributeDescription": "",
                    "attributeValue": "Test"
                }
            ],
            "extraTime": 3,
            "hasPCA": true,
            "isPersonWithDisability": true,
            "needsWheelchairVan": true,
            "usesWheelchair": true
        },
        "appointments": [],
        "birthDateJson": "1972-07-06T00:00:00.0000000",
        "birthdate": "/Date(79225200000+0100)/",
        "home": {
            "address1": "8017 MONROVIA ST",
            "address2": "",
            "city": "LENEXA",
            "lat": 38.9838359,
            "lng": -94.727453,
            "name": "Home",
            "phone": "816-665-3343",
            "state": "KS",
            "zip": "66215"
        },
        "id": 19309,
        "name": "Kyle Archer",
        "notes": "This guy loves golf!",
        "phone": "816-665-3343",
        "specialNeeds": "PWD,WC,LIFT",
        "subscriptions": []
    }

Update Client Details