Skip to content

Get App Home Screen Data

This endpoint is used to get the accounts ,surveys and recommendations for mobile application home screen

Request

GET /users/{userUUID:length(22)}/app/home
  • user-uuid is a 22-character identifier for the user

Authorization

Authorization is required.

Headers

N/A

Query Parameters

N/A

Response

Response Status Code More Information
Success 200 If the response is successful
Unauthorized 401 If user is not authorized for the requested user
Internal Server Error 500 Unknown error

Headers

N/A

Body

Will contain a list of resources that follow this format

{
    "recommendations": [
        {
            "type": "assessment",
            "resource":{
                "uuid": "<Resource-UUID>",
                "name": "Account 0",
                "status": "invited",
            }
        }
    ],
    "accounts": [
        {
            "uuid": "<Account-UUID>",
            "name": "Account 0",
            "address": "Address 0",
            "phone": "Phone 0",
        }
    ],
    "surveys": [
        {
            "uuid": "<Survey-UUID>",
            "name": "Account 0",
            "status": "invited",
        }
    ]
}