
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