日本熟妇hd丰满老熟妇,中文字幕一区二区三区在线不卡 ,亚洲成片在线观看,免费女同在线一区二区

RecognizeHotelConsume - 酒店流水識別

支持包括房號、入住日期、離店日期、消費總計、付款總計、消費詳單等關鍵字段結構化識別輸出。

調試

您可以在OpenAPI Explorer中直接運行該接口,免去您計算簽名的困擾。運行成功后,OpenAPI Explorer可以自動生成SDK代碼示例。

授權信息

下表是API對應的授權信息,可以在RAM權限策略語句的Action元素中使用,用來給RAM用戶或RAM角色授予調用此API的權限。具體說明如下:

  • 操作:是指具體的權限點。
  • 訪問級別:是指每個操作的訪問級別,取值為寫入(Write)、讀取(Read)或列出(List)。
  • 資源類型:是指操作中支持授權的資源類型。具體說明如下:
    • 對于必選的資源類型,用背景高亮的方式表示。
    • 對于不支持資源級授權的操作,用全部資源表示。
  • 條件關鍵字:是指云產品自身定義的條件關鍵字。
  • 關聯操作:是指成功執行操作所需要的其他權限。操作者必須同時具備關聯操作的權限,操作才能成功。
操作訪問級別資源類型條件關鍵字關聯操作
ocr:RecognizeHotelConsumeget
*全部資源
*

請求參數

名稱類型必填描述示例值
Urlstring

圖片鏈接(長度不超 2048 字節,不支持 base64)

https://img.alicdn.com/tfs/TB1Wo7eXAvoK1RjSZFDXXXY3pXa-2512-3509.jpg
bodybyte

圖片二進制字節流,最大 10MB

圖片二進制

支持的圖片格式

  • PNG、JPG、JPEG、BMP、GIF、TIFF、WebP

返回參數

名稱類型描述示例值
object

Schema of Response

RequestIdstring

請求唯一 ID

43A29C77-405E-4CC0-BC55-EE694AD00655
Datastring

返回數據

{"data": {"fax": "+862162121xxx", "phone": "+862162121xxx", "postCode": "200051", "roomNo": "3209", "checkInDate": "28OCT20", "departureDate": "30OCT20", "memberNumber": "XXXXXX574L", "totalConsumption": "1,000.00", "name": "享敬的陳慶雷先生", "roomType": "", "numberOfGuests": "", "roomRate": "", "address": "", "consumptionDetails": [{"date": "28OCT20", "item": "房費", "consumption": "500.00", "payment": ""}, {"date": "29QQT20", "item": "房費", "consumption": "500.00", "payment": ""}, {"date": "30QQT20", "item": "支付寶XXXXXXXXXXXXX8512", "consumption": "", "payment": "1,000.00"}]}, "height": 2605, "orgHeight": 2605, "orgWidth": 1974, "prism_keyValueInfo": [{"key": "fax", "keyProb": 100, "value": "+862162121888", "valuePos": [{"x": 1163, "y": 317}, {"x": 1380, "y": 298}, {"x": 1382, "y": 322}, {"x": 1166, "y": 342}], "valueProb": 100}, {"key": "phone", "keyProb": 100, "value": "+862162121234", "valuePos": [{"x": 1158, "y": 281}, {"x": 1375, "y": 266}, {"x": 1377, "y": 295}, {"x": 1159, "y": 309}], "valueProb": 100}, {"key": "postCode", "keyProb": 100, "value": "200051", "valuePos": [{"x": 1336, "y": 2253}, {"x": 1434, "y": 2246}, {"x": 1436, "y": 2274}, {"x": 1339, "y": 2282}], "valueProb": 100}, {"key": "roomNo", "keyProb": 100, "value": "3209", "valuePos": [{"x": 1478, "y": 395}, {"x": 1553, "y": 392}, {"x": 1554, "y": 419}, {"x": 1480, "y": 423}], "valueProb": 100}, {"key": "checkInDate", "keyProb": 99, "value": "28OCT20", "valuePos": [{"x": 1480, "y": 435}, {"x": 1632, "y": 425}, {"x": 1634, "y": 454}, {"x": 1481, "y": 465}], "valueProb": 99}, {"key": "departureDate", "keyProb": 100, "value": "30OCT20", "valuePos": [{"x": 1487, "y": 477}, {"x": 1635, "y": 466}, {"x": 1637, "y": 493}, {"x": 1490, "y": 505}], "valueProb": 100}, {"key": "memberNumber", "keyProb": 100, "value": "XXXXXX574L", "valuePos": [{"x": 383, "y": 1302}, {"x": 556, "y": 1283}, {"x": 558, "y": 1307}, {"x": 386, "y": 1327}], "valueProb": 100}, {"key": "totalConsumption", "keyProb": 100, "value": "1,000.00", "valuePos": [{"x": 1459, "y": 1135}, {"x": 1580, "y": 1126}, {"x": 1582, "y": 1155}, {"x": 1462, "y": 1165}], "valueProb": 100}, {"key": "name", "keyProb": 100, "value": "享敬的陳慶雷先生", "valuePos": [{"x": 53, "y": 523}, {"x": 275, "y": 511}, {"x": 277, "y": 548}, {"x": 54, "y": 559}], "valueProb": 100}, {"key": "roomType", "keyProb": 100, "value": "", "valueProb": 100}, {"key": "numberOfGuests", "keyProb": 100, "value": "", "valueProb": 100}, {"key": "roomRate", "keyProb": 100, "value": "", "valueProb": 100}, {"key": "address", "keyProb": 100, "value": "", "valueProb": 100}, {"key": "consumptionDetails", "keyProb": 100, "value": "[{\"date\":\"28OCT20\",\"item\":\"房費\",\"consumption\":\"500.00\",\"payment\":\"\"},{\"date\":\"29QQT20\",\"item\":\"房費\",\"consumption\":\"500.00\",\"payment\":\"\"},{\"date\":\"30QQT20\",\"item\":\"支付寶XXXXXXXXXXXXX8512\",\"consumption\":\"\",\"payment\":\"1,000.00\"}]", "valueProb": 100}], "width": 1974}
Codestring

狀態碼

200
Messagestring

詳細信息

message

返回數據說明

fax  傳真
phone  電話
postCode  郵編
roomNo  房號
checkInDate  入住日期
departureDate  離店日期
memberNumber  會員號碼
totalConsumption  消費總計
name  姓名
roomType  房型
numberOfGuests  住店人數
roomRate  房費
address  地址
consumptionDetails  消費詳單
--------------------------consumptionDetails 數組內的字段說明--------------------------
date  日期
item  項目
consumption  消費
payment  付款

示例

正常返回示例

JSON格式

{
  "RequestId": "43A29C77-405E-4CC0-BC55-EE694AD00655",
  "Data": "{\"data\": {\"fax\": \"+862162121xxx\", \"phone\": \"+862162121xxx\", \"postCode\": \"200051\", \"roomNo\": \"3209\", \"checkInDate\": \"28OCT20\", \"departureDate\": \"30OCT20\", \"memberNumber\": \"XXXXXX574L\", \"totalConsumption\": \"1,000.00\", \"name\": \"享敬的陳慶雷先生\", \"roomType\": \"\", \"numberOfGuests\": \"\", \"roomRate\": \"\", \"address\": \"\", \"consumptionDetails\": [{\"date\": \"28OCT20\", \"item\": \"房費\", \"consumption\": \"500.00\", \"payment\": \"\"}, {\"date\": \"29QQT20\", \"item\": \"房費\", \"consumption\": \"500.00\", \"payment\": \"\"}, {\"date\": \"30QQT20\", \"item\": \"支付寶XXXXXXXXXXXXX8512\", \"consumption\": \"\", \"payment\": \"1,000.00\"}]}, \"height\": 2605, \"orgHeight\": 2605, \"orgWidth\": 1974, \"prism_keyValueInfo\": [{\"key\": \"fax\", \"keyProb\": 100, \"value\": \"+862162121888\", \"valuePos\": [{\"x\": 1163, \"y\": 317}, {\"x\": 1380, \"y\": 298}, {\"x\": 1382, \"y\": 322}, {\"x\": 1166, \"y\": 342}], \"valueProb\": 100}, {\"key\": \"phone\", \"keyProb\": 100, \"value\": \"+862162121234\", \"valuePos\": [{\"x\": 1158, \"y\": 281}, {\"x\": 1375, \"y\": 266}, {\"x\": 1377, \"y\": 295}, {\"x\": 1159, \"y\": 309}], \"valueProb\": 100}, {\"key\": \"postCode\", \"keyProb\": 100, \"value\": \"200051\", \"valuePos\": [{\"x\": 1336, \"y\": 2253}, {\"x\": 1434, \"y\": 2246}, {\"x\": 1436, \"y\": 2274}, {\"x\": 1339, \"y\": 2282}], \"valueProb\": 100}, {\"key\": \"roomNo\", \"keyProb\": 100, \"value\": \"3209\", \"valuePos\": [{\"x\": 1478, \"y\": 395}, {\"x\": 1553, \"y\": 392}, {\"x\": 1554, \"y\": 419}, {\"x\": 1480, \"y\": 423}], \"valueProb\": 100}, {\"key\": \"checkInDate\", \"keyProb\": 99, \"value\": \"28OCT20\", \"valuePos\": [{\"x\": 1480, \"y\": 435}, {\"x\": 1632, \"y\": 425}, {\"x\": 1634, \"y\": 454}, {\"x\": 1481, \"y\": 465}], \"valueProb\": 99}, {\"key\": \"departureDate\", \"keyProb\": 100, \"value\": \"30OCT20\", \"valuePos\": [{\"x\": 1487, \"y\": 477}, {\"x\": 1635, \"y\": 466}, {\"x\": 1637, \"y\": 493}, {\"x\": 1490, \"y\": 505}], \"valueProb\": 100}, {\"key\": \"memberNumber\", \"keyProb\": 100, \"value\": \"XXXXXX574L\", \"valuePos\": [{\"x\": 383, \"y\": 1302}, {\"x\": 556, \"y\": 1283}, {\"x\": 558, \"y\": 1307}, {\"x\": 386, \"y\": 1327}], \"valueProb\": 100}, {\"key\": \"totalConsumption\", \"keyProb\": 100, \"value\": \"1,000.00\", \"valuePos\": [{\"x\": 1459, \"y\": 1135}, {\"x\": 1580, \"y\": 1126}, {\"x\": 1582, \"y\": 1155}, {\"x\": 1462, \"y\": 1165}], \"valueProb\": 100}, {\"key\": \"name\", \"keyProb\": 100, \"value\": \"享敬的陳慶雷先生\", \"valuePos\": [{\"x\": 53, \"y\": 523}, {\"x\": 275, \"y\": 511}, {\"x\": 277, \"y\": 548}, {\"x\": 54, \"y\": 559}], \"valueProb\": 100}, {\"key\": \"roomType\", \"keyProb\": 100, \"value\": \"\", \"valueProb\": 100}, {\"key\": \"numberOfGuests\", \"keyProb\": 100, \"value\": \"\", \"valueProb\": 100}, {\"key\": \"roomRate\", \"keyProb\": 100, \"value\": \"\", \"valueProb\": 100}, {\"key\": \"address\", \"keyProb\": 100, \"value\": \"\", \"valueProb\": 100}, {\"key\": \"consumptionDetails\", \"keyProb\": 100, \"value\": \"[{\\\"date\\\":\\\"28OCT20\\\",\\\"item\\\":\\\"房費\\\",\\\"consumption\\\":\\\"500.00\\\",\\\"payment\\\":\\\"\\\"},{\\\"date\\\":\\\"29QQT20\\\",\\\"item\\\":\\\"房費\\\",\\\"consumption\\\":\\\"500.00\\\",\\\"payment\\\":\\\"\\\"},{\\\"date\\\":\\\"30QQT20\\\",\\\"item\\\":\\\"支付寶XXXXXXXXXXXXX8512\\\",\\\"consumption\\\":\\\"\\\",\\\"payment\\\":\\\"1,000.00\\\"}]\", \"valueProb\": 100}], \"width\": 1974}",
  "Code": "200",
  "Message": "message"
}

錯誤碼

訪問錯誤中心查看更多錯誤碼。

變更歷史

變更時間變更內容概要操作
2022-03-16新增 OpenAPI查看變更詳情

SDK 調用 通過 SDK 調用此接口的示例請參考開發者中心