Hi ,
I am unable to form the target json (Where multiple tag number needs to be created a seperate document) :
Input Json:
{
“MOCType”:“Temporary Repair”,“MOCStatusUpdatedDateTime”:“2018-10-31T10:00:00Z”,“TagNumber”:“4850-A-101-A01A,4850-A-101-A03C,4850-A-101-A08,4850-A-101-A10A,4850-A-101-A10B,4850-A-101-A10C,4850-A-101-A11,4850-A-101-A12,6320-T-003C”,“Id”:“CLX000A”
}
Output Json:
{
“4850-A-101-A01A” :{
“Temporary Repair (eMOC)”: “OK”
},
“4850-A-101-A03C” :{
“Temporary Repair (eMOC)”: “OK”
},
“4850-A-101-A08” :{
“Temporary Repair (eMOC)”: “OK”
},
“4850-A-101-A10B” :{
“Temporary Repair (eMOC)”: “OK”
}
}
Please let me know if there is a way to handle this request because i am thinking the issue is with the Output Json format and it doesnt seems to be valid.
Thanks,
Lohit
Thanks,
Lohit