Hello,
I am testing Dynamics 365 CRM web API calls with Postman.
Using this URI: https://<mysite>.crm.dynamics.com/api/data/v8.2/contacts
If I POST this JSON code:
{
"firstname": "Joe",
"lastname": "Doakes"
}
The new contact record is created perfectly.
But if I try to POST an array of two records:
[
{
"firstname": "Joe",
"lastname": "Doakes"
},
{
"firstname": "John",
"lastname": "Doakes"
}
]
I get this error: "An unexpected 'StartArray' node was found when reading from the JSON reader. A 'StartObject' node was expected."
Is it not possible to post more that one record at a time? Or is my syntax faulty?
Thanks for any help on this.
Bryan Hunt
*This post is locked for comments