返回地图

搜索 POI 信息

根据多个条件搜索 POI信息

GET
/api/pois

Query Parameters

basincodeinteger

流域编码

subbasincdstring

流域分区编码

binstrvalinteger

河段二叉树编码取值分量

binstrleninteger

河段二叉树编码长度分量

typestring

POI 类型

keystring

POI 键值

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://loading/api/pois?basincode=3261&subbasincd=001&binstrval=0&binstrlen=3087&type=junction&key=21"

[
  {
    "type": "junction",
    "key": "21",
    "photos": [
      "https://example.com/photo1.jpg"
    ],
    "basincode": 3261,
    "subbasincd": "001",
    "binstrval": 0,
    "binstrlen": 3087,
    "description": "示例 POI 描述",
    "displayName": "示例名称",
    "descriptionEn": "Example description",
    "displayNameEn": "Example name"
  }
]
{
  "detail": "参数验证失败"
}
{
  "detail": "Resource not found"
}
{
  "detail": "服务器内部错误"
}