Playground

The API Playground is a tool to support developers or enable non-developers to test and use our APIs.

Contents of the Table

Configuration

An API call can be configured and executed from within the user interface of the API Playground.

To access API Playground go to https://platform.flxone.com/api-playground

Authentication

API authentication is not needed when you are executing API calls via the API Playground since the user is already logged in and has the appropriate permissions.

Version

Specify the version for the API call. We recommend to stick to the version that is automatically populated when using an example.

Method

Specify the HTTP method for the API call.

HTTP VerbCRUDInformation
GETReadThe GET method is used to read (or retrieve) a representation of items
PUTUpdate/ReplaceThe PUT method is most-often utilized for update capabilities
POSTCreateThe POST method is most-often utilized to create new items
DELETEDeleteThe DELETE method is used to delete an item identifier by a URL
Service

Specify the service for the API call. Note that this only requires the actual endpoint, the "https://platform.flxone.com/api" part can be ignored when using the API Playground.

Parameters

Specify the key(s) and value(s) of the appropriate parameters relevent to a given service for the API call.

  • Key: This form should contain the key for the parameter.
  • Value: This should contain a JSON query object array and represents outline of the API call.

Examples

The API Playground includes a few examples of API configurations relevant for a specific service and task. These examples can be tweaked according to the actual use case.

FeatureExampleService
API AuthenticationAuthenticate to the APIauth
User SettingsGet an overview of all user settingsuser/current
Data CollectionGet an overview of all pixelstracking/beacon
Data CollectionCreata a data collection pixeltracking/beacon
Custom DataGet an overview of all custom attributesexternal-attribute
Report CentralExecute a report central queryviz/data
ExportsCreate a batch exportviz/batch-export

Export Code

The DMP offers a couple of SDK in different programming languages to integrate our API in any environment or repository. When using the API Playground configuration the relevant API call will automatically be translated into the languages as outlined in the table below. The code can then be downloaded from within the user interface.

LanguageLibrary
Javahttps://github.com/FlxOne/dmp-apisdk-java
PHPhttps://github.com/FlxOne/dmp-apisdk-php
JavaScripthttps://github.com/FlxOne/dmp-apisdk-javascript
C#https://github.com/FlxOne/dmp-apisdk-csharp
cURLNot recommended for production usage
JavaScript VanillaNot recommended for production usage