alibaba.adlab.adsim.line.autoport.get (获取车辆停靠点信息)

获取车辆停靠点信息

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
map_id Number 必须 1024 地图mapid

响应参数

名称 类型 示例值 描述
result DataResult 结果返回对象
  • └ code
  • Number
  • 0
  • 返回的code码
  • data
  • Data []
  • 返回数据列表
  • └ utp_autoport_id
  • Number
  • 12203
  • 停靠点id
  • └ enable
  • Number
  • 0
  • 是否可用
  • └ autoport_type
  • Number
  • 1
  • 站点类型
  • └ angle
  • String
  • 1.57
  • 角度
  • └ autoport_properties
  • String []
  • 站点列表
  • └ lrp_title
  • String
  • 起点
  • 线路名称
  • └ utp_title
  • String
  • 起点
  • 停靠点名称
  • └ lmap_coord
  • String
  • 253.79033931295638,-17.80254933116521
  • 工程坐标系
  • └ parking_rule
  • String
  • {"opposite":0,"precise":1,"preciseAgent":1,"queue":"FIFO","skipStop":0}
  • 停靠规则
  • └ gps
  • String
  • 104.14113099917523,30.697729000746797
  • 高德坐标系,分割
  • └ lrp_autoport_id
  • Number
  • 51201
  • 站点id
  • └ size
  • Number
  • 16
  • 数据大小
  • └ success
  • Boolean
  • true
  • 接口是否成功
  • └ message
  • String
  • success
  • 返回消息
  • └ sequence_id
  • String
  • 213df96117411554595895138e525f
  • 响应ID
  • └ timestamp
  • Number
  • 1741155460490
  • 响应时间戳

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaAdlabAdsimLineAutoportGetRequest req = new AlibabaAdlabAdsimLineAutoportGetRequest();
req.setMapId(1024L);
AlibabaAdlabAdsimLineAutoportGetResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_adlab_adsim_line_autoport_get_response>
    <result>
        <code>0</code>
        <data>
            <data>
                <utp_autoport_id>12203</utp_autoport_id>
                <enable>0</enable>
                <autoport_type>1</autoport_type>
                <angle>1.57</angle>
                <lrp_title>起点</lrp_title>
                <utp_title>起点</utp_title>
                <lmap_coord>253.79033931295638,-17.80254933116521</lmap_coord>
                <parking_rule>{&quot;opposite&quot;:0,&quot;precise&quot;:1,&quot;preciseAgent&quot;:1,&quot;queue&quot;:&quot;FIFO&quot;,&quot;skipStop&quot;:0}</parking_rule>
                <gps>104.14113099917523,30.697729000746797</gps>
                <lrp_autoport_id>51201</lrp_autoport_id>
            </data>
        </data>
        <size>16</size>
        <success>true</success>
        <message>success</message>
        <sequence_id>213df96117411554595895138e525f</sequence_id>
        <timestamp>1741155460490</timestamp>
    </result>
</alibaba_adlab_adsim_line_autoport_get_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

返回
顶部