Published on : May 25, 2020
URL :
https://loantap.in/dummy-app/sample-ps.fetch_scheme_category
Service Description: Fetch the scheme category which will have the master set like end-use, chqbook, Ruloans etc
Input 1 :
No input required.
Usage :
[product_services.get-taxonomy.fetch_scheme_category o.set=template.scheme_category/]
Logic :
- Declare the array of job types with each will contain the following params:
- description : Job Type Description
- sub_description : Job Type sub description
- title : Job Type label
- slug : value of job type
- Add the job sub type for each job type in the job type array.
- Return the same.
Sample Output :
array(3)
[
"salaried" => array(5)
[
"description" => string(37) "(Ex. Working at MNC, Govt or similar)"
"sub_description" => string(83) "<span class="font-bold">Type of Establishment</span> you are currently working with"
"title" => string(8) "Salaried"
"slug" => string(8) "salaried"
"options" => array(4)
]
"self-employed" => array(5)
"business-owner" => array(5)
]