Placewise API
Get startedExplore
Get startedExplore
Performance Cloud 🗗
Placewise 🗗
ExplorePublic APIManagement APIUsers APIOperations APIMessaging APIReporting API
ML APIData API
ExplorePublic APIManagement APIUsers APIOperations APIMessaging APIReporting API
ML APIData API
  1. Geo API
  • Introduction
  • Filter parameter specification
  • Data formats
    • Records
    • Timeseries
  • Reports
    • Members
      • members (records)
      • members_count (records)
      • members_grouped_count (records)
      • member_balance (timeseries)
      • members_count_snapshot (timeseries)
      • members_count_history (timeseries)
    • Sendings
      • sendings (records)
      • sendings_events_history (timeseries)
      • sendings_recipients_statistics (timeseries)
      • sendings_links (records)
      • sendings_links_stats (records)
      • Examples
        • sendings - find sending by reporting_id
        • sendings_events_history - show sending events
        • sendings_recipients_statistics - show recipients by age groups
    • Links
      • links_visits_history (timeseries)
  • Geo API
    • Find Locations Coordinates
      POST
    • List places
      POST
    • Show place
      GET
  • Metadata
    POST
  • Field metadata
    POST
  • Query (records)
    POST
  • Query (timeseries)
    POST
  • Query (records) export
    POST
  • Query (timeseries) export
    POST
  • Tenants query (records) export
    POST
  • Tenants query (timeseries) export
    POST
  1. Geo API

List places

Pending
POST
https://api.mpc.dev.placewise.com/v1/locations/places/list
API Permit:Geo:Api:Locations:Places:Index
API Context:Global
Authorizations:UserToken

Request

Query Params

Header Params

Body Params application/json

Example
{
    "country": "string",
    "precision": "city",
    "ids": [
        1
    ],
    "cities": [
        "string"
    ],
    "postcodes": [
        "string"
    ],
    "radius": 0,
    "latitude": 0,
    "longitude": 0
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C#
Ruby
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.mpc.dev.placewise.com/v1/locations/places/list?per_page=&page_no=1' \
--header 'X-User-Agent;' \
--header 'X-Product-Name;' \
--header 'Authorization: Bearer ' \
--header 'X-Client-Authorization: ' \
--header 'Content-Type: application/json' \
--data-raw '{
    "country": "string",
    "precision": "city",
    "ids": [
        1
    ],
    "cities": [
        "string"
    ],
    "postcodes": [
        "string"
    ],
    "radius": 0,
    "latitude": 0,
    "longitude": 0
}'

Responses

🟢200Success
application/json
Body

Example
{
    "places": [
        {
            "id": 1,
            "precision": "city",
            "country": "NO",
            "postcode": "51912",
            "city": "South Laurettastead",
            "district": "Fort Felix",
            "state": "Oregon",
            "suburb": "Velma Point",
            "county": "Clay County",
            "latitude": "-25.3364",
            "longitude": "-152.5065",
            "polygon": null,
            "created_at": "2022-11-05T16:25:58.099512Z",
            "updated_at": "2022-11-15T16:25:58.099512Z"
        },
        {
            "precision": "city",
            "country": "NO",
            "postcode": "02962",
            "city": "Lake Maximillianfort",
            "district": "East Mya",
            "state": "North Dakota",
            "suburb": "Kaela Glens",
            "county": "Lincoln County",
            "latitude": "-14.3785",
            "longitude": "-141.699",
            "polygon": [
                [
                    25.9829,
                    83.5864
                ],
                [
                    -52.6075,
                    -88.4505
                ]
            ]
        }
    ],
    "pagination_info": {
        "total_count": 2050
    }
}
🟠422Invalid Parameters
Previous
Find Locations Coordinates
Next
Show place
Built with