...
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 | GET | STEP 4 | ||||
STEP 5: Ratio Set Choiceable | GET header: {'X-User-Token': 'Ppteex1dWbEcnNC311NFOrJqNHP98zN2ccMpWEei--ixL50J7uZsnprbOu--WbOcz50zaS48JzyXXZHS9A==', | |||||
STEP 6: create beneficiary | POST
| create beneficiary page - using that beneficiary category | ||||
STEP 57: show beneficiary | GET | beneficiary profile page | STEP 6: Ratio Set Choiceable | GET http://localhost:3000/api/v2/ratio_set_choiceables?beneficiary_category_ids[]=294 header: {'X-User-Token': 'Ppteex1dWbEcnNC311NFOrJqNHP98zN2ccMpWEei--ixL50J7uZsnprbOu--WbOcz50zaS48JzyXXZHS9A==', 'X-User-Email': ‘soft.dave99@gmail.com’} |