...
step | postman call | postman response | content in front-end | ||
---|---|---|---|---|---|
STEP 1: login | POST http://localhost:3000/api/v2/users/sign_in?user[email]=soft.dave99@gmail.com&user[password]=123456 |
| |||
STEP 2: get beneficiary categories | GET header: {'X-User-Token': 'Ppteex1dWbEcnNC311NFOrJqNHP98zN2ccMpWEei--ixL50J7uZsnprbOu--WbOcz50zaS48JzyXXZHS9A==', | manage beneficiary categories page | |||
STEP 3: get custom fields from a beneficiary category | GET | ||||
STEP 4: get sub ratios from a ratio set (These are the answer choices within a list field) | GET | ||||
STEP 5: Ratio Set Choiceable (This determines whether the list field is unlimited multiple choice, limited multiple choice or single choice) | GET header: {'X-User-Token': 'Ppteex1dWbEcnNC311NFOrJqNHP98zN2ccMpWEei--ixL50J7uZsnprbOu--WbOcz50zaS48JzyXXZHS9A==', | ||||
STEP 6: create beneficiary | POST
| create beneficiary page - using that beneficiary category | |||
STEP 7: show beneficiary | GET | beneficiary profile page |
...