Overview
Every user need to Accept the terms and conditions in order to access the portal:
...
→ promptTnC is true → user will not be prompted for terms & conditions acceptance page.
→ promptTnC is false → user will not be propmted for terms & conditions acceptance page
...
- Accept TnC
POST /user/v1/tnc/accept{ "request": {
"tncAcceptedVersion" : "v2" } }
Note: Version will be identified from System settings. system settings will have identifier as "tncConfiguration" that will hold terms and condition version and other details. User Id will be taken from "x-authenticated-user-token".
Response
200 OK - Terms & conditions accepted successfully
...