按id查询盯盘(qry_stare_by_id)

按id查询盯盘

网关地址

沙箱环境调用地址: https://sandbox.hscloud.cn
数据核查类生产调用地址: https://api.hscloud.cn
仿真业务接口生产调用地址: https://vopen.hscloud.cn
其余生产调用地址: https://open.hscloud.cn

URL

https://sandbox.hscloud.cn/quote/v1/stare/qry_stare_by_id

是否需要业务登录

HTTP请求方式

POST

请求参数

参数名 类型 必填 最大长度 默认值 中文名 描述
app_key String APP标识符
serial_no Integer 盯盘的id
auth_id String 认证账户
user_token String 用户口令
product_no Integer 品种序号

返回参数

参数名 类型 最大长度 默认值 中文名 描述
success_type String 成功标志

请求示例

auth_id:A000000001973240
product_no:4
app_key:3cb17dedb5b94a0f9d719f5cabfd406d
user_token:f3c9da344589dc70f04b13b88e303747
serial_no:a55c13a0-07a0-4b91-98c0-3ce7df5a6421

正确返回示例

{"success":true,"data":[{"serial_no":"3c3fc0da-3655-4059-b132-81796f215df0","auth_id":"A000000015435102","hq_type_code":"XSHG.ESA.M","prod_name":"恒生电子","prod_code":"600570","stare_field":"31","stare_direction":"0","stare_value":"54.00","expiry_date":"2018-09-21T07:00:00.000+0000","status":"-1","create_datetime":"2018-09-21T01:41:55.000+0000","modi_datetime":"2018-09-21T05:28:46.000+0000","extend":null,"user_token":"511647bf1651a774bdc186fc363ec7fc"}},"timestamp":"2018-09-21T08:37:47.018+0000"}

错误返回示例

{"success":true,"data":{"error_info":"网络异常","error_no":"9999"},"timestamp":"2018-09-20T12:02:06.150+0000"}