POST WEvalBaiduOcr/GetCertificateInfo
获取产证识别信息
Request Information
URI Parameters
None.
Body Parameters
BaiduOcrRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| ImagePath | string |
None. |
|
| ImageByte | Collection of byte |
None. |
|
| Crop | boolean |
None. |
|
| Type | integer |
None. |
|
| ZoneCode | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"ImagePath": "sample string 1",
"ImageByte": "QEA=",
"Crop": true,
"Type": 1,
"ZoneCode": "sample string 3"
}
application/xml, text/xml
Sample:
<BaiduOcrRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GJ.WEM.Biz.Model"> <Crop>true</Crop> <ImageByte>QEA=</ImageByte> <ImagePath>sample string 1</ImagePath> <Type>1</Type> <ZoneCode>sample string 3</ZoneCode> </BaiduOcrRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
RemoteResponseOfBaiduOcrResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| success | boolean |
None. |
|
| errors | string |
None. |
|
| unauthed | boolean |
None. |
|
| result | BaiduOcrResponse |
None. |
Response Formats
application/json, text/json
Sample:
{
"success": true,
"errors": "sample string 2",
"unauthed": true,
"result": {
"LogId": "sample string 1",
"CertificateType": "sample string 2",
"FieldList": [
{
"FieldName": "sample string 1",
"FieldCode": "sample string 2",
"FieldValue": "sample string 3"
},
{
"FieldName": "sample string 1",
"FieldCode": "sample string 2",
"FieldValue": "sample string 3"
}
]
}
}
application/xml, text/xml
Sample:
<RemoteResponseOfBaiduOcrResponsedmGyRm56 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GJ.Biz.Model">
<Errors>sample string 2</Errors>
<Result xmlns:d2p1="http://schemas.datacontract.org/2004/07/GJ.WEM.Biz.Model">
<d2p1:CertificateType>sample string 2</d2p1:CertificateType>
<d2p1:FieldList>
<d2p1:BaiduOcrField>
<d2p1:FieldCode>sample string 2</d2p1:FieldCode>
<d2p1:FieldName>sample string 1</d2p1:FieldName>
<d2p1:FieldValue>sample string 3</d2p1:FieldValue>
</d2p1:BaiduOcrField>
<d2p1:BaiduOcrField>
<d2p1:FieldCode>sample string 2</d2p1:FieldCode>
<d2p1:FieldName>sample string 1</d2p1:FieldName>
<d2p1:FieldValue>sample string 3</d2p1:FieldValue>
</d2p1:BaiduOcrField>
</d2p1:FieldList>
<d2p1:LogId>sample string 1</d2p1:LogId>
</Result>
<Success>true</Success>
<UnAuthorizedRequest>true</UnAuthorizedRequest>
</RemoteResponseOfBaiduOcrResponsedmGyRm56>