to get a personalized navigation.
to get a personalized navigation.
Hi,
if you POST an order/orderline with an 'inacticve' product, the response does not tell the right position (line index) of the problematic line. This happened with real customer data, but in our own tests too. Maybe you could check and improve the messaging?
While if you send an orderline with nonexisting product code(s) the response tells you the exact line position(s). Which is really good feature.
We had an case where inactive product was sent in lineindex 40, and the response told that it is in lineindex 48. Here is the response, for clarification:
{
"details": [
{
"code": "0100-OutsideValidRange",
"message": "Invalid or empty InventoryId",
"parameters": {
"property": "orderLines[48].inventoryId"
}
}
],
"errors": {
"DomainValidation": [
"Invalid or empty InventoryId"
]
},
"title": "One or more validation errors occurred.",
"status": 400,
"detail": "Refer to the errors property for additional details",
"instance": "/api/v3/SalesOrders"
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Copyright © 2022 Visma.com. All rights reserved.