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

ACS External API

Avatar

Avatar
Boost 1
Level 1
nagendrar190415
Level 1

Like

1 like

Total Posts

3 posts

Correct Reply

0 solutions
Top badges earned
Boost 1
View profile

Avatar
Boost 1
Level 1
nagendrar190415
Level 1

Like

1 like

Total Posts

3 posts

Correct Reply

0 solutions
Top badges earned
Boost 1
View profile
nagendrar190415
Level 1

04-08-2020

Hi 

 

In ACS i had used the External API in one of the workflows to trigger an External REST Api. This was working all fine, but now I see that ACS is doing a "GET" call instead of a "POST" call on the API and the API is returning a 404 status. 

 

Any insights on how to change this config in ACS would be helpful. 


Thanks

Nagendra

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Affirm 1
Employee
pushkar_k
Employee

Likes

0 likes

Total Posts

7 posts

Correct Reply

2 solutions
Top badges earned
Affirm 1
View profile

Avatar
Affirm 1
Employee
pushkar_k
Employee

Likes

0 likes

Total Posts

7 posts

Correct Reply

2 solutions
Top badges earned
Affirm 1
View profile
pushkar_k
Employee

24-09-2020

Hi Nagendra,

By default, external Api only does a GET call to the external endpoint. In order to do a POST call, there has to be some json in Post Body Template section under Inbound Mapping tab in External Api activity. 

1. Either you can add a query (or similar) activity before externalApi activity and define some field mapping in the Inbound columns section.
2. Or you can add some random valid json in the Customize Parameter section.

This will then get added to the postbody template section and will make a POST call to your endpoint.

-Pushkar

Answers (1)

Answers (1)

Avatar

Avatar
Level 1
DimaKudriavcev
Level 1

Likes

0 likes

Total Posts

5 posts

Correct Reply

0 solutions
View profile

Avatar
Level 1
DimaKudriavcev
Level 1

Likes

0 likes

Total Posts

5 posts

Correct Reply

0 solutions
View profile
DimaKudriavcev
Level 1

04-08-2020

Did you use javascript to trigger the API?