'1.0', 'info' => [ 'style' => 'AliGenie', 'product' => 'AliGenie', 'version' => 'ip_1.0', ], 'directories' => [ [ 'id' => 172223, 'title' => null, 'type' => 'directory', 'children' => [ [ 'id' => 176686, 'title' => null, 'type' => 'directory', 'children' => [ 'GetRelationProductList', 'CreateHotel', 'UpdateHotel', 'RemoveHotel', 'ListHotelInfo', 'ListHotels', 'AuditHotel', ], ], [ 'id' => 176687, 'title' => null, 'type' => 'directory', 'children' => [ 'ListHotelRooms', 'BatchAddHotelRoom', 'BatchDeleteHotelRoom', 'CheckoutWithAK', 'QueryHotelRoomDetail', ], ], [ 'id' => 176688, 'title' => null, 'type' => 'directory', 'children' => [ 'ListSceneCategory', 'ListDialogueTemplate', 'InsertHotelSceneBookItem', 'DeleteHotelSceneBookItem', 'UpdateHotelSceneBookItem', 'ListHotelSceneBookItems', 'ListHotelSceneItems', 'UpdateHotelSceneItem', 'GetHotelSceneItemDetail', 'InvokeRobotPush', ], ], [ 'id' => 177617, 'title' => null, 'type' => 'directory', 'children' => [ 'ImportHotelConfig', 'ImportRoomControlDevices', 'ImportRoomGenieScenes', 'PageGetHotelRoomDevices', 'QueryRoomControlDevices', 'GetHotelRoomDevice', 'ControlRoomDevice', 'PushVoiceBoxCommands', 'SyncDeviceStatusWithAk', 'CreateRcuScene', 'DeleteRcuScene', 'UpdateRcuScene', 'ExecuteScene', 'QuerySceneList', 'QueryRoomStatus', 'QueryRoomControlDevicesAndStatus', [ 'id' => 183878, 'title' => null, 'type' => 'directory', 'children' => [ 'ListAllProvinces', 'ListCitiesByProvince', 'ListSTBServiceProviders', 'ListInfraredDeviceBrands', 'ListInfraredRemoteControllers', ], ], ], ], [ 'id' => 180467, 'title' => null, 'type' => 'directory', 'children' => [ 'ListCustomQA', 'AddCustomQA', 'AddCustomQAV2', 'UpdateCustomQA', 'DeleteCustomQA', 'GetBasicInfoQA', 'UpdateBasicInfoQA', 'ListServiceQA', 'UpdateServiceQA', ], ], [ 'id' => 177620, 'title' => null, 'type' => 'directory', 'children' => [ 'AddCartoon', 'GetCartoon', 'DeleteCartoon', 'GetHotelScreenSaverStyle', 'AddOrUpdateHotelSetting', 'GetHotelSetting', 'DeleteHotelSetting', ], ], [ 'id' => 176771, 'title' => null, 'type' => 'directory', 'children' => [ 'AddOrUpdateWelcomeText', 'GetWelcomeTextAndMusic', 'ResetWelcomeTextAndMusic', 'PushWelcomeTextAndMusic', 'PushWelcome', ], ], [ 'id' => 176689, 'title' => null, 'type' => 'directory', 'children' => [ 'AddMessageTemplate', 'ListHotelMessageTemplate', 'DeleteMessageTemplate', 'UpdateMessageTemplate', 'PushHotelMessage', ], ], [ 'id' => 180476, 'title' => null, 'type' => 'directory', 'children' => [ 'ListTickets', 'UpdateTicket', ], ], [ 'id' => 176690, 'title' => null, 'type' => 'directory', 'children' => [ 'DeleteHotelAlarm', 'ListHotelAlarm', 'CreateHotelAlarm', 'UpdateHotelAlarm', ], ], 'ChildAccountAuth', 'RemoveChildAccountAuth', [ 'id' => 190022, 'title' => null, 'type' => 'directory', 'children' => [ 'PmsEventReport', ], ], ], ], [ 'id' => 172229, 'title' => null, 'type' => 'directory', 'children' => [ 'QueryDeviceStatus', 'ListHotelControlDevice', 'DeviceControl', 'ListHotelSceneItem', 'ListHotelServiceCategory', 'GetHotelOrderDetail', 'ListHotelOrder', 'SubmitHotelOrder', 'GetHotelNotice', 'GetHotelNoticeV2', 'GetHotelHomeBackImageAndModes', 'GetHotelSampleUtterances', 'GetHotelScreenSaver', 'RoomCheckOut', 'GetHotelContacts', 'GetHotelContactByNumber', 'GetHotelContactByGenieDevice', ], ], [ 'id' => 179237, 'title' => null, 'type' => 'directory', 'children' => [ 'AddOrUpdateScreenSaver', 'AddOrUpdateDisPlayModes', 'GetUnionId', 'HotelQrBind', ], ], ], 'components' => [ 'schemas' => [], ], 'apis' => [ 'GetRelationProductList' => [ 'summary' => '关联产品列表查看', 'path' => '/v1.0/ip/getRelationProductList', 'methods' => [ 'post', ], 'schemes' => [ 'https', 'http', ], 'security' => [ [ 'AliGenie_Auth_SPI' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [], 'parameters' => [], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Result>', 'description' => 'Result>', 'type' => 'object', 'properties' => [ 'StatusCode' => [ 'title' => '调用返回码,除约定的SUCCESS_CODE外,其余由服务提供者自定义', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'Result' => [ 'title' => '服务的实际返回结果', 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'Name' => [ 'title' => '产品名称', 'description' => '', 'type' => 'string', 'example' => '', ], 'Pk' => [ 'title' => '产品pk', 'description' => '', 'type' => 'string', 'example' => 'jTOSl***l1odxImRw', ], ], ], ], 'Message' => [ 'title' => '附加信息,典型应用场景是对失败调用进行简述,方便调用方定位问题', 'description' => '', 'type' => 'string', 'example' => 'success', ], 'Extentions' => [ 'title' => '扩展字段', 'description' => '', 'type' => 'object', 'additionalProperties' => [ 'type' => 'any', 'description' => '', 'example' => 'any', ], ], 'RequestId' => [ 'description' => '', 'type' => 'string', 'example' => '0EC7*726E', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'InvalidParameter', 'errorMessage' => 'The request parameter is invalid', ], ], 500 => [ [ 'errorCode' => 'ServerError', 'errorMessage' => 'internal server error', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"StatusCode\\": 200,\\n \\"Result\\": [\\n {\\n \\"Name\\": \\"橙蜂中控面板\\",\\n \\"Pk\\": \\"jTOSl***l1odxImRw\\"\\n }\\n ],\\n \\"Message\\": \\"success\\",\\n \\"Extentions\\": {\\n \\"key\\": \\"any\\"\\n },\\n \\"RequestId\\": \\"0EC7*726E\\"\\n}","type":"json"}]', ], 'CreateHotel' => [ 'summary' => '创建酒店项目', 'path' => '/v1.0/ip/createHotel', 'methods' => [ 'post', ], 'schemes' => [ 'https', 'http', ], 'security' => [ [ 'AliGenie_Auth_SPI' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [], 'parameters' => [ [ 'name' => 'TbOpenId', 'in' => 'formData', 'schema' => [ 'title' => '淘宝开放id', 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'AAEV***E3d3Z2ETwh', ], ], [ 'name' => 'AppKey', 'in' => 'formData', 'schema' => [ 'title' => '开放平台appKey', 'description' => '', 'type' => 'string', 'required' => true, 'example' => '333566791', ], ], [ 'name' => 'HotelName', 'in' => 'formData', 'schema' => [ 'title' => '酒店名称', 'description' => '', 'type' => 'string', 'required' => true, 'example' => '', ], ], [ 'name' => 'Remark', 'in' => 'formData', 'schema' => [ 'title' => '备注', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'test', ], ], [ 'name' => 'HotelAddress', 'in' => 'formData', 'schema' => [ 'title' => '酒店地址', 'description' => '', 'type' => 'string', 'required' => true, 'example' => '', ], ], [ 'name' => 'HotelEmail', 'in' => 'formData', 'schema' => [ 'title' => '酒店联系邮箱', 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'test@hotel.com', ], ], [ 'name' => 'PhoneNumber', 'in' => 'formData', 'schema' => [ 'title' => '酒店联系电话', 'description' => '', 'type' => 'string', 'required' => true, 'example' => '13xxxxxxxx', ], ], [ 'name' => 'RelatedPk', 'in' => 'formData', 'schema' => [ 'title' => '关联产品', 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'jTO****Rw', ], ], [ 'name' => 'RelatedPks', 'in' => 'formData', 'style' => 'json', 'schema' => [ 'title' => '酒店关联产品列表', 'description' => '酒店关联产品列表', 'type' => 'array', 'items' => [ 'type' => 'string', 'required' => false, ], 'required' => false, ], ], [ 'name' => 'RoomNum', 'in' => 'formData', 'schema' => [ 'title' => '房间数', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '100', ], ], [ 'name' => 'EstOpenTime', 'in' => 'formData', 'schema' => [ 'title' => '预计开业时间:yyyy-MM-dd HH:mm:ss 格式字符串', 'description' => '', 'type' => 'string', 'required' => true, 'example' => '2022-10-1 00:00:00', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Result', 'description' => 'Result', 'type' => 'object', 'properties' => [ 'StatusCode' => [ 'title' => '调用返回码,除约定的SUCCESS_CODE外,其余由服务提供者自定义', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'Result' => [ 'title' => '酒店ID', 'description' => '', 'type' => 'string', 'example' => '5abfd9***2c38661', ], 'Message' => [ 'title' => '附加信息,典型应用场景是对失败调用进行简述,方便调用方定位问题', 'description' => '', 'type' => 'string', 'example' => 'success', ], 'Extentions' => [ 'title' => '扩展字段', 'description' => '', 'type' => 'object', 'additionalProperties' => [ 'type' => 'any', 'description' => '', ], ], 'RequestId' => [ 'description' => '', 'type' => 'string', 'example' => '73C67BD9-175A-1324-8202-9FAABBB3E6FA', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'InvalidParameter', 'errorMessage' => 'The request parameter is invalid', ], ], 500 => [ [ 'errorCode' => 'ServerError', 'errorMessage' => 'internal server error', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"StatusCode\\": 200,\\n \\"Result\\": \\"5abfd9***2c38661\\",\\n \\"Message\\": \\"success\\",\\n \\"Extentions\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"RequestId\\": \\"73C67BD9-175A-1324-8202-9FAABBB3E6FA\\"\\n}","type":"json"}]', ], 'UpdateHotel' => [ 'summary' => '修改酒店项目', 'path' => '/v1.0/ip/updateHotel', 'methods' => [ 'post', ], 'schemes' => [ 'https', 'http', ], 'security' => [ [ 'AliGenie_Auth_SPI' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [], 'parameters' => [ [ 'name' => 'TbOpenId', 'in' => 'formData', 'schema' => [ 'title' => '淘宝开放id', 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'AAEVK***UE3d3Z2ETwh', ], ], [ 'name' => 'AppKey', 'in' => 'formData', 'schema' => [ 'title' => '开放平台appKey', 'description' => '', 'type' => 'string', 'required' => true, 'example' => '31342884', ], ], [ 'name' => 'HotelId', 'in' => 'formData', 'schema' => [ 'title' => '酒店ID', 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'e6dd44fd16084db8a60d69fd625d9f0f', ], ], [ 'name' => 'HotelName', 'in' => 'formData', 'schema' => [ 'title' => '酒店名称', 'description' => '', 'type' => 'string', 'required' => false, 'example' => '', ], ], [ 'name' => 'Remark', 'in' => 'formData', 'schema' => [ 'title' => '备注', 'description' => '', 'type' => 'string', 'required' => false, 'example' => '', ], ], [ 'name' => 'HotelAddress', 'in' => 'formData', 'schema' => [ 'title' => '酒店地址', 'description' => '', 'type' => 'string', 'required' => false, 'example' => '', ], ], [ 'name' => 'HotelEmail', 'in' => 'formData', 'schema' => [ 'title' => '酒店联系邮箱', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'a*****@hotel.com', ], ], [ 'name' => 'PhoneNumber', 'in' => 'formData', 'schema' => [ 'title' => '酒店联系电话', 'description' => '', 'type' => 'string', 'required' => false, 'example' => '130***', ], ], [ 'name' => 'RoomNum', 'in' => 'formData', 'schema' => [ 'title' => '房间数', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '4', ], ], [ 'name' => 'EstOpenTime', 'in' => 'formData', 'schema' => [ 'title' => '预计发布时间:yyyy-MM-dd HH:mm:ss格式字符串', 'description' => '', 'type' => 'string', 'required' => false, 'example' => '2022-02-22 00:00:00', ], ], [ 'name' => 'RelatedPks', 'in' => 'formData', 'style' => 'json', 'schema' => [ 'title' => '关联产品列表', 'type' => 'array', 'items' => [ 'type' => 'string', ], ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Result', 'description' => 'Result', 'type' => 'object', 'properties' => [ 'StatusCode' => [ 'title' => '调用返回码,除约定的SUCCESS_CODE外,其余由服务提供者自定义', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'Result' => [ 'title' => '服务的实际返回结果', 'description' => '', 'type' => 'boolean', 'example' => 'true', ], 'Message' => [ 'title' => '附加信息,典型应用场景是对失败调用进行简述,方便调用方定位问题', 'description' => '', 'type' => 'string', 'example' => 'success', ], 'Extentions' => [ 'title' => '扩展字段', 'description' => '', 'type' => 'object', 'additionalProperties' => [ 'type' => 'any', 'description' => '', ], ], 'RequestId' => [ 'description' => 'The ID of the request. ', 'type' => 'string', 'example' => '46C53AEB-B19C-5C42-B32E-A726979C126F', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'InvalidParameter', 'errorMessage' => 'The request parameter is invalid', ], ], 500 => [ [ 'errorCode' => 'ServerError', 'errorMessage' => 'internal server error', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"StatusCode\\": 200,\\n \\"Result\\": true,\\n \\"Message\\": \\"success\\",\\n \\"Extentions\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"RequestId\\": \\"46C53AEB-B19C-5C42-B32E-A726979C126F\\"\\n}","type":"json"}]', ], 'RemoveHotel' => [ 'summary' => '删除酒店项目', 'path' => '/v1.0/ip/removeHotel', 'methods' => [ 'post', ], 'schemes' => [ 'https', 'http', ], 'security' => [ [ 'AliGenie_Auth_SPI' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [], 'parameters' => [ [ 'name' => 'TbOpenId', 'in' => 'formData', 'schema' => [ 'title' => '淘宝开放id', 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'AAEVK***UE3d3Z2ETwh', ], ], [ 'name' => 'AppKey', 'in' => 'formData', 'schema' => [ 'description' => 'appkey', 'type' => 'string', 'required' => true, 'example' => '30193305', ], ], [ 'name' => 'HotelId', 'in' => 'formData', 'schema' => [ 'title' => '酒店id', 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'e6dd44fd16084db8a60d69fd625d9f0f', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Result', 'description' => 'Result', 'type' => 'object', 'properties' => [ 'StatusCode' => [ 'title' => '调用返回码,除约定的SUCCESS_CODE外,其余由服务提供者自定义', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'Result' => [ 'title' => '服务的实际返回结果', 'description' => '', 'type' => 'boolean', 'example' => 'true', ], 'Message' => [ 'title' => '附加信息,典型应用场景是对失败调用进行简述,方便调用方定位问题', 'description' => '', 'type' => 'string', 'example' => 'success', ], 'Extentions' => [ 'title' => '扩展字段', 'description' => '', 'type' => 'object', 'additionalProperties' => [ 'type' => 'any', 'description' => '', 'example' => '{}', ], ], 'RequestId' => [ 'description' => 'The ID of the request.'."\n", 'type' => 'string', 'example' => '73C67BD9-175A-1324-8202-9FAABBB3E6FA', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'InvalidParameter', 'errorMessage' => 'The request parameter is invalid', ], ], 500 => [ [ 'errorCode' => 'ServerError', 'errorMessage' => 'internal server error', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"StatusCode\\": 200,\\n \\"Result\\": true,\\n \\"Message\\": \\"success\\",\\n \\"Extentions\\": {\\n \\"key\\": \\"{}\\"\\n },\\n \\"RequestId\\": \\"73C67BD9-175A-1324-8202-9FAABBB3E6FA\\"\\n}","type":"json"}]', ], 'ListHotelInfo' => [ 'summary' => '获取酒店列表', 'path' => '/v1.0/ip/listHotelInfo', 'methods' => [ 'post', ], 'schemes' => [ 'https', 'http', ], 'security' => [ [ 'AliGenie_Auth_SPI' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [], 'parameters' => [], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Result>', 'description' => 'Result>', 'type' => 'object', 'properties' => [ 'StatusCode' => [ 'title' => '调用返回码,除约定的SUCCESS_CODE外,其余由服务提供者自定义', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'Result' => [ 'title' => '服务的实际返回结果', 'description' => '', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'HotelId' => [ 'description' => '', 'type' => 'string', 'example' => 'cf2446fc9d144c85aaee4f9ae20a96e7', ], 'HotelName' => [ 'description' => '', 'type' => 'string', 'example' => '', ], 'HotelAddress' => [ 'description' => '', 'type' => 'string', 'example' => '', ], 'AuthAccount' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'UserName' => [ 'title' => '授权子账号的账号名称', 'description' => '', 'type' => 'string', 'example' => 'leetest', ], ], ], ], ], ], ], 'Message' => [ 'title' => '附加信息,典型应用场景是对失败调用进行简述,方便调用方定位问题', 'description' => '', 'type' => 'string', ], 'Extentions' => [ 'title' => '扩展字段', 'description' => '', 'type' => 'object', 'additionalProperties' => [ 'type' => 'any', ], ], 'RequestId' => [ 'type' => 'string', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'InvalidParameter', 'errorMessage' => 'The request parameter is invalid', ], ], 500 => [ [ 'errorCode' => 'ServerError', 'errorMessage' => 'internal server error', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"StatusCode\\": 200,\\n \\"Result\\": [\\n {\\n \\"HotelId\\": \\"cf2446fc9d144c85aaee4f9ae20a96e7\\",\\n \\"HotelName\\": \\"酒店\\",\\n \\"HotelAddress\\": \\"浙江身杭州市\\",\\n \\"AuthAccount\\": [\\n {\\n \\"UserName\\": \\"leetest\\"\\n }\\n ]\\n }\\n ],\\n \\"Message\\": \\"\\",\\n \\"Extentions\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"RequestId\\": \\"\\"\\n}","type":"json"}]', ], 'ListHotels' => [ 'summary' => '酒店列表(待审批/已拒绝/已通过)', 'path' => '/v1.0/ip/listHotels', 'methods' => [ 'post', ], 'schemes' => [ 'https', 'http', ], 'security' => [ [ 'AliGenie_Auth_SPI' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [], 'parameters' => [ [ 'name' => 'Status', 'in' => 'formData', 'schema' => [ 'title' => '审批状态(0:待审批、1:通过、2:拒绝)', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '1', ], ], [ 'name' => 'Page', 'in' => 'query', 'style' => 'json', 'schema' => [ 'title' => '分页参数', 'description' => '', 'type' => 'object', 'properties' => [ 'PageNumber' => [ 'title' => '第几页', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '1', ], 'PageSize' => [ 'title' => '每页多少条数据', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '10', ], ], 'required' => true, ], ], [ 'name' => 'HotelRequest', 'in' => 'query', 'style' => 'json', 'schema' => [ 'type' => 'object', 'properties' => [ 'HotelId' => [ 'type' => 'string', 'required' => false, ], ], ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Result', 'description' => 'Result', 'type' => 'object', 'properties' => [ 'Code' => [ 'title' => '状态码', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'Result' => [ 'title' => '服务的实际返回结果', 'description' => '', 'type' => 'object', 'properties' => [ 'Page' => [ 'title' => '分页结果', 'description' => '', 'type' => 'object', 'properties' => [ 'PageNumber' => [ 'title' => '第几页', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '1', ], 'PageSize' => [ 'title' => '每页多少条', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '10', ], 'Total' => [ 'title' => '共多少条数据', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '23', ], 'TotalPage' => [ 'title' => '共多少页', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '3', ], 'HasNext' => [ 'title' => '是否有下一页', 'description' => '', 'type' => 'boolean', ], ], ], 'HotelInfoList' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'HotelId' => [ 'title' => '酒店ID', 'description' => '', 'type' => 'string', 'example' => '73ab1b03018d4da69b5bef17095f569b', ], 'HotelName' => [ 'title' => '酒店名称', 'description' => '', 'type' => 'string', 'example' => '酒店名称', ], 'CreateTime' => [ 'title' => '创建时间(long类型)', 'description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '1654568802000', ], 'HotelAddress' => [ 'title' => '酒店地址', 'description' => '', 'type' => 'string', 'example' => '酒店地址', ], 'PhoneNumber' => [ 'title' => '联系方式', 'description' => '', 'type' => 'string', 'example' => '13312340987', ], 'IndustryType' => [ 'title' => '行业类型', 'description' => '', 'type' => 'string', 'example' => '酒店', ], 'RoomNum' => [ 'title' => '房间数', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '12', ], 'RelatedProductName' => [ 'title' => '关联产品名称', 'description' => '', 'type' => 'string', 'example' => '测试产品', ], 'AccountNames' => [ 'title' => '淘宝账号', 'description' => '', 'type' => 'array', 'items' => [ 'title' => '', 'description' => '', 'type' => 'string', 'example' => 'testAccount', ], ], 'Status' => [ 'title' => '状态(0:待审批、1:通过、2:拒绝)', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '1', ], ], ], ], ], ], 'Message' => [ 'title' => '附加信息', 'description' => '', 'type' => 'string', 'example' => 'success', ], 'RequestId' => [ 'title' => 'RequestId', 'description' => 'RequestId', 'type' => 'string', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'InvalidParameter', 'errorMessage' => 'The request parameter is invalid', ], ], 500 => [ [ 'errorCode' => 'ServerError', 'errorMessage' => 'internal server error', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": 200,\\n \\"Result\\": {\\n \\"Page\\": {\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10,\\n \\"Total\\": 23,\\n \\"TotalPage\\": 3,\\n \\"HasNext\\": true\\n },\\n \\"HotelInfoList\\": [\\n {\\n \\"HotelId\\": \\"73ab1b03018d4da69b5bef17095f569b\\",\\n \\"HotelName\\": \\"酒店名称\\",\\n \\"CreateTime\\": 1654568802000,\\n \\"HotelAddress\\": \\"酒店地址\\",\\n \\"PhoneNumber\\": \\"13312340987\\",\\n \\"IndustryType\\": \\"酒店\\",\\n \\"RoomNum\\": 12,\\n \\"RelatedProductName\\": \\"测试产品\\",\\n \\"AccountNames\\": [\\n \\"testAccount\\"\\n ],\\n \\"Status\\": 1\\n }\\n ]\\n },\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"85789C64-3644-56C0-9C0F-D2E0ECC227EF\\"\\n}","type":"json"}]', ], 'AuditHotel' => [ 'summary' => '审批酒店', 'path' => '/v1.0/ip/auditHotel', 'methods' => [ 'post', ], 'schemes' => [ 'https', 'http', ], 'security' => [ [ 'AliGenie_Auth_SPI' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [], 'parameters' => [ [ 'name' => 'AuditHotelReq', 'in' => 'query', 'style' => 'json', 'schema' => [ 'title' => '审批request', 'description' => '', 'type' => 'object', 'properties' => [ 'AuditOpinion' => [ 'title' => '审批意见', 'description' => '', 'type' => 'string', 'required' => false, 'example' => '同意', ], 'Status' => [ 'title' => '审批状态(1:审核通过 2:审核不通过)', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '1', ], 'HotelId' => [ 'title' => '酒店ID', 'description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '80d84ea8ed9e422fbad52715c8fc56f1', ], ], 'required' => true, 'docRequired' => true, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Result', 'description' => 'Result', 'type' => 'object', 'properties' => [ 'Code' => [ 'title' => '状态码', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'Result' => [ 'title' => '服务的实际返回结果', 'description' => '', 'type' => 'boolean', ], 'Message' => [ 'title' => '附加信息', 'description' => '', 'type' => 'string', ], 'RequestId' => [ 'title' => 'RequestId', 'description' => 'RequestId', 'type' => 'string', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'InvalidParameter', 'errorMessage' => 'The request parameter is invalid', ], ], 500 => [ [ 'errorCode' => 'ServerError', 'errorMessage' => 'internal server error', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": 200,\\n \\"Result\\": true,\\n \\"Message\\": \\"\\",\\n \\"RequestId\\": \\"\\"\\n}","type":"json"}]', ], 'ListHotelRooms' => [ 'summary' => '获取酒店的所有房间', 'path' => '/v1.0/ip/listHotelRooms', 'methods' => [ 'post', ], 'schemes' => [ 'https', 'http', ], 'security' => [ [ 'AliGenie_Auth_SPI' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [], 'parameters' => [ [ 'name' => 'HotelId', 'in' => 'formData', 'schema' => [ 'title' => '酒店ID', 'description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'e6dd44fd16084db8a60d69fd625d9f0f', ], ], [ 'name' => 'HotelAdminRoom', 'in' => 'formData', 'style' => 'json', 'schema' => [ 'type' => 'object', 'properties' => [ 'RoomNo' => [ 'type' => 'string', ], ], ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Result>', 'description' => 'Result>', 'type' => 'object', 'properties' => [ 'Code' => [ 'title' => '状态码', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'Result' => [ 'title' => '服务的实际返回结果', 'description' => '', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'HotelId' => [ 'title' => '酒店ID', 'description' => '', 'type' => 'string', 'example' => 'e6dd44fd16084db8a60d69fd625d9f0f', ], 'RoomNo' => [ 'title' => '房间号', 'description' => '', 'type' => 'string', 'example' => '102', ], ], ], ], 'Message' => [ 'title' => '附加信息', 'description' => '', 'type' => 'string', 'example' => 'success', ], 'RequestId' => [ 'type' => 'string', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'InvalidParameter', 'errorMessage' => 'The request parameter is invalid', ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 200,\\n \\"Result\\": [\\n {\\n \\"HotelId\\": \\"e6dd44fd16084db8a60d69fd625d9f0f\\",\\n \\"RoomNo\\": \\"102\\"\\n }\\n ],\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"D75D971E-33E8-1C48-A4B7-5FA6CC386146\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 200\\n \\n e6dd44fd16084db8a60d69fd625d9f0f\\n 102\\n \\n success\\n D75D971E-33E8-1C48-A4B7-5FA6CC386146\\n","errorExample":""}]', ], 'BatchAddHotelRoom' => [ 'summary' => '批量创建房间', 'path' => '/v1.0/ip/batchAddHotelRoom', 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AliGenie_Auth_SPI' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [], 'parameters' => [ [ 'name' => 'HotelId', 'in' => 'formData', 'schema' => [ 'title' => '酒店ID', 'description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'e6dd44fd16084db8a60d69fd625d9f0f', ], ], [ 'name' => 'RoomNoList', 'in' => 'formData', 'style' => 'simple', 'schema' => [ 'title' => '房间号List', 'description' => '', 'type' => 'array', 'items' => [ 'title' => '房间号List', 'description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '["101","102"]', ], 'required' => true, 'docRequired' => true, 'minItems' => 1, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Result', 'description' => 'Result', 'type' => 'object', 'properties' => [ 'Code' => [ 'title' => '状态码', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'Result' => [ 'title' => '服务的实际返回结果', 'description' => '', 'type' => 'boolean', ], 'Message' => [ 'title' => '附加信息', 'description' => '', 'type' => 'string', 'example' => 'success', ], 'RequestId' => [ 'type' => 'string', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'InvalidParameter', 'errorMessage' => 'The request parameter is invalid', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": 200,\\n \\"Result\\": true,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"FAFCD152-4791-5F2F-B0BE-2DC06FD4F05B\\"\\n}","type":"json"}]', ], 'BatchDeleteHotelRoom' => [ 'summary' => '批量删除房间', 'path' => '/v1.0/ip/batchDeleteHotelRoom', 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AliGenie_Auth_SPI' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [], 'parameters' => [ [ 'name' => 'HotelId', 'in' => 'formData', 'schema' => [ 'title' => '酒店ID', 'description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'e6dd44fd16084db8a60d69fd625d9f0f', ], ], [ 'name' => 'RoomNoList', 'in' => 'formData', 'style' => 'simple', 'schema' => [ 'title' => '房间号List', 'description' => '', 'type' => 'array', 'items' => [ 'title' => '房间号List', 'description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '["1211","1212"]', ], 'required' => true, 'docRequired' => true, 'minItems' => 1, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Result', 'description' => 'Result', 'type' => 'object', 'properties' => [ 'Code' => [ 'title' => '状态码', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'Result' => [ 'title' => '服务的实际返回结果', 'description' => '', 'type' => 'boolean', ], 'Message' => [ 'title' => '附加信息', 'description' => '', 'type' => 'string', 'example' => 'success', ], 'RequestId' => [ 'type' => 'string', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'InvalidParameter', 'errorMessage' => 'The request parameter is invalid', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": 200,\\n \\"Result\\": true,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"\\"\\n}","type":"json"}]', ], 'CheckoutWithAK' => [ 'summary' => '酒店退房,清楚例如闹钟等定时信息', 'path' => '/v1.0/ip/checkoutWithAK', 'methods' => [ 'post', ], 'schemes' => [ 'https', 'http', ], 'security' => [ [ 'AliGenie_Auth_SPI' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'deprecated' => false, 'systemTags' => [], 'parameters' => [ [ 'name' => 'HotelId', 'in' => 'formData', 'schema' => [ 'title' => '酒店id', 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'a7***83', ], ], [ 'name' => 'RoomNo', 'in' => 'formData', 'schema' => [ 'title' => '房间号', 'description' => '', 'type' => 'string', 'required' => true, 'example' => '1211', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Result', 'description' => 'Result', 'type' => 'object', 'properties' => [ 'StatusCode' => [ 'title' => '调用返回码,除约定的SUCCESS_CODE外,其余由服务提供者自定义', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'Result' => [ 'title' => '服务的实际返回结果', 'description' => '', 'type' => 'boolean', 'example' => 'true', ], 'Message' => [ 'title' => '附加信息,典型应用场景是对失败调用进行简述,方便调用方定位问题', 'description' => '', 'type' => 'string', 'example' => 'success', ], 'RequestId' => [ 'description' => '', 'type' => 'string', 'example' => '73C6***E6FA', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'InvalidParameter', 'errorMessage' => 'The request parameter is invalid', ], ], 500 => [ [ 'errorCode' => 'ServerError', 'errorMessage' => 'internal server error', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"StatusCode\\": 200,\\n \\"Result\\": true,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"73C6***E6FA\\"\\n}","type":"json"}]', ], 'QueryHotelRoomDetail' => [ 'summary' => '查询房间详细信息', 'path' => '/v1.0/ip/queryHotelRoomDetail', 'methods' => [ 'post', ], 'schemes' => [ 'https', 'http', ], 'security' => [ [ 'AliGenie_Auth_SPI' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', ], 'parameters' => [ [ 'name' => 'Mac', 'in' => 'formData', 'schema' => [ 'title' => '设备mac地址'."\n" .'注:在mac uuid sn全都输入的情况下 按照输入正确的内容查询 若全输入都是正确的 则 按照 uuid > mac > sn 优先级查询', 'description' => '', 'type' => 'string', 'required' => false, 'example' => '38:c8:**:**:f5:22', ], ], [ 'name' => 'Uuid', 'in' => 'formData', 'schema' => [ 'title' => '设备uuid,可在App中查看'."\n" .'注:在mac uuid sn全都输入的情况下 按照输入正确的内容查询 若全输入都是正确的 则 按照 uuid > mac > sn 优先级查询', 'description' => '', 'type' => 'string', 'required' => false, 'example' => '588***96j5WU', ], ], [ 'name' => 'HotelId', 'in' => 'formData', 'schema' => [ 'title' => '酒店id'."\n" .'注:传入设备mac/sn/uuid 可不传酒店id 若都未传 则 酒店id必传', 'description' => '', 'type' => 'string', 'required' => false, 'example' => '520a0c0***5eb', ], ], [ 'name' => 'RoomNo', 'in' => 'formData', 'schema' => [ 'title' => '房间号'."\n" .'注:传入设备mac/sn/uuid 可不传房间号 若都未传 则 房间号必传', 'description' => '', 'type' => 'string', 'required' => false, 'example' => '1211', ], ], [ 'name' => 'Sn', 'in' => 'formData', 'schema' => [ 'title' => '设备sn信息'."\n" .'在mac uuid sn全都输入的情况下 按照输入正确的内容查询 若全输入都是正确的 则 按照 uuid > mac > sn 优先级查询', 'description' => '设备sn信息'."\n" .'注:若在mac uuid sn全都输入的情况下 按照输入正确的内容查询 若全输入都是正确的 则 按照 uuid > mac > sn 优先级查询'."\n" .'传入mac uuid sn其中一个 则酒店id和房间号可不传', 'type' => 'string', 'required' => false, 'example' => '280**28', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Result', 'description' => 'Result', 'type' => 'object', 'properties' => [ 'StatusCode' => [ 'title' => '调用返回码,除约定的SUCCESS_CODE外,其余由服务提供者自定义', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'Result' => [ 'title' => '服务的实际返回结果', 'description' => '', 'type' => 'object', 'properties' => [ 'HotelId' => [ 'title' => '酒店id', 'description' => '', 'type' => 'string', 'example' => 'a7***83', ], 'HotelName' => [ 'title' => '酒店名称', 'description' => '', 'type' => 'string', 'example' => '', ], 'CreatorAccountName' => [ 'title' => '酒店创建者账号名称', 'description' => '', 'type' => 'string', 'example' => '', ], 'ConnectType' => [ 'title' => '酒店链接类型,rcu/mesh', 'description' => '', 'type' => 'string', 'example' => 'rcu', ], 'RoomNo' => [ 'title' => '房间号', 'description' => '', 'type' => 'string', 'example' => '2001', ], 'RoomControlInfo' => [ 'title' => '客控信息', 'description' => '', 'type' => 'object', 'properties' => [ 'TemplateId' => [ 'title' => '房型id', 'description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '1170', ], 'TemplateName' => [ 'title' => '房型名称', 'description' => '', 'type' => 'string', 'example' => '', ], 'AppId' => [ 'title' => '云云对接应用id', 'description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '78', ], 'AppName' => [ 'title' => '云云对接应用名称', 'description' => '', 'type' => 'string', 'example' => 'app', ], 'RcuUrl' => [ 'title' => 'rcu云云调用链接', 'description' => '', 'type' => 'string', 'example' => 'http://www.xxx.com', ], 'DeviceInfos' => [ 'title' => '客控设备信息列表', 'description' => '', 'type' => 'array', 'items' => [ 'title' => '客控设备信息', 'description' => '', 'type' => 'object', 'properties' => [ 'DeviceName' => [ 'title' => '设备别名', 'description' => '', 'type' => 'string', 'example' => '', ], 'CategoryId' => [ 'title' => '品类id', 'description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '3', ], 'CategoryEnName' => [ 'title' => '品类英文名', 'description' => '', 'type' => 'string', 'example' => 'light', ], 'CategoryName' => [ 'title' => '品类中文名', 'description' => '', 'type' => 'string', 'example' => '', ], 'LocationId' => [ 'title' => '位置id', 'description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '1', ], 'LocationEnName' => [ 'title' => '位置英文名', 'description' => '', 'type' => 'string', 'example' => 'room', ], 'LocationName' => [ 'title' => '位置中文名', 'description' => '', 'type' => 'string', 'example' => '', ], 'DeviceId' => [ 'title' => '设备唯一编号', 'description' => '', 'type' => 'string', 'example' => 'readLight', ], 'DeviceConnectType' => [ 'title' => '设备链接类型,rcu/mesh/红外', 'description' => '', 'type' => 'string', 'example' => 'rcu', ], 'ProductKey' => [ 'title' => 'mesh产品pk', 'description' => '', 'type' => 'string', 'example' => 'a1ueWGP6W2L', ], 'DeviceCount' => [ 'title' => '设备数量', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '4', ], ], ], ], ], ], 'AuthAccounts' => [ 'title' => '授权账号列表', 'description' => '', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'AccountName' => [ 'title' => '账号名称', 'description' => '', 'type' => 'string', 'example' => '', ], 'AuthTime' => [ 'title' => '授权时间', 'description' => '', 'type' => 'string', 'example' => '2023-01-01 12:00:00', ], ], ], ], 'DeviceInfos' => [ 'title' => '猫精设备列表', 'description' => '', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'Uuid' => [ 'title' => '猫精设备唯一标识uuid', 'description' => '', 'type' => 'string', 'example' => '41c95c18a0a643bcb58edf438877def5', ], 'DeviceName' => [ 'title' => '设备名称', 'description' => '', 'type' => 'string', 'example' => '', ], 'OnlineStatus' => [ 'title' => '设备在线状态,1:在线,0:离线', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '1', ], 'Mac' => [ 'title' => '设备mac地址', 'description' => '', 'type' => 'string', 'example' => 'fa:03:23:58:c3:00', ], 'Sn' => [ 'title' => '设备sn号', 'description' => '', 'type' => 'string', 'example' => 'sag42dlz4qf', ], 'FirmwareVersion' => [ 'title' => '设备固件版本', 'description' => '', 'type' => 'string', 'example' => '6.1.8-RS-20230425.1806', ], 'ActiveTime' => [ 'title' => '设备激活时间', 'description' => '', 'type' => 'string', 'example' => '2023-01-01 12:00:00', ], ], ], ], 'RoomServiceInfo' => [ 'title' => '客需服务信息', 'description' => '', 'type' => 'object', 'properties' => [ 'RoomServiceCnt' => [ 'title' => '已配置服务数量,如洗衣服务', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '12', ], 'RepairServiceCnt' => [ 'title' => '已配置维修数量,如电视坏了', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '10', ], 'GoodsServiceCnt' => [ 'title' => '已配置物品数量,如我要包纸巾', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '10', ], 'BookServiceCnt' => [ 'title' => '已配置预定数量,如预定个spa', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '0', ], ], ], 'OtherService' => [ 'title' => '其他信息', 'description' => '', 'type' => 'object', 'properties' => [ 'OpenCall' => [ 'title' => '是否开通通话', 'description' => '', 'type' => 'boolean', 'example' => 'false', ], 'UnhandleTickets' => [ 'title' => '剩余未处理工单数', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '0', ], ], ], ], ], 'Message' => [ 'title' => '附加信息,典型应用场景是对失败调用进行简述,方便调用方定位问题', 'description' => '', 'type' => 'string', 'example' => 'success', ], 'RequestId' => [ 'title' => '请求id', 'description' => '', 'type' => 'string', 'example' => '0EC7*726E', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'InvalidParameter', 'errorMessage' => 'The request parameter is invalid', ], ], 500 => [ [ 'errorCode' => 'ServerError', 'errorMessage' => 'internal server error', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"StatusCode\\": 200,\\n \\"Result\\": {\\n \\"HotelId\\": \\"a7***83\\",\\n \\"HotelName\\": \\"xx酒店\\",\\n \\"CreatorAccountName\\": \\"xx淘宝昵称\\",\\n \\"ConnectType\\": \\"rcu\\",\\n \\"RoomNo\\": \\"2001\\",\\n \\"RoomControlInfo\\": {\\n \\"TemplateId\\": 1170,\\n \\"TemplateName\\": \\"大床房\\",\\n \\"AppId\\": 78,\\n \\"AppName\\": \\"app\\",\\n \\"RcuUrl\\": \\"http://www.xxx.com\\",\\n \\"DeviceInfos\\": [\\n {\\n \\"DeviceName\\": \\"阅读灯\\",\\n \\"CategoryId\\": 3,\\n \\"CategoryEnName\\": \\"light\\",\\n \\"CategoryName\\": \\"灯\\",\\n \\"LocationId\\": 1,\\n \\"LocationEnName\\": \\"room\\",\\n \\"LocationName\\": \\"房间\\",\\n \\"DeviceId\\": \\"readLight\\",\\n \\"DeviceConnectType\\": \\"rcu\\",\\n \\"ProductKey\\": \\"a1ueWGP6W2L\\",\\n \\"DeviceCount\\": 4\\n }\\n ]\\n },\\n \\"AuthAccounts\\": [\\n {\\n \\"AccountName\\": \\"xx淘宝昵称\\",\\n \\"AuthTime\\": \\"2023-01-01 12:00:00\\"\\n }\\n ],\\n \\"DeviceInfos\\": [\\n {\\n \\"Uuid\\": \\"41c95c18a0a643bcb58edf438877def5\\",\\n \\"DeviceName\\": \\"IN糖酒店版\\",\\n \\"OnlineStatus\\": 1,\\n \\"Mac\\": \\"fa:03:23:58:c3:00\\",\\n \\"Sn\\": \\"sag42dlz4qf\\",\\n \\"FirmwareVersion\\": \\"6.1.8-RS-20230425.1806\\",\\n \\"ActiveTime\\": \\"2023-01-01 12:00:00\\"\\n }\\n ],\\n \\"RoomServiceInfo\\": {\\n \\"RoomServiceCnt\\": 12,\\n \\"RepairServiceCnt\\": 10,\\n \\"GoodsServiceCnt\\": 10,\\n \\"BookServiceCnt\\": 0\\n },\\n \\"OtherService\\": {\\n \\"OpenCall\\": false,\\n \\"UnhandleTickets\\": 0\\n }\\n },\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"0EC7*726E\\"\\n}","type":"json"}]', ], 'ListSceneCategory' => [ 'summary' => '酒店场景分类', 'path' => '/v1.0/ip/listSceneCategory', 'methods' => [ 'post', ], 'schemes' => [ 'https', 'http', ], 'security' => [ [ 'AliGenie_Auth_SPI' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [], 'parameters' => [ [ 'name' => 'HotelId', 'in' => 'formData', 'schema' => [ 'title' => 'hotelId', 'description' => 'hotelId', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '80d84ea8ed9e422fbad52715c8fc56f1', ], ], [ 'name' => 'Type', 'in' => 'formData', 'schema' => [ 'title' => '场景分类类型(物品GOODS/服务SERVICE/维修REPAIR)', 'description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'REPAIR', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Result>', 'description' => 'Result>', 'type' => 'object', 'properties' => [ 'Code' => [ 'title' => '状态码', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'Result' => [ 'title' => '服务的实际返回结果', 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'string', 'example' => '[ "电器类", "家具类", "卫生间类" ]', ], ], 'Message' => [ 'title' => '附加信息,典型应用场景是对失败调用进行简述,方便调用方定位问题', 'description' => '', 'type' => 'string', 'example' => 'success', ], 'RequestId' => [ 'title' => 'RequestId', 'description' => 'RequestId', 'type' => 'string', 'example' => '0EC7*726E', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'InvalidParameter', 'errorMessage' => 'The request parameter is invalid', ], ], 500 => [ [ 'errorCode' => 'ServerError', 'errorMessage' => 'internal server error', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": 200,\\n \\"Result\\": [\\n \\"[ \\\\\\"电器类\\\\\\", \\\\\\"家具类\\\\\\", \\\\\\"卫生间类\\\\\\" ]\\"\\n ],\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"0EC7*726E\\"\\n}","type":"json"}]', ], 'ListDialogueTemplate' => [ 'summary' => '酒店场景对话模板', 'path' => '/v1.0/ip/listDialogueTemplate', 'methods' => [ 'post', ], 'schemes' => [ 'https', 'http', ], 'security' => [ [ 'AliGenie_Auth_SPI' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [], 'parameters' => [ [ 'name' => 'HotelId', 'in' => 'formData', 'schema' => [ 'title' => 'hotelId', 'description' => 'hotelId', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '80d84ea8ed9e422fbad52715c8fc56f1', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Result>', 'description' => 'Result>', 'type' => 'object', 'properties' => [ 'Code' => [ 'title' => '状态码', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'Result' => [ 'title' => '服务的实际返回结果', 'description' => '', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'TemplateId' => [ 'title' => '模板ID', 'description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '4', ], 'TemplateName' => [ 'title' => '模板名称', 'description' => '', 'type' => 'string', 'example' => '物品多轮模板', ], 'TemplateDetail' => [ 'title' => '模板详情(维修只有一轮对话)', 'description' => '', 'type' => 'object', 'properties' => [ 'FirstDialogueTemplate' => [ 'title' => '第一轮对话', 'description' => '', 'type' => 'object', 'properties' => [ 'ZeroPriceYesAnswer' => [ 'title' => '价格=0 && 肯定回答', 'description' => '', 'type' => 'string', 'example' => '好的,服务员会尽快送来。', ], 'ZeroPriceNoAnswer' => [ 'title' => '价格=0 && 否定回答', 'description' => '', 'type' => 'string', 'example' => '对不起,暂时不提供此物品。', ], 'NonzeroPriceYesAnswer' => [ 'title' => '价格!=0 &&肯定回答', 'description' => '', 'type' => 'string', 'example' => '${goodsName}${price}元,请问需要服务员送来吗?', ], ], ], 'SecondDialogueTemplate' => [ 'title' => '第二轮对话', 'description' => '', 'type' => 'object', 'properties' => [ 'NonzeroPriceYesAnswer' => [ 'title' => '价格!=0 && 肯定回答', 'description' => '', 'type' => 'string', 'example' => '好的,服务员会尽快送来${goodsName}', ], 'NonzeroPriceNoAnswer' => [ 'title' => '价格!=0 && 否定回答', 'description' => '', 'type' => 'string', 'example' => '好的,已取消。', ], ], ], ], ], 'Type' => [ 'title' => '模板类型', 'description' => '', 'type' => 'string', 'example' => 'GOODS', ], ], ], ], 'Message' => [ 'title' => '附加信息,典型应用场景是对失败调用进行简述,方便调用方定位问题', 'description' => '', 'type' => 'string', 'example' => 'success', ], 'RequestId' => [ 'title' => 'RequestId', 'description' => 'RequestId', 'type' => 'string', 'example' => '0EC7*726E', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'InvalidParameter', 'errorMessage' => 'The request parameter is invalid', ], ], 500 => [ [ 'errorCode' => 'ServerError', 'errorMessage' => 'internal server error', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": 200,\\n \\"Result\\": [\\n {\\n \\"TemplateId\\": 4,\\n \\"TemplateName\\": \\"物品多轮模板\\",\\n \\"TemplateDetail\\": {\\n \\"FirstDialogueTemplate\\": {\\n \\"ZeroPriceYesAnswer\\": \\"好的,服务员会尽快送来。\\",\\n \\"ZeroPriceNoAnswer\\": \\"对不起,暂时不提供此物品。\\",\\n \\"NonzeroPriceYesAnswer\\": \\"${goodsName}${price}元,请问需要服务员送来吗?\\"\\n },\\n \\"SecondDialogueTemplate\\": {\\n \\"NonzeroPriceYesAnswer\\": \\"好的,服务员会尽快送来${goodsName}\\",\\n \\"NonzeroPriceNoAnswer\\": \\"好的,已取消。\\"\\n }\\n },\\n \\"Type\\": \\"GOODS\\"\\n }\\n ],\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"0EC7*726E\\"\\n}","type":"json"}]', ], 'InsertHotelSceneBookItem' => [ 'summary' => '酒店场景预订新增', 'path' => '/v1.0/ip/insertHotelSceneBookItem', 'methods' => [ 'post', ], 'schemes' => [ 'https', 'http', ], 'security' => [ [ 'AliGenie_Auth_SPI' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [], 'parameters' => [ [ 'name' => 'HotelId', 'in' => 'formData', 'schema' => [ 'title' => 'hotelID', 'description' => 'hotelID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '80d84ea8ed9e422fbad52715c8fc56f1', ], ], [ 'name' => 'AddHotelSceneItemReq', 'in' => 'query', 'style' => 'json', 'schema' => [ 'title' => 'addHotelSceneItemReq', 'description' => 'addHotelSceneItemReq', 'type' => 'object', 'properties' => [ 'Type' => [ 'title' => '酒店场景预订类型(FOOD:餐饮、LEISURE:SPA休闲、CAR_SERVICE:打车)', 'description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'FOOD', ], 'Name' => [ 'title' => '酒店场景预订item名称', 'description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '青椒肉丝', ], 'Price' => [ 'title' => '价格(单位:分)', 'description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '1250', ], 'Icon' => [ 'title' => 'icon', 'description' => 'icon', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'https://ailabs.alibabausercontent.com/platform/28d7a91e3c05db3855725fc39e0387e7/welcome_audios/aa918294b6ca3aa115c51135bf9b80cb/l9f996sq.png', ], ], 'required' => true, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Result', 'description' => 'Result', 'type' => 'object', 'properties' => [ 'Code' => [ 'title' => '状态码', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'Result' => [ 'title' => '服务的实际返回结果', 'description' => '', 'type' => 'boolean', 'example' => 'true', ], 'Message' => [ 'title' => '附加信息,典型应用场景是对失败调用进行简述,方便调用方定位问题', 'description' => '', 'type' => 'string', 'example' => 'success', ], 'RequestId' => [ 'title' => 'RequestId', 'description' => 'RequestId', 'type' => 'string', 'example' => '36FB***80C2', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'InvalidParameter', 'errorMessage' => 'The request parameter is invalid', ], ], 500 => [ [ 'errorCode' => 'ServerError', 'errorMessage' => 'internal server error', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": 200,\\n \\"Result\\": true,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"36FB***80C2\\"\\n}","type":"json"}]', ], 'DeleteHotelSceneBookItem' => [ 'summary' => '酒店场景预订删除', 'path' => '/v1.0/ip/deleteHotelSceneBookItem', 'methods' => [ 'post', ], 'schemes' => [ 'https', 'http', ], 'security' => [ [ 'AliGenie_Auth_SPI' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [], 'parameters' => [ [ 'name' => 'HotelId', 'in' => 'formData', 'schema' => [ 'title' => 'hotelID', 'description' => 'hotelID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '80d84ea8ed9e422fbad52715c8fc56f1', ], ], [ 'name' => 'Id', 'in' => 'formData', 'schema' => [ 'title' => '酒店场景预订itemID'."\n" .' 删除条件 id与名称必传一个', 'description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'docRequired' => true, 'example' => '11823', ], ], [ 'name' => 'Name', 'in' => 'formData', 'schema' => [ 'title' => '名称 删除条件 id与名称必传一个', 'type' => 'string', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Result', 'description' => 'Result', 'type' => 'object', 'properties' => [ 'Code' => [ 'title' => '状态码', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'Result' => [ 'title' => '服务的实际返回结果', 'description' => '', 'type' => 'boolean', 'example' => 'true', ], 'Message' => [ 'title' => '附加信息,典型应用场景是对失败调用进行简述,方便调用方定位问题', 'description' => '', 'type' => 'string', 'example' => 'success', ], 'RequestId' => [ 'title' => 'RequestId', 'description' => '', 'type' => 'string', 'example' => '0EC7*726E', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'InvalidParameter', 'errorMessage' => 'The request parameter is invalid', ], ], 500 => [ [ 'errorCode' => 'ServerError', 'errorMessage' => 'internal server error', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": 200,\\n \\"Result\\": true,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"0EC7*726E\\"\\n}","type":"json"}]', ], 'UpdateHotelSceneBookItem' => [ 'summary' => '酒店场景预订编辑', 'path' => '/v1.0/ip/updateHotelSceneBookItem', 'methods' => [ 'post', ], 'schemes' => [ 'https', 'http', ], 'security' => [ [ 'AliGenie_Auth_SPI' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [], 'parameters' => [ [ 'name' => 'HotelId', 'in' => 'formData', 'schema' => [ 'title' => 'hotelID', 'description' => 'hotelID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '80d84ea8ed9e422fbad52715c8fc56f1', ], ], [ 'name' => 'UpdateHotelSceneBookReq', 'in' => 'query', 'style' => 'json', 'schema' => [ 'title' => 'updateHotelSceneBookReq', 'description' => 'updateHotelSceneBookReq', 'type' => 'object', 'properties' => [ 'Id' => [ 'title' => '酒店场景预订itemID'."\n" .'id与名称必须传其中一个', 'description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'docRequired' => true, 'example' => '1', ], 'Name' => [ 'title' => '名称 查询条件 id与名称必须传一个', 'description' => '', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '青椒肉丝', ], 'Icon' => [ 'title' => 'icon', 'description' => 'icon', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'https://ailabs.alibabausercontent.com/platform/28d7a91e3c05db3855725fc39e0387e7/welcome_audios/aa918294b6ca3aa115c51135bf9b80cb/l9f996sq.png', ], 'Price' => [ 'title' => '价格(单位:分)', 'description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '1250', ], ], 'required' => true, 'docRequired' => true, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '', 'description' => '', 'type' => 'object', 'properties' => [ 'Code' => [ 'title' => '状态码', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'Result' => [ 'title' => '服务的实际返回结果', 'description' => '', 'type' => 'boolean', 'example' => 'true', ], 'Message' => [ 'title' => '附加信息,典型应用场景是对失败调用进行简述,方便调用方定位问题', 'description' => '', 'type' => 'string', 'example' => 'success', ], 'RequestId' => [ 'title' => 'RequestId', 'description' => '', 'type' => 'string', 'example' => '0EC7*726E', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'InvalidParameter', 'errorMessage' => 'The request parameter is invalid', ], ], 500 => [ [ 'errorCode' => 'ServerError', 'errorMessage' => 'internal server error', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": 200,\\n \\"Result\\": true,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"0EC7*726E\\"\\n}","type":"json"}]', ], 'ListHotelSceneBookItems' => [ 'summary' => '酒店场景预订列表(餐饮/SPA休闲/打车)', 'path' => '/v1.0/ip/listHotelSceneBookItems', 'methods' => [ 'post', ], 'schemes' => [ 'https', 'http', ], 'security' => [ [ 'AliGenie_Auth_SPI' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [], 'parameters' => [ [ 'name' => 'HotelId', 'in' => 'formData', 'schema' => [ 'title' => 'hotelID', 'description' => 'hotelID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '80d84ea8ed9e422fbad52715c8fc56f1', ], ], [ 'name' => 'Type', 'in' => 'formData', 'schema' => [ 'title' => '酒店场景预订类型(FOOD:餐饮、LEISURE:SPA休闲、CAR_SERVICE:打车)', 'description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'FOOD', ], ], [ 'name' => 'Page', 'in' => 'query', 'style' => 'json', 'schema' => [ 'title' => '分页参数', 'description' => '', 'type' => 'object', 'properties' => [ 'PageNumber' => [ 'title' => '第几页', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '1', ], 'PageSize' => [ 'title' => '每页多少条数据', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '10', ], ], 'required' => true, 'docRequired' => true, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Result', 'description' => 'Result', 'type' => 'object', 'properties' => [ 'Code' => [ 'title' => '状态码', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'Result' => [ 'title' => '服务的实际返回结果', 'description' => '', 'type' => 'object', 'properties' => [ 'Page' => [ 'title' => '分页结果', 'description' => '', 'type' => 'object', 'properties' => [ 'PageNumber' => [ 'title' => '第几页', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '1', ], 'PageSize' => [ 'title' => '每页多少条数据', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '10', ], 'Total' => [ 'title' => '共多少条数据', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '23', ], 'TotalPage' => [ 'title' => '共多少页', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '3', ], 'HasNext' => [ 'title' => '是否有下一页', 'description' => '', 'type' => 'boolean', 'example' => 'True', ], ], ], 'SceneItemList' => [ 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'Type' => [ 'title' => '酒店场景预订类型(FOOD:餐饮、LEISURE:SPA休闲、CAR_SERVICE:打车)', 'description' => '', 'type' => 'string', 'example' => 'FOOD', ], 'Id' => [ 'title' => '酒店场景预订itemID', 'description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '11824', ], 'Name' => [ 'title' => '名称', 'description' => '', 'type' => 'string', 'example' => '青椒肉丝', ], 'Status' => [ 'title' => '状态(已添加)', 'description' => '', 'type' => 'string', 'example' => '已添加', ], 'UpdateTime' => [ 'title' => '更新时间', 'description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '1666161803', ], 'Icon' => [ 'title' => '物品、服务、维修的图标', 'description' => '', 'type' => 'string', 'example' => 'https://ailabs.alibabausercontent.com/platform/28d7a91e3c05db3855725fc39e0387e7/welcome_audios/aa918294b6ca3aa115c51135bf9b80cb/l9f996sq.png', ], 'Price' => [ 'title' => '价格(单位:分)', 'description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '1850', ], ], ], ], ], ], 'Message' => [ 'title' => '附加信息,典型应用场景是对失败调用进行简述,方便调用方定位问题', 'description' => '', 'type' => 'string', 'example' => 'success', ], 'RequestId' => [ 'title' => 'RequestId', 'description' => '', 'type' => 'string', 'example' => '0EC7*726E', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'InvalidParameter', 'errorMessage' => 'The request parameter is invalid', ], ], 500 => [ [ 'errorCode' => 'ServerError', 'errorMessage' => 'internal server error', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": 200,\\n \\"Result\\": {\\n \\"Page\\": {\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10,\\n \\"Total\\": 23,\\n \\"TotalPage\\": 3,\\n \\"HasNext\\": true\\n },\\n \\"SceneItemList\\": [\\n {\\n \\"Type\\": \\"FOOD\\",\\n \\"Id\\": 11824,\\n \\"Name\\": \\"青椒肉丝\\",\\n \\"Status\\": \\"已添加\\",\\n \\"UpdateTime\\": 1666161803,\\n \\"Icon\\": \\"https://ailabs.alibabausercontent.com/platform/28d7a91e3c05db3855725fc39e0387e7/welcome_audios/aa918294b6ca3aa115c51135bf9b80cb/l9f996sq.png\\",\\n \\"Price\\": 1850\\n }\\n ]\\n },\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"0EC7*726E\\"\\n}","type":"json"}]', ], 'ListHotelSceneItems' => [ 'summary' => '酒店场景列表(物品/服务/维修)', 'path' => '/v1.0/ip/listHotelSceneItems', 'methods' => [ 'post', ], 'schemes' => [ 'https', 'http', ], 'security' => [ [ 'AliGenie_Auth_SPI' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [], 'parameters' => [ [ 'name' => 'HotelId', 'in' => 'formData', 'schema' => [ 'title' => 'hotelID', 'description' => 'hotelID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '80d84ea8ed9e422fbad52715c8fc56f1', ], ], [ 'name' => 'ListHotelSceneReq', 'in' => 'query', 'style' => 'json', 'schema' => [ 'title' => 'ListHotelSceneReq', 'description' => 'ListHotelSceneReq', 'type' => 'object', 'properties' => [ 'Page' => [ 'title' => '分页参数', 'description' => '', 'type' => 'object', 'properties' => [ 'PageNumber' => [ 'description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '1', ], 'PageSize' => [ 'description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'docRequired' => true, 'example' => '10', ], ], 'required' => true, 'docRequired' => true, ], 'Type' => [ 'title' => '酒店场景类型(物品GOODS/服务SERVICE/维修REPAIR)', 'description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'GOODS', ], 'Category' => [ 'title' => '酒店场景类型二级分类', 'description' => '', 'type' => 'string', 'required' => false, 'example' => '客用品类', ], 'Status' => [ 'title' => '是否添加', 'description' => '', 'type' => 'string', 'required' => false, 'example' => '已添加', ], 'Keywords' => [ 'title' => '酒店场景名称', 'description' => '', 'type' => 'string', 'required' => false, 'example' => '棉签', ], ], 'required' => true, 'docRequired' => true, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Result', 'description' => 'Result', 'type' => 'object', 'properties' => [ 'Code' => [ 'title' => '状态码', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'Result' => [ 'title' => '服务的实际返回结果', 'description' => '', 'type' => 'object', 'properties' => [ 'Page' => [ 'title' => '分页结果', 'description' => '', 'type' => 'object', 'properties' => [ 'PageNumber' => [ 'title' => '第几页', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '1', ], 'PageSize' => [ 'title' => '每页多少条数据', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '10', ], 'Total' => [ 'title' => '共多少条数据', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '23', ], 'TotalPage' => [ 'title' => '共多少页', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '3', ], 'HasNext' => [ 'title' => '是否有下一页', 'description' => '', 'type' => 'boolean', 'example' => 'False', ], ], ], 'SceneItemList' => [ 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'Type' => [ 'title' => '酒店场景类型', 'description' => '', 'type' => 'string', 'example' => 'GOODS', ], 'Category' => [ 'title' => '酒店场景类型二级分类', 'description' => '', 'type' => 'string', 'example' => '客用品类', ], 'Id' => [ 'title' => 'id', 'description' => 'id', 'type' => 'integer', 'format' => 'int64', 'example' => '10336', ], 'Name' => [ 'title' => '名称', 'description' => '', 'type' => 'string', 'example' => '棉签', ], 'Status' => [ 'title' => '状态(已添加、未添加)', 'description' => '', 'type' => 'string', 'example' => '已添加', ], 'UpdateTime' => [ 'title' => '更新时间', 'description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '1666163226', ], 'Icon' => [ 'title' => '物品、服务、维修的图标', 'description' => '', 'type' => 'string', 'example' => 'https://ailabsaicloudservice.alicdn.com/hotel/icon/jiudianmianban_fuwushangpintu/wupin/keyongpinlei/mianqian.png', ], 'Price' => [ 'title' => '价格(单位:分,eg:160表示1.6元)', 'description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '160', ], 'DeliveryMethod' => [ 'title' => '物品配送方式 waiter 服务员 robot 机器人', 'type' => 'string', ], 'RobotName' => [ 'title' => '机器人名称', 'type' => 'string', ], 'PaymentMethod' => [ 'title' => '结算方式:room 房费结算 robot 机器人结算', 'type' => 'string', ], 'LimitSwitch' => [ 'title' => '是否限制数量:0或不传:不限制,1:限制', 'type' => 'integer', 'format' => 'int32', ], 'LimitNumber' => [ 'title' => '限制数量', 'type' => 'integer', 'format' => 'int32', ], 'BeyondLimitReply' => [ 'title' => '超限回复', 'type' => 'string', ], ], ], ], ], ], 'Message' => [ 'title' => '附加信息,典型应用场景是对失败调用进行简述,方便调用方定位问题', 'description' => '', 'type' => 'string', 'example' => 'success', ], 'RequestId' => [ 'title' => 'RequestId', 'description' => '', 'type' => 'string', 'example' => '0EC7*726E', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'InvalidParameter', 'errorMessage' => 'The request parameter is invalid', ], ], 500 => [ [ 'errorCode' => 'ServerError', 'errorMessage' => 'internal server error', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": 200,\\n \\"Result\\": {\\n \\"Page\\": {\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10,\\n \\"Total\\": 23,\\n \\"TotalPage\\": 3,\\n \\"HasNext\\": true\\n },\\n \\"SceneItemList\\": [\\n {\\n \\"Type\\": \\"GOODS\\",\\n \\"Category\\": \\"客用品类\\",\\n \\"Id\\": 10336,\\n \\"Name\\": \\"棉签\\",\\n \\"Status\\": \\"已添加\\",\\n \\"UpdateTime\\": 1666163226,\\n \\"Icon\\": \\"https://ailabsaicloudservice.alicdn.com/hotel/icon/jiudianmianban_fuwushangpintu/wupin/keyongpinlei/mianqian.png\\",\\n \\"Price\\": 160,\\n \\"DeliveryMethod\\": \\"robot\\",\\n \\"RobotName\\": \\"测试机器人\\",\\n \\"PaymentMethod\\": \\"robot\\",\\n \\"LimitSwitch\\": 1,\\n \\"LimitNumber\\": 2,\\n \\"BeyondLimitReply\\": \\"顾客您好,该物品已超出酒店今日供应限制,请联系前台。\\"\\n }\\n ]\\n },\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"0EC7*726E\\"\\n}","type":"json"}]', ], 'UpdateHotelSceneItem' => [ 'summary' => '酒店场景修改(开启/关闭/编辑)', 'path' => '/v1.0/ip/updateHotelSceneItem', 'methods' => [ 'post', ], 'schemes' => [ 'https', 'http', ], 'security' => [ [ 'AliGenie_Auth_SPI' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [], 'parameters' => [ [ 'name' => 'HotelId', 'in' => 'formData', 'schema' => [ 'title' => 'hotelID', 'description' => 'hotelID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '80d84ea8ed9e422fbad52715c8fc56f1', ], ], [ 'name' => 'UpdateHotelSceneOperateReq', 'in' => 'query', 'style' => 'json', 'schema' => [ 'title' => 'updateHotelSceneReq', 'description' => 'updateHotelSceneReq', 'type' => 'object', 'properties' => [ 'OperateType' => [ 'title' => '操作类型(OPEN开启,CLOSE关闭,EDIT编辑)', 'description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'OPEN', ], 'IsUseTemplateAnswer' => [ 'title' => '是否使用模板回答(true/false)', 'description' => '', 'type' => 'boolean', 'required' => true, 'docRequired' => true, 'example' => 'true', ], ], 'required' => true, 'docRequired' => true, ], ], [ 'name' => 'UpdateHotelSceneReq', 'in' => 'query', 'style' => 'json', 'schema' => [ 'title' => 'UpdateHotelSceneReq', 'description' => 'UpdateHotelSceneReq', 'type' => 'object', 'properties' => [ 'Id' => [ 'title' => 'itemID', 'description' => 'itemID', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'docRequired' => true, 'example' => '10337', ], 'Name' => [ 'title' => '物品名称 id与name必传一个', 'type' => 'string', ], 'Status' => [ 'title' => '状态(已添加/未添加)', 'description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '已添加', ], 'Icon' => [ 'title' => 'icon', 'description' => 'icon', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'https://ailabsaicloudservice.alicdn.com/hotel/icon/jiudianmianban_fuwushangpintu/wupin/keyongpinlei/mianqian.png', ], 'Price' => [ 'title' => '价格(单位:分)', 'description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '165', ], 'DialogueList' => [ 'title' => '对话List', 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'ServiceId' => [ 'title' => 'itemId', 'description' => 'itemId', 'type' => 'string', 'required' => false, 'example' => '10337', ], 'Process' => [ 'title' => '第几轮对话', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '0', ], 'Question' => [ 'title' => '问题', 'description' => '', 'type' => 'string', 'required' => false, ], 'YesAnswer' => [ 'title' => '肯定回答', 'description' => '', 'type' => 'string', 'required' => false, 'example' => '纸巾1.5元,请问需要么?', ], 'NoAnswer' => [ 'title' => '否定回答', 'description' => '', 'type' => 'string', 'required' => false, 'example' => '对不起,暂时不提供此物品', ], 'YesAnswerTemplate' => [ 'title' => '肯定回答模板ID', 'description' => '', 'type' => 'string', 'required' => false, 'example' => '4', ], 'NoAnswerTemplate' => [ 'title' => '否定回答模板ID', 'description' => '', 'type' => 'string', 'required' => false, 'example' => '4', ], 'DialogueId' => [ 'title' => '对话ID', 'description' => '', 'type' => 'string', 'required' => false, 'example' => '335', ], ], 'required' => false, ], 'required' => true, ], 'DeliveryMethod' => [ 'title' => '物品配送方式:waiter 服务员(默认) robot 机器人', 'type' => 'string', ], 'RobotName' => [ 'title' => '机器人名称,物品配送方式为robot时必填', 'type' => 'string', ], 'PaymentMethod' => [ 'title' => '结算方式:room 房费结算(默认) robot 机器人结算', 'type' => 'string', ], 'LimitSwitch' => [ 'title' => '是否限制数量:1:限制 其它不限制', 'type' => 'integer', 'format' => 'int32', ], 'LimitNumber' => [ 'title' => '限制数量', 'type' => 'integer', 'format' => 'int64', ], 'BeyondLimitReply' => [ 'title' => '超限回复', 'type' => 'string', ], ], 'required' => true, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Result', 'description' => 'Result', 'type' => 'object', 'properties' => [ 'Code' => [ 'title' => '状态码', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'Result' => [ 'title' => '服务的实际返回结果', 'description' => '', 'type' => 'boolean', 'example' => 'true', ], 'Message' => [ 'title' => '附加信息,典型应用场景是对失败调用进行简述,方便调用方定位问题', 'description' => '', 'type' => 'string', 'example' => 'success', ], 'RequestId' => [ 'title' => 'RequestId', 'description' => '', 'type' => 'string', 'example' => '0D0C***67DB', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'InvalidParameter', 'errorMessage' => 'The request parameter is invalid', ], ], 500 => [ [ 'errorCode' => 'ServerError', 'errorMessage' => 'internal server error', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": 200,\\n \\"Result\\": true,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"0D0C***67DB\\"\\n}","type":"json"}]', ], 'GetHotelSceneItemDetail' => [ 'summary' => '酒店场景详情', 'path' => '/v1.0/ip/getHotelSceneItemDetail', 'methods' => [ 'post', ], 'schemes' => [ 'https', 'http', ], 'security' => [ [ 'AliGenie_Auth_SPI' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [], 'parameters' => [ [ 'name' => 'HotelId', 'in' => 'formData', 'schema' => [ 'title' => 'hotelID', 'description' => 'hotelID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '80d84ea8ed9e422fbad52715c8fc56f1', ], ], [ 'name' => 'ItemId', 'in' => 'formData', 'schema' => [ 'title' => '酒店场景itemID'."\n" .'id与物品名称必传其中一个', 'description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'docRequired' => true, 'example' => '10336', ], ], [ 'name' => 'Name', 'in' => 'formData', 'schema' => [ 'title' => '物品名称'."\n" .'id与物品名称必传其中一个', 'type' => 'string', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Result', 'description' => 'Result', 'type' => 'object', 'properties' => [ 'Code' => [ 'title' => '状态码', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'Result' => [ 'title' => '服务的实际返回结果', 'description' => '', 'type' => 'object', 'properties' => [ 'DialogueList' => [ 'title' => '酒店场景item对话List', 'description' => '', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'ServiceId' => [ 'title' => '酒店场景itemID', 'description' => '', 'type' => 'string', 'example' => '10336', ], 'Process' => [ 'title' => '第几轮对话', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '0', ], 'Question' => [ 'title' => '问题', 'description' => '', 'type' => 'string', ], 'YesAnswer' => [ 'title' => '肯定回答', 'description' => '', 'type' => 'string', 'example' => '', ], 'NoAnswer' => [ 'title' => '否定回答', 'description' => '', 'type' => 'string', 'example' => '', ], 'YesAnswerTemplate' => [ 'title' => '肯定回答模板ID', 'description' => '', 'type' => 'string', 'example' => '4', ], 'NoAnswerTemplate' => [ 'title' => '否定回答模板ID', 'description' => '', 'type' => 'string', 'example' => '4', ], 'DialogueId' => [ 'title' => '对话ID', 'description' => '', 'type' => 'string', 'example' => '336', ], 'UpdateTime' => [ 'title' => '更新时间', 'description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '1666164774', ], 'CreateTime' => [ 'title' => '创建时间', 'description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '1666164774', ], ], ], ], 'Type' => [ 'title' => '酒店场景类型', 'description' => '', 'type' => 'string', 'example' => 'GOODS', ], 'Category' => [ 'title' => '酒店场景类型二级分类', 'description' => '', 'type' => 'string', 'example' => '客用品类', ], 'Id' => [ 'title' => '酒店场景itemID', 'description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '10336', ], 'Name' => [ 'title' => '名称', 'description' => '', 'type' => 'string', 'example' => '擦鞋布', ], 'Status' => [ 'title' => '状态', 'description' => '', 'type' => 'string', 'example' => '已添加', ], 'UpdateTime' => [ 'title' => '更新时间', 'description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '1666168828', ], 'Icon' => [ 'title' => '物品、服务、维修的图标', 'description' => '', 'type' => 'string', 'example' => 'https://ailabsaicloudservice.alicdn.com/hotel/icon/jiudianmianban_fuwushangpintu/wupin/keyongpinlei/zhijin.png', ], 'Price' => [ 'title' => '价格(单位:分)', 'description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '170', ], ], ], 'Message' => [ 'title' => '附加信息,典型应用场景是对失败调用进行简述,方便调用方定位问题', 'description' => '', 'type' => 'string', 'example' => 'success', ], 'RequestId' => [ 'title' => 'RequestId', 'description' => '', 'type' => 'string', 'example' => '0EC7*726E', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'InvalidParameter', 'errorMessage' => 'The request parameter is invalid', ], ], 500 => [ [ 'errorCode' => 'ServerError', 'errorMessage' => 'internal server error', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": 200,\\n \\"Result\\": {\\n \\"DialogueList\\": [\\n {\\n \\"ServiceId\\": \\"10336\\",\\n \\"Process\\": 0,\\n \\"Question\\": \\"无\\",\\n \\"YesAnswer\\": \\"纸巾1.5元,请问需要么?\\",\\n \\"NoAnswer\\": \\"对不起,暂时不提供此物品\\",\\n \\"YesAnswerTemplate\\": \\"4\\",\\n \\"NoAnswerTemplate\\": \\"4\\",\\n \\"DialogueId\\": \\"336\\",\\n \\"UpdateTime\\": 1666164774,\\n \\"CreateTime\\": 1666164774\\n }\\n ],\\n \\"Type\\": \\"GOODS\\",\\n \\"Category\\": \\"客用品类\\",\\n \\"Id\\": 10336,\\n \\"Name\\": \\"擦鞋布\\",\\n \\"Status\\": \\"已添加\\",\\n \\"UpdateTime\\": 1666168828,\\n \\"Icon\\": \\"https://ailabsaicloudservice.alicdn.com/hotel/icon/jiudianmianban_fuwushangpintu/wupin/keyongpinlei/zhijin.png\\",\\n \\"Price\\": 170\\n },\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"0EC7*726E\\"\\n}","type":"json"}]', ], 'InvokeRobotPush' => [ 'summary' => '机器人服务,消息推送', 'path' => '/v1.0/ip/invokeRobotPush', 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AliGenie_Auth_SPI' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', ], 'parameters' => [ [ 'name' => 'RoomNo', 'in' => 'formData', 'schema' => [ 'title' => '房间号', 'description' => '', 'type' => 'string', 'required' => false, 'example' => '1211', ], ], [ 'name' => 'RoomName', 'in' => 'formData', 'schema' => [ 'type' => 'string', ], ], [ 'name' => 'HotelId', 'in' => 'formData', 'schema' => [ 'title' => '酒店id', 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'af7***536', ], ], [ 'name' => 'PushType', 'in' => 'formData', 'schema' => [ 'title' => '推送类型,PUT:放东西、GET:拿东西', 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'GET', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Result', 'description' => 'Result', 'type' => 'object', 'properties' => [ 'StatusCode' => [ 'title' => '调用返回码,除约定的SUCCESS_CODE外,其余由服务提供者自定义', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'Result' => [ 'title' => '服务的实际返回结果', 'description' => '', 'type' => 'boolean', 'example' => 'true', ], 'Message' => [ 'title' => '附加信息,典型应用场景是对失败调用进行简述,方便调用方定位问题', 'description' => '', 'type' => 'string', 'example' => 'success', ], 'RequestId' => [ 'description' => '', 'type' => 'string', 'example' => '73C6***E6FA', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'InvalidParameter', 'errorMessage' => 'The request parameter is invalid', ], ], 500 => [ [ 'errorCode' => 'ServerError', 'errorMessage' => 'internal server error', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"StatusCode\\": 200,\\n \\"Result\\": true,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"73C6***E6FA\\"\\n}","type":"json"}]', ], 'ImportHotelConfig' => [ 'summary' => '批量导入酒店配置', 'path' => '/v1.0/ip/importHotelConfig', 'methods' => [ 'post', ], 'schemes' => [ 'https', 'http', ], 'security' => [ [ 'AliGenie_Auth_SPI' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'deprecated' => false, 'systemTags' => [], 'parameters' => [ [ 'name' => 'HotelId', 'in' => 'formData', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'a7***83', ], ], [ 'name' => 'ImportHotelConfig', 'in' => 'formData', 'style' => 'json', 'schema' => [ 'type' => 'object', 'properties' => [ 'RcuCustomScenes' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'SceneId' => [ 'type' => 'string', 'required' => true, ], 'Name' => [ 'type' => 'string', 'required' => true, ], 'Icon' => [ 'type' => 'string', ], 'Description' => [ 'type' => 'string', ], 'CorpusList' => [ 'type' => 'array', 'items' => [ 'type' => 'string', 'required' => true, ], 'required' => true, ], ], ], ], ], 'required' => true, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Result', 'description' => 'Result', 'type' => 'object', 'properties' => [ 'StatusCode' => [ 'title' => '调用返回码,除约定的SUCCESS_CODE外,其余由服务提供者自定义', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'Result' => [ 'title' => '服务的实际返回结果', 'description' => '', 'type' => 'boolean', 'example' => 'true', ], 'Message' => [ 'title' => '附加信息,典型应用场景是对失败调用进行简述,方便调用方定位问题', 'description' => '', 'type' => 'string', 'example' => 'success', ], 'RequestId' => [ 'description' => '', 'type' => 'string', 'example' => '0EC7*726E', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'InvalidParameter', 'errorMessage' => 'The request parameter is invalid', ], ], 500 => [ [ 'errorCode' => 'ServerError', 'errorMessage' => 'internal server error', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"StatusCode\\": 200,\\n \\"Result\\": true,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"0EC7*726E\\"\\n}","type":"json"}]', ], 'ImportRoomControlDevices' => [ 'summary' => '批量导入设备(同时补充房型)', 'path' => '/v1.0/ip/importRoomControlDevices', 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AliGenie_Auth_SPI' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', ], 'parameters' => [ [ 'name' => 'HotelId', 'in' => 'formData', 'schema' => [ 'title' => '酒店id', 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'vdgrefds', ], ], [ 'name' => 'RoomNo', 'in' => 'formData', 'schema' => [ 'title' => '房间号', 'description' => '', 'type' => 'string', 'required' => true, 'example' => '1211', ], ], [ 'name' => 'LocationDevices', 'in' => 'formData', 'style' => 'json', 'schema' => [ 'title' => '导入的位置、设备列表', 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'Location' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'room', ], 'LocationName' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => '', ], 'Devices' => [ 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'Name' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'light', 'title' => '品类英文', ], 'Number' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'night_light', 'title' => '序列号'."\n" .'rcu试该参数必传', ], 'DeviceName' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => '', 'title' => '设备名称', ], 'ConnectType' => [ 'title' => '设备连接类型:rcu、infrared、mesh'."\n" .'不填默认rcu', 'type' => 'string', ], 'Brand' => [ 'title' => '品牌', 'type' => 'string', ], 'Province' => [ 'title' => '省份', 'type' => 'string', ], 'City' => [ 'title' => '城市', 'type' => 'string', ], 'ServiceProvider' => [ 'title' => '服务提供商', 'type' => 'string', ], 'InfraredIndex' => [ 'title' => '红外码库Index', 'type' => 'string', ], 'InfraredId' => [ 'title' => '红外码库id', 'type' => 'string', ], 'InfraredVersion' => [ 'title' => '红外码库版本号', 'type' => 'string', ], 'MultiKeySwitchExt' => [ 'type' => 'object', 'properties' => [ 'SwitchList' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'DeviceIndex' => [ 'title' => '设备序号', 'type' => 'integer', 'format' => 'int32', ], 'Category' => [ 'title' => '关联的设备品类英文名', 'type' => 'string', ], 'Location' => [ 'title' => '关联的设备位置英文', 'type' => 'string', ], 'DeviceName' => [ 'title' => '关联的设备别名', 'type' => 'string', ], 'AliasList' => [ 'title' => '设备多别名列表', 'type' => 'array', 'items' => [ 'title' => '设备自定义别名', 'type' => 'string', ], ], ], ], ], ], ], 'Dn' => [ 'title' => '设备dn码', 'type' => 'string', ], 'Pk' => [ 'title' => '设备pk', 'type' => 'string', ], 'AliasList' => [ 'title' => '设备多别名列表', 'type' => 'array', 'items' => [ 'title' => '设备自定义别名', 'type' => 'string', ], ], ], 'required' => false, ], 'required' => false, ], ], 'required' => false, ], 'required' => true, ], ], [ 'name' => 'EnableInfraredDeviceImport', 'in' => 'formData', 'schema' => [ 'title' => '是否支持红外 true 支持红外设备 false 不支持红外设备', 'type' => 'string', ], ], [ 'name' => 'EnableMeshDeviceImport', 'in' => 'formData', 'schema' => [ 'title' => '是否支持mesh true/null 支持 走清理逻辑false 不支持 但是会保留Mesh设备 请求参数里面有 Mesh 数据报错', 'type' => 'string', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Result', 'description' => 'Result', 'type' => 'object', 'properties' => [ 'StatusCode' => [ 'title' => '调用返回码,除约定的SUCCESS_CODE外,其余由服务提供者自定义', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'Result' => [ 'title' => '服务的实际返回结果', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '10', ], 'Message' => [ 'title' => '附加信息,典型应用场景是对失败调用进行简述,方便调用方定位问题', 'description' => '', 'type' => 'string', 'example' => 'success', ], 'Extentions' => [ 'title' => '扩展字段', 'description' => '', 'type' => 'object', 'additionalProperties' => [ 'type' => 'any', 'example' => 'xxxx', 'description' => '', ], ], 'RequestId' => [ 'description' => '', 'type' => 'string', 'example' => 'fdsfregtre', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'InvalidParameter', 'errorMessage' => 'The request parameter is invalid', ], ], 500 => [ [ 'errorCode' => 'ServerError', 'errorMessage' => 'internal server error', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"StatusCode\\": 200,\\n \\"Result\\": 10,\\n \\"Message\\": \\"success\\",\\n \\"Extentions\\": {\\n \\"key\\": \\"xxxx\\"\\n },\\n \\"RequestId\\": \\"fdsfregtre\\"\\n}","type":"json"}]', ], 'ImportRoomGenieScenes' => [ 'summary' => '导入房间内精灵场景', 'path' => '/v1.0/ip/importRoomGenieScenes', 'methods' => [ 'post', ], 'schemes' => [ 'https', 'http', ], 'security' => [ [ 'AliGenie_Auth_SPI' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'deprecated' => false, 'systemTags' => [], 'parameters' => [ [ 'name' => 'HotelId', 'in' => 'formData', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'a7a3***013', ], ], [ 'name' => 'RoomNo', 'in' => 'formData', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => '1211', ], ], [ 'name' => 'SceneList', 'in' => 'formData', 'style' => 'json', 'schema' => [ 'title' => '场景列表', 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'SceneName' => [ 'title' => '场景名称', 'description' => '', 'type' => 'string', 'required' => true, 'example' => '', ], 'Description' => [ 'title' => '场景描述', 'description' => '', 'type' => 'string', 'required' => false, 'example' => '', ], 'Icon' => [ 'title' => '场景图标', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'http://xxx.com/yyy.png', ], 'Display' => [ 'title' => '是否在带屏侧显示', 'description' => '', 'type' => 'boolean', 'required' => true, 'example' => 'true', ], 'TriggerLogical' => [ 'title' => '场景触发逻辑(0:条件与,1:条件或)', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1', ], 'Triggers' => [ 'title' => '触发条件', 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'Type' => [ 'title' => '触发类型', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1', ], 'CorpusList' => [ 'title' => '触发语料', 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => '', ], 'required' => false, ], 'Device' => [ 'type' => 'object', 'properties' => [ 'Category' => [ 'type' => 'string', 'required' => true, ], 'DeviceNumber' => [ 'type' => 'string', 'required' => true, ], 'DeviceIndex' => [ 'type' => 'string', ], ], ], 'AttributeValues' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'AttributeName' => [ 'type' => 'string', 'required' => true, ], 'AttributeValue' => [ 'type' => 'string', 'required' => true, ], ], ], ], ], 'required' => false, ], 'required' => true, ], 'Actions' => [ 'title' => '执行动作', 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'Type' => [ 'title' => '动作类型', 'type' => 'integer', 'format' => 'int32', ], 'Reply' => [ 'title' => '音箱回复内容', 'type' => 'string', ], 'Device' => [ 'title' => '执行设备', 'description' => '', 'type' => 'object', 'properties' => [ 'Category' => [ 'title' => '设备品类', 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'light', ], 'DeviceNumber' => [ 'title' => '设备编号', 'description' => '', 'type' => 'string', 'required' => true, 'example' => '3c5d2ab8f9ec', ], 'DeviceIndex' => [ 'title' => '多键开关类设备,传入按键序号', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '0', ], 'Type' => [ 'title' => '', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', ], ], 'required' => false, ], 'AttributeValues' => [ 'title' => '设备目标属性', 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'AttributeName' => [ 'title' => '属性名', 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'powerstate', ], 'AttributeValue' => [ 'title' => '属性值', 'description' => '', 'type' => 'string', 'required' => true, 'example' => '1', ], ], 'required' => false, ], 'required' => false, ], ], 'required' => false, ], 'required' => true, ], ], 'required' => false, ], 'required' => false, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Result', 'description' => 'Result', 'type' => 'object', 'properties' => [ 'StatusCode' => [ 'title' => '调用返回码,除约定的SUCCESS_CODE外,其余由服务提供者自定义', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'Result' => [ 'title' => '服务的实际返回结果', 'description' => '', 'type' => 'boolean', 'example' => 'true', ], 'Message' => [ 'title' => '附加信息,典型应用场景是对失败调用进行简述,方便调用方定位问题', 'description' => '', 'type' => 'string', 'example' => 'success', ], 'RequestId' => [ 'description' => '', 'type' => 'string', 'example' => '73C6***E6FA', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'InvalidParameter', 'errorMessage' => 'The request parameter is invalid', ], ], 500 => [ [ 'errorCode' => 'ServerError', 'errorMessage' => 'internal server error', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"StatusCode\\": 200,\\n \\"Result\\": true,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"73C6***E6FA\\"\\n}","type":"json"}]', ], 'PageGetHotelRoomDevices' => [ 'summary' => '分页查询酒店房间主控设备', 'path' => '/v1.0/ip/pageGetHotelRoomDevices', 'methods' => [ 'post', ], 'schemes' => [ 'https', 'http', ], 'security' => [ [ 'AliGenie_Auth_SPI' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'deprecated' => false, 'systemTags' => [], 'parameters' => [ [ 'name' => 'HotelId', 'in' => 'formData', 'schema' => [ 'title' => '酒店id', 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'a7***83', ], ], [ 'name' => 'PageNumber', 'in' => 'formData', 'schema' => [ 'title' => '页码', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1', ], ], [ 'name' => 'PageSize', 'in' => 'formData', 'schema' => [ 'title' => '分页大小', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '10', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'PageResult>', 'description' => 'PageResult>', 'type' => 'object', 'properties' => [ 'Page' => [ 'title' => '翻页参数', 'description' => '', 'type' => 'object', 'properties' => [ 'PageNumber' => [ 'title' => '页码', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '1', ], 'PageSize' => [ 'title' => '分页大小', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '10', ], 'Total' => [ 'title' => '总数', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '5', ], 'TotalPage' => [ 'title' => '总页数', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '1', ], 'Start' => [ 'title' => '起始序号', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '0', ], 'End' => [ 'title' => '末尾序号', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '4', ], 'HasNext' => [ 'title' => '是否还有下一页', 'description' => '', 'type' => 'boolean', 'example' => 'False', ], ], ], 'StatusCode' => [ 'title' => '调用返回码,除约定的200标识成功外,其余由服务提供者自定义', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'Result' => [ 'title' => '服务的实际返回结果', 'description' => '', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'Mac' => [ 'title' => '设备mac', 'description' => '', 'type' => 'string', 'example' => 'b4:xx:xx:xx:65:2b', ], 'Sn' => [ 'title' => '设备sn', 'description' => '', 'type' => 'string', 'example' => '1200xxx048', ], 'HotelId' => [ 'title' => '酒店id', 'description' => '', 'type' => 'string', 'example' => 'a7***83', ], 'RoomNo' => [ 'title' => '房间号', 'description' => '', 'type' => 'string', 'example' => '2001', ], 'OnlineStatus' => [ 'title' => '设备在线状态,1:在线;0:离线', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '1', ], 'FirmwareVersion' => [ 'title' => '设备固件版本号', 'description' => '', 'type' => 'string', 'example' => 'V21.10.00.313', ], ], ], ], 'Message' => [ 'title' => '附加信息,典型应用场景是对失败调用进行简述,方便调用方定位问题', 'description' => '', 'type' => 'string', 'example' => 'success', ], 'Extentions' => [ 'title' => '扩展字段', 'description' => '', 'type' => 'object', 'additionalProperties' => [ 'type' => 'any', ], ], 'RequestId' => [ 'title' => '请求参数', 'description' => '', 'type' => 'string', 'example' => '4EFBDDF4-B19D-526C-8C3D-CD8AB51974EE', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'InvalidParameter', 'errorMessage' => 'The request parameter is invalid', ], ], 500 => [ [ 'errorCode' => 'ServerError', 'errorMessage' => 'internal server error', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Page\\": {\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10,\\n \\"Total\\": 5,\\n \\"TotalPage\\": 1,\\n \\"Start\\": 0,\\n \\"End\\": 4,\\n \\"HasNext\\": true\\n },\\n \\"StatusCode\\": 200,\\n \\"Result\\": [\\n {\\n \\"Mac\\": \\"b4:xx:xx:xx:65:2b\\",\\n \\"Sn\\": \\"1200xxx048\\",\\n \\"HotelId\\": \\"a7***83\\",\\n \\"RoomNo\\": \\"2001\\",\\n \\"OnlineStatus\\": 1,\\n \\"FirmwareVersion\\": \\"V21.10.00.313\\"\\n }\\n ],\\n \\"Message\\": \\"success\\",\\n \\"Extentions\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"RequestId\\": \\"4EFBDDF4-B19D-526C-8C3D-CD8AB51974EE\\"\\n}","type":"json"}]', ], 'QueryRoomControlDevices' => [ 'summary' => '查询酒店房间客控设备', 'path' => '/v1.0/ip/queryRoomControlDevices', 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AliGenie_Auth_SPI' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [], 'parameters' => [ [ 'name' => 'HotelId', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'af7***536', ], ], [ 'name' => 'RoomNo', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => '1211', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Result>', 'description' => '', 'type' => 'object', 'properties' => [ 'Code' => [ 'title' => '调用返回码,除约定的SUCCESS_CODE外,其余由服务提供者自定义', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'Result' => [ 'title' => '服务的实际返回结果', 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'Location' => [ 'description' => '', 'type' => 'string', 'example' => 'room', ], 'LocationName' => [ 'description' => '', 'type' => 'string', 'example' => '', ], 'Devices' => [ 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'Name' => [ 'description' => '', 'type' => 'string', 'example' => 'light', ], 'Number' => [ 'description' => '', 'type' => 'string', 'example' => 'night_light', ], 'DeviceName' => [ 'description' => '', 'type' => 'string', 'example' => '', ], 'ConnectType' => [ 'title' => '设备连接类型:rcu/infrared', 'type' => 'string', ], 'PK' => [ 'type' => 'string', ], 'DN' => [ 'type' => 'string', ], 'DeviceStatus' => [ 'type' => 'string', ], 'AliasList' => [ 'type' => 'array', 'items' => [ 'type' => 'string', ], ], 'MultiKeySwitchExt' => [ 'type' => 'object', 'properties' => [ 'SwitchList' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'DeviceIndex' => [ 'type' => 'integer', 'format' => 'int32', ], 'ElementCode' => [ 'type' => 'string', ], 'Category' => [ 'type' => 'string', ], 'Location' => [ 'type' => 'string', ], 'DeviceName' => [ 'type' => 'string', ], 'DeviceStatus' => [ 'type' => 'string', ], 'AliasList' => [ 'type' => 'array', 'items' => [ 'type' => 'string', ], ], ], ], ], ], ], ], ], ], ], ], ], 'Message' => [ 'title' => '附加信息,典型应用场景是对失败调用进行简述,方便调用方定位问题', 'description' => '', 'type' => 'string', 'example' => 'success', ], 'RequestId' => [ 'description' => '', 'type' => 'string', 'example' => 'fdsgfdscvre', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'InvalidParameter', 'errorMessage' => 'The request parameter is invalid', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": 200,\\n \\"Result\\": [\\n {\\n \\"Location\\": \\"room\\",\\n \\"LocationName\\": \\"房间\\",\\n \\"Devices\\": [\\n {\\n \\"Name\\": \\"light\\",\\n \\"Number\\": \\"night_light\\",\\n \\"DeviceName\\": \\"小夜灯\\",\\n \\"ConnectType\\": \\"rcu:RCU设备\\\\ninfrared:红外设备\\",\\n \\"PK\\": \\"50255129\\",\\n \\"DN\\": \\"3c5d2ab8f9ec\\",\\n \\"DeviceStatus\\": \\"{\\\\\\"powerstate\\\\\\": \\\\\\"1\\\\\\"}\\",\\n \\"AliasList\\": [\\n \\"卫生间灯\\"\\n ],\\n \\"MultiKeySwitchExt\\": {\\n \\"SwitchList\\": [\\n {\\n \\"DeviceIndex\\": 1,\\n \\"ElementCode\\": \\"e2\\",\\n \\"Category\\": \\"light\\",\\n \\"Location\\": \\"room\\",\\n \\"DeviceName\\": \\"廊灯\\",\\n \\"DeviceStatus\\": \\"{\\\\n \\\\\\"powerstate\\\\\\": \\\\\\"0\\\\\\"\\\\n}\\",\\n \\"AliasList\\": [\\n \\"卫生间灯\\"\\n ]\\n }\\n ]\\n }\\n }\\n ]\\n }\\n ],\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"fdsgfdscvre\\"\\n}","type":"json"}]', ], 'GetHotelRoomDevice' => [ 'summary' => '获取酒店房间猫精设备信息', 'path' => '/v1.0/ip/getHotelRoomDevice', 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AliGenie_Auth_SPI' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [], 'parameters' => [ [ 'name' => 'HotelId', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'af7***536', ], ], [ 'name' => 'RoomNo', 'in' => 'query', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => '1211', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Result>', 'description' => '', 'type' => 'object', 'properties' => [ 'Code' => [ 'title' => '调用返回码,除约定的SUCCESS_CODE外,其余由服务提供者自定义', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'Result' => [ 'title' => '服务的实际返回结果', 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'HotelId' => [ 'description' => '', 'type' => 'string', 'example' => 'af7***536', ], 'RoomNo' => [ 'description' => '', 'type' => 'string', 'example' => '1211', ], 'Mac' => [ 'description' => '', 'type' => 'string', 'example' => 'aa:aa:aa:aa:aa:aa', ], 'Sn' => [ 'description' => '', 'type' => 'string', 'example' => 'dsfdsfrgreg', ], 'OnlineStatus' => [ 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '1', ], 'FirmwareVersion' => [ 'description' => '', 'type' => 'string', 'example' => '1.0.0-release', ], ], ], ], 'Message' => [ 'title' => '附加信息,典型应用场景是对失败调用进行简述,方便调用方定位问题', 'description' => '', 'type' => 'string', 'example' => 'success', ], 'RequestId' => [ 'description' => '', 'type' => 'string', 'example' => 'vrehvuifdsgrts', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'InvalidParameter', 'errorMessage' => 'The request parameter is invalid', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": 200,\\n \\"Result\\": [\\n {\\n \\"HotelId\\": \\"af7***536\\",\\n \\"RoomNo\\": \\"1211\\",\\n \\"Mac\\": \\"aa:aa:aa:aa:aa:aa\\",\\n \\"Sn\\": \\"dsfdsfrgreg\\",\\n \\"OnlineStatus\\": 1,\\n \\"FirmwareVersion\\": \\"1.0.0-release\\"\\n }\\n ],\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"vrehvuifdsgrts\\"\\n}","type":"json"}]', ], 'ControlRoomDevice' => [ 'summary' => '控制房间内设备', 'path' => '/v1.0/ip/controlRoomDevice', 'methods' => [ 'post', ], 'schemes' => [ 'https', 'http', ], 'security' => [ [ 'AliGenie_Auth_SPI' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'deprecated' => false, 'systemTags' => [], 'parameters' => [ [ 'name' => 'HotelId', 'in' => 'formData', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'a7***83', ], ], [ 'name' => 'RoomNo', 'in' => 'formData', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => '1211', ], ], [ 'name' => 'Cmd', 'in' => 'formData', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'thing.attribute.set'."\n" .'thing.attribute.adjust', ], ], [ 'name' => 'DeviceNumber', 'in' => 'formData', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'INFRARED49122575595', ], ], [ 'name' => 'DeviceIndex', 'in' => 'formData', 'schema' => [ 'type' => 'integer', 'format' => 'int32', ], ], [ 'name' => 'Properties', 'in' => 'formData', 'style' => 'json', 'schema' => [ 'description' => '', 'type' => 'object', 'required' => true, 'additionalProperties' => [ 'type' => 'string', 'description' => '', 'example' => '{"powerstate":"1"}', 'required' => true, ], ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Result', 'description' => 'Result', 'type' => 'object', 'properties' => [ 'Code' => [ 'title' => '调用返回码,除约定的SUCCESS_CODE外,其余由服务提供者自定义', 'type' => 'integer', 'format' => 'int32', ], 'Result' => [ 'title' => '服务的实际返回结果', 'description' => '', 'type' => 'object', 'properties' => [ 'Status' => [ 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '', ], 'Message' => [ 'description' => '', 'type' => 'string', 'example' => 'success', ], ], ], 'Message' => [ 'title' => '附加信息,典型应用场景是对失败调用进行简述,方便调用方定位问题', 'description' => '', 'type' => 'string', 'example' => 'success', ], 'RequestId' => [ 'title' => '请求id', 'description' => '', 'type' => 'string', 'example' => '0EC7***726E', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'InvalidParameter', 'errorMessage' => 'The request parameter is invalid', ], ], 500 => [ [ 'errorCode' => 'ServerError', 'errorMessage' => 'internal server error', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": 200,\\n \\"Result\\": {\\n \\"Status\\": 0,\\n \\"Message\\": \\"success\\"\\n },\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"0EC7***726E\\"\\n}","type":"json"}]', ], 'PushVoiceBoxCommands' => [ 'summary' => '推送音箱指令', 'path' => '/v1.0/ip/pushVoiceBoxCommands', 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AliGenie_Auth_SPI' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'deprecated' => false, 'systemTags' => [], 'parameters' => [ [ 'name' => 'HotelId', 'in' => 'formData', 'schema' => [ 'title' => '酒店ID', 'description' => '', 'type' => 'string', 'required' => true, ], ], [ 'name' => 'RoomNo', 'in' => 'formData', 'schema' => [ 'title' => '房间号', 'description' => '', 'type' => 'string', 'required' => true, ], ], [ 'name' => 'Commands', 'in' => 'formData', 'style' => 'json', 'schema' => [ 'title' => '命令列表', 'description' => '', 'type' => 'array', 'items' => [ 'title' => '', 'type' => 'object', 'properties' => [ 'CommandDomain' => [ 'title' => '命名空间', 'description' => '', 'type' => 'string', 'required' => true, ], 'CommandName' => [ 'title' => '指令名称', 'description' => '', 'type' => 'string', 'required' => true, ], 'Payload' => [ 'title' => '指令参数', 'description' => '', 'type' => 'string', 'required' => false, 'enumValueTitles' => [], ], ], 'required' => true, ], 'required' => true, 'minItems' => 1, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Result', 'description' => 'Result', 'type' => 'object', 'properties' => [ 'StatusCode' => [ 'title' => '调用返回码,除约定的SUCCESS_CODE外,其余由服务提供者自定义', 'description' => '', 'type' => 'integer', 'format' => 'int32', ], 'Code' => [ 'title' => '调用返回码 pop返回使用', 'description' => '', 'type' => 'integer', 'format' => 'int32', ], 'Result' => [ 'title' => '服务的实际返回结果', 'description' => '', 'type' => 'boolean', ], 'Message' => [ 'title' => '附加信息,典型应用场景是对失败调用进行简述,方便调用方定位问题', 'description' => '', 'type' => 'string', ], 'RequestId' => [ 'title' => '', 'description' => '', 'type' => 'string', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'InvalidParameter', 'errorMessage' => 'The request parameter is invalid', ], ], 500 => [ [ 'errorCode' => 'ServerError', 'errorMessage' => 'internal server error', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"StatusCode\\": 200,\\n \\"Code\\": 200,\\n \\"Result\\": true,\\n \\"Message\\": \\"null\\",\\n \\"RequestId\\": \\"null\\"\\n}","type":"json"}]', ], 'SyncDeviceStatusWithAk' => [ 'summary' => '同步客控设备状态到主控设备', 'path' => '/v1.0/ip/syncDeviceStatusWithAk', 'methods' => [ 'post', ], 'schemes' => [ 'https', 'http', ], 'security' => [ [ 'AliGenie_Auth_SPI' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'deprecated' => false, 'systemTags' => [], 'parameters' => [ [ 'name' => 'HotelId', 'in' => 'formData', 'schema' => [ 'title' => '酒店id', 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'af7***536', ], ], [ 'name' => 'RoomNo', 'in' => 'formData', 'schema' => [ 'title' => '房间号', 'description' => '', 'type' => 'string', 'required' => true, 'example' => '1211', ], ], [ 'name' => 'DeviceName', 'in' => 'formData', 'schema' => [ 'title' => '设备名称', 'description' => '', 'type' => 'string', 'required' => false, 'example' => '', ], ], [ 'name' => 'Switch', 'in' => 'formData', 'schema' => [ 'title' => '开关值,0:关,1:开', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1', ], ], [ 'name' => 'CategoryEnName', 'in' => 'formData', 'schema' => [ 'title' => '设备的品类英文名称', 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'light', ], ], [ 'name' => 'CategoryCnName', 'in' => 'formData', 'schema' => [ 'title' => '设备的品类英文名称,选填', 'description' => '', 'type' => 'string', 'required' => false, 'example' => '', ], ], [ 'name' => 'Number', 'in' => 'formData', 'schema' => [ 'title' => '设备序号', 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'bedLight', ], ], [ 'name' => 'Location', 'in' => 'formData', 'schema' => [ 'title' => '位置', 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'room', ], ], [ 'name' => 'LocationCnName', 'in' => 'formData', 'schema' => [ 'title' => '位置中文名称,选填', 'description' => '', 'type' => 'string', 'required' => false, 'example' => '', ], ], [ 'name' => 'mode', 'in' => 'formData', 'schema' => [ 'title' => '空调参数,例如制冷、制热模式', 'type' => 'string', ], ], [ 'name' => 'fanSpeed', 'in' => 'formData', 'schema' => [ 'title' => '空调字段,风速', 'type' => 'string', ], ], [ 'name' => 'temperature', 'in' => 'formData', 'schema' => [ 'title' => '空调字段,温度', 'type' => 'string', ], ], [ 'name' => 'roomTemperature', 'in' => 'formData', 'schema' => [ 'title' => '空调字段,当前室温', 'type' => 'string', ], ], [ 'name' => 'value', 'in' => 'formData', 'schema' => [ 'title' => '窗帘、纱帘字段,开合度', 'type' => 'integer', 'format' => 'int32', ], ], ], 'responses' => [ 200 => [ 'headers' => [], 'schema' => [ 'title' => 'Result', 'description' => 'Result', 'type' => 'object', 'properties' => [ 'StatusCode' => [ 'title' => '调用返回码,除约定的SUCCESS_CODE外,其余由服务提供者自定义', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'Result' => [ 'title' => '服务的实际返回结果', 'description' => '', 'type' => 'boolean', 'example' => 'true', ], 'Message' => [ 'title' => '附加信息,典型应用场景是对失败调用进行简述,方便调用方定位问题', 'description' => '', 'type' => 'string', 'example' => 'success', ], 'requestId' => [ 'description' => '', 'type' => 'string', 'example' => 'F12B6147-5925-19E5-A3AD-E1EE1360F34E', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'InvalidParameter', 'errorMessage' => 'The request parameter is invalid', ], ], 500 => [ [ 'errorCode' => 'ServerError', 'errorMessage' => 'internal server error', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"StatusCode\\": 200,\\n \\"Result\\": true,\\n \\"Message\\": \\"success\\",\\n \\"requestId\\": \\"F12B6147-5925-19E5-A3AD-E1EE1360F34E\\"\\n}","type":"json"}]', ], 'CreateRcuScene' => [ 'summary' => '酒店rcu自定义场景创建', 'path' => '/v1.0/ip/createRcuScene', 'methods' => [ 'post', ], 'schemes' => [ 'https', 'http', ], 'security' => [ [ 'AliGenie_Auth_SPI' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'deprecated' => false, 'systemTags' => [], 'parameters' => [ [ 'name' => 'HotelId', 'in' => 'formData', 'schema' => [ 'title' => '酒店id', 'description' => '', 'type' => 'string', 'required' => true, 'example' => '520a0c0***5eb', ], ], [ 'name' => 'SceneId', 'in' => 'formData', 'schema' => [ 'title' => '场景编码', 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'yoga', ], ], [ 'name' => 'SceneRelationExtDTO', 'in' => 'formData', 'style' => 'json', 'schema' => [ 'title' => '酒店RCU自定义场景', 'description' => '', 'type' => 'object', 'properties' => [ 'Name' => [ 'title' => '场景名称', 'description' => '', 'type' => 'string', 'required' => true, 'example' => '', ], 'Icon' => [ 'title' => '场景图标', 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'https://ailabsaicloudservice.alicdn.com/hotel/icon/changjingmoshi/shuimian.png', ], 'Description' => [ 'title' => '场景描述信息', 'description' => '', 'type' => 'string', 'required' => true, 'example' => '', ], 'CorpusList' => [ 'title' => '触发语料', 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => '', ], 'required' => true, ], ], 'required' => true, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Result', 'description' => 'Result', 'type' => 'object', 'properties' => [ 'StatusCode' => [ 'title' => '调用返回码,除约定的SUCCESS_CODE外,其余由服务提供者自定义', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'Result' => [ 'title' => '服务的实际返回结果', 'description' => '', 'type' => 'boolean', 'example' => 'true', ], 'Message' => [ 'title' => '附加信息,典型应用场景是对失败调用进行简述,方便调用方定位问题', 'description' => '', 'type' => 'string', 'example' => 'success', ], 'RequestId' => [ 'title' => '请求id', 'description' => '', 'type' => 'string', 'example' => '844BA5CE-E30A-53CB-8A11-DE1F344C846D', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'InvalidParameter', 'errorMessage' => 'The request parameter is invalid', ], ], 500 => [ [ 'errorCode' => 'ServerError', 'errorMessage' => 'internal server error', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"StatusCode\\": 200,\\n \\"Result\\": true,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"844BA5CE-E30A-53CB-8A11-DE1F344C846D\\"\\n}","type":"json"}]', ], 'DeleteRcuScene' => [ 'summary' => '删除酒店自定义rcu场景', 'path' => '/v1.0/ip/deleteRcuScene', 'methods' => [ 'post', ], 'schemes' => [ 'https', 'http', ], 'security' => [ [ 'AliGenie_Auth_SPI' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'deprecated' => false, 'systemTags' => [], 'parameters' => [ [ 'name' => 'HotelId', 'in' => 'formData', 'schema' => [ 'title' => '酒店id', 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'a7a3***013', ], ], [ 'name' => 'SceneId', 'in' => 'formData', 'schema' => [ 'title' => '场景编码', 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'yoga', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Result', 'description' => 'Result', 'type' => 'object', 'properties' => [ 'StatusCode' => [ 'title' => '调用返回码,除约定的SUCCESS_CODE外,其余由服务提供者自定义', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'Result' => [ 'title' => '服务的实际返回结果', 'description' => '', 'type' => 'boolean', 'example' => 'true', ], 'Message' => [ 'title' => '附加信息,典型应用场景是对失败调用进行简述,方便调用方定位问题', 'description' => '', 'type' => 'string', 'example' => 'success', ], 'RequestId' => [ 'description' => '', 'type' => 'string', 'example' => '4F61A7B7-409C-525D-AFDB-238A4E88925A', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'InvalidParameter', 'errorMessage' => 'The request parameter is invalid', ], ], 500 => [ [ 'errorCode' => 'ServerError', 'errorMessage' => 'internal server error', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"StatusCode\\": 200,\\n \\"Result\\": true,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"4F61A7B7-409C-525D-AFDB-238A4E88925A\\"\\n}","type":"json"}]', ], 'UpdateRcuScene' => [ 'summary' => '修改酒店自定义rcu场景', 'path' => '/v1.0/ip/updateRcuScene', 'methods' => [ 'post', ], 'schemes' => [ 'https', 'http', ], 'security' => [ [ 'AliGenie_Auth_SPI' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'deprecated' => false, 'systemTags' => [], 'parameters' => [ [ 'name' => 'HotelId', 'in' => 'formData', 'schema' => [ 'title' => '酒店id', 'description' => '', 'type' => 'string', 'required' => true, 'example' => '520a0c0***5eb', ], ], [ 'name' => 'SceneId', 'in' => 'formData', 'schema' => [ 'title' => '场景编码', 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'yoga', ], ], [ 'name' => 'SceneRelationExtDTO', 'in' => 'formData', 'style' => 'json', 'schema' => [ 'title' => '酒店RCU自定义场景', 'description' => '', 'type' => 'object', 'properties' => [ 'Name' => [ 'title' => '场景名称', 'description' => '', 'type' => 'string', 'required' => false, 'example' => '', ], 'Icon' => [ 'title' => '场景图标', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'https://ailabsaicloudservice.alicdn.com/hotel/icon/changjingmoshi/shuimian.png', ], 'Description' => [ 'title' => '场景描述信息', 'description' => '', 'type' => 'string', 'required' => false, 'example' => '', ], 'CorpusList' => [ 'title' => '触发语料', 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => '', ], 'required' => false, ], ], 'required' => true, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Result', 'description' => 'Result', 'type' => 'object', 'properties' => [ 'StatusCode' => [ 'title' => '调用返回码,除约定的SUCCESS_CODE外,其余由服务提供者自定义', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'Result' => [ 'title' => '服务的实际返回结果', 'description' => '', 'type' => 'boolean', 'example' => 'true', ], 'Message' => [ 'title' => '附加信息,典型应用场景是对失败调用进行简述,方便调用方定位问题', 'description' => '', 'type' => 'string', 'example' => 'success', ], 'RequestId' => [ 'description' => '', 'type' => 'string', 'example' => '3A680F3A-6672-5A47-AB28-12BBCD80C679', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'InvalidParameter', 'errorMessage' => 'The request parameter is invalid', ], ], 500 => [ [ 'errorCode' => 'ServerError', 'errorMessage' => 'internal server error', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"StatusCode\\": 200,\\n \\"Result\\": true,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"3A680F3A-6672-5A47-AB28-12BBCD80C679\\"\\n}","type":"json"}]', ], 'ExecuteScene' => [ 'summary' => '控制房间场景', 'path' => '/v1.0/ip/executeScene', 'methods' => [ 'post', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AliGenie_Auth_SPI' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', ], 'parameters' => [ [ 'name' => 'HotelId', 'in' => 'formData', 'schema' => [ 'title' => '酒店id', 'description' => '', 'type' => 'string', 'required' => true, 'example' => '80d84ea8ed9e422fbad52715c8fc56f1', ], ], [ 'name' => 'RoomNo', 'in' => 'formData', 'schema' => [ 'title' => '房间号', 'description' => '', 'type' => 'string', 'required' => true, 'example' => '1211', ], ], [ 'name' => 'SceneName', 'in' => 'formData', 'schema' => [ 'title' => '场景名称', 'description' => '', 'type' => 'string', 'required' => true, 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Result', 'description' => 'Result', 'type' => 'object', 'properties' => [ 'StatusCode' => [ 'title' => '调用返回码,除约定的SUCCESS_CODE外,其余由服务提供者自定义', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'Code' => [ 'title' => '调用返回码 pop返回使用', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'Result' => [ 'title' => '服务的实际返回结果', 'description' => '', 'type' => 'boolean', 'example' => 'true', ], 'Message' => [ 'title' => '附加信息,典型应用场景是对失败调用进行简述,方便调用方定位问题', 'description' => '', 'type' => 'string', 'example' => 'success', ], 'RequestId' => [ 'description' => '', 'type' => 'string', 'example' => '191C79AD-F9F9-531E-B8C1-73DF6433B920', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'InvalidParameter', 'errorMessage' => 'The request parameter is invalid', ], ], 500 => [ [ 'errorCode' => 'ServerError', 'errorMessage' => 'internal server error', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"StatusCode\\": 200,\\n \\"Code\\": 200,\\n \\"Result\\": true,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"191C79AD-F9F9-531E-B8C1-73DF6433B920\\"\\n}","type":"json"}]', ], 'QuerySceneList' => [ 'summary' => '查询酒店场景列表', 'path' => '/v1.0/ip/querySceneList', 'methods' => [ 'post', ], 'schemes' => [ 'https', 'http', ], 'security' => [ [ 'AliGenie_Auth_SPI' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'deprecated' => false, 'systemTags' => [], 'parameters' => [ [ 'name' => 'HotelId', 'in' => 'formData', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'af7***536', ], ], [ 'name' => 'SceneTypes', 'in' => 'formData', 'style' => 'json', 'schema' => [ 'title' => '场景集合传递(公共:common;自定义:custom)', 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'common', ], 'required' => false, ], ], [ 'name' => 'SceneStates', 'in' => 'formData', 'style' => 'json', 'schema' => [ 'title' => '场景状态集合传递(1-已关联,0-未关联)', 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', ], 'required' => false, ], ], [ 'name' => 'TemplateInfoIds', 'in' => 'formData', 'style' => 'json', 'schema' => [ 'title' => '房型id', 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => '999', ], 'required' => false, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Result>', 'description' => 'Result>', 'type' => 'object', 'properties' => [ 'StatusCode' => [ 'title' => '调用返回码,除约定的SUCCESS_CODE外,其余由服务提供者自定义', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'Results' => [ 'title' => '服务的实际返回结果', 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'SceneId' => [ 'title' => '场景id', 'description' => '', 'type' => 'string', 'example' => '73', ], 'SceneName' => [ 'title' => '场景名称', 'description' => '', 'type' => 'string', 'example' => '', ], 'Icon' => [ 'title' => '场景图标', 'description' => '', 'type' => 'string', 'example' => 'https://ailabsaicloudservice.alicdn.com/hotel/icon/changjingmoshi/shuimian.png', ], 'SceneSource' => [ 'title' => '场景来源;场景来源;精灵(genie)、外部(external)', 'description' => '', 'type' => 'string', 'example' => 'external', ], 'SceneType' => [ 'title' => '场景类型:公共:common;自定义:custom', 'description' => '', 'type' => 'string', 'example' => 'common', ], 'SceneState' => [ 'title' => '场景与房型的关联状态(1-已关联,0-未关联,-1-不可关联)', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '1', ], 'UnavailableReason' => [ 'title' => '场景与房型的关联状态为-1(不可关联)的原因', 'description' => '', 'type' => 'string', 'example' => '', ], 'TemplateInfoDTOList' => [ 'title' => '关联的房型', 'description' => '', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'Id' => [ 'title' => '房型id', 'description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '6962', ], 'Name' => [ 'title' => '房型名称', 'description' => '', 'type' => 'string', 'example' => '101', ], 'Description' => [ 'title' => '描述', 'description' => '', 'type' => 'string', 'example' => '', ], ], ], ], ], ], ], 'Message' => [ 'title' => '附加信息,典型应用场景是对失败调用进行简述,方便调用方定位问题', 'description' => '', 'type' => 'string', 'example' => 'success', ], 'RequestId' => [ 'title' => '请求id', 'description' => '', 'type' => 'string', 'example' => 'FAFCD152-4791-5F2F-B0BE-2DC06FD4F05B', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'InvalidParameter', 'errorMessage' => 'The request parameter is invalid', ], ], 500 => [ [ 'errorCode' => 'ServerError', 'errorMessage' => 'internal server error', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"StatusCode\\": 200,\\n \\"Results\\": [\\n {\\n \\"SceneId\\": \\"73\\",\\n \\"SceneName\\": \\"睡眠模式\\",\\n \\"Icon\\": \\"https://ailabsaicloudservice.alicdn.com/hotel/icon/changjingmoshi/shuimian.png\\",\\n \\"SceneSource\\": \\"external\\",\\n \\"SceneType\\": \\"common\\",\\n \\"SceneState\\": 1,\\n \\"UnavailableReason\\": \\"不可关联\\",\\n \\"TemplateInfoDTOList\\": [\\n {\\n \\"Id\\": 6962,\\n \\"Name\\": \\"101\\",\\n \\"Description\\": \\"房型描述\\"\\n }\\n ]\\n }\\n ],\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"FAFCD152-4791-5F2F-B0BE-2DC06FD4F05B\\"\\n}","type":"json"}]', ], 'QueryRoomStatus' => [ 'summary' => '查询房态信息', 'path' => '/v1.0/ip/queryRoomStatus', 'methods' => [ 'post', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AliGenie_Auth_SPI' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', ], 'parameters' => [ [ 'name' => 'HotelId', 'in' => 'formData', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'cf2446fc9d144c85aaee4f9ae20a96e7', ], ], [ 'name' => 'RoomNo', 'in' => 'formData', 'schema' => [ 'title' => '房间号', 'description' => '', 'type' => 'string', 'required' => false, 'example' => '1211', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Result', 'description' => 'Result', 'type' => 'object', 'properties' => [ 'StatusCode' => [ 'title' => '调用返回码,除约定的SUCCESS_CODE外,其余由服务提供者自定义', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'Code' => [ 'title' => '调用返回码 pop返回使用', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'Result' => [ 'title' => '服务的实际返回结果', 'description' => '', 'type' => 'object', 'properties' => [ 'HotelId' => [ 'title' => '酒店id', 'description' => '', 'type' => 'string', 'example' => 'cf2446fc9d144c85aaee4f9ae20a96e7', ], 'RoomNo' => [ 'title' => '房间号', 'description' => '', 'type' => 'string', 'example' => '1211', ], 'StatusList' => [ 'title' => '房态属性内容', 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'StatusName' => [ 'description' => '', 'type' => 'string', 'example' => '', ], 'StatusValue' => [ 'description' => '', 'type' => 'string', 'example' => '', ], 'UpdateTime' => [ 'description' => '', 'type' => 'string', 'example' => 'Thu Jan 09 13:56:51 CST 2025', ], ], ], ], 'SceneList' => [ 'title' => '房间场景', 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'SceneName' => [ 'description' => '', 'type' => 'string', 'example' => '', ], ], ], ], ], ], 'Message' => [ 'title' => '附加信息,典型应用场景是对失败调用进行简述,方便调用方定位问题', 'description' => '', 'type' => 'string', 'example' => 'success', ], 'RequestId' => [ 'description' => '', 'type' => 'string', 'example' => 'FAFCD152-4791-5F2F-B0BE-2DC06FD4F05B', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'InvalidParameter', 'errorMessage' => 'The request parameter is invalid', ], ], 500 => [ [ 'errorCode' => 'ServerError', 'errorMessage' => 'internal server error', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"StatusCode\\": 200,\\n \\"Code\\": 200,\\n \\"Result\\": {\\n \\"HotelId\\": \\"cf2446fc9d144c85aaee4f9ae20a96e7\\",\\n \\"RoomNo\\": \\"1211\\",\\n \\"StatusList\\": [\\n {\\n \\"StatusName\\": \\"清理模式:mur\\\\n勿扰模式:dnd \\\\nsos呼叫:sos\\\\ndoorStatus:门状态\\\\nstateOfMagneticInduction:插卡取电状态\\\\nwifiStatus:房间联网状态\\\\nroomPowerState:房间上电状态 1上电 0断电\\\\nroomEcoMode:房间节能模式 1节能模式下 0非节能模式\\",\\n \\"StatusValue\\": \\"true 打开\\\\nfalse 关闭\\",\\n \\"UpdateTime\\": \\"Thu Jan 09 13:56:51 CST 2025\\"\\n }\\n ],\\n \\"SceneList\\": [\\n {\\n \\"SceneName\\": \\"睡眠模式\\"\\n }\\n ]\\n },\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"FAFCD152-4791-5F2F-B0BE-2DC06FD4F05B\\"\\n}","type":"json"}]', ], 'QueryRoomControlDevicesAndStatus' => [ 'summary' => '查询房间被控设备包含设备状态', 'path' => '/v1.0/ip/queryRoomControlDevicesAndStatus', 'methods' => [ 'post', ], 'schemes' => [ 'https', ], 'security' => [ [ 'AliGenie_Auth_SPI' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', ], 'parameters' => [ [ 'name' => 'HotelId', 'in' => 'formData', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => ' '."\n" .'af7***536'."\n", ], ], [ 'name' => 'RoomNo', 'in' => 'formData', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => '1211'."\n", ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Result>', 'description' => 'Result>', 'type' => 'object', 'properties' => [ 'StatusCode' => [ 'title' => '调用返回码,除约定的SUCCESS_CODE外,其余由服务提供者自定义', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'Code' => [ 'title' => '调用返回码 pop返回使用', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'Result' => [ 'title' => '服务的实际返回结果', 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'RoomNo' => [ 'description' => '', 'type' => 'string', 'example' => '1211', ], 'Location' => [ 'title' => '*', 'description' => '', 'type' => 'string', 'example' => 'room', ], 'LocationName' => [ 'title' => '位置中文', 'description' => '', 'type' => 'string', 'example' => '', ], 'Devices' => [ 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'ConnectType' => [ 'title' => '设备连接类型', 'description' => '', 'type' => 'string', 'example' => 'rcu', ], 'Name' => [ 'title' => '品类英文', 'description' => '', 'type' => 'string', 'example' => 'light', ], 'Number' => [ 'title' => '设备唯一标识', 'description' => '', 'type' => 'string', 'example' => 'night_light', ], 'DeviceName' => [ 'description' => '', 'type' => 'string', 'example' => '', ], 'Brand' => [ 'title' => '红外参数', 'description' => '', 'type' => 'string', 'example' => '', ], 'ServiceProvider' => [ 'description' => '', 'type' => 'string', 'example' => '', ], 'Province' => [ 'description' => '', 'type' => 'string', 'example' => '', ], 'City' => [ 'description' => '', 'type' => 'string', 'example' => '', ], 'InfraredIndex' => [ 'description' => '', 'type' => 'string', 'example' => '2', ], 'InfraredId' => [ 'description' => '', 'type' => 'string', 'example' => '9**7', ], 'InfraredVersion' => [ 'description' => '', 'type' => 'string', 'example' => '3.0', ], 'Pk' => [ 'title' => 'mesh 设备参数', 'description' => '', 'type' => 'string', 'example' => '50255129', ], 'Dn' => [ 'description' => '', 'type' => 'string', 'example' => '3c5d***9ec', ], 'DeviceStatus' => [ 'title' => '设备状态', 'description' => '', 'type' => 'string', 'example' => '{"powerstate": "1"}', ], 'MultiKeySwitchExt' => [ 'title' => '多键开关子设备信息', 'description' => '', 'type' => 'object', 'properties' => [ 'SwitchList' => [ 'title' => '开关按键列表', 'description' => '', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'Category' => [ 'title' => '关联的设备品类英文名', 'description' => '', 'type' => 'string', 'example' => 'light', ], 'Location' => [ 'title' => '关联的设备位置', 'description' => '', 'type' => 'string', 'example' => 'room', ], 'DeviceName' => [ 'title' => '关联的设备别名', 'description' => '', 'type' => 'string', 'example' => '', ], 'AliasList' => [ 'title' => '设备别名', 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'string', 'example' => '', ], ], 'DeviceIndex' => [ 'title' => '设备序号', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '1', ], 'ElementCode' => [ 'title' => 'iot 多 element 设备的序号', 'description' => '', 'type' => 'string', 'example' => 'e2', ], 'DeviceStatus' => [ 'title' => '子设备状态', 'description' => '', 'type' => 'string', 'example' => '{'."\n" .' "powerstate": "0"'."\n" .'}', ], 'Tags' => [ 'title' => '子设备标签', 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'string', 'example' => 'SOS', ], ], 'Status' => [ 'title' => '设备物模型状态', 'description' => '', 'type' => 'object', 'additionalProperties' => [ 'type' => 'string', 'description' => '', 'example' => '"doorStatus":{"time":1725347306741,"value":"0"}', ], ], ], ], ], ], ], 'AliasList' => [ 'title' => '设备别名', 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'string', 'example' => '', ], ], 'Status' => [ 'title' => '设备物模型状态', 'description' => '', 'type' => 'object', 'additionalProperties' => [ 'type' => 'string', 'example' => 'onlinestate":{"time":1725347364693,"value":"online"}', 'description' => '', ], ], ], ], ], ], ], ], 'Message' => [ 'title' => '附加信息,典型应用场景是对失败调用进行简述,方便调用方定位问题', 'description' => '', 'type' => 'string', 'example' => 'success', ], 'RequestId' => [ 'description' => '', 'type' => 'string', 'example' => '73C67***6FA'."\n", ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'InvalidParameter', 'errorMessage' => 'The request parameter is invalid', ], ], 500 => [ [ 'errorCode' => 'ServerError', 'errorMessage' => 'internal server error', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"StatusCode\\": 200,\\n \\"Code\\": 200,\\n \\"Result\\": [\\n {\\n \\"RoomNo\\": \\"1211\\",\\n \\"Location\\": \\"room\\",\\n \\"LocationName\\": \\"房间\\",\\n \\"Devices\\": [\\n {\\n \\"ConnectType\\": \\"rcu\\",\\n \\"Name\\": \\"light\\",\\n \\"Number\\": \\"night_light\\",\\n \\"DeviceName\\": \\"小夜灯\\",\\n \\"Brand\\": \\"奥*斯\\",\\n \\"ServiceProvider\\": \\"吉视传媒****\\",\\n \\"Province\\": \\"吉林省\\",\\n \\"City\\": \\"松原市\\",\\n \\"InfraredIndex\\": \\"2\\",\\n \\"InfraredId\\": \\"9**7\\",\\n \\"InfraredVersion\\": \\"3.0\\",\\n \\"Pk\\": \\"50255129\\",\\n \\"Dn\\": \\"3c5d***9ec\\",\\n \\"DeviceStatus\\": \\"{\\\\\\"powerstate\\\\\\": \\\\\\"1\\\\\\"}\\",\\n \\"MultiKeySwitchExt\\": {\\n \\"SwitchList\\": [\\n {\\n \\"Category\\": \\"light\\",\\n \\"Location\\": \\"room\\",\\n \\"DeviceName\\": \\"廊灯\\",\\n \\"AliasList\\": [\\n \\"卫生间灯\\"\\n ],\\n \\"DeviceIndex\\": 1,\\n \\"ElementCode\\": \\"e2\\",\\n \\"DeviceStatus\\": \\"{\\\\n \\\\\\"powerstate\\\\\\": \\\\\\"0\\\\\\"\\\\n}\\",\\n \\"Tags\\": [\\n \\"SOS\\"\\n ],\\n \\"Status\\": {\\n \\"key\\": \\"\\\\\\"doorStatus\\\\\\":{\\\\\\"time\\\\\\":1725347306741,\\\\\\"value\\\\\\":\\\\\\"0\\\\\\"}\\"\\n }\\n }\\n ]\\n },\\n \\"AliasList\\": [\\n \\"卫生间灯\\"\\n ],\\n \\"Status\\": {\\n \\"key\\": \\"onlinestate\\\\\\":{\\\\\\"time\\\\\\":1725347364693,\\\\\\"value\\\\\\":\\\\\\"online\\\\\\"}\\"\\n }\\n }\\n ]\\n }\\n ],\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"73C67***6FA\\\\n\\"\\n}","type":"json"}]', ], 'ListAllProvinces' => [ 'summary' => '查询省份', 'path' => '/v1.0/ip/listAllProvinces', 'methods' => [ 'post', ], 'schemes' => [ 'https', 'http', ], 'security' => [ [ 'AliGenie_Auth_SPI' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'deprecated' => false, 'systemTags' => [], 'parameters' => [], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Result>', 'description' => 'Result>', 'type' => 'object', 'properties' => [ 'StatusCode' => [ 'title' => '调用返回码,除约定的SUCCESS_CODE外,其余由服务提供者自定义', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'Result' => [ 'title' => '服务的实际返回结果', 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'string', 'example' => '', ], ], 'Message' => [ 'title' => '附加信息,典型应用场景是对失败调用进行简述,方便调用方定位问题', 'description' => '', 'type' => 'string', 'example' => 'success', ], 'RequestId' => [ 'description' => '', 'type' => 'string', 'example' => '00534880-4397-5134-B212-1030B7A37C27', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'InvalidParameter', 'errorMessage' => 'The request parameter is invalid', ], ], 500 => [ [ 'errorCode' => 'ServerError', 'errorMessage' => 'internal server error', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"StatusCode\\": 200,\\n \\"Result\\": [\\n \\"浙江省\\"\\n ],\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"00534880-4397-5134-B212-1030B7A37C27\\"\\n}","type":"json"}]', ], 'ListCitiesByProvince' => [ 'summary' => '查询城市', 'path' => '/v1.0/ip/listCitiesByProvince', 'methods' => [ 'post', ], 'schemes' => [ 'https', 'http', ], 'security' => [ [ 'AliGenie_Auth_SPI' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'deprecated' => false, 'systemTags' => [], 'parameters' => [ [ 'name' => 'Province', 'in' => 'formData', 'schema' => [ 'title' => '省份', 'description' => '', 'type' => 'string', 'required' => true, 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Result>', 'description' => 'Result>', 'type' => 'object', 'properties' => [ 'StatusCode' => [ 'title' => '调用返回码,除约定的SUCCESS_CODE外,其余由服务提供者自定义', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'Result' => [ 'title' => '服务的实际返回结果', 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'string', 'example' => '', ], ], 'Message' => [ 'title' => '附加信息,典型应用场景是对失败调用进行简述,方便调用方定位问题', 'description' => '', 'type' => 'string', 'example' => 'success', ], 'RequestId' => [ 'description' => '', 'type' => 'string', 'example' => '860194F7-9593-50EA-8E53-BCEC0D325A00', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'InvalidParameter', 'errorMessage' => 'The request parameter is invalid', ], ], 500 => [ [ 'errorCode' => 'ServerError', 'errorMessage' => 'internal server error', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"StatusCode\\": 200,\\n \\"Result\\": [\\n \\"北京市\\"\\n ],\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"860194F7-9593-50EA-8E53-BCEC0D325A00\\"\\n}","type":"json"}]', ], 'ListSTBServiceProviders' => [ 'summary' => '查询服务提供商', 'path' => '/v1.0/ip/listSTBServiceProviders', 'methods' => [ 'post', ], 'schemes' => [ 'https', 'http', ], 'security' => [ [ 'AliGenie_Auth_SPI' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'deprecated' => false, 'systemTags' => [], 'parameters' => [ [ 'name' => 'Province', 'in' => 'formData', 'schema' => [ 'title' => '省份', 'description' => '', 'type' => 'string', 'required' => true, 'example' => '', ], ], [ 'name' => 'City', 'in' => 'formData', 'schema' => [ 'title' => '城市', 'description' => '', 'type' => 'string', 'required' => true, 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Result>>', 'description' => 'Result>>', 'type' => 'object', 'properties' => [ 'StatusCode' => [ 'title' => '调用返回码,除约定的SUCCESS_CODE外,其余由服务提供者自定义', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'Result' => [ 'title' => '服务的实际返回结果', 'description' => '', 'type' => 'object', 'additionalProperties' => [ 'type' => 'array', 'items' => [ 'type' => 'string', 'description' => '', 'example' => '', ], 'description' => '', ], ], 'Message' => [ 'title' => '附加信息,典型应用场景是对失败调用进行简述,方便调用方定位问题', 'description' => '', 'type' => 'string', 'example' => 'success', ], 'RequestId' => [ 'description' => '', 'type' => 'string', 'example' => '1036C376-7A37-5A73-BE8B-C6DB40107EC1', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'InvalidParameter', 'errorMessage' => 'The request parameter is invalid', ], ], 500 => [ [ 'errorCode' => 'ServerError', 'errorMessage' => 'internal server error', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"StatusCode\\": 200,\\n \\"Result\\": {\\n \\"key\\": [\\n \\"\\\\\\"Z\\\\\\":[\\\\\\"浙江华数\\\\\\"]\\"\\n ]\\n },\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"1036C376-7A37-5A73-BE8B-C6DB40107EC1\\"\\n}","type":"json"}]', ], 'ListInfraredDeviceBrands' => [ 'summary' => '查询红外品牌列表', 'path' => '/v1.0/ip/listInfraredDeviceBrands', 'methods' => [ 'post', ], 'schemes' => [ 'https', 'http', ], 'security' => [ [ 'AliGenie_Auth_SPI' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'deprecated' => false, 'systemTags' => [], 'parameters' => [ [ 'name' => 'Category', 'in' => 'formData', 'schema' => [ 'title' => '设备名称', 'description' => '', 'type' => 'string', 'required' => true, 'example' => '', ], ], [ 'name' => 'ServiceProvider', 'in' => 'formData', 'schema' => [ 'title' => '服务提供商(品类为机顶盒时必传)', 'description' => '', 'type' => 'string', 'required' => false, 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Result>>', 'description' => 'Result>>', 'type' => 'object', 'properties' => [ 'StatusCode' => [ 'title' => '调用返回码,除约定的SUCCESS_CODE外,其余由服务提供者自定义', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'Result' => [ 'title' => '服务的实际返回结果', 'description' => '', 'type' => 'object', 'additionalProperties' => [ 'type' => 'array', 'items' => [ 'type' => 'string', 'description' => '', 'example' => '"A":["Addsion", "Ambassador"]', ], 'description' => '', ], ], 'Message' => [ 'title' => '附加信息,典型应用场景是对失败调用进行简述,方便调用方定位问题', 'description' => '', 'type' => 'string', 'example' => 'success', ], 'RequestId' => [ 'title' => '请求id', 'description' => '', 'type' => 'string', 'example' => '860194F7-9593-50EA-8E53-BCEC0D325A00', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'InvalidParameter', 'errorMessage' => 'The request parameter is invalid', ], ], 500 => [ [ 'errorCode' => 'ServerError', 'errorMessage' => 'internal server error', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"StatusCode\\": 200,\\n \\"Result\\": {\\n \\"key\\": [\\n \\"\\\\\\"A\\\\\\":[\\\\\\"Addsion\\\\\\", \\\\\\"Ambassador\\\\\\"]\\"\\n ]\\n },\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"860194F7-9593-50EA-8E53-BCEC0D325A00\\"\\n}","type":"json"}]', ], 'ListInfraredRemoteControllers' => [ 'summary' => '查询红外码库列表', 'path' => '/v1.0/ip/listInfraredRemoteControllers', 'methods' => [ 'post', ], 'schemes' => [ 'https', 'http', ], 'security' => [ [ 'AliGenie_Auth_SPI' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'deprecated' => false, 'systemTags' => [], 'parameters' => [ [ 'name' => 'HotelId', 'in' => 'formData', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'af7***536', ], ], [ 'name' => 'Province', 'in' => 'formData', 'schema' => [ 'title' => '省份'."\n" .'品类为机顶盒时必传', 'description' => '', 'type' => 'string', 'required' => false, 'example' => '', ], ], [ 'name' => 'City', 'in' => 'formData', 'schema' => [ 'title' => '城市'."\n" .'品类为机顶盒时必传', 'description' => '', 'type' => 'string', 'required' => false, 'example' => '', ], ], [ 'name' => 'Category', 'in' => 'formData', 'schema' => [ 'title' => '品类', 'description' => '', 'type' => 'string', 'required' => true, 'example' => '', ], ], [ 'name' => 'Brand', 'in' => 'formData', 'schema' => [ 'title' => '品牌'."\n" .'品类非机顶盒必填,为机顶盒同时供应商为IPTV时必传', 'description' => '', 'type' => 'string', 'required' => false, 'example' => '', ], ], [ 'name' => 'ServiceProvider', 'in' => 'formData', 'schema' => [ 'title' => '服务提供商'."\n" .'品类为机顶盒时必传', 'description' => '', 'type' => 'string', 'required' => false, 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Result>', 'description' => 'Result>', 'type' => 'object', 'properties' => [ 'StatusCode' => [ 'title' => '调用返回码,除约定的SUCCESS_CODE外,其余由服务提供者自定义', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'Result' => [ 'title' => '服务的实际返回结果', 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'Index' => [ 'title' => '当前索引', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '1', ], 'Rid' => [ 'title' => '遥控器编号', 'description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '3747', ], 'Version' => [ 'title' => '版本信息', 'description' => '', 'type' => 'string', 'example' => '4', ], ], ], ], 'Message' => [ 'title' => '附加信息,典型应用场景是对失败调用进行简述,方便调用方定位问题', 'description' => '', 'type' => 'string', 'example' => 'success', ], 'RequestId' => [ 'title' => '请求id', 'description' => '', 'type' => 'string', 'example' => '0C90A059-3653-5356-A78E-8A6BDA606155', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'InvalidParameter', 'errorMessage' => 'The request parameter is invalid', ], ], 500 => [ [ 'errorCode' => 'ServerError', 'errorMessage' => 'internal server error', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"StatusCode\\": 200,\\n \\"Result\\": [\\n {\\n \\"Index\\": 1,\\n \\"Rid\\": 3747,\\n \\"Version\\": \\"4\\"\\n }\\n ],\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"0C90A059-3653-5356-A78E-8A6BDA606155\\"\\n}","type":"json"}]', ], 'ListCustomQA' => [ 'summary' => '查询自定义问答列表', 'path' => '/v1.0/ip/listCustomQA', 'methods' => [ 'post', ], 'schemes' => [ 'https', 'http', ], 'security' => [ [ 'AliGenie_Auth_SPI' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [], 'parameters' => [ [ 'name' => 'HotelId', 'in' => 'formData', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => '520a0c0***5eb', ], ], [ 'name' => 'Keyword', 'in' => 'formData', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => '***', ], ], [ 'name' => 'Page', 'in' => 'formData', 'style' => 'json', 'schema' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'PageNumber' => [ 'title' => '页码', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1', ], 'PageSize' => [ 'title' => '每页size大小', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '10', ], ], 'required' => true, ], ], ], 'responses' => [ 200 => [ 'headers' => [], 'schema' => [ 'title' => 'PageResult>', 'description' => 'PageResult>', 'type' => 'object', 'properties' => [ 'Page' => [ 'title' => '翻页参数', 'description' => '', 'type' => 'object', 'properties' => [ 'PageNumber' => [ 'title' => '页码', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '1', ], 'PageSize' => [ 'title' => '每页size大小', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '10', ], 'Total' => [ 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '21', ], ], ], 'StatusCode' => [ 'title' => '调用返回码,除约定的SUCCESS_CODE外,其余由服务提供者自定义', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'Result' => [ 'title' => '服务的实际返回结果', 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'CustomQAId' => [ 'title' => 'qaID', 'description' => '', 'type' => 'string', 'example' => '111', ], 'MajorQuestion' => [ 'title' => '主要问题', 'description' => '', 'type' => 'string', 'example' => '***', ], 'SupplementaryQuestion' => [ 'title' => '辅助问题', 'description' => '', 'type' => 'string', 'example' => '22;11', ], 'Answers' => [ 'title' => '回答,多个回答用;隔开', 'description' => '', 'type' => 'string', 'example' => '22;11', ], 'KeyWords' => [ 'title' => '关键字', 'description' => '', 'type' => 'string', 'example' => '22;11', ], 'HotelId' => [ 'title' => '酒店ID', 'description' => '', 'type' => 'string', 'example' => 'a7***83', ], 'UpdateTime' => [ 'title' => '更新时间', 'description' => '', 'type' => 'string', 'example' => '2023-01-10 10:01:59', ], 'CreateTime' => [ 'title' => '创建时间', 'description' => '', 'type' => 'string', 'example' => '2023-01-10 10:01:59', ], 'Status' => [ 'title' => '状态:0,使用中, 1:删除', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'enumValueTitles' => [ '', '', ], 'example' => '0', ], ], ], ], 'Message' => [ 'title' => '附加信息,典型应用场景是对失败调用进行简述,方便调用方定位问题', 'description' => '', 'type' => 'string', 'example' => 'success', ], 'RequestId' => [ 'description' => '', 'type' => 'string', 'example' => '0EC7***726E'."\n", ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'InvalidParameter', 'errorMessage' => 'The request parameter is invalid', ], ], 500 => [ [ 'errorCode' => 'ServerError', 'errorMessage' => 'internal server error', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Page\\": {\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10,\\n \\"Total\\": 21\\n },\\n \\"StatusCode\\": 200,\\n \\"Result\\": [\\n {\\n \\"CustomQAId\\": \\"111\\",\\n \\"MajorQuestion\\": \\"***\\",\\n \\"SupplementaryQuestion\\": \\"22;11\\",\\n \\"Answers\\": \\"22;11\\",\\n \\"KeyWords\\": \\"22;11\\",\\n \\"HotelId\\": \\"a7***83\\",\\n \\"UpdateTime\\": \\"2023-01-10 10:01:59\\",\\n \\"CreateTime\\": \\"2023-01-10 10:01:59\\",\\n \\"Status\\": 0\\n }\\n ],\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"0EC7***726E\\\\n\\"\\n}","type":"json"}]', ], 'AddCustomQA' => [ 'summary' => '新增自定义问答', 'path' => '/v1.0/ip/addCustomQA', 'methods' => [ 'post', ], 'schemes' => [ 'https', 'http', ], 'security' => [ [ 'AliGenie_Auth_SPI' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [], 'parameters' => [ [ 'name' => 'HotelId', 'in' => 'formData', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'a7a3***013', ], ], [ 'name' => 'MajorQuestion', 'in' => 'formData', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => '***', ], ], [ 'name' => 'SupplementaryQuestions', 'in' => 'formData', 'style' => 'json', 'schema' => [ 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => '***', ], 'required' => false, ], ], [ 'name' => 'KeyWords', 'in' => 'formData', 'style' => 'json', 'schema' => [ 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => '***', ], 'required' => false, ], ], [ 'name' => 'Answers', 'in' => 'formData', 'style' => 'json', 'schema' => [ 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => '***', ], 'required' => false, ], ], ], 'responses' => [ 200 => [ 'headers' => [], 'schema' => [ 'title' => 'Result', 'description' => 'Result', 'type' => 'object', 'properties' => [ 'StatusCode' => [ 'title' => '调用返回码,除约定的SUCCESS_CODE外,其余由服务提供者自定义', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'Result' => [ 'title' => '服务的实际返回结果', 'description' => '', 'type' => 'boolean', 'example' => 'true', ], 'Message' => [ 'title' => '附加信息,典型应用场景是对失败调用进行简述,方便调用方定位问题', 'description' => '', 'type' => 'string', 'example' => 'success', ], 'RequestId' => [ 'description' => '', 'type' => 'string', 'example' => '0EC7***726E', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'InvalidParameter', 'errorMessage' => 'The request parameter is invalid', ], ], 500 => [ [ 'errorCode' => 'ServerError', 'errorMessage' => 'internal server error', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"StatusCode\\": 200,\\n \\"Result\\": true,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"0EC7***726E\\"\\n}","type":"json"}]', ], 'AddCustomQAV2' => [ 'summary' => '添加问答V2', 'path' => '/v1.0/ip/addQAV2', 'methods' => [ 'post', ], 'schemes' => [ 'https', 'http', ], 'security' => [ [ 'AliGenie_Auth_SPI' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'deprecated' => false, 'systemTags' => [], 'parameters' => [ [ 'name' => 'HotelId', 'in' => 'formData', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => '520a0c0***5eb', ], ], [ 'name' => 'MajorQuestion', 'in' => 'formData', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => '', ], ], [ 'name' => 'SupplementaryQuestions', 'in' => 'formData', 'style' => 'json', 'schema' => [ 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => '', ], 'required' => false, ], ], [ 'name' => 'KeyWords', 'in' => 'formData', 'style' => 'json', 'schema' => [ 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => '', ], 'required' => false, ], ], [ 'name' => 'Answers', 'in' => 'formData', 'style' => 'json', 'schema' => [ 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => '', ], 'required' => true, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Result', 'description' => 'Result', 'type' => 'object', 'properties' => [ 'StatusCode' => [ 'title' => '调用返回码,除约定的SUCCESS_CODE外,其余由服务提供者自定义', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'RequestId' => [ 'description' => '', 'type' => 'string', 'example' => 'FAFCD152-4791-5F2F-B0BE-2DC06FD4F05B', ], 'Result' => [ 'title' => '服务的实际返回结果', 'description' => '', 'type' => 'object', 'properties' => [ 'QaId' => [ 'title' => 'qaID', 'description' => 'qaID', 'type' => 'string', 'example' => '1', ], 'MajorQuestion' => [ 'title' => '主要问题', 'description' => '', 'type' => 'string', 'example' => '', ], 'SupplementaryQuestion' => [ 'title' => '辅助问题', 'description' => '', 'type' => 'string', 'example' => '', ], 'Answers' => [ 'title' => '回答,多个回答用;隔开', 'description' => '', 'type' => 'string', 'example' => '', ], 'KeyWords' => [ 'title' => '关键字', 'description' => '', 'type' => 'string', 'example' => '', ], 'HotelId' => [ 'title' => '酒店ID', 'description' => '', 'type' => 'string', 'example' => 'a7***83', ], 'UpdateTime' => [ 'title' => '更新时间', 'description' => '', 'type' => 'string', 'example' => '2023-01-10 10:01:59', ], 'CreateTime' => [ 'title' => '创建时间', 'description' => '', 'type' => 'string', 'example' => '2023-01-10 10:01:59', ], 'Status' => [ 'title' => '状态:0,使用中, 1:删除', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '0', ], 'LastOperator' => [ 'title' => '最后操作人', 'description' => '', 'type' => 'string', 'example' => '8xxx9', ], ], ], 'Message' => [ 'title' => '附加信息,典型应用场景是对失败调用进行简述,方便调用方定位问题', 'description' => '', 'type' => 'string', 'example' => 'success', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'InvalidParameter', 'errorMessage' => 'The request parameter is invalid', ], ], 500 => [ [ 'errorCode' => 'ServerError', 'errorMessage' => 'internal server error', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"StatusCode\\": 200,\\n \\"RequestId\\": \\"FAFCD152-4791-5F2F-B0BE-2DC06FD4F05B\\",\\n \\"Result\\": {\\n \\"QaId\\": \\"1\\",\\n \\"MajorQuestion\\": \\"今天天气怎么样\\",\\n \\"SupplementaryQuestion\\": \\"室外温度多少\\",\\n \\"Answers\\": \\"你好,您可以再说一遍吗 不好意思我刚才没有听清\\",\\n \\"KeyWords\\": \\"天气\\",\\n \\"HotelId\\": \\"a7***83\\",\\n \\"UpdateTime\\": \\"2023-01-10 10:01:59\\",\\n \\"CreateTime\\": \\"2023-01-10 10:01:59\\",\\n \\"Status\\": 0,\\n \\"LastOperator\\": \\"8xxx9\\"\\n },\\n \\"Message\\": \\"success\\"\\n}","type":"json"}]', ], 'UpdateCustomQA' => [ 'summary' => '修改自定义问答', 'path' => '/v1.0/ip/updateCustomQA', 'methods' => [ 'post', ], 'schemes' => [ 'https', 'http', ], 'security' => [ [ 'AliGenie_Auth_SPI' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [], 'parameters' => [ [ 'name' => 'CustomQAId', 'in' => 'formData', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => '1', ], ], [ 'name' => 'HotelId', 'in' => 'formData', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'af7***536', ], ], [ 'name' => 'MajorQuestion', 'in' => 'formData', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => '***', ], ], [ 'name' => 'SupplementaryQuestions', 'in' => 'formData', 'style' => 'json', 'schema' => [ 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => '***', ], 'required' => false, ], ], [ 'name' => 'KeyWords', 'in' => 'formData', 'style' => 'json', 'schema' => [ 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => '***', ], 'required' => false, ], ], [ 'name' => 'Answers', 'in' => 'formData', 'style' => 'json', 'schema' => [ 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => '***', ], 'required' => false, ], ], ], 'responses' => [ 200 => [ 'headers' => [], 'schema' => [ 'title' => 'Result', 'description' => 'Result', 'type' => 'object', 'properties' => [ 'StatusCode' => [ 'title' => '调用返回码,除约定的SUCCESS_CODE外,其余由服务提供者自定义', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'Result' => [ 'title' => '服务的实际返回结果', 'description' => '', 'type' => 'boolean', 'example' => 'true', ], 'Message' => [ 'title' => '附加信息,典型应用场景是对失败调用进行简述,方便调用方定位问题', 'description' => '', 'type' => 'string', 'example' => 'success', ], 'RequestId' => [ 'description' => '', 'type' => 'string', 'example' => '73C6***BB3E6FA', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'InvalidParameter', 'errorMessage' => 'The request parameter is invalid', ], ], 500 => [ [ 'errorCode' => 'ServerError', 'errorMessage' => 'internal server error', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"StatusCode\\": 200,\\n \\"Result\\": true,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"73C6***BB3E6FA\\"\\n}","type":"json"}]', ], 'DeleteCustomQA' => [ 'summary' => '删除自定义问答', 'path' => '/v1.0/ip/deleteCustomQA', 'methods' => [ 'post', ], 'schemes' => [ 'https', 'http', ], 'security' => [ [ 'AliGenie_Auth_SPI' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [], 'parameters' => [ [ 'name' => 'CustomQAIds', 'in' => 'formData', 'style' => 'json', 'schema' => [ 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => '11', ], 'required' => false, ], ], [ 'name' => 'HotelId', 'in' => 'formData', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'a7a3***013', ], ], ], 'responses' => [ 200 => [ 'headers' => [], 'schema' => [ 'title' => 'Result', 'description' => 'Result', 'type' => 'object', 'properties' => [ 'StatusCode' => [ 'title' => '调用返回码,除约定的SUCCESS_CODE外,其余由服务提供者自定义', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'Result' => [ 'title' => '服务的实际返回结果', 'description' => '', 'type' => 'boolean', 'example' => 'true', ], 'Message' => [ 'title' => '附加信息,典型应用场景是对失败调用进行简述,方便调用方定位问题', 'description' => '', 'type' => 'string', 'example' => 'success', ], 'RequestId' => [ 'description' => '', 'type' => 'string', 'example' => '73C6***E6FA', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'InvalidParameter', 'errorMessage' => 'The request parameter is invalid', ], ], 500 => [ [ 'errorCode' => 'ServerError', 'errorMessage' => 'internal server error', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"StatusCode\\": 200,\\n \\"Result\\": true,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"73C6***E6FA\\"\\n}","type":"json"}]', ], 'GetBasicInfoQA' => [ 'summary' => '获取基础信息问答', 'path' => '/v1.0/ip/getBasicInfoQA', 'methods' => [ 'post', ], 'schemes' => [ 'https', 'http', ], 'security' => [ [ 'AliGenie_Auth_SPI' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [], 'parameters' => [ [ 'name' => 'HotelId', 'in' => 'formData', 'schema' => [ 'title' => '酒店id', 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'a7***83', ], ], ], 'responses' => [ 200 => [ 'headers' => [], 'schema' => [ 'title' => 'Result', 'description' => 'Result', 'type' => 'object', 'properties' => [ 'StatusCode' => [ 'title' => '调用返回码,除约定的SUCCESS_CODE外,其余由服务提供者自定义', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'Result' => [ 'title' => '服务的实际返回结果', 'description' => '', 'type' => 'object', 'properties' => [ 'HotelAddress' => [ 'title' => '酒店地址', 'description' => '', 'type' => 'string', 'example' => '', ], 'PhoneNumber' => [ 'title' => '前台电话', 'description' => '', 'type' => 'string', 'example' => '123***', ], 'CheckInTime' => [ 'title' => '入住时间 格式xx:xx 时分', 'description' => '', 'type' => 'string', 'example' => '11:11', ], 'CheckOutTime' => [ 'title' => '退房时间', 'description' => '', 'type' => 'string', 'example' => '11:11', ], 'WifiName' => [ 'title' => 'wifi名称', 'description' => '', 'type' => 'string', 'example' => '', ], 'WifiPassword' => [ 'title' => 'wifi密码', 'description' => '', 'type' => 'string', 'example' => '', ], 'HotelMember' => [ 'title' => '酒店会员相关介绍', 'description' => '', 'type' => 'string', 'example' => '', ], 'HotelService' => [ 'title' => '酒店特色服务相关介绍', 'description' => '', 'type' => 'string', 'example' => '', ], 'HotelIntroduction' => [ 'title' => '酒店介绍', 'description' => '', 'type' => 'string', 'example' => '', ], 'ParkingPosition' => [ 'title' => '停车场位置', 'description' => '', 'type' => 'string', 'example' => '', ], 'ParkingExpenses' => [ 'title' => '停车费用,免费停车/收费停车', 'description' => '', 'type' => 'string', 'enumValueTitles' => [ '收费停车' => '', '免费停车' => '', ], 'example' => '', 'enum' => [], ], ], ], 'Message' => [ 'title' => '附加信息,典型应用场景是对失败调用进行简述,方便调用方定位问题', 'description' => '', 'type' => 'string', 'example' => 'success', ], 'RequestId' => [ 'description' => '', 'type' => 'string', 'example' => '0EC7***726E', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'InvalidParameter', 'errorMessage' => 'The request parameter is invalid', ], ], 500 => [ [ 'errorCode' => 'ServerError', 'errorMessage' => 'internal server error', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"StatusCode\\": 200,\\n \\"Result\\": {\\n \\"HotelAddress\\": \\"杭州市***\\",\\n \\"PhoneNumber\\": \\"123***\\",\\n \\"CheckInTime\\": \\"11:11\\",\\n \\"CheckOutTime\\": \\"11:11\\",\\n \\"WifiName\\": \\"名称***\\",\\n \\"WifiPassword\\": \\"密码***\\",\\n \\"HotelMember\\": \\"会员***\\\\n\\",\\n \\"HotelService\\": \\"服务***\\",\\n \\"HotelIntroduction\\": \\"酒店***\\",\\n \\"ParkingPosition\\": \\"杭州市***\\",\\n \\"ParkingExpenses\\": \\"免费停车\\"\\n },\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"0EC7***726E\\"\\n}","type":"json"}]', ], 'UpdateBasicInfoQA' => [ 'summary' => '修改基础信息问答', 'path' => '/v1.0/ip/updateBasicInfoQA', 'methods' => [ 'post', ], 'schemes' => [ 'https', 'http', ], 'security' => [ [ 'AliGenie_Auth_SPI' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [], 'parameters' => [ [ 'name' => 'HotelId', 'in' => 'formData', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'af7***536'."\n", ], ], [ 'name' => 'HotelAddress', 'in' => 'formData', 'schema' => [ 'title' => '酒店地址', 'description' => '', 'type' => 'string', 'required' => true, 'example' => '', ], ], [ 'name' => 'PhoneNumber', 'in' => 'formData', 'schema' => [ 'title' => '前台电话', 'description' => '', 'type' => 'string', 'required' => true, 'example' => '123***', ], ], [ 'name' => 'CheckInTime', 'in' => 'formData', 'schema' => [ 'title' => '入住时间 格式xx:xx 时分', 'description' => '', 'type' => 'string', 'required' => true, 'example' => '11:11'."\n", ], ], [ 'name' => 'CheckOutTime', 'in' => 'formData', 'schema' => [ 'title' => '退房时间', 'description' => '', 'type' => 'string', 'required' => true, 'example' => '11:11', ], ], [ 'name' => 'WifiName', 'in' => 'formData', 'schema' => [ 'title' => 'wifi名称', 'description' => '', 'type' => 'string', 'required' => true, 'example' => '', ], ], [ 'name' => 'WifiPassword', 'in' => 'formData', 'schema' => [ 'title' => 'wifi密码', 'description' => '', 'type' => 'string', 'required' => true, 'example' => '', ], ], [ 'name' => 'HotelMember', 'in' => 'formData', 'schema' => [ 'title' => '酒店会员相关介绍', 'description' => '', 'type' => 'string', 'required' => false, 'example' => '', ], ], [ 'name' => 'HotelService', 'in' => 'formData', 'schema' => [ 'title' => '酒店特色服务相关介绍', 'description' => '', 'type' => 'string', 'required' => false, 'example' => '', ], ], [ 'name' => 'HotelIntroduction', 'in' => 'formData', 'schema' => [ 'title' => '酒店介绍', 'description' => '', 'type' => 'string', 'required' => false, 'example' => '', ], ], [ 'name' => 'ParkingPosition', 'in' => 'formData', 'schema' => [ 'title' => '停车场位置', 'description' => '', 'type' => 'string', 'required' => true, 'example' => '', ], ], [ 'name' => 'ParkingExpenses', 'in' => 'formData', 'schema' => [ 'title' => '停车费用,免费停车/收费停车', 'description' => '', 'type' => 'string', 'required' => true, 'example' => '', 'enum' => [ '免费停车', '收费停车', ], ], ], ], 'responses' => [ 200 => [ 'headers' => [], 'schema' => [ 'title' => 'Result', 'description' => 'Result', 'type' => 'object', 'properties' => [ 'StatusCode' => [ 'title' => '调用返回码,除约定的SUCCESS_CODE外,其余由服务提供者自定义', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'Result' => [ 'title' => '服务的实际返回结果', 'description' => '', 'type' => 'boolean', 'example' => 'true', ], 'Message' => [ 'title' => '附加信息,典型应用场景是对失败调用进行简述,方便调用方定位问题', 'description' => '', 'type' => 'string', 'example' => 'success', ], 'RequestId' => [ 'description' => '', 'type' => 'string', 'example' => '0EC7***726E'."\n", ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'InvalidParameter', 'errorMessage' => 'The request parameter is invalid', ], ], 500 => [ [ 'errorCode' => 'ServerError', 'errorMessage' => 'internal server error', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"StatusCode\\": 200,\\n \\"Result\\": true,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"0EC7***726E\\\\n\\"\\n}","type":"json"}]', ], 'ListServiceQA' => [ 'summary' => '查询服务设施问答列表', 'path' => '/v1.0/ip/listServiceQA', 'methods' => [ 'post', ], 'schemes' => [ 'https', 'http', ], 'security' => [ [ 'AliGenie_Auth_SPI' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [], 'parameters' => [ [ 'name' => 'HotelId', 'in' => 'formData', 'schema' => [ 'title' => '酒店id', 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'a7***83', ], ], [ 'name' => 'Active', 'in' => 'formData', 'schema' => [ 'title' => '是否激活', 'description' => '', 'type' => 'boolean', 'required' => false, 'enumValueTitles' => [ 'true' => '', 'false' => '', ], 'example' => 'true', ], ], [ 'name' => 'Keyword', 'in' => 'formData', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => '***', ], ], [ 'name' => 'Page', 'in' => 'formData', 'style' => 'json', 'schema' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'PageNumber' => [ 'description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', ], 'PageSize' => [ 'description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', ], ], 'required' => false, ], ], ], 'responses' => [ 200 => [ 'headers' => [], 'schema' => [ 'title' => 'PageResult>', 'description' => 'PageResult>', 'type' => 'object', 'properties' => [ 'Page' => [ 'title' => '翻页参数', 'description' => '', 'type' => 'object', 'properties' => [ 'PageNumber' => [ 'title' => '页码', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '1', ], 'PageSize' => [ 'title' => '每页size大小', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '10', ], 'Total' => [ 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '12', ], ], ], 'StatusCode' => [ 'title' => '调用返回码,除约定的SUCCESS_CODE外,其余由服务提供者自定义', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'Result' => [ 'title' => '服务的实际返回结果', 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'ServiceQAId' => [ 'title' => '通用问答信息', 'description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '1', ], 'Question' => [ 'title' => '问题', 'description' => '', 'type' => 'string', 'example' => '', ], 'Answer' => [ 'title' => '答案', 'description' => '', 'type' => 'string', 'example' => '***', ], 'GmtModified' => [ 'title' => '更新时间', 'description' => '', 'type' => 'string', 'example' => '2022-07-27 14:06:27'."\n", ], 'Active' => [ 'title' => '是否启用', 'description' => '', 'type' => 'boolean', 'example' => 'true', ], 'Templates' => [ 'title' => '例句列表', 'description' => '', 'type' => 'string', 'example' => '', ], ], ], ], 'Message' => [ 'title' => '附加信息,典型应用场景是对失败调用进行简述,方便调用方定位问题', 'description' => '', 'type' => 'string', 'example' => 'success', ], 'RequestId' => [ 'description' => '', 'type' => 'string', 'example' => '0EC7***726E', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'InvalidParameter', 'errorMessage' => 'The request parameter is invalid', ], ], 500 => [ [ 'errorCode' => 'ServerError', 'errorMessage' => 'internal server error', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Page\\": {\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10,\\n \\"Total\\": 12\\n },\\n \\"StatusCode\\": 200,\\n \\"Result\\": [\\n {\\n \\"ServiceQAId\\": 1,\\n \\"Question\\": \\"测试文本\\\\n\\",\\n \\"Answer\\": \\"***\\",\\n \\"GmtModified\\": \\"2022-07-27 14:06:27\\\\n\\",\\n \\"Active\\": true,\\n \\"Templates\\": \\"酒店有提供送餐服务吗;酒店能送餐吗;酒店送餐怎么收费\\\\n\\"\\n }\\n ],\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"0EC7***726E\\"\\n}","type":"json"}]', ], 'UpdateServiceQA' => [ 'summary' => '修改服务设施问答', 'path' => '/v1.0/ip/updateServiceQA', 'methods' => [ 'post', ], 'schemes' => [ 'https', 'http', ], 'security' => [ [ 'AliGenie_Auth_SPI' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [], 'parameters' => [ [ 'name' => 'HotelId', 'in' => 'formData', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'af7***536', ], ], [ 'name' => 'ServiceQAId', 'in' => 'formData', 'schema' => [ 'title' => '通用问答信息', 'description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1', ], ], [ 'name' => 'Answer', 'in' => 'formData', 'schema' => [ 'title' => '答案', 'description' => '', 'type' => 'string', 'required' => false, 'example' => '', ], ], [ 'name' => 'isActive', 'in' => 'formData', 'schema' => [ 'title' => '是否启用', 'description' => '', 'type' => 'boolean', 'required' => false, 'enumValueTitles' => [ 'true' => '', 'false' => '', ], 'example' => 'true', ], ], ], 'responses' => [ 200 => [ 'headers' => [], 'schema' => [ 'title' => 'Result', 'description' => 'Result', 'type' => 'object', 'properties' => [ 'StatusCode' => [ 'title' => '调用返回码,除约定的SUCCESS_CODE外,其余由服务提供者自定义', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'Result' => [ 'title' => '服务的实际返回结果', 'description' => '', 'type' => 'boolean', 'example' => 'true', ], 'Message' => [ 'title' => '附加信息,典型应用场景是对失败调用进行简述,方便调用方定位问题', 'description' => '', 'type' => 'string', 'example' => 'success', ], 'RequestId' => [ 'description' => '', 'type' => 'string', 'example' => '73C67***6FA'."\n", ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'InvalidParameter', 'errorMessage' => 'The request parameter is invalid', ], ], 500 => [ [ 'errorCode' => 'ServerError', 'errorMessage' => 'internal server error', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"StatusCode\\": 200,\\n \\"Result\\": true,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"73C67***6FA\\\\n\\"\\n}","type":"json"}]', ], 'AddCartoon' => [ 'summary' => '添加动画', 'path' => '/v1.0/ip/addCartoon', 'methods' => [ 'post', ], 'schemes' => [ 'https', 'http', ], 'security' => [ [ 'AliGenie_Auth_SPI' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [], 'parameters' => [ [ 'name' => 'HotelId', 'in' => 'formData', 'schema' => [ 'title' => '酒店id', 'description' => '', 'type' => 'string', 'required' => true, 'example' => '520a0***eb', ], ], [ 'name' => 'StartVideoUrl', 'in' => 'formData', 'schema' => [ 'title' => '开机动画url', 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'https://***.mp4', ], ], [ 'name' => 'StartVideoMd5', 'in' => 'formData', 'schema' => [ 'title' => '开机动画md5', 'description' => '', 'type' => 'string', 'required' => true, 'example' => '40c804***697', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Result', 'description' => 'Result', 'type' => 'object', 'properties' => [ 'StatusCode' => [ 'title' => '调用返回码,除约定的SUCCESS_CODE外,其余由服务提供者自定义', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'Result' => [ 'title' => '服务的实际返回结果', 'description' => '', 'type' => 'boolean', 'example' => 'true', ], 'Message' => [ 'title' => '附加信息,典型应用场景是对失败调用进行简述,方便调用方定位问题', 'description' => '', 'type' => 'string', 'example' => 'success', ], 'RequestId' => [ 'description' => '', 'type' => 'string', 'example' => '0EC7*726E'."\n", ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'InvalidParameter', 'errorMessage' => 'The request parameter is invalid', ], ], 500 => [ [ 'errorCode' => 'ServerError', 'errorMessage' => 'internal server error', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"StatusCode\\": 200,\\n \\"Result\\": true,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"0EC7*726E\\\\n\\"\\n}","type":"json"}]', ], 'GetCartoon' => [ 'summary' => '查询动画', 'path' => '/v1.0/ip/getCartoon', 'methods' => [ 'post', ], 'schemes' => [ 'https', 'http', ], 'security' => [ [ 'AliGenie_Auth_SPI' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'deprecated' => false, 'systemTags' => [], 'parameters' => [ [ 'name' => 'HotelId', 'in' => 'formData', 'schema' => [ 'title' => '酒店id', 'description' => '', 'type' => 'string', 'required' => true, 'example' => '520a0c0***5eb', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Result', 'description' => 'Result', 'type' => 'object', 'properties' => [ 'StatusCode' => [ 'title' => '调用返回码,除约定的SUCCESS_CODE外,其余由服务提供者自定义', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'Result' => [ 'title' => '服务的实际返回结果', 'description' => '', 'type' => 'object', 'properties' => [ 'StartVideoUrl' => [ 'title' => '开机启动视频', 'description' => '', 'type' => 'string', 'example' => '40c8***97', ], 'StartVideoMd5' => [ 'title' => '开机视频md5', 'description' => '', 'type' => 'string', 'example' => 'https://ai***.mp4', ], ], ], 'Message' => [ 'title' => '附加信息,典型应用场景是对失败调用进行简述,方便调用方定位问题', 'description' => '', 'type' => 'string', 'example' => 'success', ], 'RequestId' => [ 'description' => '', 'type' => 'string', 'example' => '0EC7*726E'."\n", ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'InvalidParameter', 'errorMessage' => 'The request parameter is invalid', ], ], 500 => [ [ 'errorCode' => 'ServerError', 'errorMessage' => 'internal server error', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"StatusCode\\": 200,\\n \\"Result\\": {\\n \\"StartVideoUrl\\": \\"40c8***97\\",\\n \\"StartVideoMd5\\": \\"https://ai***.mp4\\"\\n },\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"0EC7*726E\\\\n\\"\\n}","type":"json"}]', ], 'DeleteCartoon' => [ 'summary' => '删除动画', 'path' => '/v1.0/ip/deleteCartoon', 'methods' => [ 'post', ], 'schemes' => [ 'https', 'http', ], 'security' => [ [ 'AliGenie_Auth_SPI' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'deprecated' => false, 'systemTags' => [], 'parameters' => [ [ 'name' => 'HotelId', 'in' => 'formData', 'schema' => [ 'title' => ' 酒店id', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'a7***83'."\n", ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Result', 'description' => 'Result', 'type' => 'object', 'properties' => [ 'StatusCode' => [ 'title' => '调用返回码,除约定的SUCCESS_CODE外,其余由服务提供者自定义', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'Result' => [ 'title' => '服务的实际返回结果', 'description' => '', 'type' => 'boolean', 'example' => 'true', ], 'Message' => [ 'title' => '附加信息,典型应用场景是对失败调用进行简述,方便调用方定位问题', 'description' => '', 'type' => 'string', 'example' => 'success', ], 'RequestId' => [ 'description' => '', 'type' => 'string', 'example' => '0EC7*726E'."\n", ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'InvalidParameter', 'errorMessage' => 'The request parameter is invalid', ], ], 500 => [ [ 'errorCode' => 'ServerError', 'errorMessage' => 'internal server error', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"StatusCode\\": 200,\\n \\"Result\\": true,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"0EC7*726E\\\\n\\"\\n}","type":"json"}]', ], 'GetHotelScreenSaverStyle' => [ 'summary' => '获取屏保列表', 'path' => '/v1.0/ip/getHotelScreenSaverStyle', 'methods' => [ 'post', ], 'schemes' => [ 'https', 'http', ], 'security' => [ [ 'AliGenie_Auth_SPI' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'deprecated' => false, 'systemTags' => [], 'parameters' => [ [ 'name' => 'HotelId', 'in' => 'formData', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'af7***536'."\n", ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Result>', 'description' => 'Result>', 'type' => 'object', 'properties' => [ 'StatusCode' => [ 'title' => '调用返回码,除约定的SUCCESS_CODE外,其余由服务提供者自定义', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'Result' => [ 'title' => '服务的实际返回结果', 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'Code' => [ 'title' => '编码code', 'description' => '', 'type' => 'string', 'example' => 'common-weather', ], 'CnName' => [ 'title' => '中文名称', 'description' => '', 'type' => 'string', 'example' => '', ], 'EnName' => [ 'title' => '英文名称', 'description' => '', 'type' => 'string', 'example' => 'common-weather', ], 'PicUrl' => [ 'title' => '图片链接', 'description' => '', 'type' => 'string', 'example' => 'https://img.***.png', ], ], ], ], 'Message' => [ 'title' => '附加信息,典型应用场景是对失败调用进行简述,方便调用方定位问题', 'description' => '', 'type' => 'string', 'example' => 'success', ], 'RequestId' => [ 'title' => '请求id', 'description' => '', 'type' => 'string', 'example' => '73C67**6FA'."\n", ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'InvalidParameter', 'errorMessage' => 'The request parameter is invalid', ], ], 500 => [ [ 'errorCode' => 'ServerError', 'errorMessage' => 'internal server error', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"StatusCode\\": 200,\\n \\"Result\\": [\\n {\\n \\"Code\\": \\"common-weather\\",\\n \\"CnName\\": \\"天气\\",\\n \\"EnName\\": \\"common-weather\\",\\n \\"PicUrl\\": \\"https://img.***.png\\"\\n }\\n ],\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"73C67**6FA\\\\n\\"\\n}","type":"json"}]', ], 'AddOrUpdateHotelSetting' => [ 'summary' => '新增或者编辑定制配置', 'path' => '/v1.0/ip/addOrUpdateHotelSetting', 'methods' => [ 'post', ], 'schemes' => [ 'https', 'http', ], 'security' => [ [ 'AliGenie_Auth_SPI' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'deprecated' => false, 'systemTags' => [], 'parameters' => [ [ 'name' => 'HotelId', 'in' => 'formData', 'schema' => [ 'title' => '酒店id', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'a7a3***013', ], ], [ 'name' => 'SettingType', 'in' => 'formData', 'schema' => [ 'title' => '设置的类型,带屏展示模式(SCENE),'."\n" .'带屏屏保配置(SCREENSAVER),'."\n" .'带屏首页背景图(HOMEPAGE_PIC)'."\n" .'带屏酒店通知(NOTICE),'."\n" .'夜间模式(NIGHT_MODE)', 'description' => '', 'type' => 'string', 'required' => false, 'enumValueTitles' => [ 'NOTICE' => '', 'NIGHT_MODE' => '', 'SCREENSAVER' => '', 'SCENE' => '', 'HOMEPAGE_PIC' => '', ], 'example' => 'SCREENSAVER', ], ], [ 'name' => 'Value', 'in' => 'formData', 'schema' => [ 'title' => '配置值', 'description' => '', 'type' => 'string', 'required' => false, 'example' => '', ], ], [ 'name' => 'HotelScreenSaver', 'in' => 'formData', 'style' => 'json', 'schema' => [ 'title' => '屏保', 'description' => '', 'type' => 'object', 'properties' => [ 'ScreenSaverStyle' => [ 'title' => '屏保样式code', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'common-weather', ], 'ScreenSaverPicUrl' => [ 'title' => '屏保图片', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'https://a****jpg', ], ], 'required' => false, ], ], [ 'name' => 'HotelDeviceModeList', 'in' => 'formData', 'style' => 'json', 'schema' => [ 'title' => '模式', 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'sleep', ], 'required' => false, ], ], [ 'name' => 'NightMode', 'in' => 'formData', 'style' => 'json', 'schema' => [ 'title' => '夜间模式', 'description' => '', 'type' => 'object', 'properties' => [ 'Enable' => [ 'title' => '启用、禁用', 'description' => '', 'type' => 'boolean', 'required' => false, 'example' => 'true', ], 'Start' => [ 'title' => '开始时间', 'description' => '', 'type' => 'string', 'required' => false, 'example' => '7:00', ], 'End' => [ 'title' => '结束时间', 'description' => '', 'type' => 'string', 'required' => false, 'example' => '22:00', ], 'DefaultVolume' => [ 'title' => '夜间模式下的默认音量', 'type' => 'string', 'required' => false, ], 'DefaultBright' => [ 'title' => '夜间模式下的默认亮度', 'type' => 'string', 'required' => false, ], 'StandbyAction' => [ 'title' => '休眠时执行,息屏(screenoff)、屏保(screensaver)', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'screenoff', ], ], 'required' => false, ], ], ], 'responses' => [ 200 => [ 'headers' => [], 'schema' => [ 'title' => 'Result', 'description' => 'Result', 'type' => 'object', 'properties' => [ 'StatusCode' => [ 'title' => '调用返回码,除约定的SUCCESS_CODE外,其余由服务提供者自定义', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'Result' => [ 'title' => '服务的实际返回结果', 'description' => '', 'type' => 'boolean', 'example' => 'true', ], 'Message' => [ 'title' => '附加信息,典型应用场景是对失败调用进行简述,方便调用方定位问题', 'description' => '', 'type' => 'string', 'example' => 'success', ], 'RequestId' => [ 'description' => '', 'type' => 'string', 'example' => '0EC7*726E', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'InvalidParameter', 'errorMessage' => 'The request parameter is invalid', ], ], 500 => [ [ 'errorCode' => 'ServerError', 'errorMessage' => 'internal server error', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"StatusCode\\": 200,\\n \\"Result\\": true,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"0EC7*726E\\"\\n}","type":"json"}]', ], 'GetHotelSetting' => [ 'summary' => '查询定制配置', 'path' => '/v1.0/ip/getHotelSetting', 'methods' => [ 'post', ], 'schemes' => [ 'https', 'http', ], 'security' => [ [ 'AliGenie_Auth_SPI' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'deprecated' => false, 'systemTags' => [], 'parameters' => [ [ 'name' => 'HotelId', 'in' => 'formData', 'schema' => [ 'title' => '酒店id', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'af7***536'."\n", ], ], [ 'name' => 'SettingType', 'in' => 'formData', 'schema' => [ 'title' => '设置的类型,带屏展示模式(SCENE),'."\n" .'带屏屏保配置(SCREENSAVER),'."\n" .'带屏首页背景图(HOMEPAGE_PIC)'."\n" .'带屏酒店通知(NOTICE),'."\n" .'夜间模式(NIGHT_MODE)', 'description' => '', 'type' => 'string', 'required' => false, 'enumValueTitles' => [ 'NOTICE' => '', 'NIGHT_MODE' => '', 'SCREENSAVER' => '', 'SCENE' => '', 'HOMEPAGE_PIC' => '', ], 'example' => 'SCREENSAVER', ], ], ], 'responses' => [ 200 => [ 'headers' => [], 'schema' => [ 'title' => 'Result', 'description' => 'Result', 'type' => 'object', 'properties' => [ 'StatusCode' => [ 'title' => '调用返回码,除约定的SUCCESS_CODE外,其余由服务提供者自定义', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'Result' => [ 'title' => '服务的实际返回结果', 'description' => '', 'type' => 'object', 'properties' => [ 'HotelId' => [ 'title' => '酒店id', 'description' => '', 'type' => 'string', 'example' => 'af7***536', ], 'SettingType' => [ 'title' => '设置类型', 'description' => '', 'type' => 'string', 'enumValueTitles' => [ 'SCREENSAVER' => '', 'HOMEPAGE_PIC' => '', ], 'example' => 'SCREENSAVER', ], 'Value' => [ 'title' => '对应的值', 'description' => '', 'type' => 'string', 'example' => '', ], 'DeleteToken' => [ 'title' => '是否删除', 'description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '0', ], 'ExtInfo' => [ 'title' => '扩展信息', 'description' => '', 'type' => 'string', 'example' => '{}', ], 'HotelScreenSaver' => [ 'title' => '屏保对象', 'description' => '', 'type' => 'object', 'properties' => [ 'ScreenSaverStyle' => [ 'title' => '屏保样式code', 'description' => '', 'type' => 'string', 'example' => 'common-weather', ], 'ScreenSaverPicUrl' => [ 'title' => '屏保图片', 'description' => '', 'type' => 'string', 'example' => 'https://a***png', ], ], ], 'HotelDeviceModeList' => [ 'title' => '设备模式', 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'string', 'example' => 'sweet', ], ], 'NightMode' => [ 'title' => '夜间模式', 'description' => '', 'type' => 'object', 'properties' => [ 'Enable' => [ 'title' => '启用、禁用', 'description' => '', 'type' => 'boolean', 'example' => 'true', ], 'Start' => [ 'title' => '开始时间', 'description' => '', 'type' => 'string', 'example' => '07:00', ], 'End' => [ 'title' => '结束时间', 'description' => '', 'type' => 'string', 'example' => '22:00', ], 'DefaultVolume' => [ 'title' => '夜间模式下的默认音量', 'description' => '夜间模式下的默认音量', 'type' => 'string', ], 'DefaultBright' => [ 'title' => '夜间模式下的默认亮度', 'description' => '夜间模式下的默认亮度', 'type' => 'string', ], 'StandbyAction' => [ 'title' => '休眠时执行,息屏(screenoff)、屏保(screensaver)', 'description' => '', 'type' => 'string', 'example' => 'screenoff', ], ], ], ], ], 'Message' => [ 'title' => '附加信息,典型应用场景是对失败调用进行简述,方便调用方定位问题', 'description' => '', 'type' => 'string', 'example' => 'success', ], 'RequestId' => [ 'description' => '', 'type' => 'string', 'example' => 'F7E2****B7C94', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'InvalidParameter', 'errorMessage' => 'The request parameter is invalid', ], ], 500 => [ [ 'errorCode' => 'ServerError', 'errorMessage' => 'internal server error', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"StatusCode\\": 200,\\n \\"Result\\": {\\n \\"HotelId\\": \\"af7***536\\",\\n \\"SettingType\\": \\"SCREENSAVER\\",\\n \\"Value\\": \\"首页背景图-https://****.jpg 酒店通知-欢迎入住**酒店~~\\",\\n \\"DeleteToken\\": 0,\\n \\"ExtInfo\\": \\"{}\\",\\n \\"HotelScreenSaver\\": {\\n \\"ScreenSaverStyle\\": \\"common-weather\\",\\n \\"ScreenSaverPicUrl\\": \\"https://a***png\\"\\n },\\n \\"HotelDeviceModeList\\": [\\n \\"sweet\\"\\n ],\\n \\"NightMode\\": {\\n \\"Enable\\": true,\\n \\"Start\\": \\"07:00\\",\\n \\"End\\": \\"22:00\\",\\n \\"DefaultVolume\\": \\"\\",\\n \\"DefaultBright\\": \\"\\",\\n \\"StandbyAction\\": \\"screenoff\\"\\n }\\n },\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"F7E2****B7C94\\"\\n}","type":"json"}]', ], 'DeleteHotelSetting' => [ 'summary' => '删除定制配置', 'path' => '/v1.0/ip/deleteHotelSetting', 'methods' => [ 'post', ], 'schemes' => [ 'https', 'http', ], 'security' => [ [ 'AliGenie_Auth_SPI' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'deprecated' => false, 'systemTags' => [], 'parameters' => [ [ 'name' => 'HotelId', 'in' => 'formData', 'schema' => [ 'title' => '酒店id', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'af7***536', ], ], [ 'name' => 'SettingType', 'in' => 'formData', 'schema' => [ 'title' => '设置类型', 'description' => '', 'type' => 'string', 'required' => false, 'enumValueTitles' => [ 'NOTICE' => '', 'NIGHT_MODE' => '', 'SCREENSAVER' => '', 'SCENE' => '', 'HOMEPAGE_PIC' => '', ], 'example' => 'SCREENSAVER', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Result', 'description' => 'Result', 'type' => 'object', 'properties' => [ 'StatusCode' => [ 'title' => '调用返回码,除约定的SUCCESS_CODE外,其余由服务提供者自定义', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'Result' => [ 'title' => '服务的实际返回结果', 'description' => '', 'type' => 'boolean', 'example' => 'true', ], 'Message' => [ 'title' => '附加信息,典型应用场景是对失败调用进行简述,方便调用方定位问题', 'description' => '', 'type' => 'string', 'example' => 'success', ], 'RequestId' => [ 'description' => '', 'type' => 'string', 'example' => '73C67****BB3E6FA', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'InvalidParameter', 'errorMessage' => 'The request parameter is invalid', ], ], 500 => [ [ 'errorCode' => 'ServerError', 'errorMessage' => 'internal server error', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"StatusCode\\": 200,\\n \\"Result\\": true,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"73C67****BB3E6FA\\"\\n}","type":"json"}]', ], 'AddOrUpdateWelcomeText' => [ 'summary' => '添加/更新欢迎语信息', 'path' => '/v1.0/ip/addOrUpdateWelcomeText', 'methods' => [ 'post', ], 'schemes' => [ 'https', 'http', ], 'security' => [ [ 'AliGenie_Auth_SPI' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [], 'parameters' => [ [ 'name' => 'HotelId', 'in' => 'formData', 'schema' => [ 'title' => '酒店id', 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'af7***536', ], ], [ 'name' => 'WelcomeText', 'in' => 'formData', 'schema' => [ 'title' => '欢迎语文本,建议150字以内', 'description' => '', 'type' => 'string', 'required' => true, 'example' => '', ], ], [ 'name' => 'MusicUrl', 'in' => 'formData', 'schema' => [ 'title' => '背景音链接'."\n" ."\n" .'上传要求:'."\n" .'1. 仅支持采样率16KHz、单声道 .wav格式的文件。(如果您的背景音不是wav格式,'."\n" .'可使用 ffmpeg将其转为wav格式:ffmpeg -i 输入音频 -acodec pcm_s16le -ac 1 -ar 16000 目标.wav)'."\n" .'2. 大小不超过2MB。'."\n" .'3.合成时长超出背景音时长时,背景音将循环合成播放。', 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'http://ailabsaicloudservice.alicdn.com/tmp/a.wav', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Result', 'description' => 'Result', 'type' => 'object', 'properties' => [ 'StatusCode' => [ 'title' => '调用返回码,除约定的SUCCESS_CODE外,其余由服务提供者自定义', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'Result' => [ 'title' => '服务的实际返回结果', 'description' => '', 'type' => 'boolean', 'example' => 'true', ], 'Message' => [ 'title' => '附加信息,典型应用场景是对失败调用进行简述,方便调用方定位问题', 'description' => '', 'type' => 'string', 'example' => 'success', ], 'Extentions' => [ 'title' => '扩展字段', 'description' => '', 'type' => 'object', 'additionalProperties' => [ 'type' => 'any', 'description' => '', ], ], 'RequestId' => [ 'description' => '', 'type' => 'string', 'example' => '0EC7*726E', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'InvalidParameter', 'errorMessage' => 'The request parameter is invalid', ], ], 500 => [ [ 'errorCode' => 'ServerError', 'errorMessage' => 'internal server error', ], ], ], 'staticInfo' => [], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"StatusCode\\": 200,\\n \\"Result\\": true,\\n \\"Message\\": \\"success\\",\\n \\"Extentions\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"RequestId\\": \\"0EC7*726E\\"\\n}","type":"json"}]', ], 'GetWelcomeTextAndMusic' => [ 'summary' => '查询欢迎语信息', 'path' => '/v1.0/ip/getWelcomeTextAndMusic', 'methods' => [ 'post', ], 'schemes' => [ 'https', 'http', ], 'security' => [ [ 'AliGenie_Auth_SPI' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'deprecated' => false, 'systemTags' => [], 'parameters' => [ [ 'name' => 'HotelId', 'in' => 'formData', 'schema' => [ 'title' => '酒店 id', 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'a7a3***013', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Result', 'description' => 'Result', 'type' => 'object', 'properties' => [ 'StatusCode' => [ 'title' => '调用返回码,除约定的SUCCESS_CODE外,其余由服务提供者自定义', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'Result' => [ 'title' => '服务的实际返回结果', 'description' => '', 'type' => 'object', 'properties' => [ 'HotelId' => [ 'description' => '', 'type' => 'string', 'example' => 'a7***83', ], 'Text' => [ 'description' => '', 'type' => 'string', 'example' => '', ], 'MusicUrl' => [ 'description' => '', 'type' => 'string', 'example' => 'http://ailabsaicloudservice.alicdn.com/tmp/a.wav', ], ], ], 'Message' => [ 'title' => '附加信息,典型应用场景是对失败调用进行简述,方便调用方定位问题', 'description' => '', 'type' => 'string', 'example' => 'success', ], 'Extentions' => [ 'title' => '扩展字段', 'description' => '', 'type' => 'object', 'additionalProperties' => [ 'type' => 'any', 'description' => '', ], ], 'RequestId' => [ 'description' => '', 'type' => 'string', 'example' => '0EC7*726E', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'InvalidParameter', 'errorMessage' => 'The request parameter is invalid', ], ], 500 => [ [ 'errorCode' => 'ServerError', 'errorMessage' => 'internal server error', ], ], ], 'staticInfo' => [], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"StatusCode\\": 200,\\n \\"Result\\": {\\n \\"HotelId\\": \\"a7***83\\",\\n \\"Text\\": \\"尊贵的客人,您好,欢迎入住,我是您的房间智能助理,我可以播放音乐,控制空调、灯光等,也能提供酒店的各种服务,回答酒店相关问题。只需要唤醒后,就能和我开始互动,我的更多能力,可以参考我旁边的立牌使用哦,祝您在本酒店度过一段愉快的入住时光。\\",\\n \\"MusicUrl\\": \\"http://ailabsaicloudservice.alicdn.com/tmp/a.wav\\"\\n },\\n \\"Message\\": \\"success\\",\\n \\"Extentions\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"RequestId\\": \\"0EC7*726E\\"\\n}","type":"json"}]', ], 'ResetWelcomeTextAndMusic' => [ 'summary' => '重置欢迎语信息', 'path' => '/v1.0/ip/resetWelcomeTextAndMusic', 'methods' => [ 'post', ], 'schemes' => [ 'https', 'http', ], 'security' => [ [ 'AliGenie_Auth_SPI' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [], 'parameters' => [ [ 'name' => 'HotelId', 'in' => 'formData', 'schema' => [ 'title' => '酒店id', 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'af7***536', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Result', 'description' => 'Result', 'type' => 'object', 'properties' => [ 'StatusCode' => [ 'title' => '调用返回码,除约定的SUCCESS_CODE外,其余由服务提供者自定义', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'Result' => [ 'title' => '服务的实际返回结果', 'description' => '', 'type' => 'boolean', 'example' => 'true', ], 'Message' => [ 'title' => '附加信息,典型应用场景是对失败调用进行简述,方便调用方定位问题', 'description' => '', 'type' => 'string', 'example' => 'success', ], 'Extentions' => [ 'title' => '扩展字段', 'description' => '', 'type' => 'object', 'additionalProperties' => [ 'type' => 'any', 'description' => '', 'example' => ' ', ], ], 'RequestId' => [ 'description' => '', 'type' => 'string', 'example' => '0EC7*726E', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'InvalidParameter', 'errorMessage' => 'The request parameter is invalid', ], ], 500 => [ [ 'errorCode' => 'ServerError', 'errorMessage' => 'internal server error', ], ], ], 'staticInfo' => [], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"StatusCode\\": 200,\\n \\"Result\\": true,\\n \\"Message\\": \\"success\\",\\n \\"Extentions\\": {\\n \\"key\\": \\" \\"\\n },\\n \\"RequestId\\": \\"0EC7*726E\\"\\n}","type":"json"}]', ], 'PushWelcomeTextAndMusic' => [ 'summary' => '推送欢迎语', 'path' => '/v1.0/ip/pushWelcomeTextAndMusic', 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AliGenie_Auth_SPI' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', ], 'parameters' => [ [ 'name' => 'HotelId', 'in' => 'formData', 'schema' => [ 'title' => '酒店id', 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'af7***536', ], ], [ 'name' => 'RoomNo', 'in' => 'formData', 'schema' => [ 'title' => '房间号', 'description' => '', 'type' => 'string', 'required' => false, 'example' => '1211', ], ], [ 'name' => 'RoomName', 'in' => 'formData', 'schema' => [ 'type' => 'string', ], ], [ 'name' => 'TemplateVariable', 'in' => 'formData', 'style' => 'json', 'schema' => [ 'title' => '参数映射表,例如欢迎语文本中的表达式:${hotelName} 可通过参数映射表的{"hotelName":"智慧酒店"}替换成“智慧酒店”', 'description' => '', 'type' => 'object', 'required' => false, 'additionalProperties' => [ 'type' => 'string', 'description' => '', 'example' => 'hotelName', ], ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Result', 'description' => 'Result', 'type' => 'object', 'properties' => [ 'StatusCode' => [ 'title' => '调用返回码,除约定的SUCCESS_CODE外,其余由服务提供者自定义', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'Result' => [ 'title' => '服务的实际返回结果', 'description' => '', 'type' => 'boolean', 'example' => 'true', ], 'Message' => [ 'title' => '附加信息,典型应用场景是对失败调用进行简述,方便调用方定位问题', 'description' => '', 'type' => 'string', 'example' => 'success', ], 'Extentions' => [ 'title' => '扩展字段', 'description' => '', 'type' => 'object', 'additionalProperties' => [ 'type' => 'any', 'description' => '', 'example' => ' ', ], ], 'RequestId' => [ 'description' => '', 'type' => 'string', 'example' => 'F7E2****B7C94', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'InvalidParameter', 'errorMessage' => 'The request parameter is invalid', ], ], 500 => [ [ 'errorCode' => 'ServerError', 'errorMessage' => 'internal server error', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"StatusCode\\": 200,\\n \\"Result\\": true,\\n \\"Message\\": \\"success\\",\\n \\"Extentions\\": {\\n \\"key\\": \\" *\\"\\n },\\n \\"RequestId\\": \\"F7E2****B7C94\\"\\n}","type":"json"}]', ], 'PushWelcome' => [ 'summary' => '直接推送欢迎语', 'path' => '/v1.0/ip/pushWelcome', 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AliGenie_Auth_SPI' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', ], 'parameters' => [ [ 'name' => 'HotelId', 'in' => 'formData', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'af7***536', ], ], [ 'name' => 'WelcomeText', 'in' => 'formData', 'schema' => [ 'title' => '配置信息 欢迎语文本', 'description' => '', 'type' => 'string', 'required' => true, 'example' => '', ], ], [ 'name' => 'WelcomeMusicUrl', 'in' => 'formData', 'schema' => [ 'title' => '配置信息 欢迎语音乐url', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'http://ailabsaicloudservice.alicdn.com/tmp/a.wav', ], ], [ 'name' => 'RoomNo', 'in' => 'formData', 'schema' => [ 'title' => '欢迎语推送 房间号', 'description' => '', 'type' => 'string', 'required' => false, 'example' => '1211', ], ], [ 'name' => 'RoomName', 'in' => 'formData', 'schema' => [ 'type' => 'string', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Result', 'description' => 'Result', 'type' => 'object', 'properties' => [ 'StatusCode' => [ 'title' => '调用返回码,除约定的SUCCESS_CODE外,其余由服务提供者自定义', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'Result' => [ 'title' => '服务的实际返回结果', 'description' => '', 'type' => 'boolean', 'example' => 'true', ], 'Message' => [ 'title' => '附加信息,典型应用场景是对失败调用进行简述,方便调用方定位问题', 'description' => '', 'type' => 'string', 'example' => 'success', ], 'RequestId' => [ 'description' => '', 'type' => 'string', 'example' => '0EC7*726E', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'InvalidParameter', 'errorMessage' => 'The request parameter is invalid', ], ], 500 => [ [ 'errorCode' => 'ServerError', 'errorMessage' => 'internal server error', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"StatusCode\\": 200,\\n \\"Result\\": true,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"0EC7*726E\\"\\n}","type":"json"}]', ], 'AddMessageTemplate' => [ 'summary' => '添加消息模板', 'path' => '/v1.0/ip/addMessageTemplate', 'methods' => [ 'post', ], 'schemes' => [ 'https', 'http', ], 'security' => [ [ 'AliGenie_Auth_SPI' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [], 'parameters' => [ [ 'name' => 'TemplateName', 'in' => 'formData', 'schema' => [ 'title' => '消息模板名称', 'description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '测试模板', ], ], [ 'name' => 'TemplateDetail', 'in' => 'formData', 'schema' => [ 'title' => '消息模板内容', 'description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '这是${hotel}的一个测试模板', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Result', 'description' => 'Result', 'type' => 'object', 'properties' => [ 'Code' => [ 'title' => '状态码', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'Result' => [ 'title' => '消息模板ID', 'description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '11', ], 'Message' => [ 'title' => '附加信息', 'description' => '', 'type' => 'string', 'example' => 'success', ], 'RequestId' => [ 'type' => 'string', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'InvalidParameter', 'errorMessage' => 'The request parameter is invalid.', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": 200,\\n \\"Result\\": 11,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"\\"\\n}","type":"json"}]', ], 'ListHotelMessageTemplate' => [ 'summary' => '获取消息模板', 'path' => '/v1.0/ip/listHotelMessageTemplate', 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AliGenie_Auth_SPI' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [], 'parameters' => [], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Result>', 'description' => 'Result>', 'type' => 'object', 'properties' => [ 'Code' => [ 'title' => '状态码', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'Result' => [ 'title' => '服务的实际返回结果', 'description' => '', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'TemplateId' => [ 'title' => '消息模板ID', 'description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '1', ], 'TemplateDetail' => [ 'title' => '消息模板内容', 'description' => '', 'type' => 'string', 'example' => '这是${hotel}的一个测试模板', ], 'TemplateName' => [ 'title' => '消息模板名称', 'description' => '', 'type' => 'string', 'example' => '测试模板', ], 'AuditMark' => [ 'title' => '审核备注', 'description' => '', 'type' => 'string', 'example' => '不通过', ], 'AuditStatus' => [ 'title' => '审核状态', 'description' => '', 'type' => 'string', 'example' => 'COMMIT', ], ], ], ], 'Message' => [ 'title' => '附加信息', 'description' => '', 'type' => 'string', 'example' => 'success', ], 'RequestId' => [ 'type' => 'string', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'InvalidParameter', 'errorMessage' => 'The request parameter is invalid', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": 200,\\n \\"Result\\": [\\n {\\n \\"TemplateId\\": 1,\\n \\"TemplateDetail\\": \\"这是${hotel}的一个测试模板\\",\\n \\"TemplateName\\": \\"测试模板\\",\\n \\"AuditMark\\": \\"不通过\\",\\n \\"AuditStatus\\": \\"COMMIT\\"\\n }\\n ],\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"\\"\\n}","type":"json"}]', ], 'DeleteMessageTemplate' => [ 'summary' => '删除消息通知模板', 'path' => '/v1.0/ip/deleteMessageTemplate', 'methods' => [ 'post', ], 'schemes' => [ 'https', 'http', ], 'security' => [ [ 'AliGenie_Auth_SPI' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'deprecated' => false, 'systemTags' => [], 'parameters' => [ [ 'name' => 'TemplateId', 'in' => 'formData', 'schema' => [ 'title' => '消息模板id', 'description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '234', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Result', 'description' => 'Result', 'type' => 'object', 'properties' => [ 'StatusCode' => [ 'title' => '调用返回码,除约定的SUCCESS_CODE外,其余由服务提供者自定义', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'Result' => [ 'title' => '服务的实际返回结果', 'description' => '', 'type' => 'boolean', 'example' => 'true', ], 'Message' => [ 'title' => '附加信息,典型应用场景是对失败调用进行简述,方便调用方定位问题', 'description' => '', 'type' => 'string', 'example' => 'success', ], 'RequestId' => [ 'description' => '', 'type' => 'string', 'example' => 'F7E2****B7C94', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'InvalidParameter', 'errorMessage' => 'The request parameter is invalid', ], ], 500 => [ [ 'errorCode' => 'ServerError', 'errorMessage' => 'internal server error', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"StatusCode\\": 200,\\n \\"Result\\": true,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"F7E2****B7C94\\"\\n}","type":"json"}]', ], 'UpdateMessageTemplate' => [ 'summary' => '更新消息通知模板', 'path' => '/v1.0/ip/updateMessageTemplate', 'methods' => [ 'post', ], 'schemes' => [ 'https', 'http', ], 'security' => [ [ 'AliGenie_Auth_SPI' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'deprecated' => false, 'systemTags' => [], 'parameters' => [ [ 'name' => 'TemplateId', 'in' => 'formData', 'schema' => [ 'title' => '模板主键id', 'description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '123123', ], ], [ 'name' => 'TemplateName', 'in' => 'formData', 'schema' => [ 'title' => '模板名称', 'description' => '', 'type' => 'string', 'required' => false, 'example' => '', ], ], [ 'name' => 'TemplateDetail', 'in' => 'formData', 'schema' => [ 'title' => '模板详情', 'description' => '', 'type' => 'string', 'required' => false, 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Result', 'description' => 'Result', 'type' => 'object', 'properties' => [ 'StatusCode' => [ 'title' => '调用返回码,除约定的SUCCESS_CODE外,其余由服务提供者自定义', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'Result' => [ 'title' => '服务的实际返回结果', 'description' => '', 'type' => 'boolean', 'example' => 'true', ], 'Message' => [ 'title' => '附加信息,典型应用场景是对失败调用进行简述,方便调用方定位问题', 'description' => '', 'type' => 'string', 'example' => 'success', ], 'RequestId' => [ 'title' => '返回的请求id', 'description' => '', 'type' => 'string', 'example' => '43***881', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'InvalidParameter', 'errorMessage' => 'The request parameter is invalid', ], ], 500 => [ [ 'errorCode' => 'ServerError', 'errorMessage' => 'internal server error', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"StatusCode\\": 200,\\n \\"Result\\": true,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"43***881\\"\\n}","type":"json"}]', ], 'PushHotelMessage' => [ 'summary' => '推送酒店消息', 'path' => '/v1.0/ip/pushHotelMessage', 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AliGenie_Auth_SPI' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [], 'parameters' => [ [ 'name' => 'PushHotelMessageReq', 'in' => 'query', 'style' => 'json', 'schema' => [ 'title' => 'pushHotelMessageReq', 'description' => 'pushHotelMessageReq', 'type' => 'object', 'properties' => [ 'TemplateId' => [ 'title' => '消息模板ID', 'description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '1', ], 'HotelId' => [ 'title' => '酒店ID', 'description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'e6dd44fd16084db8a60d69fd625d9f0f', ], 'RoomNo' => [ 'title' => '房间号', 'description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '102', ], 'ParamMap' => [ 'title' => '消息内容参数Map', 'description' => '', 'type' => 'object', 'required' => false, 'additionalProperties' => [ 'type' => 'string', 'example' => '{"hotel": "aaaa测试酒店"}', ], ], ], 'required' => true, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Result', 'description' => 'Result', 'type' => 'object', 'properties' => [ 'Code' => [ 'title' => '状态码', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'Result' => [ 'title' => '服务的实际返回结果', 'description' => '', 'type' => 'boolean', ], 'Message' => [ 'title' => '附加信息', 'description' => '', 'type' => 'string', 'example' => 'success', ], 'RequestId' => [ 'type' => 'string', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'InvalidParameter', 'errorMessage' => 'The request parameter is invalid', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": 200,\\n \\"Result\\": true,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"\\"\\n}","type":"json"}]', ], 'ListTickets' => [ 'summary' => '查询工单列表', 'path' => '/v1.0/ip/listTickets', 'methods' => [ 'post', ], 'schemes' => [ 'https', 'http', ], 'security' => [ [ 'AliGenie_Auth_SPI' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [], 'parameters' => [ [ 'name' => 'HotelId', 'in' => 'formData', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'af7***536', ], ], [ 'name' => 'Page', 'in' => 'formData', 'style' => 'json', 'schema' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'PageNumber' => [ 'title' => '页码', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', ], 'PageSize' => [ 'title' => '每页size大小', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', ], ], 'required' => false, ], ], [ 'name' => 'StartTime', 'in' => 'formData', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => '2022-04-08 09:39:00', ], ], [ 'name' => 'EndTime', 'in' => 'formData', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => '2022-09-14 14:23:00', ], ], [ 'name' => 'Status', 'in' => 'formData', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => false, 'enumValueTitles' => [ 'waiting' => '', 'handled' => '', 'delayed' => '', ], 'example' => 'waiting', ], ], [ 'name' => 'RoomNo', 'in' => 'formData', 'schema' => [ 'title' => '房间号', 'description' => '', 'type' => 'string', 'required' => false, 'example' => '1211', ], ], [ 'name' => 'Type', 'in' => 'formData', 'schema' => [ 'title' => '类型', 'description' => '', 'type' => 'string', 'required' => false, 'enumValueTitles' => [ '""' => '', '酒店服务' => '', '酒店维修' => '', ], 'example' => '""', ], ], [ 'name' => 'IsNeedCallback', 'in' => 'formData', 'schema' => [ 'title' => '是否需要回电', 'description' => '', 'type' => 'boolean', 'required' => false, 'example' => 'false', ], ], [ 'name' => 'IsNeedCharges', 'in' => 'formData', 'schema' => [ 'title' => '是否需要收费', 'description' => '', 'type' => 'boolean', 'required' => false, 'example' => 'false', ], ], [ 'name' => 'SortField', 'in' => 'formData', 'schema' => [ 'title' => '排序字段', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'gmtCalled', ], ], [ 'name' => 'IsDesc', 'in' => 'formData', 'schema' => [ 'title' => '是否为降序', 'description' => '', 'type' => 'boolean', 'required' => false, 'example' => 'true', ], ], ], 'responses' => [ 200 => [ 'headers' => [], 'schema' => [ 'title' => 'PageResult>', 'description' => 'PageResult>', 'type' => 'object', 'properties' => [ 'Page' => [ 'title' => '翻页参数', 'description' => '', 'type' => 'object', 'properties' => [ 'PageNumber' => [ 'title' => '页码', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '1', ], 'PageSize' => [ 'title' => '每页size大小', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '10', ], 'Total' => [ 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '5', ], ], ], 'StatusCode' => [ 'title' => '调用返回码,除约定的SUCCESS_CODE外,其余由服务提供者自定义', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'Result' => [ 'title' => '服务的实际返回结果', 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'Id' => [ 'title' => '主键', 'description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '45', ], 'GmtCreate' => [ 'title' => '创建时间', 'description' => '', 'type' => 'string', 'example' => '2023-01-09 00:00:00', ], 'GmtModified' => [ 'title' => '修改时间', 'description' => '', 'type' => 'string', 'example' => '2023-01-09 00:00:00', ], 'Dialogs' => [ 'title' => '单轮对话', 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'Question' => [ 'description' => '', 'type' => 'string', 'example' => '', ], 'Answer' => [ 'description' => '', 'type' => 'string', 'example' => '', ], ], ], ], 'RoomNo' => [ 'title' => '房间号', 'description' => '', 'type' => 'string', 'example' => '101', ], 'Type' => [ 'title' => '类型', 'description' => '', 'type' => 'string', 'enumValueTitles' => [ '""' => '', '酒店服务' => '', '酒店维修' => '', ], 'example' => '""', ], 'IsNeedCallback' => [ 'title' => '是否需要回电', 'description' => '', 'type' => 'boolean', 'example' => 'false', ], 'IsNeedCharges' => [ 'title' => '是否需要收费', 'description' => '', 'type' => 'boolean', 'example' => 'false', ], 'IsAcceptedCharges' => [ 'title' => '客户是否接受收费', 'description' => '', 'type' => 'boolean', 'example' => 'false', ], 'AssignedHandler' => [ 'title' => '指派人', 'description' => '', 'type' => 'string', 'example' => '***', ], 'Remark' => [ 'title' => '备注', 'description' => '', 'type' => 'string', 'example' => '***', ], 'Status' => [ 'title' => '状态', 'description' => '', 'type' => 'string', 'enumValueTitles' => [ 'waiting' => '', 'handled' => '', 'delayed' => '', ], 'example' => 'waiting', ], 'Operations' => [ 'title' => '操作', 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'object', 'additionalProperties' => [ 'type' => 'any', 'description' => '', 'example' => '', ], ], ], 'IsDelayed' => [ 'title' => '是否延时处理', 'description' => '', 'type' => 'boolean', 'example' => 'true', ], 'GmtDelayed' => [ 'title' => '延时处理时间', 'description' => '', 'type' => 'string', 'example' => '2023-01-09 00:00:00', ], 'ChargesRemark' => [ 'title' => '收费信息备注', 'description' => '', 'type' => 'string', 'example' => '***', ], 'CompleteRemark' => [ 'title' => '完成情况备注', 'description' => '', 'type' => 'string', 'example' => '***', ], 'GmtCalled' => [ 'title' => '呼叫时间', 'description' => '', 'type' => 'string', 'example' => '2023-01-09 00:00:00', ], 'GroupKey' => [ 'title' => '分组键', 'description' => '', 'type' => 'string', 'example' => '2023***93975', ], 'Action' => [ 'title' => '是否是操作', 'description' => '', 'type' => 'boolean', 'example' => 'false', ], ], ], ], 'Message' => [ 'title' => '附加信息,典型应用场景是对失败调用进行简述,方便调用方定位问题', 'description' => '', 'type' => 'string', 'example' => 'success', ], 'RequestId' => [ 'description' => '', 'type' => 'string', 'example' => '0EC7***726E', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'InvalidParameter', 'errorMessage' => 'The request parameter is invalid', ], ], 500 => [ [ 'errorCode' => 'ServerError', 'errorMessage' => 'internal server error', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Page\\": {\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10,\\n \\"Total\\": 5\\n },\\n \\"StatusCode\\": 200,\\n \\"Result\\": [\\n {\\n \\"Id\\": 45,\\n \\"GmtCreate\\": \\"2023-01-09 00:00:00\\",\\n \\"GmtModified\\": \\"2023-01-09 00:00:00\\",\\n \\"Dialogs\\": [\\n {\\n \\"Question\\": \\"我要1份***\\",\\n \\"Answer\\": \\"好的,服务员会尽快送来。\\"\\n }\\n ],\\n \\"RoomNo\\": \\"101\\",\\n \\"Type\\": \\"\\\\\\"\\\\\\"\\",\\n \\"IsNeedCallback\\": false,\\n \\"IsNeedCharges\\": false,\\n \\"IsAcceptedCharges\\": false,\\n \\"AssignedHandler\\": \\"***\\",\\n \\"Remark\\": \\"***\\",\\n \\"Status\\": \\"waiting\\",\\n \\"Operations\\": [\\n {\\n \\"key\\": \\"\\\\\\"isOperable\\\\\\":true,\\\\n\\\\\\"nextStatus\\\\\\":\\\\\\"handled\\\\\\",\\\\n\\\\\\"name\\\\\\":\\\\\\"处理完成\\\\\\",\\\\n\\\\\\"currStatus\\\\\\":\\\\\\"delayed\\\\\\"\\"\\n }\\n ],\\n \\"IsDelayed\\": true,\\n \\"GmtDelayed\\": \\"2023-01-09 00:00:00\\",\\n \\"ChargesRemark\\": \\"***\\",\\n \\"CompleteRemark\\": \\"***\\",\\n \\"GmtCalled\\": \\"2023-01-09 00:00:00\\",\\n \\"GroupKey\\": \\"2023***93975\\",\\n \\"Action\\": false\\n }\\n ],\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"0EC7***726E\\"\\n}","type":"json"}]', ], 'UpdateTicket' => [ 'summary' => '修改工单', 'path' => '/v1.0/ip/updateTicket', 'methods' => [ 'post', ], 'schemes' => [ 'https', 'http', ], 'security' => [ [ 'AliGenie_Auth_SPI' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [], 'parameters' => [ [ 'name' => 'HotelId', 'in' => 'formData', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => '520a0c0***5eb', ], ], [ 'name' => 'Status', 'in' => 'formData', 'schema' => [ 'title' => '状态', 'description' => '', 'type' => 'string', 'required' => true, 'enumValueTitles' => [ 'waiting' => '', 'handled' => '', 'delayed' => '', ], 'example' => 'waiting', ], ], [ 'name' => 'GroupKey', 'in' => 'formData', 'schema' => [ 'title' => '分组键', 'description' => '', 'type' => 'string', 'required' => true, 'example' => '2023***93975', ], ], ], 'responses' => [ 200 => [ 'headers' => [], 'schema' => [ 'title' => 'Result', 'description' => 'Result', 'type' => 'object', 'properties' => [ 'StatusCode' => [ 'title' => '调用返回码,除约定的SUCCESS_CODE外,其余由服务提供者自定义', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'Result' => [ 'title' => '服务的实际返回结果', 'description' => '', 'type' => 'boolean', 'example' => 'true', ], 'Message' => [ 'title' => '附加信息,典型应用场景是对失败调用进行简述,方便调用方定位问题', 'description' => '', 'type' => 'string', 'example' => 'success', ], 'RequestId' => [ 'description' => '', 'type' => 'string', 'example' => '0EC7***726E', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'InvalidParameter', 'errorMessage' => 'The request parameter is invalid', ], ], 500 => [ [ 'errorCode' => 'ServerError', 'errorMessage' => 'internal server error', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"StatusCode\\": 200,\\n \\"Result\\": true,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"0EC7***726E\\"\\n}","type":"json"}]', ], 'DeleteHotelAlarm' => [ 'summary' => '删除酒店闹钟', 'path' => '/v1.0/ip/deleteHotelAlarm', 'methods' => [ 'post', ], 'schemes' => [ 'https', 'http', ], 'security' => [ [ 'AliGenie_Auth_SPI' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [], 'parameters' => [ [ 'name' => 'HotelId', 'in' => 'formData', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'a7***83', ], ], [ 'name' => 'Alarms', 'in' => 'formData', 'style' => 'json', 'schema' => [ 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'RoomNo' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => '101', ], 'AlarmId' => [ 'description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '5029', ], 'UserOpenId' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'mgw/k***HQd', ], 'DeviceOpenId' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'PvkB***TA==', ], ], 'required' => false, ], 'required' => true, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Result', 'description' => 'Result', 'type' => 'object', 'properties' => [ 'StatusCode' => [ 'title' => '调用返回码,除约定的SUCCESS_CODE外,其余由服务提供者自定义', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'Result' => [ 'title' => '服务的实际返回结果', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '1', ], 'Message' => [ 'title' => '附加信息,典型应用场景是对失败调用进行简述,方便调用方定位问题', 'description' => '', 'type' => 'string', 'example' => '', ], 'Extentions' => [ 'title' => '扩展字段', 'description' => '', 'type' => 'object', 'additionalProperties' => [ 'type' => 'any', 'example' => '""', 'description' => '', ], ], 'RequestId' => [ 'description' => '', 'type' => 'string', 'example' => '43***881', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'InvalidParameter', 'errorMessage' => 'The request parameter is invalid', ], ], 500 => [ [ 'errorCode' => 'ServerError', 'errorMessage' => 'internal server error', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"StatusCode\\": 200,\\n \\"Result\\": 1,\\n \\"Message\\": \\"xxx为空\\",\\n \\"Extentions\\": {\\n \\"key\\": \\"\\\\\\"\\\\\\"\\"\\n },\\n \\"RequestId\\": \\"43***881\\"\\n}","type":"json"}]', ], 'ListHotelAlarm' => [ 'summary' => '查询酒店闹钟', 'path' => '/v1.0/ip/getHotelAlarmList', 'methods' => [ 'post', ], 'schemes' => [ 'https', 'http', ], 'security' => [ [ 'AliGenie_Auth_SPI' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [], 'parameters' => [ [ 'name' => 'HotelId', 'in' => 'formData', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'a7a3***013', ], ], [ 'name' => 'Rooms', 'in' => 'formData', 'style' => 'json', 'schema' => [ 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => '101', ], 'required' => false, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Result>', 'description' => 'Result>', 'type' => 'object', 'properties' => [ 'StatusCode' => [ 'title' => '调用返回码,除约定的SUCCESS_CODE外,其余由服务提供者自定义', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'Result' => [ 'title' => '服务的实际返回结果', 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'AlarmId' => [ 'title' => '闹钟id', 'description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '5039', ], 'UserOpenId' => [ 'title' => '用户Id', 'description' => '', 'type' => 'string', 'example' => 'mgw/k***HQd', ], 'DeviceOpenId' => [ 'title' => 'uuid', 'description' => '', 'type' => 'string', 'example' => 'PvkB****VVTA==', ], 'ScheduleInfo' => [ 'title' => '设置的闹钟信息', 'description' => '', 'type' => 'object', 'properties' => [ 'Type' => [ 'title' => 'ONCE, WEEKLY, STATUTORY_WORKING_DAY', 'description' => 'ONCE, WEEKLY', 'type' => 'string', 'example' => 'ONCE', ], 'Once' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'Year' => [ 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '2022', ], 'Month' => [ 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '9', ], 'Day' => [ 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '20', ], 'Hour' => [ 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '10', ], 'Minute' => [ 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '30', ], ], ], 'Weekly' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'DaysOfWeek' => [ 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '1', ], ], 'Hour' => [ 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '10', ], 'Minute' => [ 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '0', ], ], ], ], ], ], ], ], 'Message' => [ 'title' => '附加信息,典型应用场景是对失败调用进行简述,方便调用方定位问题', 'description' => '', 'type' => 'string', 'example' => '', ], 'Extentions' => [ 'title' => '扩展字段', 'description' => '', 'type' => 'object', 'additionalProperties' => [ 'type' => 'any', 'example' => '""', 'description' => '', ], ], 'RequestId' => [ 'description' => '', 'type' => 'string', 'example' => '43***881', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'InvalidParameter', 'errorMessage' => 'The request parameter is invalid', ], ], 500 => [ [ 'errorCode' => 'ServerError', 'errorMessage' => 'internal server error', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"StatusCode\\": 200,\\n \\"Result\\": [\\n {\\n \\"AlarmId\\": 5039,\\n \\"UserOpenId\\": \\"mgw/k***HQd\\",\\n \\"DeviceOpenId\\": \\"PvkB****VVTA==\\",\\n \\"ScheduleInfo\\": {\\n \\"Type\\": \\"ONCE\\",\\n \\"Once\\": {\\n \\"Year\\": 2022,\\n \\"Month\\": 9,\\n \\"Day\\": 20,\\n \\"Hour\\": 10,\\n \\"Minute\\": 30\\n },\\n \\"Weekly\\": {\\n \\"DaysOfWeek\\": [\\n 1\\n ],\\n \\"Hour\\": 10,\\n \\"Minute\\": 0\\n }\\n }\\n }\\n ],\\n \\"Message\\": \\"xx为空\\",\\n \\"Extentions\\": {\\n \\"key\\": \\"\\\\\\"\\\\\\"\\"\\n },\\n \\"RequestId\\": \\"43***881\\"\\n}","type":"json"}]', ], 'CreateHotelAlarm' => [ 'summary' => '批量创建闹钟', 'path' => '/v1.0/ip/createHotelAlarm', 'methods' => [ 'post', ], 'schemes' => [ 'https', 'http', ], 'security' => [ [ 'AliGenie_Auth_SPI' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [], 'parameters' => [ [ 'name' => 'HotelId', 'in' => 'formData', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'cf2446fc9d144c85aaee4f9ae20a96e7', ], ], [ 'name' => 'Rooms', 'in' => 'formData', 'style' => 'json', 'schema' => [ 'title' => '批量最多支持10个房间的闹钟设置,此处房间号请控制在10个以内', 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => '101', ], 'required' => true, ], ], [ 'name' => 'ScheduleInfo', 'in' => 'formData', 'style' => 'json', 'schema' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'Type' => [ 'title' => 'ONCE, WEEKLY, STATUTORY_WORKING_DAY', 'description' => 'ONCE, WEEKLY', 'type' => 'string', 'required' => true, 'example' => '', ], 'Once' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'Year' => [ 'description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2022', ], 'Month' => [ 'description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '9', ], 'Day' => [ 'description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20', ], 'Hour' => [ 'description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '19', ], 'Minute' => [ 'description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '30', ], ], 'required' => false, ], 'Weekly' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'DaysOfWeek' => [ 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', ], 'required' => false, ], 'Hour' => [ 'description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', ], 'Minute' => [ 'description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '30', ], ], 'required' => false, ], ], 'required' => true, ], ], [ 'name' => 'MusicType', 'in' => 'formData', 'schema' => [ 'title' => '目前支持 (DOU_YIN, JING_DIAN)', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'DOU_YIN', 'enum' => [ 'DOU_YIN', 'JING_DIAN', ], ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Result>', 'description' => 'Result>', 'type' => 'object', 'properties' => [ 'StatusCode' => [ 'title' => '调用返回码,除约定的SUCCESS_CODE外,其余由服务提供者自定义', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'Result' => [ 'title' => '服务的实际返回结果', 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'RoomNo' => [ 'description' => '', 'type' => 'string', 'example' => '101', ], 'AlarmId' => [ 'description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '94', ], 'DeviceOpenId' => [ 'description' => '', 'type' => 'string', 'example' => 'Pvk***TA==', ], 'UserOpenId' => [ 'description' => '', 'type' => 'string', 'example' => 'mg***Qd', ], 'FailMsg' => [ 'description' => '', 'type' => 'string', 'example' => '', ], ], ], ], 'Message' => [ 'title' => '附加信息,典型应用场景是对失败调用进行简述,方便调用方定位问题', 'description' => '', 'type' => 'string', 'example' => '', ], 'Extentions' => [ 'title' => '扩展字段', 'description' => '', 'type' => 'object', 'additionalProperties' => [ 'type' => 'any', 'example' => '""', 'description' => '', ], ], 'RequestId' => [ 'description' => '', 'type' => 'string', 'example' => '43***86881', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'InvalidParameter', 'errorMessage' => 'The request parameter is invalid', ], ], 500 => [ [ 'errorCode' => 'ServerError', 'errorMessage' => 'internal server error', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"StatusCode\\": 200,\\n \\"Result\\": [\\n {\\n \\"RoomNo\\": \\"101\\",\\n \\"AlarmId\\": 94,\\n \\"DeviceOpenId\\": \\"Pvk***TA==\\",\\n \\"UserOpenId\\": \\"mg***Qd\\",\\n \\"FailMsg\\": \\"设备离线,闹钟创建失败\\"\\n }\\n ],\\n \\"Message\\": \\"xx为空\\",\\n \\"Extentions\\": {\\n \\"key\\": \\"\\\\\\"\\\\\\"\\"\\n },\\n \\"RequestId\\": \\"43***86881\\"\\n}","type":"json"}]', ], 'UpdateHotelAlarm' => [ 'summary' => '修改酒店闹钟', 'path' => '/v1.0/ip/updateHotelAlarm', 'methods' => [ 'post', ], 'schemes' => [ 'https', 'http', ], 'security' => [ [ 'AliGenie_Auth_SPI' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [], 'parameters' => [ [ 'name' => 'HotelId', 'in' => 'formData', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'a7a381a668bc485980bed3876a75e013', ], ], [ 'name' => 'Alarms', 'in' => 'formData', 'style' => 'json', 'schema' => [ 'description' => '', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'RoomNo' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => '101', ], 'AlarmId' => [ 'description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1234567', ], 'UserOpenId' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'mgw/***dHQd', ], 'DeviceOpenId' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'Pvk***VTA==', ], ], 'required' => false, ], 'required' => true, ], ], [ 'name' => 'ScheduleInfo', 'in' => 'formData', 'style' => 'json', 'schema' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'Type' => [ 'title' => 'ONCE, WEEKLY, STATUTORY_WORKING_DAY', 'description' => 'ONCE, WEEKLY', 'type' => 'string', 'required' => false, 'example' => 'ONCE', ], 'Once' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'Year' => [ 'description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2022', ], 'Month' => [ 'description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '9', ], 'Day' => [ 'description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20', ], 'Hour' => [ 'description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', ], 'Minute' => [ 'description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '0', ], ], 'required' => false, ], 'Weekly' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'DaysOfWeek' => [ 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', ], 'required' => false, ], 'Hour' => [ 'description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', ], 'Minute' => [ 'description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '0', ], ], 'required' => false, ], ], 'required' => false, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Result', 'description' => 'Result', 'type' => 'object', 'properties' => [ 'StatusCode' => [ 'title' => '调用返回码,除约定的SUCCESS_CODE外,其余由服务提供者自定义', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'Result' => [ 'title' => '服务的实际返回结果', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '1', ], 'Message' => [ 'title' => '附加信息,典型应用场景是对失败调用进行简述,方便调用方定位问题', 'description' => '', 'type' => 'string', 'example' => 'success', ], 'Extentions' => [ 'title' => '扩展字段', 'description' => '', 'type' => 'object', 'additionalProperties' => [ 'type' => 'any', 'example' => '""', 'description' => '', ], ], 'RequestId' => [ 'description' => '', 'type' => 'string', 'example' => '73C67BD9-175A-1324-8202-9FAABBB3E6FA', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'InvalidParameter', 'errorMessage' => 'The request parameter is invalid', ], ], 500 => [ [ 'errorCode' => 'ServerError', 'errorMessage' => 'internal server error', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"StatusCode\\": 200,\\n \\"Result\\": 1,\\n \\"Message\\": \\"success\\",\\n \\"Extentions\\": {\\n \\"key\\": \\"\\\\\\"\\\\\\"\\"\\n },\\n \\"RequestId\\": \\"73C67BD9-175A-1324-8202-9FAABBB3E6FA\\"\\n}","type":"json"}]', ], 'ChildAccountAuth' => [ 'summary' => '子账号授权', 'path' => '/v1.0/ip/childAccountAuth', 'methods' => [ 'post', ], 'schemes' => [ 'https', 'http', ], 'security' => [ [ 'AliGenie_Auth_SPI' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', ], 'parameters' => [ [ 'name' => 'Account', 'in' => 'formData', 'schema' => [ 'title' => '淘宝账号名称', 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'lee', ], ], [ 'name' => 'TbOpenId', 'in' => 'formData', 'schema' => [ 'title' => '淘宝开放id', 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'AAEV***E3d3Z2ETwh', ], ], [ 'name' => 'AppKey', 'in' => 'formData', 'schema' => [ 'title' => '开放平台appKey', 'description' => '', 'type' => 'string', 'required' => true, 'example' => '30471753', ], ], [ 'name' => 'HotelId', 'in' => 'formData', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'a7***83', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Result', 'description' => 'Result', 'type' => 'object', 'properties' => [ 'StatusCode' => [ 'title' => '调用返回码,除约定的SUCCESS_CODE外,其余由服务提供者自定义', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'Result' => [ 'title' => '服务的实际返回结果', 'description' => '', 'type' => 'boolean', 'example' => 'true', ], 'Message' => [ 'title' => '附加信息,典型应用场景是对失败调用进行简述,方便调用方定位问题', 'description' => '', 'type' => 'string', 'example' => 'success', ], 'Extentions' => [ 'title' => '扩展字段', 'description' => '', 'type' => 'object', 'additionalProperties' => [ 'type' => 'any', 'description' => '', ], ], 'RequestId' => [ 'description' => '', 'type' => 'string', 'example' => '3DB51A10-327C-58D3-91DF-3A5A471C51E7', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'InvalidParameter', 'errorMessage' => 'The request parameter is invalid', ], ], 500 => [ [ 'errorCode' => 'ServerError', 'errorMessage' => 'internal server error', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"StatusCode\\": 200,\\n \\"Result\\": true,\\n \\"Message\\": \\"success\\",\\n \\"Extentions\\": {\\n \\"key\\": \\"\\"\\n },\\n \\"RequestId\\": \\"3DB51A10-327C-58D3-91DF-3A5A471C51E7\\"\\n}","type":"json"}]', ], 'RemoveChildAccountAuth' => [ 'summary' => '删除子账号授权', 'path' => '/v1.0/ip/removeChildAccountAuth', 'methods' => [ 'post', ], 'schemes' => [ 'https', 'http', ], 'security' => [ [ 'AliGenie_Auth_SPI' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'delete', ], 'parameters' => [ [ 'name' => 'TbOpenId', 'in' => 'formData', 'schema' => [ 'title' => '授权人(平台登录用户)淘宝开放id', 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'AAEV***E3d3Z2ETwh', ], ], [ 'name' => 'AppKey', 'in' => 'formData', 'schema' => [ 'title' => 'top开放平台appKey', 'description' => '', 'type' => 'string', 'required' => true, 'example' => '30**53', ], ], [ 'name' => 'ChildAccountName', 'in' => 'formData', 'schema' => [ 'title' => '被授权账号的淘宝账号名称', 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'tbxxxx', ], ], [ 'name' => 'HotelId', 'in' => 'formData', 'schema' => [ 'title' => '酒店id', 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'af7***536', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Result', 'description' => 'Result', 'type' => 'object', 'properties' => [ 'StatusCode' => [ 'title' => '调用返回码,200标识为成功,非200详细见错误码表', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'Result' => [ 'title' => '服务的实际返回结果', 'description' => '', 'type' => 'boolean', 'example' => 'True', ], 'Message' => [ 'title' => '附加信息,典型应用场景是对失败调用进行简述,方便调用方定位问题', 'description' => '', 'type' => 'string', 'example' => 'success', ], 'RequestId' => [ 'description' => '', 'type' => 'string', 'example' => 'F12B***F34E', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'InvalidParameter', 'errorMessage' => 'The request parameter is invalid', ], ], 500 => [ [ 'errorCode' => 'ServerError', 'errorMessage' => 'internal server error', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"StatusCode\\": 200,\\n \\"Result\\": true,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"F12B***F34E\\"\\n}","type":"json"}]', ], 'PmsEventReport' => [ 'summary' => 'pms事件上报', 'path' => '/v1.0/ip/pmsEventReport', 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AliGenie_Auth_SPI' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'deprecated' => false, 'systemTags' => [], 'parameters' => [ [ 'name' => 'Payload', 'in' => 'formData', 'schema' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Result', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'StatusCode' => [ 'title' => '调用返回码,除约定的SUCCESS_CODE外,其余由服务提供者自定义', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'Result' => [ 'title' => '服务的实际返回结果', 'description' => '', 'type' => 'boolean', 'example' => 'true', ], 'Message' => [ 'title' => '附加信息,典型应用场景是对失败调用进行简述,方便调用方定位问题', 'description' => '', 'type' => 'string', 'example' => 'success', ], 'RequestId' => [ 'type' => 'string', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'InvalidParameter', 'errorMessage' => 'The request parameter is invalid', ], ], 500 => [ [ 'errorCode' => 'ServerError', 'errorMessage' => 'internal server error', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"StatusCode\\": 200,\\n \\"Result\\": true,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"0EC7*726E\\"\\n}","type":"json"}]', ], 'QueryDeviceStatus' => [ 'summary' => '查询酒店设备状态/模式状态查询', 'path' => '/v1.0/ip/queryDeviceStatus', 'methods' => [ 'post', ], 'schemes' => [ 'https', 'http', ], 'security' => [ [ 'AliGenie_Auth_SPI' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', ], 'parameters' => [ [ 'name' => 'Payload', 'in' => 'query', 'style' => 'json', 'schema' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'LocationDevices' => [ 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'Location' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'room', ], 'DeviceNumber' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'night_light', ], 'DeviceType' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'light', ], ], 'required' => false, ], 'required' => false, ], 'UserId' => [ 'type' => 'string', 'required' => true, ], 'Properties' => [ 'description' => '', 'type' => 'object', 'required' => false, 'additionalProperties' => [ 'type' => 'string', 'example' => 'mode', 'description' => '', ], ], ], 'required' => false, ], ], [ 'name' => 'UserInfo', 'in' => 'query', 'style' => 'json', 'schema' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'EncodeType' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'HOTEL', ], 'EncodeKey' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => '123', ], 'IdType' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'OPEN_ID', ], 'Id' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'rV/XSgPuxZjx/hN3iw8U+e8ou***lk1r43LWcVW6fvY1Rr4sEPFodpnA==', ], 'OrganizationId' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => '123', ], ], 'required' => false, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Result>', 'description' => '', 'type' => 'object', 'properties' => [ 'Code' => [ 'title' => '调用返回码,除约定的SUCCESS_CODE外,其余由服务提供者自定义', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'Result' => [ 'title' => '服务的实际返回结果', 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'object', 'additionalProperties' => [ 'type' => 'string', 'example' => 'value', 'description' => '', ], ], ], 'Message' => [ 'title' => '附加信息,典型应用场景是对失败调用进行简述,方便调用方定位问题', 'description' => '', 'type' => 'string', 'example' => 'success', ], 'RequestId' => [ 'description' => '', 'type' => 'string', 'example' => 'fdsgrefds', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'AliGenie.GetDeviceTag.InvalidParameter', 'errorMessage' => 'The request parameter is invalid.', ], ], 500 => [ [ 'errorCode' => 'AliGenie.Public.InternalError', 'errorMessage' => 'An internal error occurred.', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": 200,\\n \\"Result\\": [\\n {\\n \\"key\\": \\"value\\"\\n }\\n ],\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"fdsgrefds\\"\\n}","type":"json"}]', ], 'ListHotelControlDevice' => [ 'summary' => '酒店设备列表', 'path' => '/v1.0/ip/listHotelControlDevice', 'methods' => [ 'post', ], 'schemes' => [ 'https', 'http', ], 'security' => [ [ 'AliGenie_Auth_SPI' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', ], 'parameters' => [ [ 'name' => 'UserInfo', 'in' => 'query', 'style' => 'json', 'schema' => [ 'type' => 'object', 'properties' => [ 'EncodeType' => [ 'type' => 'string', 'required' => true, ], 'EncodeKey' => [ 'type' => 'string', 'required' => true, ], 'IdType' => [ 'type' => 'string', 'required' => true, ], 'Id' => [ 'type' => 'string', 'required' => true, ], 'OrganizationId' => [ 'type' => 'string', ], ], ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Result>', 'type' => 'object', 'properties' => [ 'Code' => [ 'title' => '调用返回码,除约定的SUCCESS_CODE外,其余由服务提供者自定义', 'type' => 'integer', 'format' => 'int32', ], 'Result' => [ 'title' => '服务的实际返回结果', 'type' => 'array', 'items' => [ 'type' => 'object', 'additionalProperties' => [ 'type' => 'string', ], ], ], 'Message' => [ 'title' => '附加信息,典型应用场景是对失败调用进行简述,方便调用方定位问题', 'type' => 'string', ], 'RequestId' => [ 'type' => 'string', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'AliGenie.GetDeviceTag.InvalidParameter', 'errorMessage' => 'The request parameter is invalid.', ], ], 500 => [ [ 'errorCode' => 'AliGenie.Public.InternalError', 'errorMessage' => 'An internal error occurred.', ], ], ], 'responseDemo' => null, ], 'DeviceControl' => [ 'summary' => '设备控制', 'path' => '/v1.0/ip/deviceControl', 'methods' => [ 'post', ], 'schemes' => [ 'https', 'http', ], 'security' => [ [ 'AliGenie_Auth_SPI' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [], 'parameters' => [ [ 'name' => 'Payload', 'in' => 'query', 'style' => 'json', 'schema' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'UserId' => [ 'title' => '', 'type' => 'string', ], 'Location' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'room', 'title' => '位置,例如room(房间),livingroom(客厅)等', ], 'Category' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'aircondition', 'title' => '客控设备品类,例如aircondition(空调),light(灯)等', ], 'Cmd' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'open', 'title' => '指令名称,例如open,close,详细支持指令见酒店行业对接文档', ], 'Properties' => [ 'description' => '', 'type' => 'object', 'required' => false, 'additionalProperties' => [ 'type' => 'string', 'example' => 'value', 'description' => '', 'title' => '可选配置,执行部分指令时需要附加的参数,例如设置空调温度时,需要附加需要调到的温度值,详细参数见酒店行业对接文档', ], 'title' => '可选配置,执行部分指令时需要附加的参数,例如设置空调温度时,需要附加需要调到的温度值,详细参数见酒店行业对接文档', ], 'ExtendInfo' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => '{}', 'title' => '扩展信息,预留字段', ], 'DeviceNumber' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'air_condition', 'title' => '设备编号,即在天猫精灵行业管理平台房型客控品类设置下设备的序列号', ], ], 'required' => false, 'title' => '业务参数', ], ], [ 'name' => 'UserInfo', 'in' => 'query', 'style' => 'json', 'schema' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'EncodeType' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'HOTEL', 'title' => '编码类型,此处填写 **HOTEL**。', ], 'EncodeKey' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => '123', 'title' => '编码类型对应的值,此处填写该酒店应用ID。请在天猫精灵行业管理平台查看。', ], 'IdType' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'OPEN_ID', 'title' => '用户Id的类型'."\n" ."\n" .'- OPEN_ID:默认的用户ID标识。'."\n" .'- UNION_ID: 组织维度的用户ID标识,需要提前在开放平台申请组织。', ], 'Id' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'HOFF****my7Iw=', 'title' => '用户标识,设置为userOpenId或userUnionId。', ], 'OrganizationId' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => '1**2', 'title' => '组织ID,如果IdType为UNION_ID时必填。', ], ], 'required' => false, 'title' => '用户标识信息', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => '返回结果对象', 'description' => '', 'type' => 'object', 'properties' => [ 'Code' => [ 'title' => '调用返回码,200表示成功', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'Result' => [ 'title' => '服务的实际返回结果', 'description' => '', 'type' => 'object', 'properties' => [ 'Status' => [ 'description' => '', 'type' => 'string', 'example' => '200', 'title' => '业务执行结果状态,200为执行成功', ], ], ], 'Message' => [ 'title' => '附加信息,典型应用场景是对失败调用进行简述,方便调用方定位问题', 'description' => '', 'type' => 'string', 'example' => 'success', ], 'RequestId' => [ 'description' => '', 'type' => 'string', 'example' => '43***28C-A810-5***-8747-EC226A086881', 'title' => '请求id', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'AliGenie.GetDeviceTag.InvalidParameter', 'errorMessage' => 'The request parameter is invalid.', ], ], ], 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": 200,\\n \\"Result\\": {\\n \\"Status\\": \\"200\\"\\n },\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"43***28C-A810-5***-8747-EC226A086881\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 200\\n \\n 200\\n \\n success\\n 43***28C-A810-5***-8747-EC226A086881\\n","errorExample":""}]', ], 'ListHotelSceneItem' => [ 'summary' => '服务项目', 'path' => '/v1.0/ip/listHotelSceneItem', 'methods' => [ 'post', ], 'schemes' => [ 'https', 'http', ], 'security' => [ [ 'AliGenie_Auth_SPI' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', ], 'parameters' => [ [ 'name' => 'Payload', 'in' => 'query', 'style' => 'json', 'schema' => [ 'title' => '场景服务payload', 'description' => '', 'type' => 'object', 'properties' => [ 'UserId' => [ 'title' => '用户ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '1345480696877233314', ], 'Type' => [ 'title' => '场景服务分类', 'description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'GOODS', ], ], 'required' => true, 'docRequired' => true, ], ], [ 'name' => 'UserInfo', 'in' => 'query', 'style' => 'json', 'schema' => [ 'title' => '用户信息', 'description' => '', 'type' => 'object', 'properties' => [ 'EncodeType' => [ 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'PROJECT_ID', ], 'EncodeKey' => [ 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '1248494721591392955', ], 'IdType' => [ 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'OPEN_ID', ], 'Id' => [ 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'mFU6VtVU+pgA8lx6rYMo7SPl11t+8b+8ALrn10MIPEdpK/HI9wELAEppYhPI1cYRDa4og8AMjAEBZKbLUwFjFA==', ], 'OrganizationId' => [ 'type' => 'string', 'required' => false, ], ], 'required' => true, 'docRequired' => true, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'PageResult', 'description' => 'PageResult', 'type' => 'object', 'properties' => [ 'Page' => [ 'title' => '分页结果', 'description' => '', 'type' => 'object', 'properties' => [ 'PageNumber' => [ 'title' => '第几页', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '1', ], 'PageSize' => [ 'title' => '每页多少条', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '10', ], 'Total' => [ 'title' => '共多少条数据', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '12', ], 'TotalPage' => [ 'title' => '共多少页', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '6', ], 'HasNext' => [ 'title' => '是否有下一页', 'description' => '', 'type' => 'boolean', ], ], ], 'Code' => [ 'title' => '状态码', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'Result' => [ 'title' => '服务的实际返回结果', 'description' => '', 'type' => 'object', 'properties' => [ 'SecondCategoryList' => [ 'title' => '服务分类list', 'description' => '', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'SecondCategoryName' => [ 'title' => '分类名称', 'description' => '', 'type' => 'string', 'example' => '客用品类', ], 'ItemList' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'Id' => [ 'title' => '物品ID', 'description' => '', 'type' => 'string', 'example' => '152860', ], 'Type' => [ 'title' => '物品分类', 'description' => '', 'type' => 'string', 'example' => 'GOODS', ], 'Category' => [ 'title' => '物品二级分类', 'description' => '', 'type' => 'string', 'example' => '客用品类', ], 'Name' => [ 'title' => '物品名称', 'description' => '', 'type' => 'string', 'example' => '棉签', ], 'Status' => [ 'title' => '物品状态', 'description' => '', 'type' => 'string', 'example' => '已添加', ], 'Icon' => [ 'title' => '物品icon', 'description' => '', 'type' => 'string', 'example' => 'https://ailabsaicloudservice.alicdn.com/hotel/icon/jiudianmianban_fuwushangpintu/wupin/keyongpinlei/mianqian.png', ], 'Price' => [ 'title' => '物品价格', 'description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '1', ], 'ResidueLimit' => [ 'title' => '剩余下单数量'."\n" .' -1表示 不限制 0表示无剩余下单量 >0为可下单的数量', 'type' => 'integer', 'format' => 'int64', ], ], ], ], ], ], ], ], ], 'Message' => [ 'title' => '附加信息', 'description' => '', 'type' => 'string', 'example' => 'success', ], 'RequestId' => [ 'title' => '请求ID', 'description' => '', 'type' => 'string', 'example' => 'CEADB586-51CB-1B6B-95BD-AB85A7A08E97', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'AliGenie.GetDeviceTag.InvalidParameter', 'errorMessage' => 'The request parameter is invalid.', ], ], 500 => [ [ 'errorCode' => 'AliGenie.Public.InternalError', 'errorMessage' => 'An internal error occurred.', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Page\\": {\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10,\\n \\"Total\\": 12,\\n \\"TotalPage\\": 6,\\n \\"HasNext\\": true\\n },\\n \\"Code\\": 200,\\n \\"Result\\": {\\n \\"SecondCategoryList\\": [\\n {\\n \\"SecondCategoryName\\": \\"客用品类\\",\\n \\"ItemList\\": [\\n {\\n \\"Id\\": \\"152860\\",\\n \\"Type\\": \\"GOODS\\",\\n \\"Category\\": \\"客用品类\\",\\n \\"Name\\": \\"棉签\\",\\n \\"Status\\": \\"已添加\\",\\n \\"Icon\\": \\"https://ailabsaicloudservice.alicdn.com/hotel/icon/jiudianmianban_fuwushangpintu/wupin/keyongpinlei/mianqian.png\\",\\n \\"Price\\": 1,\\n \\"ResidueLimit\\": 2\\n }\\n ]\\n }\\n ]\\n },\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"CEADB586-51CB-1B6B-95BD-AB85A7A08E97\\"\\n}","type":"json"}]', ], 'ListHotelServiceCategory' => [ 'summary' => '服务分类列表', 'path' => '/v1.0/ip/listHotelServiceCategory', 'methods' => [ 'post', ], 'schemes' => [ 'https', 'http', ], 'security' => [ [ 'AliGenie_Auth_SPI' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', ], 'parameters' => [ [ 'name' => 'Payload', 'in' => 'query', 'style' => 'json', 'schema' => [ 'title' => '服务分类', 'description' => '', 'type' => 'object', 'properties' => [ 'Type' => [ 'title' => '服务分类类型', 'description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'HOTEL_SERVICE', ], ], 'required' => true, 'docRequired' => true, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Result>', 'description' => 'Result>', 'type' => 'object', 'properties' => [ 'Code' => [ 'title' => '状态码', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'Result' => [ 'title' => '服务的实际返回结果', 'description' => '', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'Type' => [ 'title' => '服务分类类型', 'description' => '', 'type' => 'string', 'example' => 'HOTEL_SERVICE', ], 'Code' => [ 'title' => '服务分类code', 'description' => '', 'type' => 'string', 'example' => 'GOODS', ], 'Name' => [ 'title' => '服务分类名称', 'description' => '', 'type' => 'string', 'example' => '物品添加', ], 'Desc' => [ 'title' => '服务分类描述', 'description' => '', 'type' => 'string', 'example' => '生活及洗漱用品', ], 'Icon' => [ 'title' => '服务分类icon', 'description' => '', 'type' => 'string', 'example' => 'https://ailabsaicloudservice.alicdn.com/hotel/icon/changjingfenlei/wupintianjia.png', ], ], ], ], 'Message' => [ 'title' => '附加信息', 'description' => '', 'type' => 'string', 'example' => 'success', ], 'RequestId' => [ 'title' => '请求ID', 'description' => '', 'type' => 'string', 'example' => '5373C821-65D2-1764-B9F9-951914937FF5', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'AliGenie.GetDeviceTag.InvalidParameter', 'errorMessage' => 'The request parameter is invalid.', ], ], 500 => [ [ 'errorCode' => 'AliGenie.Public.InternalError', 'errorMessage' => 'An internal error occurred.', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": 200,\\n \\"Result\\": [\\n {\\n \\"Type\\": \\"HOTEL_SERVICE\\",\\n \\"Code\\": \\"GOODS\\",\\n \\"Name\\": \\"物品添加\\",\\n \\"Desc\\": \\"生活及洗漱用品\\",\\n \\"Icon\\": \\"https://ailabsaicloudservice.alicdn.com/hotel/icon/changjingfenlei/wupintianjia.png\\"\\n }\\n ],\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"5373C821-65D2-1764-B9F9-951914937FF5\\"\\n}","type":"json"}]', ], 'GetHotelOrderDetail' => [ 'summary' => '获取酒店订单详情', 'path' => '/v1.0/ip/getHotelOrderDetail', 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AliGenie_Auth_SPI' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', ], 'parameters' => [ [ 'name' => 'Payload', 'in' => 'query', 'style' => 'json', 'schema' => [ 'title' => '订单详情payload', 'description' => '', 'type' => 'object', 'properties' => [ 'OrderNo' => [ 'title' => '订单号', 'description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '20220714150702000168270112410630', ], ], 'required' => true, 'docRequired' => true, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Result>', 'description' => 'Result>', 'type' => 'object', 'properties' => [ 'Code' => [ 'title' => '状态码', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'Result' => [ 'title' => '服务的实际返回结果', 'description' => '', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'Name' => [ 'title' => '物品名称', 'description' => '', 'type' => 'string', 'example' => '窗帘', ], 'ApplyAmt' => [ 'title' => '物品金额', 'description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '200', ], 'Quantity' => [ 'title' => '物品数量', 'description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '1', ], 'ItemUrl' => [ 'title' => '物品icon', 'description' => '', 'type' => 'string', 'example' => 'https://ailabsaicloudservice.alicdn.com/hotel/icon/jiudianmianban_fuwushangpintu/weixiu/dianqilei/chuanglian.png', ], 'GmtCreate' => [ 'title' => '创建时间', 'description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '1659952892000', ], ], ], ], 'Message' => [ 'title' => '附加信息', 'description' => '', 'type' => 'string', 'example' => 'success', ], 'RequestId' => [ 'title' => '请求ID', 'description' => '', 'type' => 'string', 'example' => '6F579407-13C4-1708-AFA2-B657BE5FE8F5', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'AliGenie.GetDeviceTag.InvalidParameter', 'errorMessage' => 'The request parameter is invalid.', ], ], 500 => [ [ 'errorCode' => 'AliGenie.Public.InternalError', 'errorMessage' => 'An internal error occurred.', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": 200,\\n \\"Result\\": [\\n {\\n \\"Name\\": \\"窗帘\\",\\n \\"ApplyAmt\\": 200,\\n \\"Quantity\\": 1,\\n \\"ItemUrl\\": \\"https://ailabsaicloudservice.alicdn.com/hotel/icon/jiudianmianban_fuwushangpintu/weixiu/dianqilei/chuanglian.png\\",\\n \\"GmtCreate\\": 1659952892000\\n }\\n ],\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"6F579407-13C4-1708-AFA2-B657BE5FE8F5\\"\\n}","type":"json"}]', ], 'ListHotelOrder' => [ 'summary' => '酒店订单列表', 'path' => '/v1.0/ip/listHotelOrder', 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AliGenie_Auth_SPI' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', ], 'parameters' => [ [ 'name' => 'Payload', 'in' => 'query', 'style' => 'json', 'schema' => [ 'title' => '酒店订单列表payload', 'description' => '', 'type' => 'object', 'properties' => [ 'UserId' => [ 'title' => '用户ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '1345480696877233314', ], 'Page' => [ 'title' => '分页参数', 'description' => '', 'type' => 'object', 'properties' => [ 'PageNumber' => [ 'title' => '第几页', 'description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '1', ], 'PageSize' => [ 'title' => '每页多少条数据', 'description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '10', ], ], 'required' => true, 'docRequired' => true, ], ], 'required' => true, 'docRequired' => true, ], ], [ 'name' => 'UserInfo', 'in' => 'query', 'style' => 'json', 'schema' => [ 'title' => '用户信息', 'description' => '', 'type' => 'object', 'properties' => [ 'EncodeType' => [ 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'PROJECT_ID', ], 'EncodeKey' => [ 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '1248494721591392955', ], 'IdType' => [ 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'OPEN_ID', ], 'Id' => [ 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'mFU6VtVU+pgA8lx6rYMo7SPl11t+8b+8ALrn10MIPEdpK/HI9wELAEppYhPI1cYRDa4og8AMjAEBZKbLUwFjFA==', ], 'OrganizationId' => [ 'type' => 'string', 'required' => false, ], ], 'required' => true, 'docRequired' => true, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'PageResult>', 'description' => 'PageResult>', 'type' => 'object', 'properties' => [ 'Page' => [ 'title' => '分页结果', 'description' => '', 'type' => 'object', 'properties' => [ 'PageNumber' => [ 'title' => '第几页', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '1', ], 'PageSize' => [ 'title' => '每页多少条数据', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '10', ], 'Total' => [ 'title' => '共多少条数据', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '21', ], 'TotalPage' => [ 'title' => '共多少页', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '7', ], 'HasNext' => [ 'title' => '是否有下一页', 'description' => '', 'type' => 'boolean', ], ], ], 'Code' => [ 'title' => '状态码', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'Result' => [ 'title' => '服务的实际返回结果', 'description' => '', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'RoomNo' => [ 'title' => '房间号', 'description' => '', 'type' => 'string', 'example' => '2001', ], 'OrderNo' => [ 'title' => '订单号', 'description' => '', 'type' => 'string', 'example' => '20220808180132000114508555527711', ], 'Quantity' => [ 'title' => '共多少个物品', 'description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '12', ], 'ApplyAmt' => [ 'title' => '共需要多少钱', 'description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '21.5', ], 'Status' => [ 'title' => '订单状态', 'description' => '', 'type' => 'string', 'example' => 'INIT', ], 'GmtCreate' => [ 'title' => '订单创建时间', 'description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '1659952892000', ], 'Type' => [ 'title' => '订单商品所属分类', 'description' => '', 'type' => 'string', 'example' => 'REPAIR', ], 'TypeName' => [ 'title' => '订单物品所属分类名称', 'description' => '', 'type' => 'string', 'example' => '设备维修', ], 'TypeIconUrl' => [ 'title' => '订单物品所属分类icon', 'description' => '', 'type' => 'string', 'example' => 'https://ailabsaicloudservice.alicdn.com/hotel/icon/changjingfenlei/shebeiweixiu.png', ], 'Amt' => [ 'title' => '单价', 'type' => 'integer', 'format' => 'int64', ], 'Icon' => [ 'title' => '商品图片', 'type' => 'string', ], 'Name' => [ 'title' => '商品名称', 'type' => 'string', ], 'ItemType' => [ 'title' => '商品类型', 'type' => 'string', ], 'ItemId' => [ 'title' => '商品id', 'type' => 'integer', 'format' => 'int64', ], 'DeliveryTime' => [ 'title' => '商品预计送达时间', 'type' => 'integer', 'format' => 'int64', ], 'PaymentMethod' => [ 'title' => '商品结算方式', 'type' => 'string', ], 'StartTime' => [ 'title' => '数据查询开始时间', 'type' => 'integer', 'format' => 'int64', ], 'SumAmt' => [ 'title' => '当前入住下单汇总金额', 'type' => 'integer', 'format' => 'int64', ], 'OrderStatus' => [ 'title' => '订单状态', 'type' => 'string', ], 'DeliveryRoomName' => [ 'title' => '配送房间名称', 'type' => 'string', ], 'DeliveryMethod' => [ 'type' => 'string', ], ], ], ], 'Message' => [ 'title' => '附加信息', 'description' => '', 'type' => 'string', 'example' => 'success', ], 'RequestId' => [ 'title' => '请求ID', 'description' => '', 'type' => 'string', 'example' => '07F61FDA-606F-10A0-8ED0-C6CE62710A48', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'AliGenie.GetDeviceTag.InvalidParameter', 'errorMessage' => 'The request parameter is invalid.', ], ], 500 => [ [ 'errorCode' => 'AliGenie.Public.InternalError', 'errorMessage' => 'An internal error occurred.', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Page\\": {\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10,\\n \\"Total\\": 21,\\n \\"TotalPage\\": 7,\\n \\"HasNext\\": true\\n },\\n \\"Code\\": 200,\\n \\"Result\\": [\\n {\\n \\"RoomNo\\": \\"2001\\",\\n \\"OrderNo\\": \\"20220808180132000114508555527711\\",\\n \\"Quantity\\": 12,\\n \\"ApplyAmt\\": 21.5,\\n \\"Status\\": \\"INIT\\",\\n \\"GmtCreate\\": 1659952892000,\\n \\"Type\\": \\"REPAIR\\",\\n \\"TypeName\\": \\"设备维修\\",\\n \\"TypeIconUrl\\": \\"https://ailabsaicloudservice.alicdn.com/hotel/icon/changjingfenlei/shebeiweixiu.png\\",\\n \\"Amt\\": 0,\\n \\"Icon\\": \\"\\",\\n \\"Name\\": \\"\\",\\n \\"ItemType\\": \\"\\",\\n \\"ItemId\\": 0,\\n \\"DeliveryTime\\": 0,\\n \\"PaymentMethod\\": \\"\\",\\n \\"StartTime\\": 0,\\n \\"SumAmt\\": 0,\\n \\"OrderStatus\\": \\"\\",\\n \\"DeliveryRoomName\\": \\"\\",\\n \\"DeliveryMethod\\": \\"\\"\\n }\\n ],\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"07F61FDA-606F-10A0-8ED0-C6CE62710A48\\"\\n}","type":"json"}]', ], 'SubmitHotelOrder' => [ 'summary' => '提交酒店订单', 'path' => '/v1.0/ip/submitHotelOrder', 'methods' => [ 'post', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AliGenie_Auth_SPI' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', ], 'parameters' => [ [ 'name' => 'Payload', 'in' => 'query', 'style' => 'json', 'schema' => [ 'title' => '提交订单payload', 'description' => '', 'type' => 'object', 'properties' => [ 'UserId' => [ 'title' => '用户ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '1345480696877233314', ], 'Type' => [ 'title' => '物品所属分类', 'description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'GOODS', ], 'ItemList' => [ 'title' => '物品list', 'description' => '', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'ItemId' => [ 'title' => '物品ID', 'description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '152860', ], 'Quantity' => [ 'title' => '物品数量', 'description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'docRequired' => true, 'example' => '2', ], 'Remark' => [ 'title' => '备注', 'type' => 'string', ], ], 'required' => false, ], 'required' => true, ], ], 'required' => true, 'docRequired' => true, ], ], [ 'name' => 'UserInfo', 'in' => 'query', 'style' => 'json', 'schema' => [ 'title' => '用户信息', 'description' => '', 'type' => 'object', 'properties' => [ 'EncodeType' => [ 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'PROJECT_ID', ], 'EncodeKey' => [ 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '1248494721591392955', ], 'IdType' => [ 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'OPEN_ID', ], 'Id' => [ 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'mFU6VtVU+pgA8lx6rYMo7SPl11t+8b+8ALrn10MIPEdpK/HI9wELAEppYhPI1cYRDa4og8AMjAEBZKbLUwFjFA==', ], 'OrganizationId' => [ 'type' => 'string', 'required' => false, ], ], 'required' => true, 'docRequired' => true, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Result', 'description' => 'Result', 'type' => 'object', 'properties' => [ 'Code' => [ 'title' => '状态码', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'Result' => [ 'title' => '订单号', 'description' => '', 'type' => 'string', 'example' => '20220809104752000114671478353329', ], 'Message' => [ 'title' => '附加信息', 'description' => '', 'type' => 'string', 'example' => 'success', ], 'RequestId' => [ 'title' => '请求ID', 'description' => '', 'type' => 'string', 'example' => 'CCCF2E86-D9B5-12A6-AD25-8A06933D2B0F', ], 'StatusCode' => [ 'type' => 'integer', 'format' => 'int32', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'AliGenie.GetDeviceTag.InvalidParameter', 'errorMessage' => 'The request parameter is invalid.', ], ], 500 => [ [ 'errorCode' => 'AliGenie.Public.InternalError', 'errorMessage' => 'An internal error occurred.', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": 200,\\n \\"Result\\": \\"20220809104752000114671478353329\\",\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"CCCF2E86-D9B5-12A6-AD25-8A06933D2B0F\\",\\n \\"StatusCode\\": 200\\n}","type":"json"}]', ], 'GetHotelNotice' => [ 'summary' => '获取酒店通知', 'path' => '/v1.0/ip/getHotelNotice', 'methods' => [ 'post', ], 'schemes' => [ 'https', 'http', ], 'security' => [ [ 'AliGenie_Auth_SPI' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', ], 'parameters' => [ [ 'name' => 'UserInfo', 'in' => 'query', 'style' => 'json', 'schema' => [ 'title' => '用户信息', 'description' => '', 'type' => 'object', 'properties' => [ 'EncodeType' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'PROJECT_ID', ], 'EncodeKey' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => '12**45', ], 'IdType' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'OPEN_ID', ], 'Id' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'DAFE****ce3ej=', ], 'OrganizationId' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => '1', ], ], 'required' => true, 'docRequired' => true, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Result', 'description' => 'Result', 'type' => 'object', 'properties' => [ 'Code' => [ 'title' => '状态码', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'Result' => [ 'title' => '服务的实际返回结果', 'description' => '', 'type' => 'string', 'example' => 'test notice...', ], 'Message' => [ 'title' => '附加信息', 'description' => '', 'type' => 'string', 'example' => 'success', ], 'RequestId' => [ 'description' => 'RequestId', 'type' => 'string', 'example' => '73C67BD9-175A-1324-8202-9FAABBB3E6FA', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'InvalidParameter', 'errorMessage' => 'The request parameter is invalid', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": 200,\\n \\"Result\\": \\"test notice...\\",\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"73C67BD9-175A-1324-8202-9FAABBB3E6FA\\"\\n}","type":"json"}]', ], 'GetHotelNoticeV2' => [ 'summary' => '获取酒店通知', 'path' => '/v1.0/ip/getHotelNoticeV2', 'methods' => [ 'post', ], 'schemes' => [ 'https', 'http', ], 'security' => [ [ 'AliGenie_Auth_SPI' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', ], 'parameters' => [ [ 'name' => 'UserInfo', 'in' => 'query', 'style' => 'json', 'schema' => [ 'title' => '用户信息', 'description' => '', 'type' => 'object', 'properties' => [ 'EncodeType' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'HOTEL', ], 'EncodeKey' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => '123', ], 'IdType' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'OPEN_ID', ], 'Id' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'rV/XSgPuxZjx/hN3iw8U+e8ou***lk1r43LWcVW6fvY1Rr4sEPFodpnA==', ], 'OrganizationId' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => '123', ], ], 'required' => true, 'docRequired' => true, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Result', 'description' => 'Result', 'type' => 'object', 'properties' => [ 'StatusCode' => [ 'title' => '调用返回码,200标识成功', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'Result' => [ 'title' => '服务的实际返回结果', 'description' => '', 'type' => 'object', 'properties' => [ 'HotelId' => [ 'title' => '酒店id', 'description' => '', 'type' => 'string', 'example' => 'a7***83', ], 'Title' => [ 'title' => '酒店通知标题', 'description' => '', 'type' => 'string', 'example' => '', ], 'Content' => [ 'title' => '酒店通知内容', 'description' => '', 'type' => 'string', 'example' => '', ], ], ], 'Message' => [ 'title' => '附加信息,典型应用场景是对失败调用进行简述,方便调用方定位问题', 'description' => '', 'type' => 'string', 'example' => 'success', ], 'RequestId' => [ 'title' => '请求Id', 'description' => '', 'type' => 'string', 'example' => '0D0C***67DB', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'InvalidParameter', 'errorMessage' => 'The request parameter is invalid', ], ], 500 => [ [ 'errorCode' => 'ServerError', 'errorMessage' => 'internal server error', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"StatusCode\\": 200,\\n \\"Result\\": {\\n \\"HotelId\\": \\"a7***83\\",\\n \\"Title\\": \\"欢迎入住智能酒店\\",\\n \\"Content\\": \\"欢迎入住,我是您的智能语音助手\\"\\n },\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"0D0C***67DB\\"\\n}","type":"json"}]', ], 'GetHotelHomeBackImageAndModes' => [ 'summary' => '获取首页背景图和场景模式', 'path' => '/v1.0/ip/getHotelHomeBackImageAndModes', 'methods' => [ 'post', ], 'schemes' => [ 'https', 'http', ], 'security' => [ [ 'AliGenie_Auth_SPI' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', ], 'parameters' => [ [ 'name' => 'UserInfo', 'in' => 'query', 'style' => 'json', 'schema' => [ 'title' => '用户信息', 'type' => 'object', 'properties' => [ 'EncodeType' => [ 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'PROJECT_ID', ], 'EncodeKey' => [ 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '1248494721591392955', ], 'IdType' => [ 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'OPEN_ID', ], 'Id' => [ 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'mFU6VtVU+pgA8lx6rYMo7SPl11t+8b+8ALrn10MIPEdpK/HI9wELAEppYhPI1cYRDa4og8AMjAEBZKbLUwFjFA==', ], 'OrganizationId' => [ 'type' => 'string', ], ], 'required' => true, 'docRequired' => true, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Result', 'type' => 'object', 'properties' => [ 'Code' => [ 'title' => '状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'Result' => [ 'title' => '服务的实际返回结果', 'type' => 'object', 'properties' => [ 'BackgroundImage' => [ 'title' => '背景图URL', 'type' => 'string', 'example' => 'https://ailabs.alibabausercontent.com/platform/3d4fe6d66ec49d9789635f66627f0339/welcome_audios/976210a6532150f49c2677a8b7dbc105/l6fspbhn.jpg', ], 'HotelName' => [ 'title' => '酒店名称', 'type' => 'string', 'example' => '宣雍测试橙蜂酒店', ], 'ModeList' => [ 'title' => '模式list', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'Code' => [ 'title' => '模式code', 'type' => 'string', 'example' => 'romantic', ], 'CnName' => [ 'title' => '模式名称', 'type' => 'string', 'example' => '浪漫模式', ], 'Icon' => [ 'title' => '模式icon', 'type' => 'string', 'example' => 'https://ailabsaicloudservice.alicdn.com/hotel/icon/changjingmoshi/langman.png', ], ], ], ], ], ], 'Message' => [ 'title' => '附加信息', 'type' => 'string', 'example' => 'success', ], 'RequestId' => [ 'title' => '请求ID', 'type' => 'string', 'example' => '394450FC-9035-1B7C-8829-BC88832473FC', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => ' AliGenie.GetDeviceTag.InvalidParameter', 'errorMessage' => 'The request parameter is invalid.', ], ], ], 'responseDemo' => null, ], 'GetHotelSampleUtterances' => [ 'summary' => '获取推荐语料', 'path' => '/v1.0/ip/getHotelSampleUtterances', 'methods' => [ 'post', ], 'schemes' => [ 'https', 'http', ], 'security' => [ [ 'AliGenie_Auth_SPI' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', ], 'parameters' => [ [ 'name' => 'UserInfo', 'in' => 'query', 'style' => 'json', 'schema' => [ 'type' => 'object', 'properties' => [ 'EncodeType' => [ 'type' => 'string', 'required' => true, ], 'EncodeKey' => [ 'type' => 'string', 'required' => true, ], 'IdType' => [ 'type' => 'string', 'required' => true, ], 'Id' => [ 'type' => 'string', 'required' => true, ], 'OrganizationId' => [ 'type' => 'string', ], ], ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Result>', 'type' => 'object', 'properties' => [ 'Code' => [ 'title' => '调用返回码,除约定的SUCCESS_CODE外,其余由服务提供者自定义', 'type' => 'integer', 'format' => 'int32', ], 'Result' => [ 'title' => '服务的实际返回结果', 'type' => 'array', 'items' => [ 'type' => 'string', ], ], 'Message' => [ 'title' => '附加信息,典型应用场景是对失败调用进行简述,方便调用方定位问题', 'type' => 'string', ], 'RequestId' => [ 'type' => 'string', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'AliGenie.GetDeviceTag.InvalidParameter', 'errorMessage' => 'The request parameter is invalid.', ], ], 500 => [ [ 'errorCode' => 'AliGenie.Public.InternalError', 'errorMessage' => 'An internal error occurred.', ], ], ], 'responseDemo' => null, ], 'GetHotelScreenSaver' => [ 'summary' => '获取酒店屏保', 'path' => '/v1.0/ip/getHotelScreenSaver', 'methods' => [ 'post', ], 'schemes' => [ 'https', 'http', ], 'security' => [ [ 'AliGenie_Auth_SPI' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', ], 'parameters' => [ [ 'name' => 'UserInfo', 'in' => 'query', 'style' => 'json', 'schema' => [ 'title' => '用户信息', 'description' => '', 'type' => 'object', 'properties' => [ 'EncodeType' => [ 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'PROJECT_ID', ], 'EncodeKey' => [ 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '1248494721591392955', ], 'IdType' => [ 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'OPEN_ID', ], 'Id' => [ 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'mFU6VtVU+pgA8lx6rYMo7SPl11t+8b+8ALrn10MIPEdpK/HI9wELAEppYhPI1cYRDa4og8AMjAEBZKbLUwFjFA==', ], 'OrganizationId' => [ 'type' => 'string', 'required' => false, ], ], 'required' => true, 'docRequired' => true, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Result', 'description' => 'Result', 'type' => 'object', 'properties' => [ 'Code' => [ 'title' => '状态码', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'Result' => [ 'title' => '服务的实际返回结果', 'description' => '', 'type' => 'object', 'properties' => [ 'StyleCode' => [ 'title' => '屏保样式code', 'description' => '', 'type' => 'string', 'example' => 'common-weather', ], 'PicUrl' => [ 'title' => '屏保图片', 'description' => '', 'type' => 'string', 'example' => 'https://ailabs.alibabausercontent.com/platform/3d4fe6d66ec49d9789635f66627f0339/welcome_audios/976210a6532150f49c2677a8b7dbc105/l6fspbhd.jpg', ], ], ], 'Message' => [ 'title' => '附加信息', 'description' => '', 'type' => 'string', 'example' => 'success', ], 'RequestId' => [ 'title' => '请求ID', 'description' => '', 'type' => 'string', 'example' => '5F0467E1-19F2-1757-B6D0-B79917BA2E81', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'InvalidParameter', 'errorMessage' => 'The request parameter is invalid.', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": 200,\\n \\"Result\\": {\\n \\"StyleCode\\": \\"common-weather\\",\\n \\"PicUrl\\": \\"https://ailabs.alibabausercontent.com/platform/3d4fe6d66ec49d9789635f66627f0339/welcome_audios/976210a6532150f49c2677a8b7dbc105/l6fspbhd.jpg\\"\\n },\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"5F0467E1-19F2-1757-B6D0-B79917BA2E81\\"\\n}","type":"json"}]', ], 'RoomCheckOut' => [ 'summary' => '退房', 'path' => '/v1.0/ip/roomCheckOut', 'methods' => [ 'post', ], 'schemes' => [ 'https', 'http', ], 'security' => [ [ 'AliGenie_Auth_SPI' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', ], 'parameters' => [ [ 'name' => 'UserInfo', 'in' => 'query', 'style' => 'json', 'schema' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'EncodeType' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'HOTEL', ], 'EncodeKey' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => '123', ], 'IdType' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'OPEN_ID', ], 'Id' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'rV/XSgPuxZjx/hN3iw8U+e8ou***lk1r43LWcVW6fvY1Rr4sEPFodpnA==', ], 'OrganizationId' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => '123', ], ], 'required' => false, ], ], [ 'name' => 'DeviceInfo', 'in' => 'query', 'style' => 'json', 'schema' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'EncodeType' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'HOTEL', ], 'EncodeKey' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => '123', ], 'IdType' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'OPEN_ID', ], 'Id' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'rV/XSgPuxZjx/hN3iw8U+e8ou***lk1r43LWcVW6fvY1Rr4sEPFodpnA==', ], 'OrganizationId' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => '123', ], ], 'required' => false, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Result>', 'description' => '', 'type' => 'object', 'properties' => [ 'Code' => [ 'title' => '调用返回码,除约定的SUCCESS_CODE外,其余由服务提供者自定义', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'Result' => [ 'description' => '', 'type' => 'boolean', 'example' => 'true', ], 'Message' => [ 'title' => '附加信息,典型应用场景是对失败调用进行简述,方便调用方定位问题', 'description' => '', 'type' => 'string', 'example' => 'success', ], 'RequestId' => [ 'description' => '', 'type' => 'string', 'example' => 'dsvrevd', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'AliGenie.GetDeviceTag.InvalidParameter', 'errorMessage' => 'The request parameter is invalid.', ], ], 500 => [ [ 'errorCode' => 'AliGenie.Public.InternalError', 'errorMessage' => 'An internal error occurred.', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": 200,\\n \\"Result\\": true,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"dsvrevd\\"\\n}","type":"json"}]', ], 'GetHotelContacts' => [ 'summary' => '获取酒店联系人', 'path' => '/v1.0/ip/getHotelContacts', 'methods' => [ 'post', ], 'schemes' => [ 'https', 'http', ], 'security' => [ [ 'AliGenie_Auth_SPI' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', ], 'parameters' => [ [ 'name' => 'UserInfo', 'in' => 'query', 'style' => 'json', 'schema' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'EncodeType' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'HOTEL', ], 'EncodeKey' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => '123', ], 'IdType' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'OPEN_ID', ], 'Id' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'rV/XSgPuxZjx/hN3iw8U+e8ou***lk1r43LWcVW6fvY1Rr4sEPFodpnA==', ], 'OrganizationId' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => '123', ], ], 'required' => false, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Result>', 'description' => 'Result>', 'type' => 'object', 'properties' => [ 'StatusCode' => [ 'title' => '调用返回码,200标识成功', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'Result' => [ 'title' => '服务的实际返回结果', 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'HotelId' => [ 'title' => '酒店id', 'description' => '', 'type' => 'string', 'example' => 'cf24***96e7', ], 'Type' => [ 'title' => '联系人类型,device:设备,group:分组', 'description' => '', 'type' => 'string', 'example' => 'group', ], 'Uuid' => [ 'title' => '唯一标识', 'description' => '', 'type' => 'string', 'example' => '0862***A809', ], 'Number' => [ 'title' => '号码', 'description' => '', 'type' => 'string', 'example' => '101', ], 'Name' => [ 'title' => '联系人名称', 'description' => '', 'type' => 'string', 'example' => '', ], 'Icon' => [ 'title' => '图标', 'description' => '', 'type' => 'string', 'example' => 'xxx.icon', ], 'Status' => [ 'title' => '状态,1:可用,0:不可用', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '1', ], 'ExpireAt' => [ 'title' => '失效时间', 'description' => '', 'type' => 'string', 'example' => '1649472283046', ], ], ], ], 'Message' => [ 'title' => '附加信息,典型应用场景是对失败调用进行简述,方便调用方定位问题', 'description' => '', 'type' => 'string', 'example' => 'success', ], 'RequestId' => [ 'description' => '', 'type' => 'string', 'example' => '0EC7*726E', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'InvalidParameter', 'errorMessage' => 'The request parameter is invalid', ], ], 500 => [ [ 'errorCode' => 'ServerError', 'errorMessage' => 'internal server error', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"StatusCode\\": 200,\\n \\"Result\\": [\\n {\\n \\"HotelId\\": \\"cf24***96e7\\",\\n \\"Type\\": \\"group\\",\\n \\"Uuid\\": \\"0862***A809\\",\\n \\"Number\\": \\"101\\",\\n \\"Name\\": \\"前台\\",\\n \\"Icon\\": \\"xxx.icon\\",\\n \\"Status\\": 1,\\n \\"ExpireAt\\": \\"1649472283046\\"\\n }\\n ],\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"0EC7*726E\\"\\n}","type":"json"}]', ], 'GetHotelContactByNumber' => [ 'summary' => '根据号码获取酒店联系人', 'path' => '/v1.0/ip/getHotelContactByNumber', 'methods' => [ 'post', ], 'schemes' => [ 'https', 'http', ], 'security' => [ [ 'AliGenie_Auth_SPI' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', ], 'parameters' => [ [ 'name' => 'Number', 'in' => 'formData', 'schema' => [ 'title' => '号码', 'description' => '', 'type' => 'string', 'required' => true, 'example' => '101', ], ], [ 'name' => 'UserInfo', 'in' => 'query', 'style' => 'json', 'schema' => [ 'title' => '用户信息', 'description' => '', 'type' => 'object', 'properties' => [ 'EncodeType' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'HOTEL', ], 'EncodeKey' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => '123', ], 'IdType' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'OPEN_ID', ], 'Id' => [ 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'rV/XSgPuxZjx/hN3iw8U+e8ou***lk1r43LWcVW6fvY1Rr4sEPFodpnA==', ], 'OrganizationId' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => '123', ], ], 'required' => false, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Result', 'description' => 'Result', 'type' => 'object', 'properties' => [ 'StatusCode' => [ 'title' => '调用返回码,200标识成功', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'Result' => [ 'title' => '服务的实际返回结果', 'description' => '', 'type' => 'object', 'properties' => [ 'HotelId' => [ 'title' => '酒店id', 'description' => '', 'type' => 'string', 'example' => 'a7***83', ], 'Type' => [ 'title' => '联系人类型,device:设备,group:分组', 'description' => '', 'type' => 'string', 'example' => 'group', ], 'Uuid' => [ 'title' => '唯一标识', 'description' => '', 'type' => 'string', 'example' => '2E57***D45F9', ], 'Number' => [ 'title' => '号码', 'description' => '', 'type' => 'string', 'example' => '101', ], 'Name' => [ 'title' => '联系人名称', 'description' => '', 'type' => 'string', 'example' => '', ], 'Icon' => [ 'title' => '图标', 'description' => '', 'type' => 'string', 'example' => 'xxx.icon', ], 'Status' => [ 'title' => '状态,1:可用,0:不可用', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '1', ], 'ExpireAt' => [ 'title' => '失效时间', 'description' => '', 'type' => 'string', 'example' => '1649316479098', ], ], ], 'Message' => [ 'title' => '附加信息,典型应用场景是对失败调用进行简述,方便调用方定位问题', 'description' => '', 'type' => 'string', 'example' => 'success', ], 'RequestId' => [ 'description' => '', 'type' => 'string', 'example' => '0EC7*726E', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'InvalidParameter', 'errorMessage' => 'The request parameter is invalid', ], ], 500 => [ [ 'errorCode' => 'ServerError', 'errorMessage' => 'internal server error', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"StatusCode\\": 200,\\n \\"Result\\": {\\n \\"HotelId\\": \\"a7***83\\",\\n \\"Type\\": \\"group\\",\\n \\"Uuid\\": \\"2E57***D45F9\\",\\n \\"Number\\": \\"101\\",\\n \\"Name\\": \\"前台\\",\\n \\"Icon\\": \\"xxx.icon\\",\\n \\"Status\\": 1,\\n \\"ExpireAt\\": \\"1649316479098\\"\\n },\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"0EC7*726E\\"\\n}","type":"json"}]', ], 'GetHotelContactByGenieDevice' => [ 'summary' => '获取当前设备的通话信息', 'path' => '/v1.0/ip/getHotelContactByGenieDevice', 'methods' => [ 'post', ], 'schemes' => [ 'https', 'http', ], 'security' => [ [ 'AliGenie_Auth_SPI' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', ], 'parameters' => [ [ 'name' => 'UserInfo', 'in' => 'query', 'style' => 'json', 'schema' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'EncodeType' => [ 'title' => '编码类型,此处填写HOTEL。', 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'HOTEL', ], 'EncodeKey' => [ 'title' => '编码类型对应的值,此处填写该酒店应用ID。请在天猫精灵行业管理平台查看。', 'description' => '', 'type' => 'string', 'required' => true, 'example' => '12**45'."\n", ], 'IdType' => [ 'title' => '用户Id的类型'."\n" ."\n" .'OPEN_ID:默认的用户ID标识。'."\n" .'UNION_ID: 组织维度的用户ID标识,需要提前在开放平台申请组织。', 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'OPEN_ID', ], 'Id' => [ 'title' => '用户标识,设置为userOpenId或userUnionId。', 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'rV/XSgPuxZjx/hN3iw8U+e8ou***lk1r43LWcVW6fvY1Rr4sEPFodpnA==', ], 'OrganizationId' => [ 'title' => '组织ID,如果IdType为UNION_ID时必填。', 'description' => '', 'type' => 'string', 'required' => false, 'example' => '1***2', ], ], 'required' => false, ], ], [ 'name' => 'DeviceInfo', 'in' => 'query', 'style' => 'json', 'schema' => [ 'description' => '', 'type' => 'object', 'properties' => [ 'EncodeType' => [ 'title' => '编码类型,此处填写HOTEL。', 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'HOTEL', ], 'EncodeKey' => [ 'title' => '编码类型对应的值,此处填写该酒店应用ID。请在天猫精灵行业管理平台查看。', 'description' => '', 'type' => 'string', 'required' => true, 'example' => '12**45', ], 'IdType' => [ 'title' => '用户标识,设置为userOpenId或userUnionId。', 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'OPEN_ID', ], 'Id' => [ 'title' => '用户Id的类型'."\n" ."\n" .'OPEN_ID:默认的用户ID标识。'."\n" .'UNION_ID: 组织维度的用户ID标识,需要提前在开放平台申请组织。', 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'rV/XSgPuxZjx/hN3iw8U+e8ou***lk1r43LWcVW6fvY1Rr4sEPFodpnA==', ], 'OrganizationId' => [ 'title' => '组织ID,如果IdType为UNION_ID时必填。', 'description' => '', 'type' => 'string', 'required' => false, 'example' => '1**2', ], ], 'required' => false, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Result', 'description' => 'Result', 'type' => 'object', 'properties' => [ 'StatusCode' => [ 'title' => '调用返回码,除约定的SUCCESS_CODE外,其余由服务提供者自定义', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'Result' => [ 'title' => '服务的实际返回结果', 'description' => '', 'type' => 'object', 'properties' => [ 'HotelId' => [ 'title' => '酒店id', 'description' => '', 'type' => 'string', 'example' => 'a7***83', ], 'Type' => [ 'title' => '联系人类型,device:设备,group:分组', 'description' => '', 'type' => 'string', 'example' => 'group', ], 'Uuid' => [ 'title' => '唯一标识', 'description' => '', 'type' => 'string', 'example' => '2E57***D45F9', ], 'Number' => [ 'title' => '号码', 'description' => '', 'type' => 'string', 'example' => '101', ], 'Name' => [ 'title' => '联系人名称', 'description' => '', 'type' => 'string', 'example' => '', ], 'Icon' => [ 'title' => '图标', 'description' => '', 'type' => 'string', 'example' => 'xxx.icon', ], 'Status' => [ 'title' => '状态,1:可用,0:不可用', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '1', ], 'ExpireAt' => [ 'title' => '失效时间', 'description' => '', 'type' => 'string', 'example' => '1649472283046', ], 'Id' => [ 'title' => '联系人id', 'description' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '1', ], 'GmtCreate' => [ 'title' => '创建时间', 'description' => '', 'type' => 'string', 'example' => '2022-07-21 20:02:12', ], 'GmtModified' => [ 'title' => '最后修改时间', 'description' => '', 'type' => 'string', 'example' => '2022-07-27 14:06:27'."\n", ], ], ], 'Message' => [ 'title' => '附加信息,典型应用场景是对失败调用进行简述,方便调用方定位问题', 'description' => '', 'type' => 'string', 'example' => 'success', ], 'RequestId' => [ 'title' => '请求id', 'description' => '', 'type' => 'string', 'example' => '73C6***E6FA', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'InvalidParameter', 'errorMessage' => 'The request parameter is invalid', ], ], 500 => [ [ 'errorCode' => 'ServerError', 'errorMessage' => 'internal server error', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"StatusCode\\": 200,\\n \\"Result\\": {\\n \\"HotelId\\": \\"a7***83\\",\\n \\"Type\\": \\"group\\",\\n \\"Uuid\\": \\"2E57***D45F9\\",\\n \\"Number\\": \\"101\\",\\n \\"Name\\": \\"前台\\",\\n \\"Icon\\": \\"xxx.icon\\",\\n \\"Status\\": 1,\\n \\"ExpireAt\\": \\"1649472283046\\",\\n \\"Id\\": 1,\\n \\"GmtCreate\\": \\"2022-07-21 20:02:12\\",\\n \\"GmtModified\\": \\"2022-07-27 14:06:27\\\\n\\"\\n },\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"73C6***E6FA\\"\\n}","type":"json"}]', ], 'AddOrUpdateScreenSaver' => [ 'summary' => '新增或者编辑带屏屏保', 'path' => '/v1.0/ip/addOrUpdateScreenSaver', 'methods' => [ 'post', ], 'schemes' => [ 'https', 'http', ], 'security' => [ [ 'AliGenie_Auth_SPI' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'deprecated' => false, 'systemTags' => [], 'parameters' => [ [ 'name' => 'HotelId', 'in' => 'formData', 'schema' => [ 'title' => '酒店id', 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'a7a3***013', ], ], [ 'name' => 'HotelScreenSaver', 'in' => 'formData', 'style' => 'json', 'schema' => [ 'title' => '屏保', 'description' => '', 'type' => 'object', 'properties' => [ 'ScreenSaverStyle' => [ 'title' => '屏保样式code', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'common-weather', ], 'ScreenSaverPicUrl' => [ 'title' => '屏保图片', 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'xxx.png', ], ], 'required' => true, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Result', 'description' => 'Result', 'type' => 'object', 'properties' => [ 'StatusCode' => [ 'title' => '调用返回码,除约定的SUCCESS_CODE外,其余由服务提供者自定义', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'Result' => [ 'title' => '服务的实际返回结果', 'description' => '', 'type' => 'boolean', 'example' => 'True', ], 'Message' => [ 'title' => '附加信息,典型应用场景是对失败调用进行简述,方便调用方定位问题', 'description' => '', 'type' => 'string', 'example' => 'success', ], 'RequestId' => [ 'description' => '', 'type' => 'string', 'example' => '4EED***9661', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'InvalidParameter', 'errorMessage' => 'The request parameter is invalid', ], ], 500 => [ [ 'errorCode' => 'ServerError', 'errorMessage' => 'internal server error', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"StatusCode\\": 200,\\n \\"Result\\": true,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"4EED***9661\\"\\n}","type":"json"}]', ], 'AddOrUpdateDisPlayModes' => [ 'summary' => '新增或者编辑带屏展示模式', 'path' => '/v1.0/ip/addOrUpdateDisPlayModes', 'methods' => [ 'post', ], 'schemes' => [ 'https', 'http', ], 'security' => [ [ 'AliGenie_Auth_SPI' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'deprecated' => false, 'systemTags' => [], 'parameters' => [ [ 'name' => 'HotelId', 'in' => 'formData', 'schema' => [ 'title' => '酒店id', 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'a7***83', ], ], [ 'name' => 'HotelDeviceModeList', 'in' => 'formData', 'style' => 'json', 'schema' => [ 'title' => '带屏设备展示的模式code列表', 'description' => '', 'type' => 'array', 'items' => [ 'description' => '', 'type' => 'string', 'required' => false, 'example' => 'dndMode', ], 'required' => true, ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Result', 'description' => 'Result', 'type' => 'object', 'properties' => [ 'StatusCode' => [ 'title' => '调用返回码,除约定的SUCCESS_CODE外,其余由服务提供者自定义', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'Result' => [ 'title' => '服务的实际返回结果', 'description' => '', 'type' => 'boolean', 'example' => 'true', ], 'Message' => [ 'title' => '附加信息,典型应用场景是对失败调用进行简述,方便调用方定位问题', 'description' => '', 'type' => 'string', 'example' => 'success', ], 'RequestId' => [ 'description' => '', 'type' => 'string', 'example' => '0EC7*726E', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'InvalidParameter', 'errorMessage' => 'The request parameter is invalid', ], ], 500 => [ [ 'errorCode' => 'ServerError', 'errorMessage' => 'internal server error', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"StatusCode\\": 200,\\n \\"Result\\": true,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"0EC7*726E\\"\\n}","type":"json"}]', ], 'GetUnionId' => [ 'summary' => '获取组织下unionId列表', 'path' => '/v1.0/ip/getUnionId', 'methods' => [ 'post', ], 'schemes' => [ 'https', 'http', ], 'security' => [ [ 'AliGenie_Auth_SPI' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'deprecated' => false, 'systemTags' => [], 'parameters' => [ [ 'name' => 'EncodeType', 'in' => 'formData', 'schema' => [ 'title' => '编码类型,从天猫精灵开放平台中获取', 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'HOTEL', ], ], [ 'name' => 'EncodeKey', 'in' => 'formData', 'schema' => [ 'title' => '编码Key,从天猫精灵开放平台中获取', 'description' => '', 'type' => 'string', 'required' => true, 'example' => '125****0946', ], ], [ 'name' => 'IdType', 'in' => 'formData', 'schema' => [ 'title' => 'open id类型,可为用户id或设备id;'."\n" .'USER_ID: 用户id'."\n" .'DEVICE_ID: 设备id', 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'DEVICE_ID', ], ], [ 'name' => 'Id', 'in' => 'formData', 'schema' => [ 'title' => 'id类型对应的open id值', 'description' => '', 'type' => 'string', 'required' => true, 'example' => '62a319****abdc', ], ], ], 'responses' => [ 200 => [ 'headers' => [], 'schema' => [ 'title' => 'Result>', 'description' => 'Result>', 'type' => 'object', 'properties' => [ 'StatusCode' => [ 'title' => '调用返回码,除约定的SUCCESS_CODE外,其余由服务提供者自定义', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'Result' => [ 'title' => '服务的实际返回结果', 'description' => '', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'OrganizationId' => [ 'title' => '组织id,可在天猫精灵开放平台管理', 'description' => '', 'type' => 'string', 'example' => '4325***765', ], 'UnionId' => [ 'title' => '请求参数的open id在该组织下的唯一id值', 'description' => '', 'type' => 'string', 'example' => '8bh2****8s8', ], ], ], ], 'Message' => [ 'title' => '附加信息,典型应用场景是对失败调用进行简述,方便调用方定位问题', 'description' => '', 'type' => 'string', 'example' => 'success', ], 'RequestId' => [ 'title' => '请求id', 'description' => '', 'type' => 'string', 'example' => '0EC7*726E', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'InvalidParameter', 'errorMessage' => 'The request parameter is invalid', ], ], 500 => [ [ 'errorCode' => 'ServerError', 'errorMessage' => 'internal server error', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"StatusCode\\": 200,\\n \\"Result\\": [\\n {\\n \\"OrganizationId\\": \\"4325***765\\",\\n \\"UnionId\\": \\"8bh2****8s8\\"\\n }\\n ],\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"0EC7*726E\\"\\n}","type":"json"}]', ], 'HotelQrBind' => [ 'summary' => '酒店带屏设备扫码绑定', 'path' => '/v1.0/ip/hotelQrBind', 'methods' => [ 'post', ], 'schemes' => [ 'https', 'http', ], 'security' => [ [ 'AliGenie_Auth_SPI' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [], 'parameters' => [ [ 'name' => 'HotelId', 'in' => 'formData', 'schema' => [ 'title' => '酒店ID', 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'a7***83', ], ], [ 'name' => 'RoomNo', 'in' => 'formData', 'schema' => [ 'title' => '房间号', 'description' => '', 'type' => 'string', 'required' => true, 'example' => '1211', ], ], [ 'name' => 'Code', 'in' => 'formData', 'schema' => [ 'title' => '带屏设备绑定二维码中的code参数', 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'freuisghrtiesnvfkdsvbfuidslnvfs', ], ], [ 'name' => 'ClientId', 'in' => 'formData', 'schema' => [ 'title' => '带屏设备绑定二维码中的clientId参数', 'description' => '', 'type' => 'string', 'required' => true, 'example' => 'xxxxxx', ], ], [ 'name' => 'ExtInfo', 'in' => 'formData', 'schema' => [ 'title' => '额外信息jsonString', 'description' => '', 'type' => 'string', 'required' => false, ], ], ], 'responses' => [ 200 => [ 'headers' => [], 'schema' => [ 'title' => 'Result', 'description' => 'Result', 'type' => 'object', 'properties' => [ 'StatusCode' => [ 'title' => '调用返回码,200标识为成功', 'description' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '200', ], 'Result' => [ 'title' => '服务的实际返回结果', 'description' => '', 'type' => 'object', 'properties' => [ 'OpenUserInfo' => [ 'title' => '开放用户信息', 'description' => '', 'type' => 'object', 'properties' => [ 'EncodeType' => [ 'title' => '编码类型,从天猫精灵开放平台中获取', 'description' => '', 'type' => 'string', 'example' => 'HOTEL', ], 'EncodeKey' => [ 'title' => '编码Key,从天猫精灵开放平台中获取', 'description' => '', 'type' => 'string', 'example' => '123', ], 'IdType' => [ 'title' => '编码信息,从天猫精灵开放平台中获取', 'description' => '', 'type' => 'string', 'example' => 'OPEN_ID', ], 'Id' => [ 'title' => '用户唯一标识', 'description' => '', 'type' => 'string', 'example' => 'xxxxxx', ], 'OrganizationId' => [ 'title' => '组织ID,如果IdType为UNION_ID时返回', 'description' => '', 'type' => 'string', 'example' => 'aaaaaaaa', ], ], ], 'OpenDeviceInfo' => [ 'title' => '开放设备信息', 'description' => '', 'type' => 'object', 'properties' => [ 'EncodeType' => [ 'title' => '编码类型,从天猫精灵开放平台中获取', 'description' => '', 'type' => 'string', 'example' => 'HOTEL', ], 'EncodeKey' => [ 'title' => '编码Key,从天猫精灵开放平台中获取', 'description' => '', 'type' => 'string', 'example' => '123', ], 'IdType' => [ 'title' => '编码信息,从天猫精灵开放平台中获取', 'description' => '', 'type' => 'string', 'example' => 'OPEN_ID', ], 'Id' => [ 'title' => '设备唯一标识', 'description' => '', 'type' => 'string', 'example' => 'xxxxxxx', ], 'OrganizationId' => [ 'title' => '组织ID,如果IdType为UNION_ID时返回', 'description' => '', 'type' => 'string', 'example' => 'aaaaaaaa', ], ], ], ], ], 'Message' => [ 'title' => '附加信息,典型应用场景是对失败调用进行简述,方便调用方定位问题', 'description' => '', 'type' => 'string', 'example' => 'success', ], 'RequestId' => [ 'title' => '请求id', 'description' => '', 'type' => 'string', 'example' => '73****9-175A-1324-8202-9FAAB*****A', ], ], ], ], ], 'errorCodes' => [ 400 => [ [ 'errorCode' => 'InvalidParameter', 'errorMessage' => 'The request parameter is invalid', ], ], 500 => [ [ 'errorCode' => 'ServerError', 'errorMessage' => 'internal server error', ], ], ], 'staticInfo' => [ 'returnType' => 'synchronous', ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"StatusCode\\": 200,\\n \\"Result\\": {\\n \\"OpenUserInfo\\": {\\n \\"EncodeType\\": \\"HOTEL\\",\\n \\"EncodeKey\\": \\"123\\",\\n \\"IdType\\": \\"OPEN_ID\\",\\n \\"Id\\": \\"xxxxxx\\",\\n \\"OrganizationId\\": \\"aaaaaaaa\\"\\n },\\n \\"OpenDeviceInfo\\": {\\n \\"EncodeType\\": \\"HOTEL\\",\\n \\"EncodeKey\\": \\"123\\",\\n \\"IdType\\": \\"OPEN_ID\\",\\n \\"Id\\": \\"xxxxxxx\\",\\n \\"OrganizationId\\": \\"aaaaaaaa\\"\\n }\\n },\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"73****9-175A-1324-8202-9FAAB*****A\\"\\n}","type":"json"}]', ], ], 'endpoints' => [ [ 'regionId' => 'cn-zhangjiakou', 'endpoint' => 'openapi.aligenie.com', ], ], ];