Hi Team,
I am facing issue in JSON format which i can achieve using XML format for Create Deep Insert.Can you please have a look and provide your inputs.
SP is 740 SP4
Here for below, Navigation name is Nav2ReqProducts.
I am getting error while passing XML stream, I already referred below link, not able to trace out, and also please give sample JSON data which has multiple inputs as deep insert
{
"d":{
"__metadata":{
"uri" : "http://XXXXXXX.XXXX.com:8000/sap/opu/odata/sap/ZGW_TIRES_CASE_DETAIL_SRV/CaseHeaderSet('')",
"type" : "ZGW_TIRES_CASE_DETAIL_SRV.CaseHeader"},
"PhoneNumber":"405-595-9130",
"DeviceId":"TEST",
"IvCaseNumber":"8000000519",
"CallDate":"/Date(1407110400000)/",
"CallTime":"PT11H55M00S",
"ServiceNeeded":"Tire Replacement",
"Location":"N bound on i-235 East of ball park",
"Latitude":"0.000000000000",
"Longitude":"0.000000000000",
"VehType":"01",
"VehYear":"2010",
"VehMake":"MACK",
"VehColor":"GREEN",
"VehLicplate":"KJI900",
"VehUnitnum":"54",
"TrailerNumber":"35",
"MaddencoInvoice":"",
"PaymentMethod":"01",
"AccountNo":"23234",
"ReferenceNo":"",
"Technician":"FRED SMITH",
"LoyaltyCard":"",
"StoreDate":"/Date(1407110400000)/",
"StoreTime":"PT12H00M00S",
"ArrivDate":"/Date(1407110400000)/",
"ArrivTime":"PT14H02M15S",
"RollDate":null,
"RollTime":"PT00H00M00S",
"DepDate":null,
"DepTime":"PT00H00M00S",
"EtaDate":"/Date(1407110400000)/",
"EtaTime":"PT13H30M00S",
"ReturnDate":null,
"ReturnTime":"PT00H00M00S",
"AuthPhone":"",
"MobileSentDate":"/Date(1407283200000)/",
"MobileSentTime":"PT14H21M51S",
"Nav2ReqProducts":
[{
"__metadata":{
"uri":"http://tcmod.XX.com/sap/opu/odata/sap/ZGW_TIRES_CASE_DETAIL_SRV/CaseReqProductsSet('0000000010')",
"type":"ZGW_TIRES_CASE_DETAIL_SRV.CaseReqProducts"},
"ItemNo":"0000000010",
"ProductId":"G27373",
"Description":"275/80R24.5 TR144 LRG TL",
"WheelPos":"02",
"TirePos":"02"}]}}
Thanks,
Vijay V