to get a personalized navigation.
to get a personalized navigation.
Trying to update a shipment, but gets Error "Object reference not set to an instance of an object" and cannot find why. Can someone point me in the right direction?
{
"shipmentNumber": {
"Value": "000002"
},
"shipmentType": {
"Value": "Issue"
},
"hold": {
"Value": true
},
"operation": {
"Value": "Issue"
},
"shipmentDetailLines": [
{
"lineNumber": {
"Value": 1
},
"shippedQty": {
"Value": 1.0
},
"operation": "Update"
}
],
"note": {
"Value": "Test"
},
"shipmentPackageLines": [
{
"operation": "Insert",
"boxId": {
"Value": "BOX"
},
"description": {
"Value": "00087122820000000679"
},
"weight": {
"Value": 2.0
},
"trackingNumber": {
"Value": "TESTTRK000002002"
},
"customRefNbr1": {
"Value": "BLE"
},
"confirmed": {
"Value": true
},
"coDAmount": {
"Value": 2.0
}
}
]
}
Solved! Go to Solution.
Hi,
The issue seems to be occurring when the "lineNumber" field is not included, on our end the JSON below works:
Copyright © 2022 Visma.com. All rights reserved.