Initialize tijdregistratie_API
Initialize tijdregistratie_API
init apikey_model
Init timereg controller
implement checkApiKey
function getCompanyIdByApiKey
API - getCustomers
required: X-Api-Key
Customer - GET {$id}
comment apikey_model
Init project model
projects - GET {$customer_id, $project_id}
fix name class project_model
fix where option - get projects
Init timereg_model
timereg - GET {$id}
Init timereg - POST
add - apikey_model - getUserByApiKey
timereg - POST (model, controller)
apikey_model - exists / timereg - DELETE
timereg - PUT [untested]