# Deelnemers

URL : /deelnemers/all

URL Parameters :

  • jobcoach=[string] where jobcoach is the id of the jobcoach you want to get the clients from.

Method : GET

Auth required : YES

{
    "Authorization": "Bearer <token>"
}

# Success Response

Code : 200 OK

Content return types

{
    statusCode: Number,
    statusMessage: String,
    message: String,
    data: [
        {
            sid: String,
            firstname: String,
            lastname: String,
            email: String,
            type: String,
            avatar: String,
            createdAt: Date,
            code: String,
            totalGoals: Number,
            achievedGoals: Number,
            finalGoal: String,
            jobcoach: String,
            feedbackType: String,
            goals: Array<String>,
            active: Boolean
        },
        ...
    ]
}

# Error Response

Code : 500 Internal Server Error

Condition : If something server-side goes wrong.

Content return types :

{
    statusCode: Number,
    statusMessage: String,
    message: String,
    error?: String
}

Code : 400 Bad Request

Condition : Bad request.

Content return types :

{
    statusCode: Number,
    statusMessage: String,
    message: String
}