Hello,
I want to create a new post entity using the Web API. I tried sending a POST http request to /api/data/v.8.2/posts with the body
POST /api/data/v8.2/posts { "text":"sometext",
}
however I receive an error message saying "An unexpected error occurred." I believe this error occurred because I did not bind my post entity to an incident. I tried different http requests:
POST /api/data/v8.2/posts { "text":"sometext", "postregardingid": "/postregardings(someguid)" } POST /api/data/v8.2/posts { "text":"sometext", "postregardingid": { "postregardingid": "someguid", "regardingobjectid_incident@odata.bind": "/incidents(someguid)" } }
but each one gave me an error. Is there a working example of how to create a post entity using a POST http request?
Thanks
*This post is locked for comments
Were you able to figure this out?
Hello,
Looks like it well-know issue. Check following thread - community.dynamics.com/.../206303
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156