cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Arpful
Regular Visitor

Combining two GET Requests sorted and joined by a key/value identifier and more

Here is the scenario: 

I have several devices to pull info from, but all accessible through a single GET request. However, the model number is not included on the first request. I have to do a second to get that information. Then I need to make the two request data into a multiple entries with the data joined together. Finally, I need to replace the model numbers with their more friendly names. Bonus - Create a count of all Model X vs Model Ts in the entirity of the request and include in the same CSV. 

 

Request 1: 

GET / app-json

Device ID: 00000

user: Jane Smith

OS: 

Warranty: 

Serial:

 

Request 2: 

GET / app-json

Device ID: 00000

Model number: XXXXXX12

 

I need to combine sorted by Device ID: 00000 (So that the information matches each other.)

 

Compose and replace: 

Then - Replace the model number with a friendly one ex. XXXXXX12 subsituted with Model X. 

 

So far I have:

HTTP  x2

Parse x2

Select x2 (the information I need - bunch of extra stuff I don't)

?

 

Then 

Create CSV Table

Attachment CSV Table

and hopefully end up with something like this. 

 

Device ID: 00000

user: Jane Smith

OS: XX

Warranty:  Some Date

Serial: Serial

Model: Model X

 

If possible add a quanity count of running total of Model X (or other model friendly name) on a seperate table, but within the same CSV created. 

 

2 REPLIES 2
v-yuazh-msft
Community Support
Community Support

Hi @Arpful,

 

Have you take a try to achieve the requirement within microsoft flow?

What is the trouble you meet when you try to achieve the needs?

Please share more details so we would try to provide a proper workaround for you.

 

Best regards,

Alice

Yes I have.

The details are in the original message.

 

To be honest, I assume this is probably a built in function - It would seem crazy to me that a dev team wouldn't put that on the list of a basic feature, especially with everything flow interacts with.

Helpful resources

Announcements
MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

PA Survey Carousel Image.png

We want to hear from you!

If you are a small business ISV/Reseller, share your thoughts with our research team.

Users online (1,406)