POST api/Getocr
Request Information
URI Parameters
None.
Body Parameters
VatInvoiceOCRRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| ImageBase64 | string |
None. |
|
| ImageUrl | string |
None. |
|
| IsPdf | boolean |
None. |
|
| PdfPageNumber | unsigned integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"ImageBase64": "sample string 1",
"ImageUrl": "sample string 2",
"IsPdf": true,
"PdfPageNumber": 1
}
application/xml, text/xml
Sample:
<VatInvoiceOCRRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TencentCloud.Ocr.V20181119.Models"> <ImageBase64>sample string 1</ImageBase64> <ImageUrl>sample string 2</ImageUrl> <IsPdf>true</IsPdf> <PdfPageNumber>1</PdfPageNumber> </VatInvoiceOCRRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.