Table of Contents | ||||
---|---|---|---|---|
|
...
JSON Schema
Expand | ||
---|---|---|
|
Authorize user
Verify the validity of access token
Check user scopes declaration_request:write in order to perform this action
In case error - generate 401 response
...
Get authorization_method from IL_DB.declaration_request
|
If authentication_method_current is NULL - return Error
...
Change entity
status
in IL_DB.declaration_request to APPROVEDSet
status_reason
to doctor_confirmedSet
is_shareable
to trueSet
updated_at
- now() (Get current date-time)Set
updated_by
- user_id (Extract user from token)
...