文档中心 > API类目 > 飞猪酒店EBooking

alitrip.hotel.ebooking.user.auth.move (用户权限数据迁移)

用户权限数据迁移

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
start_row Number 可选 0
  • 默认值:0
  • 开始行数
    page_size Number 可选 500
  • 默认值:10
  • 每一次查询行数
    user_nick String 可选 zizhanghaotest 用户名称
    modify_time String 可选 2018-03-22 12:05:00 修改时间
    action_type Number 可选 0
  • 默认值:0
  • 0:查询用户表,1:查出用户删除表

    响应参数

    名称 类型 示例值 描述
    result TopResultSet demo result
    • └ error
    • Boolean
    • demo
    • error
    • └ error_code
    • String
    • demo
    • errorCode
    • └ error_msg
    • String
    • demo
    • errorMsg
    • first_result
    • SellerAuthorityDo
    • demo
    • firstResult
    • └ app_name
    • String
    • Ebooking
    • 应用名称
    • └ app_name_str
    • String
    • Ebookng
    • 应用名称
    • └ area
    • String
    • 华南
    • 所属区域
    • └ city
    • String
    • 杭州
    • 所属城市
    • └ comments
    • String
    • 博川测试添加
    • 备注
    • └ except_privileges
    • String
    • null
    • 例外的权限功能集合,功能Bit位逗号分隔
    • └ extend
    • String
    • null
    • 预留扩展字段
    • └ gmt_crepate
    • Date
    • 2015-07-29 17:16:20
    • 创建时间
    • └ gmt_modified
    • Date
    • 2015-07-29 17:16:20
    • 修改时间
    • └ hotel_entities
    • String []
    • null
    • 酒店实体列表
    • └ id
    • Number
    • 10
    • 记录主键
    • └ ip_address
    • String
    • null
    • ip地址
    • └ last_modified_account
    • String
    • zhaochuan.zc
    • 最近修改人账号
    • └ manage_type
    • String
    • 1
    • 管理类型
    • └ management_entities
    • String
    • null
    • 管理的实体id列表
    • └ notification_ways
    • String
    • null
    • 通知方式
    • └ operator
    • String
    • zander
    • 操作人名称
    • └ role
    • String
    • null
    • 角色DO
    • └ seller_entities
    • String []
    • null
    • 卖家实体id列表
    • └ seller_id
    • Number
    • 2049618271
    • 卖家id
    • └ seller_t_b_account
    • String
    • 1111vvc2
    • 要授权的淘宝账号
    • └ signing_t_b_account
    • String
    • 1111tta3
    • 要签约的实体淘宝账号
    • └ status
    • Number
    • 0
    • 状态
    • └ vendor
    • String
    • 321aaa
    • 供应商id
    • └ role_id
    • Number
    • 19244
    • 角色id
    • └ create_account
    • String
    • zhaochuan.zc
    • 创建记录账号
    • └ has_next
    • Boolean
    • demo
    • hasNext
    • results
    • SellerAuthorityDo []
    • demo
    • results
    • └ app_name
    • String
    • Ebooking
    • 应用名称
    • └ app_name_str
    • String
    • Ebooking
    • 应用名称
    • └ area
    • String
    • 华东
    • 所属区域
    • └ city
    • String
    • 杭州
    • 所属城市
    • └ comments
    • String
    • 博川测试添加
    • 备注
    • └ create_account
    • String
    • zhaochuan.zc
    • 创建记录账号
    • └ except_privileges
    • String
    • null
    • 例外的权限功能集合,功能Bit位逗号分隔
    • └ extend
    • String
    • null
    • 预留扩展字段
    • └ gmt_crepate
    • Date
    • 2015-07-29 17:16:20
    • 创建时间
    • └ gmt_modified
    • Date
    • 2015-07-29 17:16:20
    • 修改时间
    • └ hotel_entities
    • String []
    • null
    • 酒店实体列表
    • └ id
    • Number
    • 10
    • 记录主键
    • └ ip_address
    • String
    • null
    • ip地址
    • └ last_modified_account
    • String
    • zhaochuan.zc
    • 最近修改人账号
    • └ manage_type
    • String
    • 1
    • 管理类型
    • └ management_entities
    • String
    • null
    • 管理的实体id列表
    • └ notification_ways
    • String
    • null
    • 通知方式
    • └ operator
    • String
    • zander
    • 操作人名称
    • └ role
    • String
    • null
    • 角色DO
    • └ seller_entities
    • String []
    • null
    • 卖家实体id列表
    • └ seller_id
    • Number
    • 2049618271
    • 卖家id
    • └ seller_t_b_account
    • String
    • 1111vvc2
    • 要授权的淘宝账号
    • └ signing_t_b_account
    • String
    • 1111tta3
    • 要签约的实体淘宝账号
    • └ status
    • Number
    • 1
    • 状态
    • └ vendor
    • String
    • 321aaa
    • 供应商id
    • └ role_id
    • Number
    • 1
    • 角色id
    • └ success
    • Boolean
    • false
    • success
    • └ total_results
    • Number
    • demo
    • totalResults
    • └ warn_message
    • String
    • demo
    • warnMessage

    请求示例

    • JAVA
    • .NET
    • PHP
    • CURL
    • Python
    • C/C++
    • NodeJS
    TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
    AlitripHotelEbookingUserAuthMoveRequest req = new AlitripHotelEbookingUserAuthMoveRequest();
    req.setStartRow(0L);
    req.setPageSize(500L);
    req.setUserNick("zizhanghaotest");
    req.setModifyTime("2018-03-22 12:05:00");
    req.setActionType(0L);
    AlitripHotelEbookingUserAuthMoveResponse rsp = client.execute(req);
    System.out.println(rsp.getBody());

    响应示例

    • XML示例
    • JSON示例
    <alitrip_hotel_ebooking_user_auth_move_response>
        <result>
            <error>demo</error>
            <error_code>demo</error_code>
            <error_msg>demo</error_msg>
            <first_result>
                <app_name>Ebooking</app_name>
                <app_name_str>Ebookng</app_name_str>
                <area>华南</area>
                <city>杭州</city>
                <comments>博川测试添加</comments>
                <except_privileges>null</except_privileges>
                <extend>null</extend>
                <gmt_crepate>2015-07-29 17:16:20</gmt_crepate>
                <gmt_modified>2015-07-29 17:16:20</gmt_modified>
                <hotel_entities>
                    <string>null</string>
                </hotel_entities>
                <id>10</id>
                <ip_address>null</ip_address>
                <last_modified_account>zhaochuan.zc</last_modified_account>
                <manage_type>1</manage_type>
                <management_entities>null</management_entities>
                <notification_ways>null</notification_ways>
                <operator>zander</operator>
                <role>null</role>
                <seller_entities>
                    <string>null</string>
                </seller_entities>
                <seller_id>2049618271</seller_id>
                <seller_t_b_account>1111vvc2</seller_t_b_account>
                <signing_t_b_account>1111tta3</signing_t_b_account>
                <status>0</status>
                <vendor>321aaa</vendor>
                <role_id>19244</role_id>
                <create_account>zhaochuan.zc</create_account>
            </first_result>
            <has_next>demo</has_next>
            <results>
                <seller_authority_do>
                    <app_name>Ebooking</app_name>
                    <app_name_str>Ebooking</app_name_str>
                    <area>华东</area>
                    <city>杭州</city>
                    <comments>博川测试添加</comments>
                    <create_account>zhaochuan.zc</create_account>
                    <except_privileges>null</except_privileges>
                    <extend>null</extend>
                    <gmt_crepate>2015-07-29 17:16:20</gmt_crepate>
                    <gmt_modified>2015-07-29 17:16:20</gmt_modified>
                    <hotel_entities>
                        <string>null</string>
                    </hotel_entities>
                    <id>10</id>
                    <ip_address>null</ip_address>
                    <last_modified_account>zhaochuan.zc</last_modified_account>
                    <manage_type>1</manage_type>
                    <management_entities>null</management_entities>
                    <notification_ways>null</notification_ways>
                    <operator>zander</operator>
                    <role>null</role>
                    <seller_entities>
                        <string>null</string>
                    </seller_entities>
                    <seller_id>2049618271</seller_id>
                    <seller_t_b_account>1111vvc2</seller_t_b_account>
                    <signing_t_b_account>1111tta3</signing_t_b_account>
                    <status>1</status>
                    <vendor>321aaa</vendor>
                    <role_id>1</role_id>
                </seller_authority_do>
            </results>
            <success>false</success>
            <total_results>demo</total_results>
            <warn_message>demo</warn_message>
        </result>
    </alitrip_hotel_ebooking_user_auth_move_response>

    异常示例

    • XML示例
    • JSON示例
    <error_response>
        <code>50</code>
        <msg>Remote service error</msg>
        <sub_code>isv.invalid-parameter</sub_code>
        <sub_msg>非法参数</sub_msg>
    </error_response>

    错误码解释

    错误码 错误描述 解决方案

    API工具

    如何获得此API

    FAQ

    返回
    顶部