---
title: "Search for a point of interest by partial code"
method: GET
path: "/pois/search/{code}"
tags: ["Pois"]
---

# Search for a point of interest by partial code

`GET /pois/search/{code}`

Search for a point of interest by partial code

## Path parameters

- `code` string, required

## Response `200`

Search for a point of interest by partial code

- object
  - `meta` object
    - `numRows` string
    - `affectedRows` string
    - `insertId` string
  - `data` object[]
    - `code` string — Poi code
    - `name` string — Poi name
    - `address` string — Poi address
    - `longitude` number — Poi longitude coordinate
    - `latitude` number — Poi latitude coordinate
    - `enabled` boolean — Poi status
    - `deliveryAreaCode` string — Poi delivery area code
    - `salesAreaCode` string — Poi sale area code
    - `poiType` string — Poi type code from /poi/types
    - `originalAddress` string — Poi first address entered
    - `phoneNumber` string — Poi phone
    - `taxId` string — Poi taxId
    - `radius` integer — Poi radius (meters)
    - `grouping` string — Poi grouping
    - `visitingFrequency` 'weekly' | 'biweekly' | 'monthly' — Poi frequency
    - `deviceId1` string — ERP code - DEPRECATED
    - `visitingDaysDevice1` integer[] — Poi visiting day for deviceId1 "Monday -> 1, Sunday -> 7" - DEPRECATED
    - `deviceId2` string — ERP code - DEPRECATED
    - `visitingDaysDevice2` integer[] — Poi visiting day for deviceId2 "Monday -> 1, Sunday -> 7" - DEPRECATED
    - `deviceId3` string — ERP code - DEPRECATED
    - `visitingDaysDevice3` integer[] — Poi visiting day for deviceId3 "Monday -> 1, Sunday -> 7" - DEPRECATED
    - `deviceId4` string — ERP code - DEPRECATED
    - `visitingDaysDevice4` integer[] — Poi visiting day for deviceId4 "Monday -> 1, Sunday -> 7" - DEPRECATED
    - `visitingOrder` integer — Poi visiting order - DEPRECATED
    - `comments` string — comments/observations
    - `email` string — Poi Email (More than one separated by commas)
    - `timeWindow` object[] — Poi visiting time windows (use User TimeZone)
      - `from` string — Window Start time
      - `to` string — Window End time
    - `poiDelay` string — delay time in Poi
    - `poiDeliveryComments` string — Additional Comments when delivering to this Poi
    - `notificationConfig` object — Notifications configuration
      - `order` object
        - `planned` string[]
        - `routeStarted` string[]
        - `arriving` string[]
        - `delivered` string[]
        - `failed` string[]
    - `lastVisitedAt` string, date-time — Poi last time visited
    - `updatedAt` string, date-time — Poi last updated time
    - `skippedGeocodeAt` string, date-time
    - `area` object — GeoJSon geometry
      - `type` 'Polygon' | 'MultiPolygon', required — the geometry type
      - `coordinates` array[]
        - array[]
          - number[] — lng, lat
    - `geocodedByAppAt` string, date-time — Time in which was geocoded by App

## Other responses

- `403` — Not authorized access

---

[API](https://skmtc.net/quadminds/apis/quadminds-api-v2.md) · [All operations](https://skmtc.net/quadminds/apis/quadminds-api-v2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/quadminds/quadminds-api-v2/revisions/e0ab56dece05/schema)
