GuidoPreite / DRB

Dataverse REST Builder
MIT License
101 stars 14 forks source link

Batch requests #31

Closed mrmwink closed 2 months ago

mrmwink commented 2 months ago

Hi,

Just a quick question, does the tool support creation of a batch request, I can't find it anywhere but wanted to check before I start building something to generate the request?

Thanks

Mike

GuidoPreite commented 2 months ago

Hi @mrmwink, the tool does not generate batch requests, however the tool itself uses batch requests so you can check the code on how I implemented it, the relevant part is here https://github.com/GuidoPreite/DRB/blob/0e7d46d9fd13da8d523c517241bc06960a4c4f63/js/drb.xrm.js#L147

let me know if this helps with your question.

mrmwink commented 2 months ago

@GuidoPreite That's amazing, thanks, I've not had much experience with the batch endpoint so this is perfect as it makes way more sense than the MSFT learning page :-)

mrmwink commented 2 months ago

Closing ticket