Project:
View Revisions: Issue #56864 | [ All Revisions ] [ Back to Issue ] | ||
Summary | 0056864: Stock API. Difference between calls from SSMS or POS | ||
Revision | 2024-10-23 08:38 by AgatheBertin | ||
Description | When calling the stockAPI from the POS or from SSMS, the payload is not the same. Some fields are missing in the call from SSMS. product.searchKey product.uPCEAN organisation.id organisation.searchKey warehouse.id warehouse.name WEBPOS json { "terminal": { "ID": "S01203T007", "operator": "XXXX", "locale": "en_US" }, "action": "PRODUCT_STOCK", "serviceId": "2763559799", "data": { "product": { "id": "05F07862216E4347813B9E6FFA076044", "name": "Bobine essuie tout Tenerella XL x2", "searchKey": "405281" }, "organization": { "id": "65AC534B40314485B9F21A94D4B669B7", "warehouses": [ { "id": "F81784F90FB7439FA6061E7DB8EB1FEF", "name": "XXXX", "searchKey": "XXXX" } ], "searchKey": "RES01" } } } SSMS JSON { "terminal": { "operator": "XXXXX" }, "action": "PRODUCT_STOCK", "serviceId": "0002606488", "data": { "product": { "id": "540FD891C2F04573BA3AD45E11D11963", "name": "Allumette x40" }, "organization": { "warehouses": [ { "searchKey": "XXXXX" } ] } } } |
||
Revision | 2024-10-23 08:35 by AgatheBertin | ||
Description | When calling the stockAPI from the POS or from SSMS, the payload is not the same. Some fields are missing in the call from SSMS. product.searchKey organisation.id organisation.searchKey warehouse.id warehouse.name WEBPOS json { "terminal": { "ID": "S01203T007", "operator": "XXXX", "locale": "en_US" }, "action": "PRODUCT_STOCK", "serviceId": "2763559799", "data": { "product": { "id": "05F07862216E4347813B9E6FFA076044", "name": "Bobine essuie tout Tenerella XL x2", "searchKey": "405281" }, "organization": { "id": "65AC534B40314485B9F21A94D4B669B7", "warehouses": [ { "id": "F81784F90FB7439FA6061E7DB8EB1FEF", "name": "XXXX", "searchKey": "XXXX" } ], "searchKey": "RES01" } } } SSMS JSON { "terminal": { "operator": "XXXXX" }, "action": "PRODUCT_STOCK", "serviceId": "0002606488", "data": { "product": { "id": "540FD891C2F04573BA3AD45E11D11963", "name": "Allumette x40" }, "organization": { "warehouses": [ { "searchKey": "XXXXX" } ] } } } |
Copyright © 2000 - 2009 MantisBT Group |