# Deelnemers

URL : /deelnemers/:id

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 : 404 Not Found

Condition : When the requested user doesn't exist.

Content return types :

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

Code : 400 Bad Request

Condition : Bad request.

Content return types :

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