I am making a custom integration for rapnet instant inventory.
It is based on PHP and uses JSON.
I have set up a feed in Rapnet instant inventory but when i'm only getting the Error 4001: No Diamond was found error when querying the API.
The same is happening when i test the Instant inventory template preview widget in the Rapnet backend. When i run a search with no criteria in the preview widget it will show a popup with the same error message.
This gives me the idea the problem is with the feed and not the custom integration but i have no way to confirm this.
Just for complete information. These are the JSON requests i'm sending to the API:
Get all diamonds:
{
"request": {
"header": {
"username": "********",
"password": "********"
},
"body": {
"page_number": 1,
"page_size": 50
}
}
}
Get single diamond:
{
"request": {
"header": {
"username": "********",
"password": "********"
},
"body": {
"diamond_id": "15003824001"
}
}
}
Does anybody know how to fix this?