Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

Can you do a Post from an External API Activity

johnwwilcoxmba
Level 5
Level 5

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

1 Accepted Solution
ramon_bisswanger
Correct answer by
Employee
Employee

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

 

 

View solution in original post

4 Replies
DavidKangni
Community Advisor
Community Advisor

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

johnwwilcoxmba
Level 5
Level 5
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.
ramon_bisswanger
Correct answer by
Employee
Employee

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

 

 

View solution in original post

pushkar_k
Employee
Employee
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.