この会話は、活動がないためロックされています。新しい投稿を作成してください。
この会話は、活動がないためロックされています。新しい投稿を作成してください。
Hi there,
Has anyone tried external Api for Posting data to external API
I tried to use it but noticed it only tried to retrive data from the endpoint.
Is it only used for GET data?
Thanks
解決済! 解決策の投稿を見る。
表示
返信
いいね!の合計
Hello,
ExternalApi activity can perform a POST call too. You can define whatever valid json you want to send as POST body in the Customize Parameter section under Inbound Mapping tab. You can view the POST body that will be used for the request under POST body template section (which is greyed out and is read-only). If there is something in that section, it means externalApi activity will do a POST call.
Thanks.
表示
返信
いいね!の合計
Hi,
The activity also can do HTTP POST to web services.
You can try:
* Define any query (can have record count 0)
* Then define any field mapping in the outbound mapping
This then shall trigger a POST call.
Thanks,
David
表示
返信
いいね!の合計
Hi David, Thanks for your reply. How do I define the method? It seems to be GET by default. I was able to establish connection when using Get method with end point but when I used end point for Post method, I got 400 error. I was trying to Post to https://graph.facebook.com/v7.0/<CUSTOM_AUDIENCE_ID>/users. The url, payload and token was working and tested on graph API. https://graph.facebook.com/v8.0/23845564964xxxxx/users?access_token=EAANkrpaqrfABANTbudbZAexxxx This is the json in the outbound mapping. Does it seem correct? How do I pass the inbound data to the API?
{ "data": [{ "EMAIL": "9b431636bd164765d63c573c346708846af4f68fe3701a77a3bdd7e7e5166254", "LOOKALIKE_VALUE" : " 44.5" } ] }
表示
返信
いいね!の合計
Hi
,Error 400 is usually response error.
Here is the External API tutorial .
Hope it will help.
Thanks,
David
表示
返信
いいね!の合計
Hi @michellelowsl,
Were you able to resolve this query with the given solution? Do let us know.
Thanks!
表示
返信
いいね!の合計
表示
返信
いいね!の合計
I am not too sure but here's a documentation that might be helpful to you: External API
In the meantime, I will reach out to our concerned SMEs for External API for your query.
表示
返信
いいね!の合計
Hello,
ExternalApi activity can perform a POST call too. You can define whatever valid json you want to send as POST body in the Customize Parameter section under Inbound Mapping tab. You can view the POST body that will be used for the request under POST body template section (which is greyed out and is read-only). If there is something in that section, it means externalApi activity will do a POST call.
Thanks.
表示
返信
いいね!の合計
表示
返信
いいね!の合計
表示
返信
いいね!の合計
Thanks pushkar.
表示
返信
いいね!の合計