搜索关键字坐标(签署场景)

更新时间:2022-01-24 03:55:46

接口描述

搜索关键字坐标,以关键字左下角为原点去查询坐标

接口地址&请求方式

接口地址:/v1/signflows/{flowId}/documents/{fileId}/searchWordsPosition

请求方式:GET

请求头格式

具体请求头格式结构,请点击查看公共参数说明

请求参数

参数名称

类型

必选

参数类型

参数说明

(左右拖动查看完整描述)

flowId

string

path

签署流程ID

fileId

string

path

文档ID

keywords

string

query

关键字列表,英文逗号分割;

注意要英文的逗号,不能中文逗号;关键字建议不要设置特殊字符,因Adobe无法识别部分符号,某些特殊字符会因解析失败从而导致搜索不到

响应参数

展开全部参数参数名称

类型

必选

参数说明

(左右拖动查看完整描述)

code

int

业务码,0表示成功

message

string

信息

data

array

业务信息

fileId

string

文档ID

keyword

string

关键字

positionList

array

位置列表


pageIndex

int

页码

coordinateList

array

操作日志id


posx

float

x坐标

posy

float

y坐标

请求示例  

GET https://openapi.esign.cn/v1/signflows/{flowId}/documents/{fileId}/searchWordsPosition?keywords=keyword1,keyword2

响应示例

{
  "code": 0,
  "message": "成功",
  "data": [
    {
      "keyword": "方法",
      "fileId": "b4f3d89420ec438ab83e8a02cabf1342",
      "positionList": [
        {
          "pageIndex": 1,
          "coordinateList": [
            {
              "posx": 315.43,
              "posy": 185.65723
            }
          ]
        }
      ]
    }
  ]
}


我要纠错