Just to add this is what i put in the request and response.
Request:
/services/data/v56.0/query/?q=$esc.url("SELECT id,DoNotCall from lead WHERE id= '${input.SF_URLPop}'")
Response:
{
"translationMap": {
"DoNotCall": "*..DoNotCall"
},
"translationMapDefaults": {
"DoNotCall": "[]"
},
"successTemplate": "{\"DoNotCall\": ${DoNotCall}}"
}
I note the Available output has no boolen,
#DataAction #API/Integration #Rule
------------------------------
Richard
------------------------------
Original Message:
Sent: 12-03-2022 23:44
From: Richard Dib
Subject: Data action DoNotCall
Hello all,
I have created an API that gets the field from salesforce for "DoNotCall" it works fine,
I am trying to add it to a pre-rule within the outbound dialler, and if it equals true do not call it.
ANy idea how i can fix the below? it keeps telling meThis output is not a supported type. Supported types are boolean, integer, number, and string.

#Outbound
------------------------------
Richard
------------------------------