Authorization: Bearer ********************
{
"action": "navigate",
"data": {
"target_node": "applicant_pan_and_mobile"
},
"query": {
"applicant": 0
}
}
curl --location -g --request POST 'https://preprod.api.crego.io/v1/rego/runners/{{runner_id}}/execute/' \
--header 'Content-Type: application/json' \
--data-raw '{
"action": "navigate",
"data": {
"target_node": "applicant_pan_and_mobile"
},
"query": {
"applicant": 0
}
}'
{
"id": "c296a37d-f11d-4d32-bff8-5824a1af5ed9",
"created_at": "2025-03-05T13:38:23.683000",
"updated_at": "2025-03-06T06:23:42.273943",
"created_by": "7880340889",
"ref_id": "RUNNER-253-647",
"flow_id": "264500a4-3873-4cb7-baf9-0a4656bff933",
"design_id": "234ee7a1-6940-49f1-bd7e-d23f1b2625d0",
"params": {
"storage": {
"vendor": "${SECRET.storage.vendor}",
"creds_key": "test_storage_s3_creds"
}
},
"current_node": "applicant_pan_and_mobile",
"store_id": "52bcdaf3-6e98-4647-9eb3-acac6dd1d516",
"visited_nodes": {
"_cls": "Activity"
},
"store_info": {},
"data": {
"target_node": "applicant_pan_and_mobile"
},
"node": {
"name": "applicant_pan_and_mobile",
"type": "web_form",
"config": {
"forms": [
{
"action": "submit",
"form_data": {
"pan_file": "",
"aadhaar_file": "",
"mobile": ""
},
"schema": {
"type": "object",
"properties": {
"mobile": {
"type": "string",
"title": "Mobile Number",
"pattern": "^[6-9][0-9]{9}$",
"errorMessage": {
"pattern": "Please enter a valid mobile number."
}
},
"pan_file": {
"type": "string",
"format": "document",
"title": "PAN File"
},
"aadhaar_file": {
"type": "string",
"format": "document",
"title": "Aadhaar File"
}
},
"required": [
"mobile",
"pan_file",
"aadhaar_file"
]
},
"ui": {
"pan_file": {
"ui:widget": "file",
"ui:fileType": "pan"
},
"aadhaar_file": {
"ui:widget": "file",
"ui:fileType": "aadhaar"
}
}
}
]
},
"navigations": [
{
"action_name": "Applicant List",
"target_node": "applicant_list"
}
]
}
}