I have created an ION API connection from ION Connection point and passing Input Body from BOD (BOD to XML).
When I don't use IONAPIREF command and hardcode json in Input Body it works fine, Test API work fine. But when I use IONAPIREF for any of the parameters, it is throwing error shown below
Test APi (Request Error)
-------------------------------
Request cannot be constructed, please see details below: Error occurred while resolving parameters : Parameter 'ProcessAzureCreateUser/DataArea/AzureCreateUser/JobTitle' is mandatory. Found no value for the given xpath: 'ProcessAzureCreateUser/DataArea/AzureCreateUser/JobTitle'
INPUT BODY
--------------
{
"accountEnabled": true,
"userPrincipalName": {"IonApiRef":"ProcessAzureCreateUser/DataArea/AzureCreateUser/username"},
"passwordProfile": {
"forceChangePasswordNextSignIn": true,
"password": "xxxxxxxx"
},
"givenName": {"IonApiRef":"ProcessAzureCreateUser/DataArea/AzureCreateUser/GivenName"},
"jobTitle": {"IonApiRef":"ProcessAzureCreateUser/DataArea/AzureCreateUser/JobTitle"},
"department": {"IonApiRef":"ProcessAzureCreateUser/DataArea/AzureCreateUser/Department"}
}
How to fix it?