Excel Power Query Json.Document(Web.Contents

hat360

New Member
Joined
Oct 19, 2021
Messages
2
Office Version
  1. 365
Platform
  1. Windows
  2. MacOS
Hi, I am using Excel and making a Json.Document(Web.Contents connection through to an inhouse system -

Json.Document(Web.Contents("https://outinternalsystem.company.c...TFul/GetShipsByLRorIMONumbers?LRorIMONumbers="& fnGetIMOToSearch("ParameterTable","IMOToSearchList1")))

IMOToSearchList1 is a TextJoin field of 100 unique numbers (separated by,) that are searched for in the system.

I now need to increase the number of unique search numbers to 300. TextJoin doesn't allow me to do this as the generated result is too large (each number is 8 characters). Is there a way to create a function that gets called for the search that performs a "while not EOF" and insert each of the numbers from an excel table?

Any help/advice would be greatly appreciated!

Thanks
 

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
don't worry, I've sorted it. created 3 different tables from 3 different sources (each containing 100 entries), then combined the tables together.
 
Upvote 0

Forum statistics

Threads
1,224,818
Messages
6,181,151
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top