Description:
i tried to create case instance by:
-
run command 1 to get token.
-
run command 2 to create case instance(follow the assessment).
but got 504 error.
Expectation:
Can create Case Instance.
Please help me to check it
1). curl --location 'https://ids-ctr-pt.neutrinos-apps.com/token’ \
--header ‘Content-Type: application/x-www-form-urlencoded’ \
--data-urlencode ‘client_secret=e28WZR6ZKyrYILTSKKClFEwNlYoGR2cvISwFCoIXP4S7DJgsaqhHRSNqpoWgYbcx_DUlrSkoA1zS5uFOzP-J9C’ \
--data-urlencode ‘client_id=0ddh_euTKkSA682Yy5HuC’ \
--data-urlencode ‘grant_type=client_credentials’
2). curl --location ‘https://alpha-pt.neutrinos-apps.com/caseservice/case/instance/create’ \
--header ‘accept: application/json’ \
--header ‘Authorization: Bearer Z_33nhUAdazdMaFywDS5NcMrSVc6CD-uVSw3OKx-M42’ \
--header ‘Content-Type: application/json’ \
--data-raw '{
"caseType": "alpha_training",
"caseData": {
"firstName": "gowtham",
"lastName": "balram",
"email": "customer@example.com",
"policyDetails": {
"inception_date": "01-12-2024"
},
"features": \[
{
"text": "Basic Life Insurance",
"included": true
},
{
"text": "TeleMedicine",
"included": true
},
{
"text": "Digital Budgeting App",
"included": true
},
{
"text": "Short Term Disability Cover",
"included": true
},
{
"text": "Extended Life Cover",
"included": true
},
{
"text": "Priority Support",
"included": true
}
\],
"address": "HSR Layout",
"dob": "12-08-1990",
"age": "34",
"coverage_term": "1 Year",
"beneficiary": "neelapareddy"
},
"wfData": {
"stp_rules_request": {
"version": "",
"inputObj": {},
"subFlowIDs": \[\],
"workflowId": ""
}
}
}’