Skip to content

Commit

Permalink
docs(developer): registration process enhancement by incl. status end…
Browse files Browse the repository at this point in the history
…point
  • Loading branch information
jjeroch authored Jan 18, 2024
1 parent 1e0a051 commit 0b1897d
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions developer/01. Onboarding/02. Registration/05. Document Upload.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,32 @@ Uploaded documents can also get viewed / downloaded by the user. To do this, the
<br>
<br>

##### #5 Transition to the next registration step

With the transition to the next process step, the endpoint

```diff
! PUT /api/registration/application/{applicationId}/status
```

is called. In all the other registration steps, this endpoint is not called since the actual transition endpoints posting/storing the customer data in the backend is automatically doing the status change. Only for the document step this change is happening standalone.

The endpoint includes following implementation logic:


* if the application is in status "Created" the application status can only get updated to "Add_Company_Data", other status changes are not allowed (beside keeping the status the same)
* if the application is in status "Add_Company_Data" the application status can only get updated to "Invite_User" , other status changes are not allowed (beside keeping the status the same)
* if the application is in status "Invite_User" the application status can only get updated to "Select_Company_Role", other status changes are not allowed (beside keeping the status the same)
* if the application is in status "Select_Company_Role" the application status can only get updated to "Upload_Documents", other status changes are not allowed (beside keeping the status the same)
* if the application is in status "Upload_Documents" the application status can only get updated to "Verify", other status changes are not allowed (beside keeping the status the same)
* if the application is in status "Verify" the application status can only get updated to "Submitted", other status changes are not allowed (beside keeping the status the same)
the user can not change the status from "submitted" to any other status.
* user can not change the status if the application is in status "Confirmed", or "Declined"

<br>
<br>


## NOTICE

This work is licensed under the [Apache-2.0](https://www.apache.org/licenses/LICENSE-2.0).
Expand Down

0 comments on commit 0b1897d

Please sign in to comment.