Authorization: Bearer ********************
{
"action": "submit",
"data": {
"service_type": {
"sector": "AGRICULTURE",
"sub_sector": "TOBACCO",
"business_type": "SERVICES"
},
"extraa_details": {
"current_stock": "12",
"no_of_male_employee": 12,
"no_of_female_employee": 12,
"key_customers": "34",
"business_vintage": 12,
"monthly_turnover": 56000
},
"loan_request": {
"loan_amount": 50000,
"loan_purpose": "raw material"
}
}
}
curl --location -g --request POST 'https://preprod.api.crego.io/v1/rego/runners/{{runner_id}}/execute/' \
--header 'Content-Type: application/json' \
--data-raw '{
"action": "submit",
"data": {
"service_type": {
"sector": "AGRICULTURE",
"sub_sector": "TOBACCO",
"business_type": "SERVICES"
},
"extraa_details": {
"current_stock": "12",
"no_of_male_employee": 12,
"no_of_female_employee": 12,
"key_customers": "34",
"business_vintage": 12,
"monthly_turnover": 56000
},
"loan_request": {
"loan_amount": 50000,
"loan_purpose": "raw material"
}
}
}'
{}