# Deelnemers

URL : /deelnemers/create

Method : POST

Auth required : YES

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

Request body :

{
    firstname: String,
    lastname: String,
    email: String,
    jobcoach: String,
    finalGoal: String,
    goals: Array<String>,
    feedbackType: String
}

# Success Response

Code : 200 OK

Content return types :

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

# 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 : 403 Forbidden

Condition : When an unauthorized user tries to create a client.

Content return types :

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

Code : 400 Bad Request

Condition : Bad request body.

Content return types :

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