# HTTP POST
# https://app.dev.thinksurance.de/api/broker/fwd/{:token}
# 'Content-Type': 'application/json'
# 'Accept': 'application/json'
{
"type": 1,
"bToken": "someBroketAPIToken",
"bExternalId": "someExternalId",
"cFirstName": "Max",
"cLastName": "Mustermann",
"cExternalId": "someCustomerId",
"cEmail": "customer@gmail.com",
"cExternalReferences": [
{
"origin": "crm",
"paramKey": "AccountNumber",
"paramValue": "1233436547564erf5434"
}
],
"crmIdent": "openVIVAv1",
"professionId": 253,
"productId": 95,
"instantInquiryCreation": true,
"qasCustProfile": {
"categories": [
{
"id": "default",
"questions": [
{
"id": "100",
"answers": [ "10001" ]
},
{
"id": "101",
"answers": [ "10011" ]
},
{
"id": "customer.fullname",
"answers": [ "Max Mustermann" ]
}
]
},
{
"id": "2",
"questions": [
{
"id": "200",
"answers": [ "20001", "20007" ]
},
{
"id": "201",
"answers": [ "10000 eur" ]
}
]
}
]
}
}
# Expected:
# 1. Redirect URL points to the consultation overview on Advisory Suite
# or questionnaire page of Consult Direct.
# 2. Consultation is created for the provided profession.
# 3. Customer is created or updated.
# 4. Customer is attached for the consultation.
# 5. Inquiry is created for the provided product and created consultation.
# 6. Some questions from questionnaire are pre-populated. |