查询用户OCR模板
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
yundun-greenweb:DescribeCustomOcrTemplate |
get |
*全部资源
|
无 | 无 |
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| Ids |
string |
否 |
数据 ID。 |
["1605"] |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
|||
| TotalCount |
integer |
总数量。 |
24 |
| RequestId |
string |
请求 ID。 |
AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE**** |
| OcrTemplateList |
array<object> |
OCR 模板列表。 |
|
|
array<object> |
OCR 模板列表。 |
||
| Status |
integer |
模板状态。取值:-1:启用-0:禁用 |
1 |
| Name |
string |
模板名称。 |
xx |
| ImgUrl |
string |
图片地址 |
https://aligreen-shanghai.oss-cn-shanghai.aliyuncs.com/x/custom_ocr_template/1546886714089278/9e188bfa-b0e9-42a0.jpg |
| Id |
integer |
主键 ID。 |
1750 |
| ReferArea |
array<object> |
参考字段。 |
|
|
object |
参考字段。 |
||
| Y |
integer |
文本框左上角 y 坐标 |
4 |
| Name |
string |
文本框名称 |
referKey1 |
| Width |
integer |
文本框宽度 |
220 |
| Height |
integer |
文本框高度 |
229 |
| X |
integer |
文本框左上角 x 坐标 |
12 |
| RecognizeArea |
array<object> |
识别字段。 |
|
|
object |
识别字段。 |
||
| Y |
integer |
文本框左上角 y 坐标 |
10 |
| Name |
string |
文本框名称 |
referKey2 |
| Width |
integer |
文本框宽度 |
100 |
| Height |
integer |
文本框高度 |
100 |
| X |
integer |
文本框左上角 x 坐标 |
55 |
示例
正常返回示例
JSON格式
{
"TotalCount": 24,
"RequestId": "AAAAAA-BBBB-CCCCC-DDDD-EEEEEEEE****",
"OcrTemplateList": [
{
"Status": 1,
"Name": "xx",
"ImgUrl": "https://aligreen-shanghai.oss-cn-shanghai.aliyuncs.com/x/custom_ocr_template/1546886714089278/9e188bfa-b0e9-42a0.jpg",
"Id": 1750,
"ReferArea": [
{
"Y": 4,
"Name": "referKey1",
"Width": 220,
"Height": 229,
"X": 12
}
],
"RecognizeArea": [
{
"Y": 10,
"Name": "referKey2",
"Width": 100,
"Height": 100,
"X": 55
}
]
}
]
}
错误码
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。