Sample:
{
"ProductItem": {
"Item_No": "sample string 1",
"Description": "sample string 2",
"Net_Weight": 3.0,
"Gross_Weight": 4.0,
"Length": 5.0,
"Width": 6.0,
"Height": 7.0,
"Color": "sample string 8"
},
"Packages": [
{
"Product_ID": "sample string 1",
"MEASURE": "sample string 3",
"PARENT_MEASURE": "sample string 4",
"LevelIndex": 5,
"Quantity": 6,
"Height": 7.0,
"Width": 8.0,
"Depth": 9.0,
"Weight": 10.0,
"AddBy": "sample string 11",
"AddDateTime": "2025-12-05T03:49:20.9592869-06:00"
},
{
"Product_ID": "sample string 1",
"MEASURE": "sample string 3",
"PARENT_MEASURE": "sample string 4",
"LevelIndex": 5,
"Quantity": 6,
"Height": 7.0,
"Width": 8.0,
"Depth": 9.0,
"Weight": 10.0,
"AddBy": "sample string 11",
"AddDateTime": "2025-12-05T03:49:20.9592869-06:00"
}
]
}
Sample:
Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'ItemAdd'.