Hi,
Could it be that you are providing negative numbers in the allocation?
We were able to add it when setting the line number quantity to 0 and the 1 for each line as such:
{
"issueLines": [
{
"warehouseId": {
"value": "1"
},
"tranType": {
"value": "Issue"
},
"operation": "Insert",
"inventoryNumber": {
"value": "TestUsed"
},
"locationId": {
"value": "1"
},
"quantity": {
"value": 0
},
"reasonCode": {
"value": "2"
},
"description": {
"value": ""
},
"allocations": [
{
"operation": "Insert",
"lineNbr": {
"value": 1
},
"location": {
"value": "1"
},
"lotSerialNumber": {
"value": "125"
},
"quantity": {
"value": 1
}
},
{
"operation": "Insert",
"lineNbr": {
"value": 2
},
"location": {
"value": "1"
},
"lotSerialNumber": {
"value": "126"
},
"quantity": {
"value": 1
}
},
{
"operation": "Insert",
"lineNbr": {
"value": 3
},
"location": {
"value": "1"
},
"lotSerialNumber": {
"value": "127"
},
"quantity": {
"value": 1
}
}
]
}
],
"date": {
"value": "2022-05-20T10:07:16.563"
},
"externalReference": {
"value": "70"
},
"description": {
"value": ""
}
}
... View more