send just 1 call with rest api

Viewed 17

To perform my production, I must to put just one call with the REST API. I have this error : "Error reading JObject from JsonReader. Current JsonReader item is not an object: StartArray. Path '', line 1, position 3.

https://XXXXXXXXXXXX/entity/XXX/20.200.001/StockItem?

  [  {
    "Description": {"value": "DESCRIPTION ITEM1"},
   "InventoryID": {"value": "CODE1"},
   "ItemStatus": {"value": "Active"},
   "ItemType": {"value": "Finished Good"},
   "ItemClass": {"value": "NIV2"},   
   "BaseUOM": {"value": "UNIT"}       
},
{
    "Description": {"value": "DESCRIPTION ITEM1"},
   "InventoryID": {"value": "CODE1"},
   "ItemStatus": {"value": "Active"},
   "ItemType": {"value": "Finished Good"},
   "ItemClass": {"value": "NIV2"},   
   "BaseUOM": {"value": "UNIT"}       
}]    
0 Answers
Related