Create case type with error

Hi @Sam ,

we are facing with this api curl during do assignments, could you please help us to resolve it?

curl:

curl --location ‘https://sandbox.neutrinos-apps.com/caseservice/case/instance/create’
–header ‘accept: application/json’
–header ‘Authorization: Bearer YOUR_BEARER_TOKEN’
–header ‘Content-Type: application/json’
–data-raw ‘{
“caseType”: “alpha_training”,
“caseData”: {
“customerInfo”: {
“firstName”: “John”,
“lastName”: “Wick”,
“email”: “customer@example.com”,
“dob”: “12-08-1990”,
“age”: 34,
“address”: “HSR Layout”
},
“policyDetails”: {
“inception_date”: “01-12-2024”,
“coverage_term”: “1 Year”,
“features”: [
{ “text”: “Basic Life Insurance”, “included”: true },
{ “text”: “TeleMedicine”, “included”: true },
{ “text”: “Priority Support”, “included”: true }
]
},
“beneficiary”: “Jane Doe”,
“underwritingInfo”: {
“underwriting_approved”: null,
“uw_comments”: null,
“risk_score”: null
},
“reviewInfo”: {
“approval_approved”: null,
“reviewer_comments”: null
}
},
“wfData”: {
“stp_rules_request”: {
“version”: “1”,
“workflowId”: “YOUR_REELS_WORKFLOW_ID”,
“subFlowIDs”: ,
“inputObj”: {
“input”: {
“age”: 34,
“coverage_term”: “1 Year”,
“hasCriticalIllness”: false,
“hasMedicalCondition”: false,
“salary”: 1200,
“policyAmount”: 10000
}
}
}
}
}’

2 Likes

@trungvd17, Please try now.

1 Like