{
  "operationId": "getSubPoisResult",
  "method": "GET",
  "path": "/maps/v3.0/appkeys/{APPKEY}/sub-pois",
  "category": "search-place",
  "tags": [
    "장소/주소 검색"
  ],
  "summary": "시설물 정보 조회",
  "description": "POIID를 입력하여 해당 POI의 하위 시설물 정보를 조회합니다<br>하위 시설물의 명칭, 주소, 좌표, 카테고리 등 관련 정보를 반환합니다",
  "deprecated": false,
  "parameters": [
    {
      "name": "APPKEY",
      "in": "path",
      "description": "해당 API 사용 권한이 있는 API 키",
      "required": true,
      "schema": {
        "type": "string"
      }
    },
    {
      "name": "poiid",
      "in": "query",
      "description": "POI 고유 ID",
      "required": true,
      "schema": {
        "type": "string",
        "description": "POI 고유 ID",
        "example": 8827198
      },
      "example": 8827198
    },
    {
      "name": "coordtype",
      "in": "query",
      "description": "좌표 체계",
      "required": false,
      "schema": {
        "maximum": 1,
        "minimum": 0,
        "type": "string",
        "description": "좌표 체계",
        "default": "1",
        "enum": [
          "0",
          "1"
        ],
        "x-enum-descriptions": {
          "0": "TW 좌표",
          "1": "WGS84 좌표"
        }
      },
      "x-enum-descriptions": {
        "0": "TW 좌표",
        "1": "WGS84 좌표"
      }
    },
    {
      "name": "x",
      "in": "query",
      "description": "X좌표(경도)<br>*입력 시 좌표를 기준으로 거리 값 출력",
      "required": false,
      "schema": {
        "type": "string",
        "description": "X좌표(경도)<br>*입력 시 좌표를 기준으로 거리 값 출력",
        "example": 126.978145
      },
      "example": 126.978145
    },
    {
      "name": "y",
      "in": "query",
      "description": "Y좌표(위도)<br>*입력 시 좌표를 기준으로 거리 값 출력",
      "required": false,
      "schema": {
        "type": "string",
        "description": "Y좌표(위도)<br>*입력 시 좌표를 기준으로 거리 값 출력",
        "example": 37.566671
      },
      "example": 37.566671
    }
  ],
  "responses": {
    "200": {
      "description": "OK",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "properties": {
              "header": {
                "type": "object",
                "properties": {
                  "isSuccessful": {
                    "type": "boolean",
                    "description": "API 요청 성공 여부",
                    "example": true
                  },
                  "resultCode": {
                    "type": "integer",
                    "description": "API 응답 결과 코드",
                    "format": "int32",
                    "example": 0
                  },
                  "resultMessage": {
                    "type": "string",
                    "description": "API 응답 결과 문구",
                    "example": "Success"
                  }
                },
                "description": "API 응답 결과"
              },
              "subpoi": {
                "type": "object",
                "properties": {
                  "result": {
                    "type": "boolean",
                    "description": "검색 결과 성공 여부",
                    "example": true
                  },
                  "totalcount": {
                    "type": "integer",
                    "description": "총 검색 결과 개수",
                    "format": "int32",
                    "example": 192
                  },
                  "count": {
                    "type": "integer",
                    "description": "총 응답 결과 개수",
                    "format": "int32",
                    "example": 102
                  },
                  "poi": {
                    "type": "array",
                    "description": "POI 검색 결과 목록(배열)",
                    "items": {
                      "type": "object",
                      "properties": {
                        "poiid": {
                          "type": "integer",
                          "description": "POI 고유 ID",
                          "format": "int32",
                          "example": 8827198
                        },
                        "subflag": {
                          "type": "string",
                          "description": "하위 시설의 분류 정보",
                          "example": "1",
                          "enum": [
                            "1",
                            "2",
                            "3",
                            "4",
                            "5",
                            "6",
                            "7"
                          ],
                          "x-enum-descriptions": {
                            "1": "입구(차량+사람)",
                            "2": "입구(차량진출입)",
                            "3": "입구(차량)",
                            "4": "출구(차량)",
                            "5": "입구(사람)",
                            "6": "부속시설",
                            "7": "대등시설"
                          }
                        },
                        "dpx": {
                          "type": "string",
                          "description": "지도 표출용 X좌표(경도)",
                          "example": "127.110762"
                        },
                        "dpy": {
                          "type": "string",
                          "description": "지도 표출용 Y좌표(위도)",
                          "example": "37.402184"
                        },
                        "rpx": {
                          "type": "string",
                          "description": "차량 진입로 X좌표(경도)",
                          "example": "127.110862"
                        },
                        "rpy": {
                          "type": "string",
                          "description": "차량 진입로 Y좌표(위도)",
                          "example": "37.402334"
                        },
                        "routepoints": {
                          "type": "array",
                          "description": "차량 진입로 좌표 정보 목록(배열)<br>>*차량 경로 탐색 시 사용 가능",
                          "items": {
                            "type": "object",
                            "properties": {
                              "rpx": {
                                "type": "string",
                                "description": "차량 진입로 X좌표(경도)",
                                "example": "127.110862"
                              },
                              "rpy": {
                                "type": "string",
                                "description": "차량 진입로 Y좌표(위도)",
                                "example": "37.402334"
                              }
                            },
                            "description": "차량 진입로 좌표 정보 목록(배열)<br>>*차량 경로 탐색 시 사용 가능"
                          }
                        },
                        "name1": {
                          "type": "string",
                          "description": "대표 명칭",
                          "example": "아이나비시스템즈"
                        },
                        "name2": {
                          "type": "string",
                          "description": "축약 명칭"
                        },
                        "name3": {
                          "type": "string",
                          "description": "확장 명칭1"
                        },
                        "name4": {
                          "type": "string",
                          "description": "확장 명칭2"
                        },
                        "admcode": {
                          "type": "string",
                          "description": "행정구역 코드(법정동/행정동)<br>*법정동 검색 → 법정동 코드<br>*행정동 검색 → 행정동 코드",
                          "example": "4113510900"
                        },
                        "address": {
                          "type": "string",
                          "description": "전체 주소",
                          "example": "경기도 성남시 분당구 삼평동"
                        },
                        "jibun": {
                          "type": "string",
                          "description": "지번 주소",
                          "example": "678"
                        },
                        "roadname": {
                          "type": "string",
                          "description": "도로명주소",
                          "example": "경기도 성남시 분당구 판교역로"
                        },
                        "roadjibun": {
                          "type": "string",
                          "description": "건물 번호",
                          "example": "240"
                        },
                        "detailaddress": {
                          "type": "string",
                          "description": "상세 주소 정보",
                          "example": "삼환하이펙스 A동 8층"
                        },
                        "catecode": {
                          "type": "string",
                          "description": "카테고리 코드",
                          "example": "130602"
                        },
                        "catename": {
                          "type": "string",
                          "description": "카테고리 명칭",
                          "example": "팅크웨어"
                        },
                        "dp_catecode": {
                          "type": "string",
                          "description": "전시용 카테고리 코드",
                          "example": "000"
                        },
                        "distance": {
                          "type": "integer",
                          "description": "기준 좌표와의 거리(m)",
                          "format": "int32",
                          "example": 21713
                        },
                        "tel": {
                          "type": "string",
                          "description": "대표 전화번호",
                          "example": "02-589-9610"
                        },
                        "hasoildata": {
                          "type": "boolean",
                          "description": "주유소 유가 정보 보유 여부"
                        },
                        "islandmark": {
                          "type": "boolean",
                          "description": "랜드마크 여부"
                        },
                        "updateTS": {
                          "type": "string",
                          "description": "데이터의 최종 갱신 시각",
                          "example": "2023-08-17"
                        },
                        "externallink": {
                          "type": "array",
                          "description": "연동 Site 정보 목록(배열)",
                          "items": {
                            "type": "object",
                            "properties": {
                              "Site": {
                                "type": "string",
                                "description": "연동 Site"
                              },
                              "ID": {
                                "type": "string",
                                "description": "연동 ID"
                              },
                              "ExtraInfo1": {
                                "type": "string",
                                "description": "추가정보1"
                              },
                              "ExtraInfo2": {
                                "type": "string",
                                "description": "추가정보2"
                              }
                            },
                            "description": "연동 Site 정보 목록(배열)"
                          }
                        },
                        "popularity": {
                          "type": "boolean",
                          "description": "인기 여부"
                        },
                        "pop_tv": {
                          "type": "boolean",
                          "description": "TV 기반 인기 여부"
                        },
                        "pop_sns": {
                          "type": "boolean",
                          "description": "SNS 기반 인기 여부"
                        },
                        "pop_hot": {
                          "type": "boolean",
                          "description": "HOT 인기 여부"
                        },
                        "pop_hit": {
                          "type": "boolean",
                          "description": "HIT 인기 여부"
                        },
                        "pop_top": {
                          "type": "string",
                          "description": "TOP 인기 단계",
                          "example": "경기_1,분당구_1"
                        }
                      },
                      "description": "POI 검색 결과 목록(배열)"
                    }
                  }
                },
                "description": "시설물 정보 조회 결과"
              }
            },
            "description": "시설물 정보 조회 API의 전체 응답"
          }
        }
      }
    },
    "400": {
      "description": "잘못된 요청",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "properties": {
              "header": "[Circular Reference]"
            },
            "description": "API 응답 결과의 상태"
          }
        }
      }
    },
    "404": {
      "description": "API 없음",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "properties": {
              "header": "[Circular Reference]"
            },
            "description": "API 응답 결과의 상태"
          }
        }
      }
    },
    "415": {
      "description": "허용되지 않는 메서드",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "properties": {
              "header": "[Circular Reference]"
            },
            "description": "API 응답 결과의 상태"
          }
        }
      }
    },
    "500": {
      "description": "서버 내부 오류",
      "content": {
        "application/json": {
          "schema": {
            "type": "object",
            "properties": {
              "header": "[Circular Reference]"
            },
            "description": "API 응답 결과의 상태"
          }
        }
      }
    }
  },
  "baseUrl": "https://imaps.inavi.com"
}