I'm trying to get inventory receipts from API, but in response data I can't find LotSerialNumber field that I can see in Visma ERP UI. https://integration.visma.net/API/controller/api/v1/inventoryReceipt/ For example, one of the receiptLines I could get the following: {
"warehouse": {
"id": "1 ",
"description": "Vantaa"
},
"unitCost": 0,
"extCost": 0,
"project": {
"id": "X",
"description": "Non-Project Code."
},
"lineNumber": 2,
"inventoryItem": {
"number": "TP1918",
"description": "Eristevilla Isover Standard KL36 125x565x1310mm (5,92m²/pkt)"
},
"location": {
"id": "1",
"name": "Normaali"
},
"quantity": 20,
"uom": "KPL",
"reasonCode": {
"id": "01",
"description": "Varastoon tulo"
},
"description": "Eristevilla Isover Standard KL36 125x565x1310mm (5,92m²/pkt)",
"branchNumber": {
"number": "1",
"name": "(removed)"
}
}, The same applies for the following endpoint: https://integration.visma.net/API/controller/api/v1/inventoryReceipt/1500009 and there's no LotSerialNbr field anywhere. The following screenshot shows where it is in the UI side: So my question is: how to get the matching LotSerialNbr for specific InventoryReceipt lines from API side?
... View more