TIP
# AI商品识别明细接口(原始)
接口说明:查询AI商品识别的原始识别明细,若存在校对修改,需调用AI商品识别明细接口(校对)查看修改后的记录。
请求方式: POST(HTTPS)
 请求地址: https://openapi.qince.com/api/ai/v2/queryPrimitiveAiSkuDetail/{ openid }/{ timestamp }/{ digest }/{ msg_id } 在线调试
 请求示例:
请求说明
| 参数 | 类型 | 必填 | 说明 | 
|---|---|---|---|
| startDate | varchar(10) | 与"identificationStartDate"二选一 | 查询业务创建的起始时间(包含)。格式:yyyy-MM-dd;注意:起止时间必须成对使用“startDate,endDate”,或者成对使用“ identificationStartDate、identificationEndDate”,不能混用 | 
| endDate | varchar(10) | 与"identificationEndDate"二选一 | 查询业务创建的结束时间(包含)。格式:yyyy-MM-dd;注意:起止时间必须成对使用“startDate,endDate”,或者成对使用“ identificationStartDate、identificationEndDate”,不能混用 | 
| identificationStartDate | varchar(10) | 与"startDate"二选一 | 查询AI图像识别时间的起始时间(包含)。格式:yyyy-MM-dd;注意:起止时间必须成对使用“startDate,endDate”,或者成对使用“ identificationStartDate、identificationEndDate”,不能混用 | 
| identificationEndDate | varchar(10) | 与"endDate"二选一 | 查询AI图像识别时间的结束时间(包含)。格式:yyyy-MM-dd;注意:起止时间必须成对使用“startDate,endDate”,或者成对使用“ identificationStartDate、identificationEndDate”,不能混用 | 
| bizId | long | 否 | 业务id,从AI商品识别结果接口(原始)获得 | 
| page | int8 | 是 | 分页页码,默认为1 | 
| rows | int8 | 是 | 分页大小,每页最大1000条 | 
参数说明:
{
    "return_code": "0", 
    "return_msg": "响应信息",
    "msg_id": "{ msg_id }",
    "response_data": "<<DATA>>"
}
数据DATA示例:
{
  "total": 1,
  "rows": [
    {
      "bizId": 7833781196082223122,
      "sourceFormName": "AI计分得分展示测试",
      "sourceAssemblyName": "AI计分得分展示测试",
      "sourceFormId": "6080902451731163134",
      "formDataId": "8124185495362438441",
      "sourceFunction": "拜访表单",
      "createDate": "2023-03-06 19:38:23",
      "identificationDate": "2023-03-06 19:37:36",
      "images": [
        {
          "imageId": 7561294981951246186,
          "imageUrl": "http://image-test.waiqin365.com/7093658607018213657/user_defined/8569590104064608943/202303/20230306193731271_88a8fb68_CAMERA_21233311228.jpg"
        },
        {
          "imageId": 7622491181610267724,
          "imageUrl": "http://image-test.waiqin365.com/7093658607018213657/user_defined/8569590104064608943/202303/20230306193732710_88a8fb68_CAMERA_21003344564.jpg"
        }
      ],
      "products": [
        {
          "bjpType": "0",
          "discountPrice": "",
          "originalPrice": "",
          "productCode": "rio_jingdian_001",
          "productId": 5320052540802681201,
          "productName": "经典3.8度蓝玫",
          "productNum": "3",
          "type": "0"
        },
        {
          "bjpType": "0",
          "discountPrice": "",
          "originalPrice": "",
          "productCode": "hekaishui_PET500ml",
          "productId": 4908954665505941115,
          "productName": "ksf_ky_hekaishui_PET500ml",
          "productNum": "1",
          "type": "0"
        },
        {
          "bjpType": "0",
          "discountPrice": "",
          "originalPrice": "",
          "productCode": "rio_jingdian_003",
          "productId": 8631288018202295691,
          "productName": "经典3.8度水蜜桃",
          "productNum": "1",
          "type": "0"
        }
      ]
    }
  ]
}
数据DATA参数说明:
| 参数 | 类型 | 说明 | 
|---|---|---|
| rows | LIST | 业务ID下的结果合集 | 
| rows.bizId | Long | 业务id | 
| rows.sourceFormName | VARCHAR | 来源表单名称 | 
| rows.sourceAssemblyName | VARCHAR | 来源组件名称 | 
| rows.sourceFormId | VARCHAR | 表单模版ID | 
| rows.formDataId | VARCHAR | 表单数据ID | 
| rows.sourceFunction | VARCHAR | 来源功能 | 
| rows.createDate | VARCHAR | 图片提交时间、业务创建时间。格式:yyyy-MM-dd HH:mm:ss。 | 
| rows.identificationDate | VARCHAR | 图片识别时间。格式:yyyy-MM-dd HH:mm:ss。 | 
| rows.images | LIST | 该业务id下的照片集 | 
| rows.images.imageId | Long | 图片id | 
| rows.images.imageUrl | VARCHAR | 图片url | 
| rows.products | LIST | 该业务id下的商品识别结果 | 
| rows.products.productId | Long | 商品id | 
| rows.products.productName | VARCHAR | 商品名称 | 
| rows.products.productCode | VARCHAR | 商品编码 | 
| rows.products.productNum | VARCHAR | 商品数量 | 
| rows.products.bjpType | VARCHAR | 本竞品类型。0:本品,1:竞品 | 
| rows.products.type | VARCHAR | 类型。0:商品,1:助销物料 | 
| rows.products.originalPrice | VARCHAR | 零售价格 | 
| rows.products.discountPrice | VARCHAR | 促销价格 | 
