Hi @shaisachs . Thanks so much for this and for demo'ing it at Netroots a couple of years ago :) .
I'm stuck, and I know you've left NGPVAN ( :( for us, :) for you ), and I've sent the same question into the official NGPVAN dev support folks. Figure you know the VAN API better than anyone. And once I figure out the answer, I'll do a PR against your doc here.
So, I want to add a bunch of new Locations, using curl and json. I'm able to add a new location, like this:
Hi @shaisachs . Thanks so much for this and for demo'ing it at Netroots a couple of years ago :) .
I'm stuck, and I know you've left NGPVAN ( :( for us, :) for you ), and I've sent the same question into the official NGPVAN dev support folks. Figure you know the VAN API better than anyone. And once I figure out the answer, I'll do a PR against your doc here.
So, I want to add a bunch of new Locations, using curl and json. I'm able to add a new location, like this:
but not able to add multiple locations, like this:
Admittedly, my JSON game is not the strongest. But when I try variations of the above, I get this error message:
So I guess my question is - what is the correct format for uploading multiple Location records in JSON into VAN so that they are parsed correctly?
I've been poring over the VAN dev docs at https://developers.ngpvan.com/van-api#van and I'll be searching on Stack Exchange for clues as well.
Thanks so much for any help.