Hi all,
I am trying to connect to one of our customers API to notify them of a new claim for one of their customers.
I believe I can connect fine but the result I am getting is the "Request body does not match schema".
It appears they would like to receive the transaction like the below.
{
"windscreenRef": "10610710",
"policyNumber": "HG721101",
"fixType": "repair",
"fixDate": "2020-07-20",
"bookingInDate": "2020-07-20"
}
However I am struggling as the Cust Integration Map is asking for Primary Path. With the message being sent using the JSONOutboundConnector, what do I need to do to be able to post the message but with out a Primary Path?
If I add a value of 'primary_path' as a dummy value, the transaction is sent as the below, but doesn't match the schema they require.
{
"primary_path": {
"windscreenRef": "10610710",
"policyNumber": "HG721101",
"fixType": "repair",
"fixDate": "2020-07-20",
"bookingInDate": "2020-07-20"
}
}
With leaving the primary path blank or with a solitary '/' in the field the exception I get is <run_message>Error while extracting TASK: Cannot initialize XML extract element!</run_message>.
Any assistance would be greatly appreciated.
Kind Regards
Ady