I'm looking to add a custom Action to our Salesforce integration, and I'm running into the following error in the configuration tab:
JSON failed schema validation for the following reasons: the following keywords are unknown and will be ignored: [ContactId]
I have two questions, based on the following scenario:
I'm looking to pass the Salesforce.ContactId returned in the standard Salesforce integration, based on the caller's ANI. In my web service I'm calling it 'patientId'. My first questions is, in the Action Configuration, is there a standard variable that I can use for that Id, or do I call it essentially whatever I want, provided that in Architect I have a variable of the same name that I pass to the Action?
My second question relates specifically to that ^ schema error: If my Action Configuration request is as follows (below), is that where the validation's [ContactId] is coming from? I have not configured the response yet, so ContactId isn't referenced there, nor is it referenced in the Contract.
{
"requestUrlTemplate": "https://test.salesforce.com/services/{InventoryService}", "requestType": "POST", "headers": {}, "requestTemplate": "{\"contactId\": \"{input.CONTACT_ID}"}"
}