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

RecognizeHotelConsume - 酒店流水識(shí)別

更新時(shí)間:

支持包括房號(hào)、入住日期、離店日期、消費(fèi)總計(jì)、付款總計(jì)、消費(fèi)詳單等關(guān)鍵字段結(jié)構(gòu)化識(shí)別輸出。

調(diào)試

您可以在OpenAPI Explorer中直接運(yùn)行該接口,免去您計(jì)算簽名的困擾。運(yùn)行成功后,OpenAPI Explorer可以自動(dòng)生成SDK代碼示例。

授權(quán)信息

下表是API對(duì)應(yīng)的授權(quán)信息,可以在RAM權(quán)限策略語句的Action元素中使用,用來給RAM用戶或RAM角色授予調(diào)用此API的權(quán)限。具體說明如下:

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

請(qǐng)求參數(shù)

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

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

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

圖片二進(jìn)制字節(jié)流,最大 10MB

圖片二進(jìn)制

支持的圖片格式

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

返回參數(shù)

名稱類型描述示例值
object

Schema of Response

RequestIdstring

請(qǐng)求唯一 ID

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

返回?cái)?shù)據(jù)

{"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": "房費(fèi)", "consumption": "500.00", "payment": ""}, {"date": "29QQT20", "item": "房費(fèi)", "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\":\"房費(fèi)\",\"consumption\":\"500.00\",\"payment\":\"\"},{\"date\":\"29QQT20\",\"item\":\"房費(fèi)\",\"consumption\":\"500.00\",\"payment\":\"\"},{\"date\":\"30QQT20\",\"item\":\"支付寶XXXXXXXXXXXXX8512\",\"consumption\":\"\",\"payment\":\"1,000.00\"}]", "valueProb": 100}], "width": 1974}
Codestring

狀態(tài)碼

200
Messagestring

詳細(xì)信息

message

返回?cái)?shù)據(jù)說明

fax  傳真
phone  電話
postCode  郵編
roomNo  房號(hào)
checkInDate  入住日期
departureDate  離店日期
memberNumber  會(huì)員號(hào)碼
totalConsumption  消費(fèi)總計(jì)
name  姓名
roomType  房型
numberOfGuests  住店人數(shù)
roomRate  房費(fèi)
address  地址
consumptionDetails  消費(fèi)詳單
--------------------------consumptionDetails 數(shù)組內(nèi)的字段說明--------------------------
date  日期
item  項(xiàng)目
consumption  消費(fèi)
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\": \"房費(fèi)\", \"consumption\": \"500.00\", \"payment\": \"\"}, {\"date\": \"29QQT20\", \"item\": \"房費(fèi)\", \"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\\\":\\\"房費(fèi)\\\",\\\"consumption\\\":\\\"500.00\\\",\\\"payment\\\":\\\"\\\"},{\\\"date\\\":\\\"29QQT20\\\",\\\"item\\\":\\\"房費(fèi)\\\",\\\"consumption\\\":\\\"500.00\\\",\\\"payment\\\":\\\"\\\"},{\\\"date\\\":\\\"30QQT20\\\",\\\"item\\\":\\\"支付寶XXXXXXXXXXXXX8512\\\",\\\"consumption\\\":\\\"\\\",\\\"payment\\\":\\\"1,000.00\\\"}]\", \"valueProb\": 100}], \"width\": 1974}",
  "Code": "200",
  "Message": "message"
}

錯(cuò)誤碼

訪問錯(cuò)誤中心查看更多錯(cuò)誤碼。

變更歷史

變更時(shí)間變更內(nèi)容概要操作
2022-03-16新增 OpenAPI查看變更詳情

SDK 調(diào)用 通過 SDK 調(diào)用此接口的示例請(qǐng)參考開發(fā)者中心