🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
## 获取PI列表 获取当前接口所属企业下PI列表 ### 请求方式及接口地址 ``` POST /udi/v4/pi/lists?access_token=ACCESS_TOKEN&page=1&size=10&di=DI ``` ### 请求字段说明 | 名称 | 类型 | 必填 | 默认值 | 说明 | | --- | --- | --- | --- | --- | | access_token | string | 是 | | 调用凭证 | | DI| string| 是| | DI | | page| number| 否 | 1 | 页码 | | size| number | 否| 100 | 每页显示行数 | ### 正常返回信息 ``` [{ "id": 1355213, "batch_id": "1633958990596", "company_idcode": "MA.156.M0.151330", "industrycategory_id": "41121", "category_code": "8BAS1R", "model_number": "100mg\/瓶", "specification": 0, "serial_number": "3958990", "batch_number": "", "start_date": "700101", "end_date": "700101", "effective_date": null, "organunit_idcode": "(01)06518965154126(11)700101(17)700101(21)3958990", "category_reg_id": "local", "print_send": 0, "print_status": null, "anti_fake": "XV1AY5", "custom": "", "sterilization_number": null, "medicare_code": null, "url": null, "bmtx": 1, }, { "id": 1355480, "batch_id": "1634545194847", "company_idcode": "MA.156.M0.151330", "industrycategory_id": "41121", "category_code": "8BAS1R", "model_number": "100mg\/瓶", "specification": 0, "serial_number": "a001", "batch_number": "211018", "start_date": "211001", "end_date": "211031", "effective_date": null, "organunit_idcode": "(01)06518965154126(10)211018(11)211001(17)211031(21)a001(240)tJjWNG(242)1", "category_reg_id": "local", "print_send": 0, "print_status": null, "anti_fake": "tJjWNG", "custom": "(240)tJjWNG(242)1", "sterilization_number": null, "medicare_code": null, "url": null, "bmtx": 1, }] ``` ### 返回字段说明 | 参数 | 说明 | | --- | --- | |id|序号||id|序号| |batch_id|批次ID| |company_idcode|单位主码| |industrycategory_id|品类ID| |category_code|品类编码| |model_number|型号名称| |specification|包装规格| |serial_number|序列号| |batch_number|生产批号| |start_date|生产日期| |end_date|失效日期| |effective_date|有效期| |organunit_idcode|品类IDcode码| |category_reg_id|品类注册ID| |print_send|打印命令发送| |print_status|打印返回结果| |anti_fake|防伪溯源编码| |custom|自定义信息| |sterilization_number|灭菌批号| |medicare_code|医保编码| |url|URL| |bmtx|0.IDcode1.GS1| 注:错误时平台会返回错误码等信息,[点此查看错误码说明](https://www.kancloud.cn/fangbei/idcode/1734812)。