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

POST API calls for multiple records

Avatar

Avatar
Validate 1
Level 1
supratim1034
Level 1

Likes

0 likes

Total Posts

8 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
supratim1034
Level 1

Likes

0 likes

Total Posts

8 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
supratim1034
Level 1

09-09-2020

Hi team,

In our current project, we are having a scenario, where Middleware team will make multiple call into ACS system. So here we have a Survey metadata table and a Surveyanswer table. Survey metadata table is 1:M relationship with Surveyanswer table - which means for 1 metadata record, there will be theoretically n number of records in Surveyanswer table. Now what we are seeing from Postman screen, that using POST command, we are not able to send an array of answer records, rather every answer has to be processed one by one. If there are 10 answers, it will require 10 calls from MW layer which is very tough for them considering they will have to build for retry mechanism as well in case of failure.

Is it possible to make an array of Surveyanswer table records and send to ACS in a single POST request?

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Shape 1
MVP
SatheeskannaK
MVP

Likes

87 likes

Total Posts

148 posts

Correct Reply

77 solutions
Top badges earned
Shape 1
Give Back 5
Give Back 3
Give Back
Boost 50
View profile

Avatar
Shape 1
MVP
SatheeskannaK
MVP

Likes

87 likes

Total Posts

148 posts

Correct Reply

77 solutions
Top badges earned
Shape 1
Give Back 5
Give Back 3
Give Back
Boost 50
View profile
SatheeskannaK
MVP

09-09-2020

Hi @supratim1034,

 

Currently ACS REST API doesn't support bulk api requests. Either you will have to make individual POST request for each of the answer or consider doing through file import if the data is large.

 

Thanks, Sathees

Answers (0)