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. Reporting 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. Reporting API

Field metadata

POST
https://api.mpc.dev.placewise.com/v1/reporting/metadata/{field_name}
API Permit:Reporting:Api:Query
API Context:Customer
Authorizations:UserToken

Request

Path Params

Header Params

Body Params application/json

Example
{
    "report": "members_grouped_count"
}

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/reporting/metadata/grouping_type' \
--header 'X-User-Agent;' \
--header 'X-Product-Name;' \
--header 'X-Customer;' \
--header 'Authorization: Bearer ' \
--header 'X-Client-Authorization: ' \
--header 'Content-Type: application/json' \
--data-raw '{
    "report": "members_grouped_count"
}'

Responses

🟢200Success
application/json
Body

Example
{
    "value": {
        "type": "enum",
        "values": [
            "optin_channel",
            "optin_subchannel",
            "optin_platform",
            "birth_year_group",
            "consent_true",
            "consent_false",
            "marketing_true",
            "marketing_false",
            "subunit_id",
            "group_id",
            "favorite_store",
            "country",
            "gender"
        ],
        "possible_values": [
            "optin_channel",
            "optin_subchannel",
            "optin_platform",
            "birth_year_group",
            "consent_true",
            "consent_false",
            "marketing_true",
            "marketing_false",
            "subunit_id",
            "group_id",
            "favorite_store",
            "country",
            "gender"
        ]
    }
}
Previous
Metadata
Next
Query (records)
Built with