to get a personalized navigation.
to get a personalized navigation.
Hi,
We are receiving very strange responses from KitSpecifications controller. In our own test company it looks according to documentation, but in our client's test company we are getting the following.
{{
"pageNumber": 1,
"pageSize": 5000,
"totalCount": 1,
"records": [
{
"kitInventoryID": "10256 ",
"revision": "01",
"description": "test",
"isActive": true,
"allowComponentAddition": false,
"isNonStock": true,
"stockComponentLines": [
{
"lineNbr": 1,
"componentID": "10 ",
"componentQty": 2.0,
"uom": "STYCK",
"allowComponentQtyVariance": false,
"disassemblyCoeff": 1.0,
"allowComponentSubstitution": false,
"description": "Komponent 1"
},
{
"lineNbr": 2,
"componentID": "11 ",
"componentQty": 3.0,
"uom": "STYCK",
"allowComponentQtyVariance": false,
"disassemblyCoeff": 1.0,
"allowComponentSubstitution": false,
"description": "Komponent 2"
}
]
}
]
}}
ChildrenTokens: Count = 4
Count: 4
First: {"pageNumber": 1}
HasValues: True
Last: {"records": [
{
"kitInventoryID": "10256 ",
"revision": "01",
"description": "test",
"isActive": true,
"allowComponentAddition": false,
"isNonStock": true,
"stockComponentLines": [
{
"lineNbr": 1,
"componentID": "10 ",
"componentQty": 2.0,
"uom": "STYCK",
"allowComponentQtyVariance": false,
"disassemblyCoeff": 1.0,
"allowComponentSubstitution": false,
"description": "Komponent 1"
},
{
"lineNbr": 2,
"componentID": "11 ",
"componentQty": 3.0,
"uom": "STYCK",
"allowComponentQtyVariance": false,
"disassemblyCoeff": 1.0,
"allowComponentSubstitution": false,
"description": "Komponent 2"
}
]
}
]}
[Next]: Nothing
Parent: Nothing
Path: ""
Previous: Nothing
Root: {{
"pageNumber": 1,
"pageSize": 5000,
"totalCount": 1,
"records": [
{
"kitInventoryID": "10256 ",
"revision": "01",
"description": "test",
"isActive": true,
"allowComponentAddition": false,
"isNonStock": true,
"stockComponentLines": [
{
"lineNbr": 1,
"componentID": "10 ",
"componentQty": 2.0,
"uom": "STYCK",
"allowComponentQtyVariance": false,
"disassemblyCoeff": 1.0,
"allowComponentSubstitution": false,
"description": "Komponent 1"
},
{
"lineNbr": 2,
"componentID": "11 ",
"componentQty": 3.0,
"uom": "STYCK",
"allowComponentQtyVariance": false,
"disassemblyCoeff": 1.0,
"allowComponentSubstitution": false,
"description": "Komponent 2"
}
]
}
]
}}
I've marked the section we were expecting in blue.
Is that a bug in the VNA?
Best regards,
Oleg
Hi,
We are not able to reproduce this in our tests:
From where are you doing these requests?
As I said in my initial post, we are getting this strange response in our customer's company.
Company ID: 2951933
In our own company this is working fine.
The call is made from a C# client.
Actual call and result:
{
"pageNumber": 1,
"pageSize": 5000,
"totalCount": 1,
"records": [
{
"kitInventoryID": "10256 ",
"revision": "01",
"description": "test",
"isActive": true,
"allowComponentAddition": false,
"isNonStock": true,
"stockComponentLines": [
{
"lineNbr": 1,
"componentID": "10 ",
"componentQty": 2.0,
"uom": "STYCK",
"allowComponentQtyVariance": false,
"disassemblyCoeff": 1.0,
"allowComponentSubstitution": false,
"description": "Komponent 1"
},
{
"lineNbr": 2,
"componentID": "11 ",
"componentQty": 3.0,
"uom": "STYCK",
"allowComponentQtyVariance": false,
"disassemblyCoeff": 1.0,
"allowComponentSubstitution": false,
"description": "Komponent 2"
}
]}]}
I've even noticed that we are getting the tag kitInventoryID instead of kitItemID as defined in the Swagger documentation.
Alright, thank you. We will open a case with the developers to have a look at this.
This case is still being investigated and we will provide you with more information as soon as we hear any progress in the case.
Hi,
The development team has not been able to reproduce this.
What enviroment are you getting this response in? And are you testing both companies in the same enviroment?
Do you get the same result if you are making the query via swagger/postman?
Copyright © 2022 Visma.com. All rights reserved.