## 获取箱件信息
获取当前接口所属企业下前置关联的指定箱件信息
### 请求方式及接口地址
```
POST /udi/v4/relation/lists?access_token=ACCESS_TOKEN&p_udi=p_udi
```
### 请求字段说明
| 名称 | 类型 | 必填 | 默认值 | 说明 |
| --- | --- | --- | --- | --- |
| access_token | string | 是 | | 调用凭证 |
| p_udi| string| 是| | 箱码UDI|
### 正常返回信息
```
[{
"t_id":"(01)06949450411902(21)7548778(242)1",
"p_id":"(01)06949450411902(21)7548778(242)1",
"udi":"(01)06949450411902(21)7548778(242)1",
"number":1,
"id":8845,
"batch_id":"1637548778411",
"company_idcode":"MA.156.M0.400330",
"industrycategory_id":"41105",
"category_code":"GTDUTQ",
"model_number":"53110004",
"specification":0,
"serial_number":"7548778",
"batch_number":"",
"start_date":"",
"end_date":"",
"effective_date":null,
"organunit_idcode":"(01)06949450411902(21)7548778(242)1",
"category_reg_id":"local",
"print_send":0,
"print_status":null,
"anti_fake":null,
"custom":"(242)1",
"sterilization_number":null,
"medicare_code":"",
"url":null,
"bmtx":1
},
{
"t_id":"(01)06949450411902(21)7548778(242)1",
"p_id":"(01)06949450411902(21)7548778(242)1",
"udi":"(01)56949450411907(21)7548778(242)1",
"number":1,
"id":8841,
"batch_id":"1637548778403",
"company_idcode":"MA.156.M0.400330",
"industrycategory_id":"41105",
"category_code":"GTDUTQ",
"model_number":"53110004",
"specification":5,
"serial_number":"7548778",
"batch_number":"",
"start_date":"",
"end_date":"",
"effective_date":null,
"organunit_idcode":"(01)56949450411907(21)7548778(242)1",
"category_reg_id":"local",
"print_send":0,
"print_status":null,
"anti_fake":null,
"custom":"(242)1",
"sterilization_number":null,
"medicare_code":"",
"url":null,
"bmtx":1
},
{
"t_id":"(01)06949450411902(21)7548778(242)1",
"p_id":"(01)06949450411902(21)7548778(242)1",
"udi":"(01)56949450411907(21)7548779(242)1",
"number":1,
"id":8842,
"batch_id":"1637548778403",
"company_idcode":"MA.156.M0.400330",
"industrycategory_id":"41105",
"category_code":"GTDUTQ",
"model_number":"53110004",
"specification":5,
"serial_number":"7548779",
"batch_number":"",
"start_date":"",
"end_date":"",
"effective_date":null,
"organunit_idcode":"(01)56949450411907(21)7548779(242)1",
"category_reg_id":"local",
"print_send":0,
"print_status":null,
"anti_fake":null,
"custom":"(242)1",
"sterilization_number":null,
"medicare_code":"",
"url":null,
"bmtx":1
}]
```
### 返回字段说明
| 参数 | 说明 |
| --- | --- |
|id|序号|
|t_id|顶级箱码UDI|
|p_id|父级UDI|
|udi|UDI|
|number|箱号|
|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)。