Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

地址: http://test.birdsystem.co.uk/client/Container-Product/Get-Product-Stock-Info

...

例如需要查询ID为1的产品库存时,添加URL参数:filter=[{"type":"numeric","comparison":"eq","value":1302332,"field":"product_id"}]

请求为:http://wwwtest.birdsystem.comco.uk/client/Container-Product/Get-Product-Stock-Info?filter=[{"type":"numeric","comparison":"eq","value":1302332499154,"field":"product_id"}]

返回

Code Block
{
    "total": 12,
    "data": [
        {
            "product_id": 499154,
            "quantity": "11",
            "company_id": 35,
            "company_site_name": "空运动态仓",
            "product_client_ref": "1-3786753345011"
        },
        {
            "product_id": 1302332499154,
            "quantity": "67",
            "company_id": 36,
            "company_site_name": "CN 华南站东莞站",
            "product_client_ref": "471-13023323786753345011"
        }
    ],
    "success": true,
    "refresh": false,
    "moduleName": "client"
}

...