Skip to main content

Notifications

Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

Kingswaysoft SSIS data migration passing dynamic parameters in URL

Posted on by 5

Hi Folks,

     I am trying a scenario where i need to migrate a huge xml data from a api endpoint . I want to change the start and end parameters dynamically to fetch the data .

Eg 

1st iteration increment  by 4

https:// xyz.com ? start =1 & end = 5

Fetch data and insert into CRM

2nd iteration increment  by 4

https:// xyz.com ? start =6 & end = 10

Fetch data and insert into CRM

3rd iteration increment  by 4

https:// xyz.com ? start =11 & end = 15

Fetch data and insert into CRM

Can someone tell how can this be achieved ? 

Also in the XML payload i have the total number of records : eg

<Totalrecords> 100 </TotalRecords>

Can i somehow read this record and  adjust the start & end parameters by doing incremental batches of 5 or 10 or 15  etc

I am vey new to this so any pointer or guidance is much appreciated.

      

  • Suggested answer
    a33ik Profile Picture
    a33ik 84,323 Most Valuable Professional on at
    RE: Kingswaysoft SSIS data migration passing dynamic parameters in URL

    Hello,

    I would recommend using For Loop to implement the cycle - www.mssqltips.com/.../

    In regards to XML payload, I would recommend using XML Extract component of KingsWay soft since you use is - www.kingswaysoft.com/.../xml-extract

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans