Mapp Digital Engage

Refresh current authentication with Mapp Digital Engage

Method

PUT

Path

/dmc/session-refresh

Parameters

none

Example cURL

curl -X POST \
https://platform.flxone.com/api/dmc/session-refresh \
-H 'Cache-Control: no-cache' \
-H 'X-AUTH: nek9623gdht31td0sq6nj4hgln1hdh1cpxsbetp8em657np39sv9lc3ghd23ilp4haioptK2vbubmc5ol9ckapvh6jGnv3evh8imnn1' \
-H 'X-CSRF: 79b83e13bxec1c6fce34eb697226b434'

Example Output

{
	"response": {
		"status": "OK",
		"ok": true
	}


Get authentication tokens for DMP using session information from a Mapp Digital Engage login

Method

POST

Path

/dmc/auth

Parameters

NameTypeRequiredDescription
jsessionidstringYThe value of the jsessionid URL parameter found when browsing a logged in Mapp Digital Engage customer
dmc-urlstringYThe URL of the Mapp Digital Engage customer
tokenstringYThe value of the "ECM" session cookie when logged into the Mapp Digital Engage customer

Example cURL

curl -X POST \
'https://platform.flxone.com/api/dmc/auth?jsessionid=E91AA93CAC7A651E4FEBD099E34135AE;cp13apw13&dmc-url=https://columbus.shortest-route.com/toystore&token=1528608C713E4C41DA99B67EB1DCF9E8' \
-H 'Cache-Control: no-cache' \
-H 'X-AUTH: nek9623gdht31td0sq6nj4hgln1hdh1cpxsbetp8em657np39sv9lc3ghd23ilp4haioptK2vbubmc5ol9ckapvh6jGnv3evh8imnn1' \
-H 'X-CSRF: 79b83e13bxec1c6fce34eb697226b434'

Example Output

{
    "response": {
        "status": "OK",
        "token": "9ktG7r0pf13k5e4rjbf1gjacjabgbcga5263vnihjqgb3uQl5i6qb0u3vk6k5sd3eia77qo7qmsDRRt906as96f98rhcq1nu88rv6d0",
        "csrf": "7sb83e13bxec1c6fce34eb697326b424"
    },
    "csrf": "7sb83e13bxec1c6fce34eb697326b424",
}


Enable or disable an audience linked to a Mapp Digital Engage customer

Method

PUT

Path

/dmc/audience

Parameters

NameTypeRequiredDescription
idnumberYThe ID of the audience to be modified in DMP
enabledstringYSet to either "true" (enable) or "false" (disable)

Example cURL

curl -X PUT \
'https://platform.flxone.com/api/dmc/audience?id=610037&enabled=true' \
-H 'Cache-Control: no-cache' \
-H 'X-AUTH: nek9623gdht31td0sq6nj4hgln1hdh1cpxsbetp8em657np39sv9lc3ghd23ilp4haioptK2vbubmc5ol9ckapvh6jGnv3evh8imnn1' \
-H 'X-CSRF: 79b83e13bxec1c6fce34eb697226b434'

Example Output

{
    "response": {
        "status": "OK",
        "updated": true
    }
}


Get a list of personalized external attributes for a Mapp Digital Engage customer

Method

GET

Path

/dmc/personalized-external-attributes

Parameters

NameTypeRequiredDescription
dmc_customer_idnumberY

Example cURL

curl -X GET \
'https://platform.flxone.com/api/dmc/personalized-external-attributes?dmc_customer_id=610037' \
-H 'Cache-Control: no-cache' \
-H 'X-AUTH: nek9623gdht31td0sq6nj4hgln1hdh1cpxsbetp8em657np39sv9lc3ghd23ilp4haioptK2vbubmc5ol9ckapvh6jGnv3evh8imnn1' \
-H 'X-CSRF: 79b83e13bxec1c6fce34eb697226b434'

Example Output

{
    "response": {
        "status": "OK",
        "external_attributes": [
            {
                "id": "11648",
                "title": "Cart Product 1 Name"
            },
            {
                "id": "11649",
                "title": "Cart Product 1 Price"
            },
            {
                "id": "11650",
                "title": "Cart Product 1 URL"
            },
            {
                "id": "11724",
                "title": "Cart Product 2 Name"
            },
            {
                "id": "11725",
                "title": "Cart Product 2 Price"
            },
            {
                "id": "11726",
                "title": "Cart Product 2 URL"
            },
            {
                "id": "11727",
                "title": "Cart Product 3 Name"
            },
            {
                "id": "11728",
                "title": "Cart Product  3 Price"
            },
            {
                "id": "11729",
                "title": "Cart Product 3 URL"
            },
            {
                "id": "11730",
                "title": "Cart Product 4 Name"
            },
            {
                "id": "11731",
                "title": "Cart Product 4 Price"
            },
            {
                "id": "11732",
                "title": "Cart Product 4 URL"
            },
            {
                "id": "113733",
                "title": "Cart Product 5 Name"
            },
            {
                "id": "91734",
                "title": "Cart Product 5 Price"
            },
            {
                "id": "18735",
                "title": "Cart Product 5 URL"
            },
            {
                "id": "711736",
                "title": "Cart Product 6 Name"
            },
            {
                "id": "117637",
                "title": "Cart Product 6 Price"
            },
            {
                "id": "117368",
                "title": "Cart Product 6 URL"
            },
            {
                "id": "132255",
                "title": "Cart Product 1 Image"
            },
            {
                "id": "132256",
                "title": "Cart Product 2 Image"
            },
            {
                "id": "132257",
                "title": "Cart Product 3 Image"
            },
            {
                "id": "132258",
                "title": "Cart Product 4 Image"
            },
            {
                "id": "132259",
                "title": "Cart Product 5 Image"
            },
            {
                "id": "132260",
                "title": "Cart Product 6 Image"
            }
        ]
    }
}


Get the identifier for the DMP customer related to a Mapp Digital Engage customer ID

Method

GET

Path

/dmc/dmp-customer

Parameters

NameTypeRequiredDescription
dmc_customer_idnumberY

Example cURL

curl -X GET \
'https://platform.flxone.com/api/dmc/dmp-customer?dmc_customer_id=610037' \
-H 'Cache-Control: no-cache' \
-H 'X-AUTH: nek9623gdht31td0sq6nj4hgln1hdh1cpxsbetp8em657np39sv9lc3ghd23ilp4haioptK2vbubmc5ol9ckapvh6jGnv3evh8imnn1' \
-H 'X-CSRF: 79b83e13bxec1c6fce34eb697226b434'

Example Output

{
    "response": {
        "status": "OK",
        "dmp_customer_id": 1328,
        "dmc_customer_id": 61037
    }
}


Get the DMP UUID related to a Mapp Digital Engage contact ID

Method

GET

Path

/dmc/dmp-uuid

Parameters

NameTypeRequiredDescription
dmc_customer_idnumberYThe Mapp Digital Engage customer ID
contact_idstringYThe Mapp Digital Engage contact ID
platform_idnumberYThe DMP platform ID for Mapp Digital Engage

Example cURL

curl -X GET \
'https://platform.flxone.com/api/dmc/dmp-uuid?dmc_customer_id=610037&contact_id=482765&platform_id=13' \
-H 'Cache-Control: no-cache' \
-H 'X-AUTH: nek9623gdht31td0sq6nj4hgln1hdh1cpxsbetp8em657np39sv9lc3ghd23ilp4haioptK2vbubmc5ol9ckapvh6jGnv3evh8imnn1' \
-H 'X-CSRF: 79b83e13bxec1c6fce34eb697226b434'

Example Output

{
    "response": {
        "status": "OK",
        "uuid" : "a84bceab-56e0-424e-bd06-d671bd7eca10"
    }
}