Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Dynamics 365 general forum

Post-Odata sample to create/upload WebResource

(0) ShareShare
ReportReport
Posted on by 165

Hello:

If I want to create programmaticly new Account-entity I can do this:

(POST)

//template:

{
"name": "Sample Account",
"creditonhold": false,
"address1_latitude": 47.639583,
"description": "This is the description of the sample account",
"revenue": 5000000,
"accountcategorycode": 1
}
$api_url_acc_post = "url.com/.../accounts"
$resp_post = Invoke-RestMethod -Method Post -Headers $header_b -Uri $api_url_acc_post -ContentType 'application/json' -Body

Please Help!

Wich Template (sample of JSON) should I use to upload new Web-resource? (like in XrmToolBox) ?

Thanx

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Dynamics 365 general forum

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans