I want to be able to save multiple PackageContents for an SOShipment in a single API call, but I’m getting odd results.
I have the following Body for my PUT REST API request
{
"Packages": [
{
"PackageContents": [
{
"ShipmentSplitLineNbr": {
"value": 11
},
"Canister": {
"value": 8
},
"Position": {
"value": "Bottom"
}
},
{
"ShipmentSplitLineNbr": {
"value": 17
},
"Canister": {
"value": 8
},
"Position": {
"value": "Bottom"
}
},
{
"ShipmentSplitLineNbr": {
"value": 19
},
"Canister": {
"value": 8
},
"Position": {
"value": "Bottom"
}
}
],
"LineNbr": {
"value": 1
}
}
],
"ShipmentNbr": {
"value": "000054188"
}
}
For some reason, this saves ShipmentSplitLineNbr 11 and 17, but does not save 19. However, if I re-order the nodes so that 19, 11, 17 then it saves 19, but does not save 11 and 17.
Is it possible to save multiple PackageContents in a single REST API call?