Can you do a Post from an External API Activity | Community
Skip to main content
Level 5
Aug 26, 2020 7:48 PM UTC
Solved

Can you do a Post from an External API Activity

How do you do a POST from an External API Activity.  It seems to only work for GET.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
bisswangAccepted solution
Employee
Aug 31, 2020 8:54 PM UTC

The answer above is not correct.

The activity also can do HTTP POST to web services.

 

You can try:

* Define any query (cannhave record count 0)

* Then define any field mapping in the outbound mapping

This then shall trigger a POST here

 

 

4 replies

bisswangAccepted solution
Employee
Aug 31, 2020 8:54 PM UTC

The answer above is not correct.

The activity also can do HTTP POST to web services.

 

You can try:

* Define any query (cannhave record count 0)

* Then define any field mapping in the outbound mapping

This then shall trigger a POST here

 

 

Translate
Employee
Sep 25, 2020 12:02 AM UTC
True.. Or you can also have some json you want to send as the post body in the Customize Parameters section under Inbound Mapping tab. This will add it to the Post body template section at the bottom and will get used while making the POST call to external endpoint.
Translate
DavidKangni
New Participant
Aug 26, 2020 11:41 PM UTC

Hi,

 

Yes it's only GET call. The External API activity brings data into the workflow from an external system via an HTTP API call.

Thanks,

David

Translate
David Kangni
JohnWi12Author
Level 5
Aug 27, 2020 1:25 PM UTC
Thanks David. I appreciate the answer. I was just trying to post to get an access token. This feature is very limited. Pretty much useless for most api's.
Translate