Good morning:
I think you can achieve that by doing the following tasks:
1. Define a Simple Input Contract with two input data in the schema: both strings, one for the tel and the other for the hash_key.
The JSON representation of the Input Contract should be like this one:
{
"type": "object",
"required": [
"tel",
"hashKey"
],
"properties": {
"tel": {
"type": "string"
},
"hashKey": {
"type": "string"
}
},
"additionalProperties": true
}
2. Then, you can define a request Body Template like the following:
{"tel": "${input.tel}", "hash_key": "${input.hashKey}"}
3. Finally, please put your input data in the Test option and try it again.
I expect that helps to you.
------------------------------
William Martín Chávez González
Systems Engineer
Global Networks Solutions S.A.S.
------------------------------
Original Message:
Sent: 09-17-2020 10:05
From: 誠人 永井
Subject: Request Template in Web Service Data Action
Hi,
I'm having trouble with POST, which works fine with API Tester (Chrome extension), but not with Data Action.
Below is a screen capture that works fine with API Tester.
Below is the result of trying to do the same with DataAction.
API Tester works fine, but Data Action gives different results. We have received reports from the linked system that the parameters have not been POSTed.
Is the Request Template written incorrectly?
>Contract(input)
>Configuration(Request)
Can somebody give me some advice?
Regards,
#Integrations
------------------------------
Makoto.Nagai
Itochu Techno-Solutions Corporation(CTC)
------------------------------