Notifications
Announcements
No record found.
Hi,
Could someone help me create a JSON script that creates a new case against a account using the WEB API?
I have created the simple script I can't figure out what I have wrong.
{
you can use my tool Dataverse REST Builder to create a request against Web API
Thank you, this has helped so much, shame it doesn't have a JSON Format unless I am missing something but give you the details you need to figure it out.
Working code:
"title":"Test Web API Case",
"customerid_account@odata.bind":"/accounts({{ID}})"
}
the "record" variable that is generated inside the code is a JSON format. if you need to have as a string you can do a
console.log(JSON.stringify(record, null, "\t"));
or you can export the collection to Postman, if you open it inside Postman you will see the JSON inside the Body tab
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Tom_Gioielli 45 Super User 2025 Season 2
Daniyal Khaleel 27 Most Valuable Professional
Soundari 15