When adding a shipment to a salesorder via the API, the shipment allocations are already set with what seemes to be a suggestions by the system. Is it possible to turn this off? How do you add new allocation lines of components? I just can't get it to work. Could you provide a example of how the json object should look? When I'm trying to update a shipment with data below, i get the following error: "message=VismaId: d469ffd1-6e70-483f-ab72-c426ecb31b64. Object reference not set to an instance of an object." {
"shipmentType":{
"value":"Issue"
},
"shipmentDetailLines":[
{
"operation":"Update",
"lineNumber":{
"value":1
},
"allocations":[
{
"operation":"Delete",
"lineNbr":{
"value":2
},
"lotSerialNumber":{
"value":"2014.31"
},
"quantity":{
"value":2.000000
}
},
{
"operation":"Delete",
"lineNbr":{
"value":3
},
"lotSerialNumber":{
"value":"2014.32"
},
"quantity":{
"value":2.000000
}
},
{
"operation":"Delete",
"lineNbr":{
"value":4
},
"lotSerialNumber":{
"value":"2014.33"
},
"quantity":{
"value":2.000000
}
},
{
"operation":"Insert",
"lotSerialNumber":{
"value":"2014.31"
},
"quantity":{
"value":1.0
}
},
{
"operation":"Insert",
"lotSerialNumber":{
"value":"2014.93"
},
"quantity":{
"value":1.0
}
},
{
"operation":"Insert",
"lotSerialNumber":{
"value":"2014.32"
},
"quantity":{
"value":1.0
}
},
{
"operation":"Insert",
"lotSerialNumber":{
"value":"2014.94"
},
"quantity":{
"value":1.0
}
},
{
"operation":"Insert",
"lotSerialNumber":{
"value":"2014.98"
},
"quantity":{
"value":1.0
}
},
{
"operation":"Insert",
"lotSerialNumber":{
"value":"2014.97"
},
"quantity":{
"value":1.0
}
}
]
}
]
}
... View more