22.214.171.124.2. Test a custom app
From section Step-by-step to get data from entity. Now assume other Application need find customer contact from Order No. you can do by REST API to get Data.
- First Step- In the Login Screen enter the userName value and call Login REST.
- Second Step- Use Ajax to call Rest Service to keep id_token into session for use by other processes.
- Third Step, Prepare Screen for Inputing Order No.
- Forth Step, Input value Order No, then click Find Customer contact.
- Sixth Step, call REST API and get JSON DATA. The highlight module has CUST_CONTACT which need result. It can get Data from JSONObject through MODULE_ID > UPDATE > SALE_ORDER_DELIVERY > CUST_CONTACT.