4
I would like to send a POST to the OData header entity and include the line data in the call with a nested JSON package like this ... I want to use navigation properties of entities
{ "@odata.type":"#Microsoft.Dynamics.DataEntities.InventoryCountingJournalHeader",
"Description":"Inventory counting journal",
"dataAreaId":"usmf",
"JournalNameId":"ICnt",
"InventoryCountingJournalLine":
[ {"@odata.type":"#Microsoft.Dynamics.DataEntities.InventoryCountingJournalLine",
"dataAreaId":"usmf",
"CountedQuantity":1,
"ItemNumber":"1000",
"InventoryStatusId":"1",
"JournalNumber":"00088",
"LineNumber":1
}]}
STATUS DETAILS
Needs Votes