Expand my Community achievements bar.

SOLVED

Can you do a Post from an External API Activity

Avatar

Level 6

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

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

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

Avatar

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



David Kangni

Avatar

Level 6
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.

Avatar

Correct answer by
Employee Advisor

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

 

 

Avatar

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.