Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save dylanyoung-dev/c4f431bc7b34e8977293e8d325f83deb to your computer and use it in GitHub Desktop.
Save dylanyoung-dev/c4f431bc7b34e8977293e8d325f83deb to your computer and use it in GitHub Desktop.
Sitecore CDP/Personalize Postman Collection
{
"info": {
"_postman_id": "15fe0ae2-bade-4518-8dae-9ac2994ae75d",
"name": "Sitecore CDP/Personalize",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
"_exporter_id": "18869027"
},
"item": [
{
"name": "Tenant APIs",
"item": [
{
"name": "Authentication",
"item": [],
"auth": {
"type": "noauth"
},
"event": [
{
"listen": "prerequest",
"script": {
"type": "text/javascript",
"exec": [
""
]
}
},
{
"listen": "test",
"script": {
"type": "text/javascript",
"exec": [
""
]
}
}
]
},
{
"name": "Connections",
"item": [
{
"name": "Retrieve Connections",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "https://{{apiEndpoint}}/v3/connections",
"protocol": "https",
"host": [
"{{apiEndpoint}}"
],
"path": [
"v3",
"connections"
]
}
},
"response": []
},
{
"name": "Create Connection",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\r\n \"name\": \"Sanity Outflow Connection - API Test\",\r\n \"description\": \"Test\",\r\n \"archived\": false,\r\n \"auth\": {\r\n \"authType\": \"NONE\"\r\n },\r\n \"request\": {\r\n \"requestType\": \"GET\",\r\n \"connectionUrl\": \"https://lanua4su.api.sanity.io/v2021-06-07/data/query/production?query=${query}\"\r\n },\r\n \"inputMappings\": [],\r\n \"outputMappings\": [\r\n {\r\n \"label\": \"Ms\",\r\n \"outputReference\": \"ms\",\r\n \"type\": \"Number\"\r\n },\r\n {\r\n \"label\": \"Query\",\r\n \"outputReference\": \"query\",\r\n \"type\": \"String\"\r\n },\r\n {\r\n \"label\": \"Result\",\r\n \"outputReference\": \"result\",\r\n \"type\": \"Array\"\r\n }\r\n ],\r\n \"customHeaders\": [\r\n {\r\n \"name\": \"Accept\",\r\n \"value\": \"application/json\"\r\n },\r\n {\r\n \"name\": \"Accept-Encoding\",\r\n \"value\": \"gzip\"\r\n }\r\n ],\r\n \"urlParameters\": [\r\n {\r\n \"label\": \"query\",\r\n \"key\": \"query\",\r\n \"type\": \"String\",\r\n \"exampleValue\": \"*\",\r\n \"mapping\": \"\"\r\n }\r\n ],\r\n \"systemType\": \"DESTINATION\",\r\n \"connectionTimeout\": 1000,\r\n \"socketTimeout\": 1000,\r\n \"icon\": \"fad fa-plug\"\r\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "https://{{apiEndpoint}}/v2/connections",
"protocol": "https",
"host": [
"{{apiEndpoint}}"
],
"path": [
"v2",
"connections"
]
}
},
"response": []
},
{
"name": "Retrieve Connection",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "https://{{apiEndpoint}}/v2/connections/:connectionRef",
"protocol": "https",
"host": [
"{{apiEndpoint}}"
],
"path": [
"v2",
"connections",
":connectionRef"
],
"variable": [
{
"key": "connectionRef",
"value": "755751d7-4998-445a-93e3-0bd4a9ae7a9f"
}
]
}
},
"response": []
},
{
"name": "Update Connection",
"request": {
"method": "PUT",
"header": [],
"body": {
"mode": "raw",
"raw": "{\r\n \"name\": \"Sanity Outflow Connection\",\r\n \"description\": \"Test\",\r\n \"auth\": {\r\n \"authType\": \"NONE\"\r\n },\r\n \"request\": {\r\n \"requestType\": \"GET\",\r\n \"connectionUrl\": \"https://lanua4su.api.sanity.io/v2021-06-07/data/query/production?query=${query}\"\r\n },\r\n \"inputMappings\": [],\r\n \"outputMappings\": [\r\n {\r\n \"label\": \"Ms\",\r\n \"outputReference\": \"ms\",\r\n \"type\": \"Number\"\r\n },\r\n {\r\n \"label\": \"Query\",\r\n \"outputReference\": \"query\",\r\n \"type\": \"String\"\r\n },\r\n {\r\n \"label\": \"Result\",\r\n \"outputReference\": \"result\",\r\n \"type\": \"Array\"\r\n }\r\n ],\r\n \"customHeaders\": [\r\n {\r\n \"name\": \"Accept\",\r\n \"value\": \"application/json\"\r\n },\r\n {\r\n \"name\": \"Accept-Encoding\",\r\n \"value\": \"gzip\"\r\n }\r\n ],\r\n \"urlParameters\": [\r\n {\r\n \"label\": \"query\",\r\n \"key\": \"query\",\r\n \"type\": \"String\",\r\n \"exampleValue\": \"*\",\r\n \"mapping\": \"\"\r\n }\r\n ],\r\n \"systemType\": \"DESTINATION\",\r\n \"connectionTimeout\": 1000,\r\n \"value\": \"\",\r\n \"socketTimeout\": 1000,\r\n \"icon\": \"fad fa-box\"\r\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "https://{{apiEndpoint}}/v2/connections/:connectionRef",
"protocol": "https",
"host": [
"{{apiEndpoint}}"
],
"path": [
"v2",
"connections",
":connectionRef"
],
"variable": [
{
"key": "connectionRef",
"value": "755751d7-4998-445a-93e3-0bd4a9ae7a9f"
}
]
}
},
"response": []
},
{
"name": "Test Connection",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{ \r\n \"webService\":{ \r\n \"name\":\"Destination 2\",\r\n \"description\":\"Second\",\r\n \"modifiedByUserRef\":\"2a45ba95-208b-451a-8c72-489a25d52913\",\r\n \"modifiedAt\":\"2018-09-07T08:47:20.489Z\",\r\n \"revision\":1,\r\n \"archived\":false,\r\n \"auth\":{ \r\n \"authType\":\"none\"\r\n },\r\n \"request\":{ \r\n \"requestType\":\"post\",\r\n \"webServiceUrl\":\"https://silent-cloud-2479.getsandbox.com/cityinfo\",\r\n \"requestBody\":\"{\\n \\\"city0\\\": \\\"London\\\",\\n \\\"season0\\\": \\\"winter\\\",\\n \\\"city1\\\": \\\"Edinburgh\\\",\\n \\\"season1\\\": \\\"winter\\\"\\n}\"\r\n },\r\n \"exampleValue\":\"{\\\"city0\\\":\\\"London\\\",\\\"season0\\\":\\\"winter\\\",\\\"city1\\\":\\\"Edinburgh\\\",\\\"season1\\\":\\\"winter\\\"}\",\r\n \"inputMappings\":[ \r\n\r\n ],\r\n \"outputMappings\":[ \r\n\r\n ],\r\n \"customHeaders\":[ \r\n { \r\n \"externalWebServiceRef\":\"25bc4f8d-afcb-4f36-8fb5-14021a1efe28\",\r\n \"name\":\"Accept\",\r\n \"value\":\"application/json\"\r\n },\r\n { \r\n \"externalWebServiceRef\":\"25bc4f8d-afcb-4f36-8fb5-14021a1efe28\",\r\n \"name\":\"Accept-Encoding\",\r\n \"value\":\"gzip\"\r\n },\r\n { \r\n \"externalWebServiceRef\":\"25bc4f8d-afcb-4f36-8fb5-14021a1efe28\",\r\n \"name\":\"Content-Type\",\r\n \"value\":\"application/json\"\r\n }\r\n ],\r\n \"systemType\":\"DESTINATION\",\r\n \"connectionTimeout\":1000,\r\n \"socketTimeout\":1000,\r\n \"icon\":\"assets/images/channel-images/sms.svg\"\r\n },\r\n \"webServiceContext\":{ \r\n\r\n }\r\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "https://{{apiEndpoint}}/v2//connections/testWebService",
"protocol": "https",
"host": [
"{{apiEndpoint}}"
],
"path": [
"v2",
"",
"connections",
"testWebService"
]
}
},
"response": []
}
]
},
{
"name": "Decision Variants",
"item": [
{
"name": "Retrieve Decision Model Variant Reference",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "https://{{apiEndpoint}}/v2//decisionModelVariants/:decisionModelVariantRef",
"protocol": "https",
"host": [
"{{apiEndpoint}}"
],
"path": [
"v2",
"",
"decisionModelVariants",
":decisionModelVariantRef"
],
"variable": [
{
"key": "decisionModelVariantRef",
"value": null
}
]
}
},
"response": []
},
{
"name": "Create Decision Model Variant",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{ \r\n \"name\":\"Discount Seasonal Offers\",\r\n \"modifiedByUserRef\":\"25f46901-bc51-45e8-b587-148aecf1e48f\",\r\n \"modifiedAt\":\"2018-10-05T07:37:49.650Z\",\r\n \"revision\":1,\r\n \"archived\":false,\r\n \"decisionModelDefinitionRef\":\"db6ee91d-bc02-4e83-8621-a17aee09814d\",\r\n \"definition\":\"<definitions xmlns=\\\"http://www.omg.org/spec/DMN/20151101/dmn.xsd\\\" id=\\\"definitions\\\" name=\\\"definitions\\\" namespace=\\\"http://camunda.org/schema/1.0/dmn\\\" />\",\r\n \"revisions\":{ \r\n \"href\":\"https://dev-api.boxever.com/v2/decisionModelVariants/4ee0797d-e229-492d-883e-1344787002b4/revisions\"\r\n },\r\n \"offers\":[ \r\n\r\n ]\r\n}"
},
"url": {
"raw": "https://{{apiEndpoint}}/v2//decisionModelDefinitions/{{decisionModelDefinitionRef}}/variants",
"protocol": "https",
"host": [
"{{apiEndpoint}}"
],
"path": [
"v2",
"",
"decisionModelDefinitions",
"{{decisionModelDefinitionRef}}",
"variants"
]
}
},
"response": []
},
{
"name": "Update Decision Model Variant",
"request": {
"method": "PUT",
"header": [],
"body": {
"mode": "raw",
"raw": "{\r\n \"name\": \"Control\",\r\n \"modifiedByUserRef\": \"f58e3f5a-dc4a-4dde-acf9-998580eb1975\",\r\n \"modifiedAt\": \"2018-03-10T18:28:46.269Z\",\r\n \"revision\": 1,\r\n \"archived\": false,\r\n \"decisionModelDefinitionRef\": \"6d009415-294a-4981-9341-bfa0d4867c50\",\r\n \"definition\": \"Control\",\r\n \"revisions\": {\r\n \"href\": \"https://{apiEndpoint}/v2/decisionModelVariants/d10eb511-8ac7-44eb-a304-bdb141069084/revisions\"\r\n },\r\n \"decisionModelDefinition\": {\r\n \"href\": \"https://{apiEndpoint}/v2/decisionModelDefinitions/6d009415-294a-4981-9341-bfa0d4867c50\"\r\n },\r\n \"offers\": [],\r\n \"inProduction\": false\r\n}"
},
"url": {
"raw": "https://{{apiEndpoint}}/v2//decisionModelVariants/{{decisionModelVariantRef}}",
"protocol": "https",
"host": [
"{{apiEndpoint}}"
],
"path": [
"v2",
"",
"decisionModelVariants",
"{{decisionModelVariantRef}}"
]
}
},
"response": []
},
{
"name": "Retrieve Decision Model Variant Revisions",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "https://{{apiEndpoint}}/v2/decisionModelVariants/:decisionModelDefinitionRef/revisions",
"protocol": "https",
"host": [
"{{apiEndpoint}}"
],
"path": [
"v2",
"decisionModelVariants",
":decisionModelDefinitionRef",
"revisions"
],
"variable": [
{
"key": "decisionModelDefinitionRef",
"value": "a1a888dd-b666-42eb-97c0-453a4446940e"
}
]
}
},
"response": []
},
{
"name": "Retrieve Decision Model Variant Revision",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "https://{{apiEndpoint}}/v2/decisionModelVariants/{{decisionModelVariantRef}}/revisions/{{decisionModelVariantRevision}}",
"protocol": "https",
"host": [
"{{apiEndpoint}}"
],
"path": [
"v2",
"decisionModelVariants",
"{{decisionModelVariantRef}}",
"revisions",
"{{decisionModelVariantRevision}}"
]
}
},
"response": []
}
]
},
{
"name": "Decisions",
"item": [
{
"name": "Retrieve Decision Model Definitions",
"request": {
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{AdminToken}}",
"type": "string"
}
]
},
"method": "GET",
"header": [],
"url": {
"raw": "https://{{apiEndpoint}}/v2/decisionModelDefinitions",
"protocol": "https",
"host": [
"{{apiEndpoint}}"
],
"path": [
"v2",
"decisionModelDefinitions"
]
}
},
"response": []
},
{
"name": "Retrieve Decision Model Definition Reference",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "https://{{apiEndpoint}}/v2/orders/{{orderRef}}",
"protocol": "https",
"host": [
"{{apiEndpoint}}"
],
"path": [
"v2",
"orders",
"{{orderRef}}"
]
}
},
"response": []
},
{
"name": "Create Decision Model Definition",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\r\n \"name\": \"Determine Loan Limit\",\r\n \"description\": \"customer limit calculation\"\r\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": ""
}
},
"response": []
},
{
"name": "Update Decision Model Definition Reference",
"request": {
"method": "PUT",
"header": [],
"body": {
"mode": "raw",
"raw": "{\r\n \"name\": \"TEST_1539184400561_PP_1 - archived 2018-10-10 16:04\",\r\n \"modifiedByUserRef\": \"c008c81d-4941-46aa-b4e6-a17e8388498a\",\r\n \"modifiedAt\": \"2018-10-10T16:04:20.878Z\",\r\n \"revision\": 4,\r\n \"archived\": true,\r\n \"deploymentConfiguration\": {\r\n \"variants\": [\r\n {\r\n \"variantRef\": \"19700f15-4069-4121-b709-1031118677c8\",\r\n \"split\": 90,\r\n \"status\": \"PRODUCTION\",\r\n \"variantRevision\": 1\r\n },\r\n {\r\n \"variantRef\": \"42e882a5-c8a8-4149-be76-343409d10c1c\",\r\n \"split\": 10,\r\n \"status\": \"PRODUCTION\",\r\n \"variantRevision\": 1\r\n }\r\n ]\r\n },\r\n \"variants\": {\r\n \"href\": \"https://dev-api.boxever.com/v2/decisionModelDefinitions/e8878fdb-4031-423c-a12b-5691381f0c89/variants\"\r\n },\r\n \"revisions\": {\r\n \"href\": \"https://dev-api.boxever.com/v2/decisionModelDefinitions/e8878fdb-4031-423c-a12b-5691381f0c89/revisions\"\r\n }\r\n}"
},
"url": {
"raw": "https://{{apiEndpoint}}/v2//decisionModelDefinitions/{{decisionModelDefinitionRef}}",
"protocol": "https",
"host": [
"{{apiEndpoint}}"
],
"path": [
"v2",
"",
"decisionModelDefinitions",
"{{decisionModelDefinitionRef}}"
]
}
},
"response": []
},
{
"name": "Retrieve Revisions of Decision Model Definition",
"protocolProfileBehavior": {
"disableBodyPruning": true
},
"request": {
"method": "GET",
"header": [],
"body": {
"mode": "raw",
"raw": "{\r\n \"name\": \"TEST_1539184400561_PP_1 - archived 2018-10-10 16:04\",\r\n \"modifiedByUserRef\": \"c008c81d-4941-46aa-b4e6-a17e8388498a\",\r\n \"modifiedAt\": \"2018-10-10T16:04:20.878Z\",\r\n \"revision\": 4,\r\n \"archived\": true,\r\n \"deploymentConfiguration\": {\r\n \"variants\": [\r\n {\r\n \"variantRef\": \"19700f15-4069-4121-b709-1031118677c8\",\r\n \"split\": 90,\r\n \"status\": \"PRODUCTION\",\r\n \"variantRevision\": 1\r\n },\r\n {\r\n \"variantRef\": \"42e882a5-c8a8-4149-be76-343409d10c1c\",\r\n \"split\": 10,\r\n \"status\": \"PRODUCTION\",\r\n \"variantRevision\": 1\r\n }\r\n ]\r\n },\r\n \"variants\": {\r\n \"href\": \"https://dev-api.boxever.com/v2/decisionModelDefinitions/e8878fdb-4031-423c-a12b-5691381f0c89/variants\"\r\n },\r\n \"revisions\": {\r\n \"href\": \"https://dev-api.boxever.com/v2/decisionModelDefinitions/e8878fdb-4031-423c-a12b-5691381f0c89/revisions\"\r\n }\r\n}"
},
"url": {
"raw": "https://{{apiEndpoint}}/v2//decisionModelDefinitions/{{decisionModelDefinitionRef}}",
"protocol": "https",
"host": [
"{{apiEndpoint}}"
],
"path": [
"v2",
"",
"decisionModelDefinitions",
"{{decisionModelDefinitionRef}}"
]
}
},
"response": []
},
{
"name": "Retrieve Variants of Decision Model Reference",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "https://{{apiEndpoint}}/v2//decisionModelDefinitions/{{decisionModelDefinitionRef}}/revisions/{{decisionModelDefinitionRevision}}",
"protocol": "https",
"host": [
"{{apiEndpoint}}"
],
"path": [
"v2",
"",
"decisionModelDefinitions",
"{{decisionModelDefinitionRef}}",
"revisions",
"{{decisionModelDefinitionRevision}}"
]
}
},
"response": []
},
{
"name": "Retrieve Decision Model Definitions Revision Record",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "https://{{apiEndpoint}}/v2//decisionModelDefinitions/{{decisionModelDefinitionRef}}",
"protocol": "https",
"host": [
"{{apiEndpoint}}"
],
"path": [
"v2",
"",
"decisionModelDefinitions",
"{{decisionModelDefinitionRef}}"
]
}
},
"response": []
}
]
},
{
"name": "Templates",
"item": [
{
"name": "Get All By Template Type",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "https://{{apiEndpoint}}/v3/templates?type=WEB",
"protocol": "https",
"host": [
"{{apiEndpoint}}"
],
"path": [
"v3",
"templates"
],
"query": [
{
"key": "type",
"value": "WEB"
}
]
}
},
"response": []
},
{
"name": "Get By Friendly ID",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "https://{{apiEndpoint}}/v3/templates/:friendlyId",
"protocol": "https",
"host": [
"{{apiEndpoint}}"
],
"path": [
"v3",
"templates",
":friendlyId"
],
"variable": [
{
"key": "friendlyId",
"value": "testing_2"
}
]
}
},
"response": []
},
{
"name": "Get By Id",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "https://{{apiEndpoint}}/v3/templates/:templateId",
"protocol": "https",
"host": [
"{{apiEndpoint}}"
],
"path": [
"v3",
"templates",
":templateId"
],
"variable": [
{
"key": "templateId",
"value": "59ef833e-00b6-40f2-b82a-7001b0648592"
}
]
}
},
"response": []
},
{
"name": "Create Template",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\r\n \"friendlyId\": \"testing_42222\",\r\n \"name\": \"Testing 42222\",\r\n \"status\": \"DRAFT\",\r\n \"templateElements\": [\r\n {\r\n \"id\": \"js\",\r\n \"template\": \"// This function will return the order that triggered the execution of the experience.\\n// This is for use in triggered experiences where the trigger is Order Created or Order Updated.\\n\\n(function () {\\n function getTriggerOrder(){\\n var orderRef;\\n if (entity && entity.ref !== 'undefined') {\\n orderRef = entity.ref;\\n }\\n var triggerOrder;\\n for (var i = 0; i < guest.orders.length; i++) {\\n var order = guest.orders[i];\\n if (order.ref === orderRef) {\\n triggerOrder = order;\\n break;\\n }\\n }\\n return triggerOrder;\\n }\\n\\n var triggerOrder = getTriggerOrder();\\n})();\\n\"\r\n }\r\n ],\r\n \"icon\": \"\",\r\n \"defaultTemplate\": false,\r\n \"type\": \"DECISION\"\r\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "https://{{apiEndpoint}}/v3/templates",
"protocol": "https",
"host": [
"{{apiEndpoint}}"
],
"path": [
"v3",
"templates"
]
}
},
"response": []
},
{
"name": "Edit Template",
"request": {
"method": "PUT",
"header": [],
"body": {
"mode": "raw",
"raw": "{\r\n \"name\": \"getTriggerEvent\",\r\n \"archived\": false,\r\n \"friendlyId\": \"gettriggerevent_l4oyrahze3\",\r\n \"type\": \"DECISION\",\r\n \"status\": \"PUBLISHED\",\r\n \"icon\": \"\",\r\n \"additionalFields\": {\r\n \"decisionOutputReference\": \"getnumberofevents\",\r\n \"decisionReturnType\": \"String\"\r\n },\r\n \"defaultTemplate\": false,\r\n \"tags\": [\r\n \"Source Control\"\r\n ],\r\n \"customTemplate\": true,\r\n \"templateElements\": [\r\n {\r\n \"id\": \"js\",\r\n \"template\": \"// This function will return the order that triggered the execution of the experience.\\r\\n// This is for use in triggered experiences where the trigger is Custom Trigger.\\r\\n\\r\\n(function () {\\r\\n function getTriggerEvent(){\\r\\n var eventRef;\\r\\n if (entity && entity.ref !== 'undefined') {\\r\\n eventRef = entity.ref;\\r\\n }\\r\\n var triggerEvent;\\r\\n for (var i = 0; i < guest.sessions.length; i++) {\\r\\n var session = guest.sessions[i];\\r\\n for (var j = 0; j < session.events.length; j++) {\\r\\n var event = session.events[j];\\r\\n if (event.ref === eventRef) {\\r\\n triggerEvent = event;\\r\\n return triggerEvent;\\r\\n }\\r\\n }\\r\\n }\\r\\n return triggerEvent;\\r\\n }\\r\\n\\r\\n var triggerEvent = getTriggerEvent();\\r\\n})();\"\r\n }\r\n ]\r\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "https://{{apiEndpoint}}/v3/templates/62cfd3ee-b439-45db-847e-c6f16517ac68",
"protocol": "https",
"host": [
"{{apiEndpoint}}"
],
"path": [
"v3",
"templates",
"62cfd3ee-b439-45db-847e-c6f16517ac68"
]
}
},
"response": []
},
{
"name": "Get Offer Templates",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "https://{{apiEndpoint}}/v3/offerTemplates?withUsage=true",
"protocol": "https",
"host": [
"{{apiEndpoint}}"
],
"path": [
"v3",
"offerTemplates"
],
"query": [
{
"key": "withUsage",
"value": "true"
}
]
}
},
"response": []
}
],
"event": [
{
"listen": "prerequest",
"script": {
"type": "text/javascript",
"exec": [
""
]
}
},
{
"listen": "test",
"script": {
"type": "text/javascript",
"exec": [
""
]
}
}
]
},
{
"name": "Miscellaneous",
"item": [
{
"name": "Get Configurations",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "https://{{apiEndpoint}}/v2/configurations",
"protocol": "https",
"host": [
"{{apiEndpoint}}"
],
"path": [
"v2",
"configurations"
]
}
},
"response": []
},
{
"name": "Get List of POS",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "https://{{apiEndpoint}}/points-of-sale/list",
"protocol": "https",
"host": [
"{{apiEndpoint}}"
],
"path": [
"points-of-sale",
"list"
]
}
},
"response": []
},
{
"name": "Type Ahead?",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "https://{{apiEndpoint}}/v4/segmentation/typeAhead",
"protocol": "https",
"host": [
"{{apiEndpoint}}"
],
"path": [
"v4",
"segmentation",
"typeAhead"
]
}
},
"response": [
{
"name": "Type Ahead?",
"originalRequest": {
"method": "GET",
"header": [],
"url": {
"raw": "https://{{apiEndpoint}}/v4/segmentation/typeAhead",
"protocol": "https",
"host": [
"{{apiEndpoint}}"
],
"path": [
"v4",
"segmentation",
"typeAhead"
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Encoding",
"value": "gzip"
},
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Date",
"value": "Mon, 18 Jul 2022 16:12:39 GMT"
},
{
"key": "Vary",
"value": "Accept-Encoding"
},
{
"key": "X-Robots-Tag",
"value": "noindex"
},
{
"key": "transfer-encoding",
"value": "chunked"
},
{
"key": "Connection",
"value": "keep-alive"
}
],
"cookie": [],
"body": "{\n \"data\": {\n \"ORDER\": {\n \"STANDARD\": {\n \"core\": [\n {\n \"entity\": \"ORDER\",\n \"type\": \"STANDARD\",\n \"fieldName\": \"core_price\",\n \"locationType\": \"core\",\n \"dataType\": \"double\",\n \"total\": 1,\n \"totalNonNull\": 1,\n \"totalUnique\": 1,\n \"exclusionReason\": \"\",\n \"values\": {}\n },\n {\n \"entity\": \"ORDER\",\n \"type\": \"STANDARD\",\n \"fieldName\": \"core_reference_id\",\n \"locationType\": \"core\",\n \"dataType\": \"varchar\",\n \"total\": 1,\n \"totalNonNull\": 1,\n \"totalUnique\": 1,\n \"exclusionReason\": \"\",\n \"values\": {\n \"peYODDseCt\": 1\n }\n },\n {\n \"entity\": \"ORDER\",\n \"type\": \"STANDARD\",\n \"fieldName\": \"core_status\",\n \"locationType\": \"core\",\n \"dataType\": \"varchar\",\n \"total\": 1,\n \"totalNonNull\": 1,\n \"totalUnique\": 1,\n \"exclusionReason\": \"\",\n \"values\": {\n \"PURCHASED\": 1\n }\n },\n {\n \"entity\": \"ORDER\",\n \"type\": \"STANDARD\",\n \"fieldName\": \"core_contact\",\n \"locationType\": \"core\",\n \"dataType\": \"varchar\",\n \"total\": 1,\n \"totalNonNull\": 1,\n \"totalUnique\": 1,\n \"exclusionReason\": \"\",\n \"values\": {\n \"{\\\"ref\\\":\\\"8e89b373-902f-44a6-941c-6088ea254305\\\",\\\"createdAt\\\":\\\"1646311403085\\\",\\\"modifiedAt\\\":\\\"1646311403085\\\",\\\"title\\\":\\\"Mr\\\",\\\"firstName\\\":\\\"test1\\\",\\\"lastName\\\":\\\"guest\\\",\\\"gender\\\":\\\"male\\\",\\\"guestRef\\\":\\\"8eb91acd-1238-448d-98e4-a03002d61edd\\\"}\": 1\n }\n },\n {\n \"entity\": \"ORDER\",\n \"type\": \"STANDARD\",\n \"fieldName\": \"core_ordered_at\",\n \"locationType\": \"core\",\n \"dataType\": \"timestamp\",\n \"total\": 1,\n \"totalNonNull\": 1,\n \"totalUnique\": 1,\n \"exclusionReason\": \"Type timestamp not supported yet\",\n \"values\": {}\n },\n {\n \"entity\": \"ORDER\",\n \"type\": \"STANDARD\",\n \"fieldName\": \"core_currency_code\",\n \"locationType\": \"core\",\n \"dataType\": \"varchar\",\n \"total\": 1,\n \"totalNonNull\": 1,\n \"totalUnique\": 1,\n \"exclusionReason\": \"\",\n \"values\": {\n \"EUR\": 1\n }\n }\n ],\n \"bxt\": [\n {\n \"entity\": \"ORDER\",\n \"type\": \"STANDARD\",\n \"fieldName\": \"cardType\",\n \"locationType\": \"bxt\",\n \"dataType\": \"unknown\",\n \"total\": 1,\n \"totalNonNull\": 1,\n \"totalUnique\": 1,\n \"exclusionReason\": \"\",\n \"values\": {\n \"Visa\": 1\n }\n },\n {\n \"entity\": \"ORDER\",\n \"type\": \"STANDARD\",\n \"fieldName\": \"paymentType\",\n \"locationType\": \"bxt\",\n \"dataType\": \"unknown\",\n \"total\": 1,\n \"totalNonNull\": 1,\n \"totalUnique\": 1,\n \"exclusionReason\": \"\",\n \"values\": {\n \"Card\": 1\n }\n },\n {\n \"entity\": \"ORDER\",\n \"type\": \"STANDARD\",\n \"fieldName\": \"channel\",\n \"locationType\": \"bxt\",\n \"dataType\": \"unknown\",\n \"total\": 1,\n \"totalNonNull\": 1,\n \"totalUnique\": 1,\n \"exclusionReason\": \"\",\n \"values\": {\n \"WEB\": 1\n }\n },\n {\n \"entity\": \"ORDER\",\n \"type\": \"STANDARD\",\n \"fieldName\": \"pointOfSale\",\n \"locationType\": \"bxt\",\n \"dataType\": \"unknown\",\n \"total\": 1,\n \"totalNonNull\": 1,\n \"totalUnique\": 1,\n \"exclusionReason\": \"\",\n \"values\": {\n \"default\": 1\n }\n }\n ]\n }\n },\n \"GUEST\": {\n \"VISITOR\": {\n \"core\": [\n {\n \"entity\": \"GUEST\",\n \"type\": \"VISITOR\",\n \"fieldName\": \"core_first_seen_at\",\n \"locationType\": \"core\",\n \"dataType\": \"timestamp\",\n \"total\": 731,\n \"totalNonNull\": 731,\n \"totalUnique\": 728,\n \"exclusionReason\": \"Type timestamp not supported yet\",\n \"values\": {}\n },\n {\n \"entity\": \"GUEST\",\n \"type\": \"VISITOR\",\n \"fieldName\": \"core_last_seen_at\",\n \"locationType\": \"core\",\n \"dataType\": \"timestamp\",\n \"total\": 731,\n \"totalNonNull\": 731,\n \"totalUnique\": 731,\n \"exclusionReason\": \"Type timestamp not supported yet\",\n \"values\": {}\n }\n ],\n \"bxt\": [\n {\n \"entity\": \"GUEST\",\n \"type\": \"VISITOR\",\n \"fieldName\": \"gender\",\n \"locationType\": \"bxt\",\n \"dataType\": \"unknown\",\n \"total\": 731,\n \"totalNonNull\": 731,\n \"totalUnique\": 1,\n \"exclusionReason\": \"\",\n \"values\": {\n \"unknown\": 731\n }\n }\n ]\n },\n \"CUSTOMER\": {\n \"ext\": [\n {\n \"entity\": \"GUEST\",\n \"type\": \"CUSTOMER\",\n \"fieldName\": \"loyaltyNumber\",\n \"locationType\": \"ext\",\n \"dataType\": \"unknown\",\n \"total\": 20,\n \"totalNonNull\": 2,\n \"totalUnique\": 1,\n \"exclusionReason\": \"\",\n \"values\": {\n \"123456789\": 2\n }\n },\n {\n \"entity\": \"GUEST\",\n \"type\": \"CUSTOMER\",\n \"fieldName\": \"rewardBalance\",\n \"locationType\": \"ext\",\n \"dataType\": \"unknown\",\n \"total\": 20,\n \"totalNonNull\": 2,\n \"totalUnique\": 1,\n \"exclusionReason\": \"\",\n \"values\": {\n \"5012.25\": 2\n }\n },\n {\n \"entity\": \"GUEST\",\n \"type\": \"CUSTOMER\",\n \"fieldName\": \"vipMember\",\n \"locationType\": \"ext\",\n \"dataType\": \"unknown\",\n \"total\": 20,\n \"totalNonNull\": 2,\n \"totalUnique\": 1,\n \"exclusionReason\": \"\",\n \"values\": {\n \"true\": 2\n }\n },\n {\n \"entity\": \"GUEST\",\n \"type\": \"CUSTOMER\",\n \"fieldName\": \"loyaltyTier\",\n \"locationType\": \"ext\",\n \"dataType\": \"unknown\",\n \"total\": 20,\n \"totalNonNull\": 2,\n \"totalUnique\": 1,\n \"exclusionReason\": \"\",\n \"values\": {\n \"level2\": 2\n }\n },\n {\n \"entity\": \"GUEST\",\n \"type\": \"CUSTOMER\",\n \"fieldName\": \"memberSince\",\n \"locationType\": \"ext\",\n \"dataType\": \"unknown\",\n \"total\": 20,\n \"totalNonNull\": 2,\n \"totalUnique\": 1,\n \"exclusionReason\": \"\",\n \"values\": {\n \"2020-10-08T00:00\": 2\n }\n }\n ],\n \"core\": [\n {\n \"entity\": \"GUEST\",\n \"type\": \"CUSTOMER\",\n \"fieldName\": \"core_first_seen_at\",\n \"locationType\": \"core\",\n \"dataType\": \"timestamp\",\n \"total\": 20,\n \"totalNonNull\": 20,\n \"totalUnique\": 16,\n \"exclusionReason\": \"Type timestamp not supported yet\",\n \"values\": {}\n },\n {\n \"entity\": \"GUEST\",\n \"type\": \"CUSTOMER\",\n \"fieldName\": \"core_last_seen_at\",\n \"locationType\": \"core\",\n \"dataType\": \"timestamp\",\n \"total\": 20,\n \"totalNonNull\": 20,\n \"totalUnique\": 16,\n \"exclusionReason\": \"Type timestamp not supported yet\",\n \"values\": {}\n }\n ],\n \"bxt\": [\n {\n \"entity\": \"GUEST\",\n \"type\": \"CUSTOMER\",\n \"fieldName\": \"passportNumber\",\n \"locationType\": \"bxt\",\n \"dataType\": \"unknown\",\n \"total\": 20,\n \"totalNonNull\": 7,\n \"totalUnique\": 3,\n \"exclusionReason\": \"\",\n \"values\": {\n \"PZ12345\": 4,\n \"PZ4A9599\": 2,\n \"PZ4A9565\": 1\n }\n },\n {\n \"entity\": \"GUEST\",\n \"type\": \"CUSTOMER\",\n \"fieldName\": \"gender\",\n \"locationType\": \"bxt\",\n \"dataType\": \"unknown\",\n \"total\": 20,\n \"totalNonNull\": 20,\n \"totalUnique\": 2,\n \"exclusionReason\": \"\",\n \"values\": {\n \"unknown\": 13,\n \"male\": 7\n }\n },\n {\n \"entity\": \"GUEST\",\n \"type\": \"CUSTOMER\",\n \"fieldName\": \"passportExpiry\",\n \"locationType\": \"bxt\",\n \"dataType\": \"unknown\",\n \"total\": 20,\n \"totalNonNull\": 1,\n \"totalUnique\": 1,\n \"exclusionReason\": \"\",\n \"values\": {\n \"1709474164224\": 1\n }\n },\n {\n \"entity\": \"GUEST\",\n \"type\": \"CUSTOMER\",\n \"fieldName\": \"subscriptions\",\n \"locationType\": \"bxt\",\n \"dataType\": \"unknown\",\n \"total\": 20,\n \"totalNonNull\": 7,\n \"totalUnique\": 3,\n \"exclusionReason\": \"\",\n \"values\": {\n \"[{\\\"name\\\":\\\"default\\\",\\\"pointOfSale\\\":\\\"demo.com\\\",\\\"channel\\\":\\\"EMAIL\\\",\\\"status\\\":\\\"SUBSCRIBED\\\",\\\"effectiveDate\\\":1646265600000}]\": 4,\n \"[{\\\"name\\\":\\\"Mailing\\\",\\\"pointOfSale\\\":\\\"default\\\",\\\"channel\\\":\\\"EMAIL\\\",\\\"status\\\":\\\"SUBSCRIBED\\\",\\\"effectiveDate\\\":1350987420000},{\\\"name\\\":\\\"Marketing\\\",\\\"pointOfSale\\\":\\\"demo.com\\\",\\\"channel\\\":\\\"EMAIL\\\",\\\"status\\\":\\\"PENDING\\\",\\\"effectiveDate\\\":1345738620000}]\": 2,\n \"[{\\\"name\\\":\\\"default\\\",\\\"pointOfSale\\\":\\\"demo.com\\\",\\\"channel\\\":\\\"EMAIL\\\",\\\"status\\\":\\\"SUBSCRIBED\\\",\\\"effectiveDate\\\":1646315764223}]\": 1\n }\n },\n {\n \"entity\": \"GUEST\",\n \"type\": \"CUSTOMER\",\n \"fieldName\": \"nationality\",\n \"locationType\": \"bxt\",\n \"dataType\": \"unknown\",\n \"total\": 20,\n \"totalNonNull\": 7,\n \"totalUnique\": 2,\n \"exclusionReason\": \"\",\n \"values\": {\n \"Irish\": 6,\n \"Spanish\": 1\n }\n },\n {\n \"entity\": \"GUEST\",\n \"type\": \"CUSTOMER\",\n \"fieldName\": \"dateOfBirth\",\n \"locationType\": \"bxt\",\n \"dataType\": \"unknown\",\n \"total\": 20,\n \"totalNonNull\": 7,\n \"totalUnique\": 3,\n \"exclusionReason\": \"\",\n \"values\": {\n \"699580800000\": 4,\n \"309916800000\": 2,\n \"1015163764224\": 1\n }\n },\n {\n \"entity\": \"GUEST\",\n \"type\": \"CUSTOMER\",\n \"fieldName\": \"lastName\",\n \"locationType\": \"bxt\",\n \"dataType\": \"unknown\",\n \"total\": 20,\n \"totalNonNull\": 19,\n \"totalUnique\": 11,\n \"exclusionReason\": \"\",\n \"values\": {\n \"Alfeqy\": 5,\n \"guest\": 4,\n \"Elyamany\": 2,\n \"dfg\": 1,\n \"Adams\": 1,\n \"Smith\": 1,\n \"test user\": 1,\n \"Swaniawski\": 1,\n \"Gibson\": 1,\n \"El-Yamany\": 1,\n \"Ali\": 1\n }\n },\n {\n \"entity\": \"GUEST\",\n \"type\": \"CUSTOMER\",\n \"fieldName\": \"emails\",\n \"locationType\": \"bxt\",\n \"dataType\": \"unknown\",\n \"total\": 20,\n \"totalNonNull\": 19,\n \"totalUnique\": 16,\n \"exclusionReason\": \"\",\n \"values\": {\n \"[\\\"[email protected]\\\"]\": 4,\n \"[\\\"[email protected]\\\"]\": 1,\n \"[\\\"[email protected]\\\"]\": 1,\n \"[\\\"[email protected]\\\"]\": 1,\n \"[\\\"[email protected]\\\"]\": 1,\n \"[\\\"[email protected]\\\"]\": 1,\n \"[\\\"[email protected]\\\"]\": 1,\n \"[\\\"[email protected]\\\"]\": 1,\n \"[\\\"[email protected]\\\"]\": 1,\n \"[\\\"[email protected]\\\"]\": 1,\n \"[\\\"[email protected]\\\"]\": 1,\n \"[\\\"dfg\\\"]\": 1,\n \"[\\\"[email protected]\\\"]\": 1,\n \"[\\\"[email protected]\\\"]\": 1,\n \"[\\\"[email protected]\\\"]\": 1,\n \"[\\\"[email protected]\\\"]\": 1\n }\n },\n {\n \"entity\": \"GUEST\",\n \"type\": \"CUSTOMER\",\n \"fieldName\": \"identifiers\",\n \"locationType\": \"bxt\",\n \"dataType\": \"unknown\",\n \"total\": 20,\n \"totalNonNull\": 20,\n \"totalUnique\": 20,\n \"exclusionReason\": \"\",\n \"values\": {\n \"[{\\\"provider\\\":\\\"email\\\",\\\"id\\\":\\\"TENANTVF-TEST-0005-9a37-93a5fbe5832c\\\",\\\"expiryDate\\\":4510990357017}]\": 1,\n \"[{\\\"createdAt\\\":1646311490505,\\\"modifiedAt\\\":1646311490505,\\\"provider\\\":\\\"email\\\",\\\"id\\\":\\\"TENANTVF-TEST-0003-a9e9-2775160fcebe\\\",\\\"expiryDate\\\":2545057020000}]\": 1,\n \"[{\\\"ref\\\":\\\"2b0cfea6-151e-5e69-980e-c9718185d22c\\\",\\\"createdAt\\\":1647513044169,\\\"modifiedAt\\\":1647513044169,\\\"provider\\\":\\\"email\\\",\\\"id\\\":\\\"[email protected]\\\"}]\": 1,\n \"[{\\\"ref\\\":\\\"bfed9013-5f9f-5913-9a65-2e198670658a\\\",\\\"createdAt\\\":1650060878609,\\\"modifiedAt\\\":1650060878609,\\\"provider\\\":\\\"email\\\",\\\"id\\\":\\\"[email protected]\\\"}]\": 1,\n \"[{\\\"createdAt\\\":1646311557572,\\\"modifiedAt\\\":1646311622826,\\\"provider\\\":\\\"email\\\",\\\"id\\\":\\\"TENANTVF-TEST-0004-8018-a009dddef447\\\",\\\"expiryDate\\\":2576593020000}]\": 1,\n \"[{\\\"ref\\\":\\\"fdacad4f-34b7-569a-b4e2-8ceb3c812718\\\",\\\"createdAt\\\":1648141046109,\\\"modifiedAt\\\":1648141046109,\\\"provider\\\":\\\"email\\\",\\\"id\\\":\\\"[email protected]\\\"}]\": 1,\n \"[{\\\"ref\\\":\\\"64e961e3-1134-5add-8e64-b74c35bee914\\\",\\\"createdAt\\\":1647517387755,\\\"modifiedAt\\\":1647517387755,\\\"provider\\\":\\\"email\\\",\\\"id\\\":\\\"[email protected]\\\"}]\": 1,\n \"[{\\\"ref\\\":\\\"48156b4f-f740-525a-8152-3870a9aac390\\\",\\\"createdAt\\\":1647518323267,\\\"modifiedAt\\\":1647518323267,\\\"provider\\\":\\\"email\\\",\\\"id\\\":\\\"dfg\\\"}]\": 1,\n \"[{\\\"ref\\\":\\\"2b9a9e83-c88a-5631-86c1-ed21e478610b\\\",\\\"createdAt\\\":1647343746075,\\\"modifiedAt\\\":1647343746075,\\\"provider\\\":\\\"email\\\",\\\"id\\\":\\\"[email protected]\\\"}]\": 1,\n \"[{\\\"ref\\\":\\\"fdbbb62f-7d42-56b5-beb1-cc3ba680cf66\\\",\\\"createdAt\\\":1650060760661,\\\"modifiedAt\\\":1650060760661,\\\"provider\\\":\\\"email\\\",\\\"id\\\":\\\"[email protected]\\\"}]\": 1,\n \"[{\\\"ref\\\":\\\"3358b8c0-69b2-5ed2-bea5-2aeb7547429d\\\",\\\"createdAt\\\":1647518206021,\\\"modifiedAt\\\":1647518206021,\\\"provider\\\":\\\"email\\\",\\\"id\\\":\\\"[email protected]\\\"}]\": 1,\n \"[{\\\"ref\\\":\\\"233f7d1d-2002-56c0-ada3-6cb38b30f18e\\\",\\\"createdAt\\\":1647518122990,\\\"modifiedAt\\\":1647518122990,\\\"provider\\\":\\\"email\\\",\\\"id\\\":\\\"[email protected]\\\"}]\": 1,\n \"[{\\\"ref\\\":\\\"1954a873-f1de-5970-8751-e42b23f295c1\\\",\\\"createdAt\\\":1646249187876,\\\"modifiedAt\\\":1646249187876,\\\"provider\\\":\\\"email\\\",\\\"id\\\":\\\"DEMOTEST-b916-4016-8b8e-3d3dcc25fb64\\\"}]\": 1,\n \"[{\\\"provider\\\":\\\"email\\\",\\\"id\\\":\\\"TENANTVF-TEST-0002-a742-552303555399\\\",\\\"expiryDate\\\":4510989798045}]\": 1,\n \"[{\\\"ref\\\":\\\"881b02f6-0a27-5518-879c-f0dc8481b10f\\\",\\\"createdAt\\\":1647517278814,\\\"modifiedAt\\\":1647517278814,\\\"provider\\\":\\\"email\\\",\\\"id\\\":\\\"[email protected]\\\"}]\": 1,\n \"[{\\\"provider\\\":\\\"email\\\",\\\"id\\\":\\\"DEMOTEST-218b-443e-8099-da570b94f6fd\\\",\\\"expiryDate\\\":1709474164224}]\": 1,\n \"[{\\\"ref\\\":\\\"9c201314-4c10-5eeb-94dd-20b79e26d078\\\",\\\"createdAt\\\":1647518377178,\\\"modifiedAt\\\":1647518377178,\\\"provider\\\":\\\"email\\\",\\\"id\\\":\\\"[email protected]\\\"}]\": 1,\n \"[{\\\"provider\\\":\\\"email\\\",\\\"id\\\":\\\"TENANTVF-TEST-0005-bb59-553b041f8e81\\\",\\\"expiryDate\\\":4510989560813}]\": 1,\n \"[{\\\"provider\\\":\\\"email\\\",\\\"id\\\":\\\"TENANTVF-TEST-0001-9ce2-277bc17f06a6\\\",\\\"expiryDate\\\":4510989759376}]\": 1,\n \"[{\\\"ref\\\":\\\"0a927853-995a-5d0b-a653-778a9129a9a8\\\",\\\"createdAt\\\":1647517316988,\\\"modifiedAt\\\":1647517316988,\\\"provider\\\":\\\"email\\\",\\\"id\\\":\\\"[email protected]\\\"}]\": 1\n }\n },\n {\n \"entity\": \"GUEST\",\n \"type\": \"CUSTOMER\",\n \"fieldName\": \"postCode\",\n \"locationType\": \"bxt\",\n \"dataType\": \"unknown\",\n \"total\": 20,\n \"totalNonNull\": 3,\n \"totalUnique\": 2,\n \"exclusionReason\": \"\",\n \"values\": {\n \"30001\": 1,\n \"D2\": 2\n }\n },\n {\n \"entity\": \"GUEST\",\n \"type\": \"CUSTOMER\",\n \"fieldName\": \"phoneNumbers\",\n \"locationType\": \"bxt\",\n \"dataType\": \"unknown\",\n \"total\": 20,\n \"totalNonNull\": 5,\n \"totalUnique\": 2,\n \"exclusionReason\": \"\",\n \"values\": {\n \"[\\\"12345678\\\",\\\"12345679\\\"]\": 4,\n \"[\\\"0851234567\\\"]\": 1\n }\n },\n {\n \"entity\": \"GUEST\",\n \"type\": \"CUSTOMER\",\n \"fieldName\": \"street\",\n \"locationType\": \"bxt\",\n \"dataType\": \"unknown\",\n \"total\": 20,\n \"totalNonNull\": 3,\n \"totalUnique\": 1,\n \"exclusionReason\": \"\",\n \"values\": {\n \"[\\\"Apartment 15\\\",\\\"West Drive Avenue\\\"]\": 3\n }\n },\n {\n \"entity\": \"GUEST\",\n \"type\": \"CUSTOMER\",\n \"fieldName\": \"state\",\n \"locationType\": \"bxt\",\n \"dataType\": \"unknown\",\n \"total\": 20,\n \"totalNonNull\": 3,\n \"totalUnique\": 2,\n \"exclusionReason\": \"\",\n \"values\": {\n \"Dublin\": 2,\n \"Murcia\": 1\n }\n },\n {\n \"entity\": \"GUEST\",\n \"type\": \"CUSTOMER\",\n \"fieldName\": \"country\",\n \"locationType\": \"bxt\",\n \"dataType\": \"unknown\",\n \"total\": 20,\n \"totalNonNull\": 7,\n \"totalUnique\": 2,\n \"exclusionReason\": \"\",\n \"values\": {\n \"IE\": 6,\n \"ES\": 1\n }\n },\n {\n \"entity\": \"GUEST\",\n \"type\": \"CUSTOMER\",\n \"fieldName\": \"firstName\",\n \"locationType\": \"bxt\",\n \"dataType\": \"unknown\",\n \"total\": 20,\n \"totalNonNull\": 19,\n \"totalUnique\": 10,\n \"exclusionReason\": \"\",\n \"values\": {\n \"Mostafa\": 5,\n \"test1\": 4,\n \"Ahmed\": 3,\n \"dfg\": 1,\n \"Kelvin\": 1,\n \"Sumith\": 1,\n \"Test\": 1,\n \"Rania\": 1,\n \"test user\": 1,\n \"Tuan\": 1\n }\n },\n {\n \"entity\": \"GUEST\",\n \"type\": \"CUSTOMER\",\n \"fieldName\": \"email\",\n \"locationType\": \"bxt\",\n \"dataType\": \"unknown\",\n \"total\": 20,\n \"totalNonNull\": 19,\n \"totalUnique\": 16,\n \"exclusionReason\": \"\",\n \"values\": {\n \"[email protected]\": 4,\n \"[email protected]\": 1,\n \"dfg\": 1,\n \"[email protected]\": 1,\n \"[email protected]\": 1,\n \"[email protected]\": 1,\n \"[email protected]\": 1,\n \"[email protected]\": 1,\n \"[email protected]\": 1,\n \"[email protected]\": 1,\n \"[email protected]\": 1,\n \"[email protected]\": 1,\n \"[email protected]\": 1,\n \"[email protected]\": 1,\n \"[email protected]\": 1,\n \"[email protected]\": 1\n }\n },\n {\n \"entity\": \"GUEST\",\n \"type\": \"CUSTOMER\",\n \"fieldName\": \"city\",\n \"locationType\": \"bxt\",\n \"dataType\": \"unknown\",\n \"total\": 20,\n \"totalNonNull\": 7,\n \"totalUnique\": 3,\n \"exclusionReason\": \"\",\n \"values\": {\n \"DUB\": 5,\n \"Dublin\": 1,\n \"MUR\": 1\n }\n },\n {\n \"entity\": \"GUEST\",\n \"type\": \"CUSTOMER\",\n \"fieldName\": \"language\",\n \"locationType\": \"bxt\",\n \"dataType\": \"unknown\",\n \"total\": 20,\n \"totalNonNull\": 17,\n \"totalUnique\": 2,\n \"exclusionReason\": \"\",\n \"values\": {\n \"en\": 12,\n \"EN\": 5\n }\n },\n {\n \"entity\": \"GUEST\",\n \"type\": \"CUSTOMER\",\n \"fieldName\": \"title\",\n \"locationType\": \"bxt\",\n \"dataType\": \"unknown\",\n \"total\": 20,\n \"totalNonNull\": 7,\n \"totalUnique\": 2,\n \"exclusionReason\": \"\",\n \"values\": {\n \"Mr\": 5,\n \"mr\": 2\n }\n }\n ]\n }\n },\n \"ORDER_ITEM\": {\n \"FLIGHT\": {\n \"core\": [\n {\n \"entity\": \"ORDER_ITEM\",\n \"type\": \"FLIGHT\",\n \"fieldName\": \"core_price\",\n \"locationType\": \"core\",\n \"dataType\": \"double\",\n \"total\": 1,\n \"totalNonNull\": 1,\n \"totalUnique\": 1,\n \"exclusionReason\": \"\",\n \"values\": {}\n },\n {\n \"entity\": \"ORDER_ITEM\",\n \"type\": \"FLIGHT\",\n \"fieldName\": \"core_currency_code\",\n \"locationType\": \"core\",\n \"dataType\": \"varchar\",\n \"total\": 1,\n \"totalNonNull\": 1,\n \"totalUnique\": 1,\n \"exclusionReason\": \"\",\n \"values\": {\n \"EUR\": 1\n }\n },\n {\n \"entity\": \"ORDER_ITEM\",\n \"type\": \"FLIGHT\",\n \"fieldName\": \"core_name\",\n \"locationType\": \"core\",\n \"dataType\": \"varchar\",\n \"total\": 1,\n \"totalNonNull\": 1,\n \"totalUnique\": 1,\n \"exclusionReason\": \"\",\n \"values\": {\n \"Flight WAW - NRT\": 1\n }\n },\n {\n \"entity\": \"ORDER_ITEM\",\n \"type\": \"FLIGHT\",\n \"fieldName\": \"core_quantity\",\n \"locationType\": \"core\",\n \"dataType\": \"integer\",\n \"total\": 1,\n \"totalNonNull\": 1,\n \"totalUnique\": 1,\n \"exclusionReason\": \"Type integer not supported yet\",\n \"values\": {}\n },\n {\n \"entity\": \"ORDER_ITEM\",\n \"type\": \"FLIGHT\",\n \"fieldName\": \"core_status\",\n \"locationType\": \"core\",\n \"dataType\": \"varchar\",\n \"total\": 1,\n \"totalNonNull\": 1,\n \"totalUnique\": 1,\n \"exclusionReason\": \"\",\n \"values\": {\n \"PURCHASED\": 1\n }\n },\n {\n \"entity\": \"ORDER_ITEM\",\n \"type\": \"FLIGHT\",\n \"fieldName\": \"core_product_id\",\n \"locationType\": \"core\",\n \"dataType\": \"varchar\",\n \"total\": 1,\n \"totalNonNull\": 1,\n \"totalUnique\": 1,\n \"exclusionReason\": \"\",\n \"values\": {\n \"WAW-NRT\": 1\n }\n },\n {\n \"entity\": \"ORDER_ITEM\",\n \"type\": \"FLIGHT\",\n \"fieldName\": \"core_reference_id\",\n \"locationType\": \"core\",\n \"dataType\": \"varchar\",\n \"total\": 1,\n \"totalNonNull\": 1,\n \"totalUnique\": 1,\n \"exclusionReason\": \"\",\n \"values\": {\n \"peYODDseCt\": 1\n }\n }\n ],\n \"bxt\": [\n {\n \"entity\": \"ORDER_ITEM\",\n \"type\": \"FLIGHT\",\n \"fieldName\": \"originalCurrencyCode\",\n \"locationType\": \"bxt\",\n \"dataType\": \"unknown\",\n \"total\": 1,\n \"totalNonNull\": 1,\n \"totalUnique\": 1,\n \"exclusionReason\": \"\",\n \"values\": {\n \"EUR\": 1\n }\n },\n {\n \"entity\": \"ORDER_ITEM\",\n \"type\": \"FLIGHT\",\n \"fieldName\": \"language\",\n \"locationType\": \"bxt\",\n \"dataType\": \"unknown\",\n \"total\": 1,\n \"totalNonNull\": 1,\n \"totalUnique\": 1,\n \"exclusionReason\": \"\",\n \"values\": {\n \"EN\": 1\n }\n },\n {\n \"entity\": \"ORDER_ITEM\",\n \"type\": \"FLIGHT\",\n \"fieldName\": \"channel\",\n \"locationType\": \"bxt\",\n \"dataType\": \"unknown\",\n \"total\": 1,\n \"totalNonNull\": 1,\n \"totalUnique\": 1,\n \"exclusionReason\": \"\",\n \"values\": {\n \"WEB\": 1\n }\n },\n {\n \"entity\": \"ORDER_ITEM\",\n \"type\": \"FLIGHT\",\n \"fieldName\": \"originalPrice\",\n \"locationType\": \"bxt\",\n \"dataType\": \"unknown\",\n \"total\": 1,\n \"totalNonNull\": 1,\n \"totalUnique\": 1,\n \"exclusionReason\": \"\",\n \"values\": {\n \"234.0\": 1\n }\n },\n {\n \"entity\": \"ORDER_ITEM\",\n \"type\": \"FLIGHT\",\n \"fieldName\": \"description\",\n \"locationType\": \"bxt\",\n \"dataType\": \"unknown\",\n \"total\": 1,\n \"totalNonNull\": 1,\n \"totalUnique\": 1,\n \"exclusionReason\": \"\",\n \"values\": {\n \"Flight WAW - NRT - desc\": 1\n }\n }\n ]\n }\n },\n \"SESSION\": {\n \"WEB\": {\n \"core\": [\n {\n \"entity\": \"SESSION\",\n \"type\": \"WEB\",\n \"fieldName\": \"core_currency_code\",\n \"locationType\": \"core\",\n \"dataType\": \"varchar\",\n \"total\": 698,\n \"totalNonNull\": 368,\n \"totalUnique\": 2,\n \"exclusionReason\": \"\",\n \"values\": {\n \"USD\": 365,\n \"EUR\": 3\n }\n },\n {\n \"entity\": \"SESSION\",\n \"type\": \"WEB\",\n \"fieldName\": \"core_duration\",\n \"locationType\": \"core\",\n \"dataType\": \"integer\",\n \"total\": 698,\n \"totalNonNull\": 698,\n \"totalUnique\": 26,\n \"exclusionReason\": \"Type integer not supported yet\",\n \"values\": {}\n },\n {\n \"entity\": \"SESSION\",\n \"type\": \"WEB\",\n \"fieldName\": \"core_value\",\n \"locationType\": \"core\",\n \"dataType\": \"double\",\n \"total\": 698,\n \"totalNonNull\": 698,\n \"totalUnique\": 1,\n \"exclusionReason\": \"\",\n \"values\": {}\n },\n {\n \"entity\": \"SESSION\",\n \"type\": \"WEB\",\n \"fieldName\": \"core_started_at\",\n \"locationType\": \"core\",\n \"dataType\": \"timestamp\",\n \"total\": 698,\n \"totalNonNull\": 698,\n \"totalUnique\": 693,\n \"exclusionReason\": \"Type timestamp not supported yet\",\n \"values\": {}\n },\n {\n \"entity\": \"SESSION\",\n \"type\": \"WEB\",\n \"fieldName\": \"core_channel\",\n \"locationType\": \"core\",\n \"dataType\": \"varchar\",\n \"total\": 698,\n \"totalNonNull\": 698,\n \"totalUnique\": 3,\n \"exclusionReason\": \"\",\n \"values\": {\n \"WEB\": 686,\n \"MOBILE_APP\": 11,\n \"Web\": 1\n }\n },\n {\n \"entity\": \"SESSION\",\n \"type\": \"WEB\",\n \"fieldName\": \"core_point_of_sale\",\n \"locationType\": \"core\",\n \"dataType\": \"varchar\",\n \"total\": 698,\n \"totalNonNull\": 695,\n \"totalUnique\": 4,\n \"exclusionReason\": \"\",\n \"values\": {\n \"DylanDev\": 653,\n \"PLAY! Summit\": 38,\n \"LighthouseDemo\": 3,\n \"demo.com\": 1\n }\n },\n {\n \"entity\": \"SESSION\",\n \"type\": \"WEB\",\n \"fieldName\": \"core_status\",\n \"locationType\": \"core\",\n \"dataType\": \"varchar\",\n \"total\": 698,\n \"totalNonNull\": 698,\n \"totalUnique\": 1,\n \"exclusionReason\": \"\",\n \"values\": {\n \"CLOSED\": 698\n }\n },\n {\n \"entity\": \"SESSION\",\n \"type\": \"WEB\",\n \"fieldName\": \"core_ended_at\",\n \"locationType\": \"core\",\n \"dataType\": \"timestamp\",\n \"total\": 698,\n \"totalNonNull\": 698,\n \"totalUnique\": 695,\n \"exclusionReason\": \"Type timestamp not supported yet\",\n \"values\": {}\n }\n ],\n \"bxt\": [\n {\n \"entity\": \"SESSION\",\n \"type\": \"WEB\",\n \"fieldName\": \"lastPageURI\",\n \"locationType\": \"bxt\",\n \"dataType\": \"unknown\",\n \"total\": 698,\n \"totalNonNull\": 366,\n \"totalUnique\": 20,\n \"exclusionReason\": \"\",\n \"values\": {\n \"/\": 155,\n \"/insights/configuration-of-301-redirects-with-netlify-and-next-js/\": 75,\n \"/insights/introduction-to-the-git-cli-simple-commands/\": 54,\n \"/insights/first-look-at-github-copilot-ai-powered-programming/\": 33,\n \"/about/\": 9,\n \"http://localhost:3000/\": 8,\n \"/tickets/payment?ticket=1\": 6,\n \"/insights/getting-the-guestref-in-the-browser-with-sitecore-cdp-personalize/\": 5,\n \"/contact/\": 4,\n \"/insights/the-journey-to-building-blog-in-next-js-and-sanity-io/\": 4,\n \"/render2\": 4,\n \"/home\": 1,\n \"/insights/venturing-into-the-world-of-devrel/\": 1,\n \"http://localhost:3000/about/\": 1,\n \"/tickets/payment?ticket=2\": 1,\n \"/insights/become-a-vscode-power-user-while-using-project-code-snippets/\": 1,\n \"/on-the-go\": 1,\n \"http://localhost:3000/insights/first-look-at-github-copilot-ai-powered-programming/\": 1,\n \"/at-home\": 1,\n \"/sessions\": 1\n }\n },\n {\n \"entity\": \"SESSION\",\n \"type\": \"WEB\",\n \"fieldName\": \"numViews\",\n \"locationType\": \"bxt\",\n \"dataType\": \"unknown\",\n \"total\": 698,\n \"totalNonNull\": 698,\n \"totalUnique\": 15,\n \"exclusionReason\": \"\",\n \"values\": {\n \"0\": 332,\n \"1\": 313,\n \"2\": 16,\n \"3\": 11,\n \"4\": 6,\n \"5\": 6,\n \"6\": 3,\n \"8\": 4,\n \"16\": 1,\n \"18\": 1,\n \"20\": 1,\n \"21\": 1,\n \"22\": 1,\n \"23\": 1,\n \"100\": 1\n }\n },\n {\n \"entity\": \"SESSION\",\n \"type\": \"WEB\",\n \"fieldName\": \"numSearches\",\n \"locationType\": \"bxt\",\n \"dataType\": \"unknown\",\n \"total\": 698,\n \"totalNonNull\": 698,\n \"totalUnique\": 1,\n \"exclusionReason\": \"\",\n \"values\": {\n \"0\": 698\n }\n },\n {\n \"entity\": \"SESSION\",\n \"type\": \"WEB\",\n \"fieldName\": \"userAgent\",\n \"locationType\": \"bxt\",\n \"dataType\": \"unknown\",\n \"total\": 698,\n \"totalNonNull\": 698,\n \"totalUnique\": 13,\n \"exclusionReason\": \"\",\n \"values\": {\n \"Chrome 10\": 338,\n \"Robot/Spider\": 152,\n \"Chrome 9\": 72,\n \"Chrome\": 34,\n \"Chrome Mobile\": 29,\n \"Firefox 10\": 19,\n \"Mobile Safari\": 15,\n \"Chrome 8\": 13,\n \"Microsoft Edge\": 10,\n \"Safari\": 9,\n \"Unknown\": 5,\n \"Mozilla\": 1,\n \"Apple WebKit\": 1\n }\n },\n {\n \"entity\": \"SESSION\",\n \"type\": \"WEB\",\n \"fieldName\": \"operatingSystem\",\n \"locationType\": \"bxt\",\n \"dataType\": \"unknown\",\n \"total\": 698,\n \"totalNonNull\": 698,\n \"totalUnique\": 11,\n \"exclusionReason\": \"\",\n \"values\": {\n \"Windows 10\": 317,\n \"Unknown\": 157,\n \"Mac OS X\": 120,\n \"Linux\": 37,\n \"Android 1.x\": 28,\n \"Mac OS X (iPhone)\": 18,\n \"Windows 7\": 8,\n \"Android Mobile\": 7,\n \"Ubuntu\": 2,\n \"Windows 8.1\": 2,\n \"Android 4.x\": 2\n }\n },\n {\n \"entity\": \"SESSION\",\n \"type\": \"WEB\",\n \"fieldName\": \"numAdds\",\n \"locationType\": \"bxt\",\n \"dataType\": \"unknown\",\n \"total\": 698,\n \"totalNonNull\": 698,\n \"totalUnique\": 1,\n \"exclusionReason\": \"\",\n \"values\": {\n \"0\": 698\n }\n },\n {\n \"entity\": \"SESSION\",\n \"type\": \"WEB\",\n \"fieldName\": \"numPayments\",\n \"locationType\": \"bxt\",\n \"dataType\": \"unknown\",\n \"total\": 698,\n \"totalNonNull\": 698,\n \"totalUnique\": 1,\n \"exclusionReason\": \"\",\n \"values\": {\n \"0\": 698\n }\n },\n {\n \"entity\": \"SESSION\",\n \"type\": \"WEB\",\n \"fieldName\": \"numConfirms\",\n \"locationType\": \"bxt\",\n \"dataType\": \"unknown\",\n \"total\": 698,\n \"totalNonNull\": 698,\n \"totalUnique\": 1,\n \"exclusionReason\": \"\",\n \"values\": {\n \"0\": 698\n }\n },\n {\n \"entity\": \"SESSION\",\n \"type\": \"WEB\",\n \"fieldName\": \"numCheckouts\",\n \"locationType\": \"bxt\",\n \"dataType\": \"unknown\",\n \"total\": 698,\n \"totalNonNull\": 698,\n \"totalUnique\": 1,\n \"exclusionReason\": \"\",\n \"values\": {\n \"0\": 698\n }\n },\n {\n \"entity\": \"SESSION\",\n \"type\": \"WEB\",\n \"fieldName\": \"firstPageURI\",\n \"locationType\": \"bxt\",\n \"dataType\": \"unknown\",\n \"total\": 698,\n \"totalNonNull\": 365,\n \"totalUnique\": 15,\n \"exclusionReason\": \"\",\n \"values\": {\n \"/\": 171,\n \"/insights/configuration-of-301-redirects-with-netlify-and-next-js/\": 75,\n \"/insights/introduction-to-the-git-cli-simple-commands/\": 55,\n \"/insights/first-look-at-github-copilot-ai-powered-programming/\": 32,\n \"http://localhost:3000/\": 9,\n \"/insights/the-journey-to-building-blog-in-next-js-and-sanity-io/\": 4,\n \"/about/\": 4,\n \"/render2\": 4,\n \"/contact/\": 3,\n \"/insights/getting-the-guestref-in-the-browser-with-sitecore-cdp-personalize/\": 3,\n \"http://localhost:3000/?bxqatool=true&bxflowref=30be2ace-4089-4fab-9279-5a76970cc975&bxvariantref=760a9fa6-b649-4a14-89d9-957d98c98353\": 1,\n \"/insights/venturing-into-the-world-of-devrel/\": 1,\n \"/tickets/payment?ticket=1\": 1,\n \"home page\": 1,\n \"/at-home\": 1\n }\n },\n {\n \"entity\": \"SESSION\",\n \"type\": \"WEB\",\n \"fieldName\": \"language\",\n \"locationType\": \"bxt\",\n \"dataType\": \"unknown\",\n \"total\": 698,\n \"totalNonNull\": 368,\n \"totalUnique\": 2,\n \"exclusionReason\": \"\",\n \"values\": {\n \"EN\": 336,\n \"en\": 32\n }\n },\n {\n \"entity\": \"SESSION\",\n \"type\": \"WEB\",\n \"fieldName\": \"cartType\",\n \"locationType\": \"bxt\",\n \"dataType\": \"unknown\",\n \"total\": 698,\n \"totalNonNull\": 698,\n \"totalUnique\": 1,\n \"exclusionReason\": \"\",\n \"values\": {\n \"BROWSED\": 698\n }\n },\n {\n \"entity\": \"SESSION\",\n \"type\": \"WEB\",\n \"fieldName\": \"numSelects\",\n \"locationType\": \"bxt\",\n \"dataType\": \"unknown\",\n \"total\": 698,\n \"totalNonNull\": 698,\n \"totalUnique\": 1,\n \"exclusionReason\": \"\",\n \"values\": {\n \"0\": 698\n }\n }\n ]\n },\n \"EMAIL\": {\n \"core\": [\n {\n \"entity\": \"SESSION\",\n \"type\": \"EMAIL\",\n \"fieldName\": \"core_ended_at\",\n \"locationType\": \"core\",\n \"dataType\": \"timestamp\",\n \"total\": 741,\n \"totalNonNull\": 741,\n \"totalUnique\": 736,\n \"exclusionReason\": \"Type timestamp not supported yet\",\n \"values\": {}\n },\n {\n \"entity\": \"SESSION\",\n \"type\": \"EMAIL\",\n \"fieldName\": \"core_status\",\n \"locationType\": \"core\",\n \"dataType\": \"varchar\",\n \"total\": 741,\n \"totalNonNull\": 741,\n \"totalUnique\": 1,\n \"exclusionReason\": \"\",\n \"values\": {\n \"OPEN\": 741\n }\n },\n {\n \"entity\": \"SESSION\",\n \"type\": \"EMAIL\",\n \"fieldName\": \"core_started_at\",\n \"locationType\": \"core\",\n \"dataType\": \"timestamp\",\n \"total\": 741,\n \"totalNonNull\": 741,\n \"totalUnique\": 736,\n \"exclusionReason\": \"Type timestamp not supported yet\",\n \"values\": {}\n },\n {\n \"entity\": \"SESSION\",\n \"type\": \"EMAIL\",\n \"fieldName\": \"core_duration\",\n \"locationType\": \"core\",\n \"dataType\": \"integer\",\n \"total\": 741,\n \"totalNonNull\": 741,\n \"totalUnique\": 1,\n \"exclusionReason\": \"Type integer not supported yet\",\n \"values\": {}\n },\n {\n \"entity\": \"SESSION\",\n \"type\": \"EMAIL\",\n \"fieldName\": \"core_channel\",\n \"locationType\": \"core\",\n \"dataType\": \"varchar\",\n \"total\": 741,\n \"totalNonNull\": 741,\n \"totalUnique\": 1,\n \"exclusionReason\": \"\",\n \"values\": {\n \"EMAIL\": 741\n }\n }\n ]\n }\n },\n \"EVENT\": {\n \"IDENTITY\": {\n \"core\": [\n {\n \"entity\": \"EVENT\",\n \"type\": \"IDENTITY\",\n \"fieldName\": \"core_point_of_sale\",\n \"locationType\": \"core\",\n \"dataType\": \"varchar\",\n \"total\": 27,\n \"totalNonNull\": 25,\n \"totalUnique\": 2,\n \"exclusionReason\": \"\",\n \"values\": {\n \"PLAY! Summit\": 24,\n \"demo.com\": 1\n }\n },\n {\n \"entity\": \"EVENT\",\n \"type\": \"IDENTITY\",\n \"fieldName\": \"core_page\",\n \"locationType\": \"core\",\n \"dataType\": \"varchar\",\n \"total\": 27,\n \"totalNonNull\": 25,\n \"totalUnique\": 2,\n \"exclusionReason\": \"\",\n \"values\": {\n \"/tickets/registration/attendee?ticket=1\": 24,\n \"/home\": 1\n }\n },\n {\n \"entity\": \"EVENT\",\n \"type\": \"IDENTITY\",\n \"fieldName\": \"core_channel\",\n \"locationType\": \"core\",\n \"dataType\": \"varchar\",\n \"total\": 27,\n \"totalNonNull\": 27,\n \"totalUnique\": 1,\n \"exclusionReason\": \"\",\n \"values\": {\n \"WEB\": 27\n }\n },\n {\n \"entity\": \"EVENT\",\n \"type\": \"IDENTITY\",\n \"fieldName\": \"core_language\",\n \"locationType\": \"core\",\n \"dataType\": \"varchar\",\n \"total\": 27,\n \"totalNonNull\": 27,\n \"totalUnique\": 2,\n \"exclusionReason\": \"\",\n \"values\": {\n \"en\": 24,\n \"EN\": 3\n }\n }\n ],\n \"meta\": [\n {\n \"entity\": \"EVENT\",\n \"type\": \"IDENTITY\",\n \"fieldName\": \"meta_created_at\",\n \"locationType\": \"meta\",\n \"dataType\": \"timestamp\",\n \"total\": 27,\n \"totalNonNull\": 27,\n \"totalUnique\": 27,\n \"exclusionReason\": \"Type timestamp not supported yet\",\n \"values\": {}\n }\n ],\n \"bxt\": [\n {\n \"entity\": \"EVENT\",\n \"type\": \"IDENTITY\",\n \"fieldName\": \"title\",\n \"locationType\": \"bxt\",\n \"dataType\": \"unknown\",\n \"total\": 27,\n \"totalNonNull\": 2,\n \"totalUnique\": 1,\n \"exclusionReason\": \"\",\n \"values\": {\n \"Mr\": 2\n }\n },\n {\n \"entity\": \"EVENT\",\n \"type\": \"IDENTITY\",\n \"fieldName\": \"identifiers\",\n \"locationType\": \"bxt\",\n \"dataType\": \"unknown\",\n \"total\": 27,\n \"totalNonNull\": 25,\n \"totalUnique\": 13,\n \"exclusionReason\": \"\",\n \"values\": {\n \"[{\\\"provider\\\":\\\"email\\\",\\\"id\\\":\\\"[email protected]\\\"}]\": 6,\n \"[{\\\"provider\\\":\\\"email\\\",\\\"id\\\":\\\"[email protected]\\\"}]\": 4,\n \"[{\\\"provider\\\":\\\"email\\\",\\\"id\\\":\\\"[email protected]\\\"}]\": 3,\n \"[{\\\"provider\\\":\\\"email\\\",\\\"id\\\":\\\"[email protected]\\\"}]\": 3,\n \"[{\\\"provider\\\":\\\"email\\\",\\\"id\\\":\\\"[email protected]\\\"}]\": 1,\n \"[{\\\"provider\\\":\\\"email\\\",\\\"id\\\":\\\"[email protected]\\\"}]\": 1,\n \"[{\\\"provider\\\":\\\"email\\\",\\\"id\\\":\\\"[email protected]\\\"}]\": 1,\n \"[{\\\"provider\\\":\\\"email\\\",\\\"id\\\":\\\"DEMOTEST-b916-4016-8b8e-3d3dcc25fb64\\\"}]\": 1,\n \"[{\\\"provider\\\":\\\"email\\\",\\\"id\\\":\\\"[email protected]\\\"}]\": 1,\n \"[{\\\"provider\\\":\\\"email\\\",\\\"id\\\":\\\"dfg\\\"}]\": 1,\n \"[{\\\"provider\\\":\\\"email\\\",\\\"id\\\":\\\"[email protected]\\\"}]\": 1,\n \"[{\\\"provider\\\":\\\"email\\\",\\\"id\\\":\\\"[email protected]\\\"}]\": 1,\n \"[{\\\"provider\\\":\\\"email\\\",\\\"id\\\":\\\"[email protected]\\\"}]\": 1\n }\n },\n {\n \"entity\": \"EVENT\",\n \"type\": \"IDENTITY\",\n \"fieldName\": \"language\",\n \"locationType\": \"bxt\",\n \"dataType\": \"unknown\",\n \"total\": 27,\n \"totalNonNull\": 27,\n \"totalUnique\": 2,\n \"exclusionReason\": \"\",\n \"values\": {\n \"en\": 24,\n \"EN\": 3\n }\n },\n {\n \"entity\": \"EVENT\",\n \"type\": \"IDENTITY\",\n \"fieldName\": \"dateOfBirth\",\n \"locationType\": \"bxt\",\n \"dataType\": \"unknown\",\n \"total\": 27,\n \"totalNonNull\": 2,\n \"totalUnique\": 1,\n \"exclusionReason\": \"\",\n \"values\": {\n \"1992-03-03T00:00:00.000Z\": 2\n }\n },\n {\n \"entity\": \"EVENT\",\n \"type\": \"IDENTITY\",\n \"fieldName\": \"lastName\",\n \"locationType\": \"bxt\",\n \"dataType\": \"unknown\",\n \"total\": 27,\n \"totalNonNull\": 26,\n \"totalUnique\": 8,\n \"exclusionReason\": \"\",\n \"values\": {\n \"Elyamany\": 10,\n \"Alfeqy\": 6,\n \"El-Yamany\": 4,\n \"guest\": 2,\n \"dfg\": 1,\n \"Adams\": 1,\n \"test user\": 1,\n \"Ali\": 1\n }\n },\n {\n \"entity\": \"EVENT\",\n \"type\": \"IDENTITY\",\n \"fieldName\": \"email\",\n \"locationType\": \"bxt\",\n \"dataType\": \"unknown\",\n \"total\": 27,\n \"totalNonNull\": 26,\n \"totalUnique\": 13,\n \"exclusionReason\": \"\",\n \"values\": {\n \"[email protected]\": 6,\n \"[email protected]\": 4,\n \"[email protected]\": 3,\n \"[email protected]\": 3,\n \"[email protected]\": 2,\n \"dfg\": 1,\n \"[email protected]\": 1,\n \"[email protected]\": 1,\n \"[email protected]\": 1,\n \"[email protected]\": 1,\n \"[email protected]\": 1,\n \"[email protected]\": 1,\n \"[email protected]\": 1\n }\n },\n {\n \"entity\": \"EVENT\",\n \"type\": \"IDENTITY\",\n \"fieldName\": \"firstName\",\n \"locationType\": \"bxt\",\n \"dataType\": \"unknown\",\n \"total\": 27,\n \"totalNonNull\": 26,\n \"totalUnique\": 7,\n \"exclusionReason\": \"\",\n \"values\": {\n \"Ahmed\": 14,\n \"Mostafa\": 6,\n \"test1\": 2,\n \"dfg\": 1,\n \"Sumith\": 1,\n \"Rania\": 1,\n \"test user\": 1\n }\n }\n ]\n },\n \"CORNER_POPUP_INTERACTION\": {\n \"core\": [\n {\n \"entity\": \"EVENT\",\n \"type\": \"CORNER_POPUP_INTERACTION\",\n \"fieldName\": \"core_channel\",\n \"locationType\": \"core\",\n \"dataType\": \"varchar\",\n \"total\": 10,\n \"totalNonNull\": 10,\n \"totalUnique\": 1,\n \"exclusionReason\": \"\",\n \"values\": {\n \"WEB\": 10\n }\n },\n {\n \"entity\": \"EVENT\",\n \"type\": \"CORNER_POPUP_INTERACTION\",\n \"fieldName\": \"core_point_of_sale\",\n \"locationType\": \"core\",\n \"dataType\": \"varchar\",\n \"total\": 10,\n \"totalNonNull\": 10,\n \"totalUnique\": 2,\n \"exclusionReason\": \"\",\n \"values\": {\n \"PLAY! Summit\": 8,\n \"DylanDev\": 2\n }\n }\n ],\n \"meta\": [\n {\n \"entity\": \"EVENT\",\n \"type\": \"CORNER_POPUP_INTERACTION\",\n \"fieldName\": \"meta_created_at\",\n \"locationType\": \"meta\",\n \"dataType\": \"timestamp\",\n \"total\": 10,\n \"totalNonNull\": 10,\n \"totalUnique\": 10,\n \"exclusionReason\": \"Type timestamp not supported yet\",\n \"values\": {}\n }\n ]\n },\n \"SPORTS_DISMISSED\": {\n \"core\": [\n {\n \"entity\": \"EVENT\",\n \"type\": \"SPORTS_DISMISSED\",\n \"fieldName\": \"core_point_of_sale\",\n \"locationType\": \"core\",\n \"dataType\": \"varchar\",\n \"total\": 1,\n \"totalNonNull\": 1,\n \"totalUnique\": 1,\n \"exclusionReason\": \"\",\n \"values\": {\n \"PLAY! Summit\": 1\n }\n },\n {\n \"entity\": \"EVENT\",\n \"type\": \"SPORTS_DISMISSED\",\n \"fieldName\": \"core_channel\",\n \"locationType\": \"core\",\n \"dataType\": \"varchar\",\n \"total\": 1,\n \"totalNonNull\": 1,\n \"totalUnique\": 1,\n \"exclusionReason\": \"\",\n \"values\": {\n \"WEB\": 1\n }\n }\n ],\n \"meta\": [\n {\n \"entity\": \"EVENT\",\n \"type\": \"SPORTS_DISMISSED\",\n \"fieldName\": \"meta_created_at\",\n \"locationType\": \"meta\",\n \"dataType\": \"timestamp\",\n \"total\": 1,\n \"totalNonNull\": 1,\n \"totalUnique\": 1,\n \"exclusionReason\": \"Type timestamp not supported yet\",\n \"values\": {}\n }\n ]\n },\n \"TRACKING\": {\n \"core\": [\n {\n \"entity\": \"EVENT\",\n \"type\": \"TRACKING\",\n \"fieldName\": \"core_point_of_sale\",\n \"locationType\": \"core\",\n \"dataType\": \"varchar\",\n \"total\": 1463,\n \"totalNonNull\": 722,\n \"totalUnique\": 2,\n \"exclusionReason\": \"\",\n \"values\": {\n \"DylanDev\": 396,\n \"PLAY! Summit\": 326\n }\n },\n {\n \"entity\": \"EVENT\",\n \"type\": \"TRACKING\",\n \"fieldName\": \"core_channel\",\n \"locationType\": \"core\",\n \"dataType\": \"varchar\",\n \"total\": 1463,\n \"totalNonNull\": 1463,\n \"totalUnique\": 2,\n \"exclusionReason\": \"\",\n \"values\": {\n \"EMAIL\": 741,\n \"WEB\": 722\n }\n }\n ],\n \"meta\": [\n {\n \"entity\": \"EVENT\",\n \"type\": \"TRACKING\",\n \"fieldName\": \"meta_created_at\",\n \"locationType\": \"meta\",\n \"dataType\": \"timestamp\",\n \"total\": 1463,\n \"totalNonNull\": 1463,\n \"totalUnique\": 1463,\n \"exclusionReason\": \"Type timestamp not supported yet\",\n \"values\": {}\n }\n ]\n },\n \"TICKET_PURCHASED\": {\n \"core\": [\n {\n \"entity\": \"EVENT\",\n \"type\": \"TICKET_PURCHASED\",\n \"fieldName\": \"core_page\",\n \"locationType\": \"core\",\n \"dataType\": \"varchar\",\n \"total\": 9,\n \"totalNonNull\": 9,\n \"totalUnique\": 2,\n \"exclusionReason\": \"\",\n \"values\": {\n \"/tickets/payment?ticket=1\": 5,\n \"/tickets/payment?ticket=2\": 4\n }\n },\n {\n \"entity\": \"EVENT\",\n \"type\": \"TICKET_PURCHASED\",\n \"fieldName\": \"core_channel\",\n \"locationType\": \"core\",\n \"dataType\": \"varchar\",\n \"total\": 9,\n \"totalNonNull\": 9,\n \"totalUnique\": 1,\n \"exclusionReason\": \"\",\n \"values\": {\n \"WEB\": 9\n }\n },\n {\n \"entity\": \"EVENT\",\n \"type\": \"TICKET_PURCHASED\",\n \"fieldName\": \"core_language\",\n \"locationType\": \"core\",\n \"dataType\": \"varchar\",\n \"total\": 9,\n \"totalNonNull\": 9,\n \"totalUnique\": 1,\n \"exclusionReason\": \"\",\n \"values\": {\n \"en\": 9\n }\n },\n {\n \"entity\": \"EVENT\",\n \"type\": \"TICKET_PURCHASED\",\n \"fieldName\": \"core_point_of_sale\",\n \"locationType\": \"core\",\n \"dataType\": \"varchar\",\n \"total\": 9,\n \"totalNonNull\": 9,\n \"totalUnique\": 1,\n \"exclusionReason\": \"\",\n \"values\": {\n \"PLAY! Summit\": 9\n }\n }\n ],\n \"meta\": [\n {\n \"entity\": \"EVENT\",\n \"type\": \"TICKET_PURCHASED\",\n \"fieldName\": \"meta_created_at\",\n \"locationType\": \"meta\",\n \"dataType\": \"timestamp\",\n \"total\": 9,\n \"totalNonNull\": 9,\n \"totalUnique\": 9,\n \"exclusionReason\": \"Type timestamp not supported yet\",\n \"values\": {}\n }\n ],\n \"bxt\": [\n {\n \"entity\": \"EVENT\",\n \"type\": \"TICKET_PURCHASED\",\n \"fieldName\": \"language\",\n \"locationType\": \"bxt\",\n \"dataType\": \"unknown\",\n \"total\": 9,\n \"totalNonNull\": 9,\n \"totalUnique\": 1,\n \"exclusionReason\": \"\",\n \"values\": {\n \"en\": 9\n }\n }\n ]\n },\n \"VIEW\": {\n \"core\": [\n {\n \"entity\": \"EVENT\",\n \"type\": \"VIEW\",\n \"fieldName\": \"core_channel\",\n \"locationType\": \"core\",\n \"dataType\": \"varchar\",\n \"total\": 702,\n \"totalNonNull\": 702,\n \"totalUnique\": 3,\n \"exclusionReason\": \"\",\n \"values\": {\n \"WEB\": 689,\n \"MOBILE_APP\": 11,\n \"Web\": 2\n }\n },\n {\n \"entity\": \"EVENT\",\n \"type\": \"VIEW\",\n \"fieldName\": \"core_language\",\n \"locationType\": \"core\",\n \"dataType\": \"varchar\",\n \"total\": 702,\n \"totalNonNull\": 702,\n \"totalUnique\": 2,\n \"exclusionReason\": \"\",\n \"values\": {\n \"EN\": 483,\n \"en\": 219\n }\n },\n {\n \"entity\": \"EVENT\",\n \"type\": \"VIEW\",\n \"fieldName\": \"core_point_of_sale\",\n \"locationType\": \"core\",\n \"dataType\": \"varchar\",\n \"total\": 702,\n \"totalNonNull\": 700,\n \"totalUnique\": 4,\n \"exclusionReason\": \"\",\n \"values\": {\n \"DylanDev\": 470,\n \"PLAY! Summit\": 219,\n \"LighthouseDemo\": 8,\n \"demo.com\": 3\n }\n },\n {\n \"entity\": \"EVENT\",\n \"type\": \"VIEW\",\n \"fieldName\": \"core_page\",\n \"locationType\": \"core\",\n \"dataType\": \"varchar\",\n \"total\": 702,\n \"totalNonNull\": 702,\n \"totalUnique\": 62,\n \"exclusionReason\": \"\",\n \"values\": {\n \"https://dylanyoung.dev/\": 158,\n \"https://dylanyoung.dev/insights/configuration-of-301-redirects-with-netlify-and-next-js/\": 79,\n \"https://dylanyoung.dev/insights/introduction-to-the-git-cli-simple-commands/\": 56,\n \"/\": 47,\n \"/sessions\": 41,\n \"https://dylanyoung.dev/insights/first-look-at-github-copilot-ai-powered-programming/\": 37,\n \"http://localhost:3000/\": 36,\n \"/tickets/payment?ticket=1\": 28,\n \"/tickets\": 25,\n \"/tickets/registration/attendee?ticket=1\": 24,\n \"https://gtm-msr.appspot.com/render2?id=GTM-PK9SFJP\": 20,\n \"https://dylanyoung.dev/about/\": 15,\n \"http://localhost:3000/about/\": 8,\n \"http://localhost:3000/insights/first-look-at-github-copilot-ai-powered-programming/\": 8,\n \"https://dylanyoung.dev/insights/getting-the-guestref-in-the-browser-with-sitecore-cdp-personalize/\": 8,\n \"https://dylanyoung.dev/contact/\": 8,\n \"/speakers\": 7,\n \"/tickets/payment?ticket=2\": 6,\n \"https://dylanyoung.dev/insights/the-journey-to-building-blog-in-next-js-and-sanity-io/\": 5,\n \"/tickets/payment/confirmed?ticket=1\": 5,\n \"/sessions/7-mindset-strategies-to-raise-your-game\": 4,\n \"http://localhost:3000/?bxQATool=true\": 4,\n \"/sessions/meet-a-pro-qa-with-chris-williams\": 4,\n \"/tickets/payment/confirmed?ticket=2\": 4,\n \"http://localhost:3000/?bxQATool=true&bxFlowRef=30be2ace-4089-4fab-9279-5a76970cc975&bxVariantRef=760a9fa6-b649-4a14-89d9-957d98c98353\": 4,\n \"/sessions/meet-a-pro-qa-with--andre-favreau\": 4,\n \"https://dylanyoung.dev/#hFDUgiQCTmU\": 3,\n \"https://cd.lighthouse.localhost/\": 3,\n \"https://dylanyoung-web.netlify.app/\": 3,\n \"home page\": 3,\n \"http://localhost:3000/?bxQATool=true&bxFlowRef=30be2ace-4089-4fab-9279-5a76970cc975&bxVariantRef=961b3264-f893-4395-9506-4e362fa308e3\": 3,\n \"https://62a241c6a25dcc000972bf19--dylanyoung-web.netlify.app/\": 2,\n \"https://cd.lighthouse.localhost/at-home\": 2,\n \"/tickets/payment?ticket=3\": 2,\n \"https://cd.lighthouse.localhost/your-health\": 2,\n \"/?bxQATool=true&bxFlowRef=1fd030aa-77a6-4362-9595-1a8f57e7591e&bxVariantRef=d4ca0412-ea3d-4a92-b9b2-74ba3265d715\": 2,\n \"/?bxQATool=true&bxFlowRef=1fd030aa-77a6-4362-9595-1a8f57e7591e&bxVariantRef=d4ca0412-ea3d-4a92-b9b2-74ba3265d715&bxGuestRef=b4fda22d-fa3c-4959-bd55-8e183f1d8638&qaID=838244\": 2,\n \"/sponsors\": 2,\n \"/sessions/meet-a-pro-qa-with-zoran-borovic\": 2,\n \"/sessions/ask-an-expert-outdoor-survival\": 2,\n \"/?bxQATool=true&bxFlowRef=1fd030aa-77a6-4362-9595-1a8f57e7591e&bxGuestRef=b4fda22d-fa3c-4959-bd55-8e183f1d8638&qaID=814519&bxVariantRef=d4ca0412-ea3d-4a92-b9b2-74ba3265d715\": 2,\n \"https://dylanyoung.dev/?bxQATool=true\": 2,\n \"/sessions/so-you-want-to-be-a-yoga-teacher\": 1,\n \"/vendors\": 1,\n \"https://dylanyoung.dev/?bxQATool=true&bxFlowRef=6ef3efbd-ba11-47e7-a1d3-86bb65e86972&bxVariantRef=6cf08637-393c-4c43-909e-4e300f0f9935\": 1,\n \"/news/play-summit-to-build-new-mountain-bike-park\": 1,\n \"/sessions/ask-an-expert-ski-and-snowboard-gear\": 1,\n \"https://dylanyoung.dev/insights/become-a-vscode-power-user-while-using-project-code-snippets/\": 1,\n \"http://localhost:3000/insights/getting-the-guestref-in-the-browser-with-sitecore-cdp-personalize/\": 1,\n \"/account/login\": 1,\n \"https://629a3676008b5900acebb04c--dylanyoung-web.netlify.app/\": 1,\n \"https://dylanyoung.dev/?fbclid=IwAR3NXqWeyPcDeNeWE2_clz6SOX3cmBdktQh20RDSQctwTPR0amupPWkU4OU\": 1,\n \"https://6283d26a40a8480083a0c3c7--dylanyoung-web.netlify.app/\": 1,\n \"/sessions/diversity-and-inclusion-real-world-examples\": 1,\n \"https://dylanyoung-web.netlify.app/insights/first-look-at-github-copilot-ai-powered-programming/\": 1,\n \"https://629a36fbd679281f11b3a875--dylanyoung-web.netlify.app/\": 1,\n \"https://62910098611a5617836c4a61--dylanyoung-web.netlify.app/\": 1,\n \"https://cd.lighthouse.localhost/on-the-go\": 1,\n \"/sessions/guest-keynote-with-chris-williams\": 1,\n \"https://dylanyoung.dev/insights/venturing-into-the-world-of-devrel/\": 1,\n \"https://629a34274551f700083d7725--dylanyoung-web.netlify.app/\": 1,\n \"/speakers/chris-williams\": 1\n }\n }\n ],\n \"meta\": [\n {\n \"entity\": \"EVENT\",\n \"type\": \"VIEW\",\n \"fieldName\": \"meta_created_at\",\n \"locationType\": \"meta\",\n \"dataType\": \"timestamp\",\n \"total\": 702,\n \"totalNonNull\": 702,\n \"totalUnique\": 702,\n \"exclusionReason\": \"Type timestamp not supported yet\",\n \"values\": {}\n }\n ],\n \"bxt\": [\n {\n \"entity\": \"EVENT\",\n \"type\": \"VIEW\",\n \"fieldName\": \"language\",\n \"locationType\": \"bxt\",\n \"dataType\": \"unknown\",\n \"total\": 702,\n \"totalNonNull\": 702,\n \"totalUnique\": 2,\n \"exclusionReason\": \"\",\n \"values\": {\n \"EN\": 483,\n \"en\": 219\n }\n }\n ]\n }\n }\n },\n \"clientKey\": \"demus01flt27azgg4uvrms0rb5mkautx\",\n \"href\": \"/v4/segmentation/typeAhead\"\n}"
}
]
},
{
"name": "Orgs",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "https://{{apiEndpoint}}/v2/orgs",
"protocol": "https",
"host": [
"{{apiEndpoint}}"
],
"path": [
"v2",
"orgs"
]
}
},
"response": []
},
{
"name": "Get Identity Rules",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "https://{{apiEndpoint}}/v2/tenants/identity-rules",
"protocol": "https",
"host": [
"{{apiEndpoint}}"
],
"path": [
"v2",
"tenants",
"identity-rules"
]
}
},
"response": []
}
]
},
{
"name": "Users",
"item": [
{
"name": "User Profile",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "https://{{apiEndpoint}}/v2/users/profile",
"protocol": "https",
"host": [
"{{apiEndpoint}}"
],
"path": [
"v2",
"users",
"profile"
]
}
},
"response": []
},
{
"name": "Retrieve User",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "https://{{apiEndpoint}}/v2/users/:userRef",
"protocol": "https",
"host": [
"{{apiEndpoint}}"
],
"path": [
"v2",
"users",
":userRef"
],
"variable": [
{
"key": "userRef",
"value": "b1b8cb35-944b-4a7f-8a07-a2524b36147f"
}
]
}
},
"response": []
},
{
"name": "Find Users",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "https://{{apiEndpoint}}/v2/users?limit=100&offset=0",
"protocol": "https",
"host": [
"{{apiEndpoint}}"
],
"path": [
"v2",
"users"
],
"query": [
{
"key": "limit",
"value": "100"
},
{
"key": "offset",
"value": "0"
}
]
}
},
"response": []
},
{
"name": "Get Users Name",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "https://{{apiEndpoint}}/v2/users/[email protected]",
"protocol": "https",
"host": [
"{{apiEndpoint}}"
],
"path": [
"v2",
"users",
"name"
],
"query": [
{
"key": "email",
"value": "[email protected]"
}
]
}
},
"response": [
{
"name": "Get Users Name",
"originalRequest": {
"method": "GET",
"header": [],
"url": {
"raw": "https://{{apiEndpoint}}/v2/users/[email protected]",
"protocol": "https",
"host": [
"{{apiEndpoint}}"
],
"path": [
"v2",
"users",
"name"
],
"query": [
{
"key": "email",
"value": "[email protected]"
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Date",
"value": "Mon, 18 Jul 2022 16:23:00 GMT"
},
{
"key": "Vary",
"value": "Accept-Encoding"
},
{
"key": "X-Robots-Tag",
"value": "noindex"
},
{
"key": "Content-Length",
"value": "43"
},
{
"key": "Connection",
"value": "keep-alive"
}
],
"cookie": [],
"body": "{\n \"name\": \"Dylan Young\",\n \"mfaActivated\": false\n}"
}
]
}
]
},
{
"name": "Batch Segments",
"item": [
{
"name": "Get All Segment Definitions",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "https://{{apiEndpoint}}/v4/segmentDefinitions",
"protocol": "https",
"host": [
"{{apiEndpoint}}"
],
"path": [
"v4",
"segmentDefinitions"
]
}
},
"response": []
},
{
"name": "Retrieve Segment Definition",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "https://{{apiEndpoint}}/v4/segmentDefinitions/:segmentDefinitionId",
"protocol": "https",
"host": [
"{{apiEndpoint}}"
],
"path": [
"v4",
"segmentDefinitions",
":segmentDefinitionId"
],
"variable": [
{
"key": "segmentDefinitionId",
"value": "d664115d-f3bb-4003-875a-38c4808a14b2"
}
]
}
},
"response": []
},
{
"name": "Update Segment Definition",
"request": {
"method": "PUT",
"header": [],
"url": {
"raw": "https://{{apiEndpoint}}/v4/segmentDefinitions/:segmentDefinitionId",
"protocol": "https",
"host": [
"{{apiEndpoint}}"
],
"path": [
"v4",
"segmentDefinitions",
":segmentDefinitionId"
],
"variable": [
{
"key": "segmentDefinitionId",
"value": "d664115d-f3bb-4003-875a-38c4808a14b2"
}
]
}
},
"response": []
},
{
"name": "Retrieve by Name",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "https://{{apiEndpoint}}/v4/segmentDefinitions/:segmentName",
"protocol": "https",
"host": [
"{{apiEndpoint}}"
],
"path": [
"v4",
"segmentDefinitions",
":segmentName"
],
"variable": [
{
"key": "segmentName",
"value": "dylandev"
}
]
}
},
"response": []
}
]
}
],
"auth": {
"type": "bearer",
"bearer": [
{
"key": "token",
"value": "{{AdminToken}}",
"type": "string"
}
]
},
"event": [
{
"listen": "prerequest",
"script": {
"type": "text/javascript",
"exec": [
""
]
}
},
{
"listen": "test",
"script": {
"type": "text/javascript",
"exec": [
""
]
}
}
]
},
{
"name": "Interactive APIs",
"item": [
{
"name": "Guest",
"item": [
{
"name": "Locate Guests",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "https://{{apiEndpoint}}/v2/guests?email=&identifiers.provider=&identifiers.id=",
"protocol": "https",
"host": [
"{{apiEndpoint}}"
],
"path": [
"v2",
"guests"
],
"query": [
{
"key": "email",
"value": ""
},
{
"key": "identifiers.provider",
"value": ""
},
{
"key": "identifiers.id",
"value": ""
}
]
}
},
"response": []
},
{
"name": "Locate Guests using paging",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "https://{{apiEndpoint}}/v2/guests?offset=100&limit=3",
"protocol": "https",
"host": [
"{{apiEndpoint}}"
],
"path": [
"v2",
"guests"
],
"query": [
{
"key": "offset",
"value": "100"
},
{
"key": "limit",
"value": "3"
}
]
}
},
"response": []
},
{
"name": "Retrieve Guest",
"protocolProfileBehavior": {
"disableBodyPruning": true
},
"request": {
"method": "GET",
"header": [],
"body": {
"mode": "raw",
"raw": "",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "https://{{apiEndpoint}}/v2/guests/:GuestRef",
"protocol": "https",
"host": [
"{{apiEndpoint}}"
],
"path": [
"v2",
"guests",
":GuestRef"
],
"variable": [
{
"key": "GuestRef",
"value": null
}
]
}
},
"response": []
},
{
"name": "Create Guest",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\r\n \"guestType\": \"customer\" , \r\n \"title\": \"Mr\",\r\n \"firstName\": \"Bill\",\r\n \"lastName\": \"Bryers\",\r\n \"gender\": \"male\",\r\n \"language\": \"EN\",\r\n \"dateOfBirth\": \"1971-03-22T00:00:00.000Z\",\r\n \"emails\": [\r\n \"[email protected]\"\r\n ],\r\n \"phoneNumbers\": [\r\n \"0851234567\"\r\n ],\r\n \"nationality\": \"American\"\r\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "https://{{apiEndpoint}}/v2/guests",
"protocol": "https",
"host": [
"{{apiEndpoint}}"
],
"path": [
"v2",
"guests"
]
}
},
"response": []
},
{
"name": "Update Guest",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\r\n \"guestType\": \"customer\" , \r\n \"title\": \"Mr\",\r\n \"firstName\": \"Bill\",\r\n \"lastName\": \"Bryers\",\r\n \"gender\": \"male\",\r\n \"language\": \"EN\",\r\n \"dateOfBirth\": \"1971-03-22T00:00:00.000Z\",\r\n \"emails\": [\r\n \"[email protected]\"\r\n ],\r\n \"phoneNumbers\": [\r\n \"0851234566\"\r\n ],\r\n \"nationality\": \"American\",\r\n \"city\": \"Hawkins\",\r\n \"state\":\"IN\",\r\n \"country\":\"US\"\r\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "https://{{apiEndpoint}}/v2/guests/:GuestRef",
"protocol": "https",
"host": [
"{{apiEndpoint}}"
],
"path": [
"v2",
"guests",
":GuestRef"
],
"variable": [
{
"key": "GuestRef",
"value": null
}
]
}
},
"response": []
},
{
"name": "Retrieve Guest Context",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "https://{{apiEndpoint}}/v3/guestContext/{}",
"protocol": "https",
"host": [
"{{apiEndpoint}}"
],
"path": [
"v3",
"guestContext",
"{}"
]
}
},
"response": []
}
]
},
{
"name": "Guest Data Extensions",
"item": [
{
"name": "Retrieve Guest Data Extension",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "https://{{apiEndpoint}}/v2/guests/:guestRef/extEmailPreferences/",
"protocol": "https",
"host": [
"{{apiEndpoint}}"
],
"path": [
"v2",
"guests",
":guestRef",
"extEmailPreferences",
""
],
"variable": [
{
"key": "guestRef",
"value": "77f2ce2d-5dae-4813-b674-f8e676da40e8"
}
]
}
},
"response": []
},
{
"name": "Locate Guest Data Extension",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "https://{{apiEndpoint}}/v2/guests/:guestRef/extEmailPreferences/:guestDataExtensionRef",
"protocol": "https",
"host": [
"{{apiEndpoint}}"
],
"path": [
"v2",
"guests",
":guestRef",
"extEmailPreferences",
":guestDataExtensionRef"
],
"variable": [
{
"key": "guestRef",
"value": "782d38dc-8482-4c08-b51e-0add3be39c41"
},
{
"key": "guestDataExtensionRef",
"value": "3abb18cf-9dfd-54f7-b214-a63e2824d2fc"
}
]
}
},
"response": []
},
{
"name": "Create Guest Data Extension",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\r\n \"key\": \"email\",\r\n \"format\": \"HTML\",\r\n \"acceptedTermsAndConditions\": true,\r\n \"shortDescription\": \"The email preferences for this guest\",\r\n \"longDescription\": \"The email preferences for this guest\"\r\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "https://{{apiEndpoint}}/v2/guests/:guestRef/extEmailPreferences/",
"protocol": "https",
"host": [
"{{apiEndpoint}}"
],
"path": [
"v2",
"guests",
":guestRef",
"extEmailPreferences",
""
],
"variable": [
{
"key": "guestRef",
"value": "782d38dc-8482-4c08-b51e-0add3be39c41"
}
]
}
},
"response": []
},
{
"name": "Update Guest Data Extension",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\r\n \"key\": \"email\",\r\n \"format\": \"Text\",\r\n \"acceptedTermsAndConditions\": false,\r\n \"shortDescription\": \"The email preferences for this guest\",\r\n \"longDescription\": \"The email preferences for this guest\"\r\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "https://{{apiEndpoint}}/v2/guests/:guestRef/extEmailPreferences",
"protocol": "https",
"host": [
"{{apiEndpoint}}"
],
"path": [
"v2",
"guests",
":guestRef",
"extEmailPreferences"
],
"variable": [
{
"key": "guestRef",
"value": "77f2ce2d-5dae-4813-b674-f8e676da40e8"
}
]
}
},
"response": []
},
{
"name": "Delete Guest Data Extension",
"request": {
"method": "DELETE",
"header": [],
"url": {
"raw": "https://{{apiEndpoint}}/v2/guests/:guestRef/extEmailPreferences/:guestDataExtensionRef",
"protocol": "https",
"host": [
"{{apiEndpoint}}"
],
"path": [
"v2",
"guests",
":guestRef",
"extEmailPreferences",
":guestDataExtensionRef"
],
"variable": [
{
"key": "guestRef",
"value": "782d38dc-8482-4c08-b51e-0add3be39c41"
},
{
"key": "guestDataExtensionRef",
"value": "3abb18cf-9dfd-54f7-b214-a63e2824d2fc"
}
]
}
},
"response": []
}
]
},
{
"name": "Orders",
"item": [
{
"name": "Locate Orders for Guest",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "https://{{apiEndpoint}}/v2/orders?guestRef=782d38dc-8482-4c08-b51e-0add3be39c41",
"protocol": "https",
"host": [
"{{apiEndpoint}}"
],
"path": [
"v2",
"orders"
],
"query": [
{
"key": "guestRef",
"value": "782d38dc-8482-4c08-b51e-0add3be39c41"
}
]
}
},
"response": []
},
{
"name": "Retrieve Order",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "https://{{apiEndpoint}}/v2/orders/:orderRef",
"protocol": "https",
"host": [
"{{apiEndpoint}}"
],
"path": [
"v2",
"orders",
":orderRef"
],
"variable": [
{
"key": "orderRef",
"value": "6e67f82f-4e81-4ed4-a299-321bc51411d4"
}
]
}
},
"response": []
},
{
"name": "Create Order",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\r\n\"orderedAt\": \"2021-11-11T15:00:03.123Z\",\r\n\"price\": 100.00,\r\n\"currencyCode\": \"USD\",\r\n\"referenceId\": \"123\",\r\n\"paymentType\": \"Card\",\r\n\"cardType\": \"Visa\",\r\n\"pointOfSale\": \"default\",\r\n\"channel\": \"WEB\",\r\n\"status\": \"PURCHASED\"\r\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "https://{{apiEndpoint}}/v2/orders?guestRef=782d38dc-8482-4c08-b51e-0add3be39c41",
"protocol": "https",
"host": [
"{{apiEndpoint}}"
],
"path": [
"v2",
"orders"
],
"query": [
{
"key": "guestRef",
"value": "782d38dc-8482-4c08-b51e-0add3be39c41"
}
]
}
},
"response": []
}
]
},
{
"name": "Order Items",
"item": [
{
"name": "Create Order Item",
"request": {
"method": "POST",
"header": [],
"url": {
"raw": "https://{{apiEndpoint}}/v2/orders/{{orderRef}}/orderItems",
"protocol": "https",
"host": [
"{{apiEndpoint}}"
],
"path": [
"v2",
"orders",
"{{orderRef}}",
"orderItems"
]
}
},
"response": []
},
{
"name": "Locate Order Items",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "https://{{apiEndpoint}}/v2/orders/{{orderRef}}/orderItems",
"protocol": "https",
"host": [
"{{apiEndpoint}}"
],
"path": [
"v2",
"orders",
"{{orderRef}}",
"orderItems"
]
}
},
"response": []
},
{
"name": "Retrieve Order Item",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "https://{{apiEndpoint}}/v2/orderItems/{{orderItemRef}}/orderItems",
"protocol": "https",
"host": [
"{{apiEndpoint}}"
],
"path": [
"v2",
"orderItems",
"{{orderItemRef}}",
"orderItems"
]
}
},
"response": []
},
{
"name": "Update Order Item",
"request": {
"method": "POST",
"header": [],
"url": {
"raw": "https://{{apiEndpoint}}/v2/orderItems/{{orderItemRef}}",
"protocol": "https",
"host": [
"{{apiEndpoint}}"
],
"path": [
"v2",
"orderItems",
"{{orderItemRef}}"
]
}
},
"response": []
},
{
"name": "Delete Order Item",
"request": {
"method": "DELETE",
"header": [],
"url": {
"raw": "https://{{apiEndpoint}}/v2/orderItems/{{orderItemRef}}",
"protocol": "https",
"host": [
"{{apiEndpoint}}"
],
"path": [
"v2",
"orderItems",
"{{orderItemRef}}"
]
}
},
"response": []
}
]
},
{
"name": "Order Contacts",
"item": [
{
"name": "Locate Order Contacts",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "https://{{apiEndpoint}}/v2/orders/{{orderRef}}/contacts",
"protocol": "https",
"host": [
"{{apiEndpoint}}"
],
"path": [
"v2",
"orders",
"{{orderRef}}",
"contacts"
]
}
},
"response": []
},
{
"name": "Retrieve Order Contact",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "https://{{apiEndpoint}}/v2/orderContacts/{{orderContactRef}}",
"protocol": "https",
"host": [
"{{apiEndpoint}}"
],
"path": [
"v2",
"orderContacts",
"{{orderContactRef}}"
]
}
},
"response": []
},
{
"name": "Create Order Contact",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\r\n \"title\": \"Mr\",\r\n \"firstName\": \"Jack\",\r\n \"lastName\": \"Smith\",\r\n \"gender\": \"male\",\r\n \"dateOfBirth\": \"1976-10-28T00:00:00.000Z\",\r\n \"emails\": [\r\n \"[email protected]\"\r\n ],\r\n \"phoneNumbers\": [\r\n \"+353161123345\",\r\n \"+353861123345\"\r\n ],\r\n \"nationality\": \"Irish\",\r\n \"passportNumber\": \"PZ4A9565\",\r\n \"guest\": {\r\n \"href\": \"https://{{apiEndpoint}}/v2/guests/{{guestRef}}\"\r\n }\r\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "https://{{apiEndpoint}}/v2/orders/{{orderRef}}/contacts",
"protocol": "https",
"host": [
"{{apiEndpoint}}"
],
"path": [
"v2",
"orders",
"{{orderRef}}",
"contacts"
]
}
},
"response": []
},
{
"name": "Update Order Contact",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\r\n \"title\": \"Mr\",\r\n \"firstName\": \"Bill\",\r\n \"lastName\": \"Bryers\",\r\n \"gender\": \"male\",\r\n \"dateOfBirth\": \"1976-10-28T00:00:00.000Z\",\r\n \"emails\": [\r\n \"[email protected]\"\r\n ],\r\n \"phoneNumbers\": [\r\n \"+353161123345\",\r\n \"+110851234566\"\r\n ],\r\n \"nationality\": \"American\",\r\n \"passportNumber\": \"PZ4A9565\",\r\n \"guest\": {\r\n \"href\": \"https://{{apiEndpoint}}/v2/guests/{{guestRef}}\"\r\n }\r\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "https://{{apiEndpoint}}/v2/orderContacts/{{orderContactRef}}",
"protocol": "https",
"host": [
"{{apiEndpoint}}"
],
"path": [
"v2",
"orderContacts",
"{{orderContactRef}}"
]
}
},
"response": []
},
{
"name": "Delete Order Contact",
"request": {
"method": "DELETE",
"header": [],
"body": {
"mode": "raw",
"raw": "{\r\n \"title\": \"Mr\",\r\n \"firstName\": \"Jack\",\r\n \"lastName\": \"Smith\",\r\n \"gender\": \"male\",\r\n \"dateOfBirth\": \"1976-10-28T00:00:00.000Z\",\r\n \"emails\": [\r\n \"[email protected]\"\r\n ],\r\n \"phoneNumbers\": [\r\n \"+353161123345\",\r\n \"+353861123345\"\r\n ],\r\n \"nationality\": \"Irish\",\r\n \"passportNumber\": \"PZ4A9565\",\r\n \"guest\": {\r\n \"href\": \"https://{apiEndpoint}/v2/guests/9d94ee11-7043-4b71-980c-a777d00a7b46\"\r\n }\r\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "https://{{apiEndpoint}}/v2/orderContacts/{{orderContactRef}}",
"protocol": "https",
"host": [
"{{apiEndpoint}}"
],
"path": [
"v2",
"orderContacts",
"{{orderContactRef}}"
]
}
},
"response": []
}
]
},
{
"name": "Order Consumer",
"item": [
{
"name": "Locate Order Consumer",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "https://{{apiEndpoint}}/v2/orders/{{orderRef}}/consumers",
"protocol": "https",
"host": [
"{{apiEndpoint}}"
],
"path": [
"v2",
"orders",
"{{orderRef}}",
"consumers"
]
}
},
"response": []
},
{
"name": "Retrieve Order Consumer",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "https://{{apiEndpoint}}/v2/orderConsumers/{{orderConsumerRef}}",
"protocol": "https",
"host": [
"{{apiEndpoint}}"
],
"path": [
"v2",
"orderConsumers",
"{{orderConsumerRef}}"
]
}
},
"response": []
},
{
"name": "Create Order Consumer",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\r\n \"title\": \"Mr\",\r\n \"firstName\": \"Tom\",\r\n \"lastName\": \"Smith\",\r\n \"gender\": \"male\",\r\n \"guest\": {\r\n \"href\": \"http://{{apiEndpoint}}/v2/guests/{{guestRef}}\"\r\n },\r\n \"orderItems\": {\r\n \"items\" : [{\r\n \"href\": \"http://{{apiEndpoint}}/v2/orderItems/{{orderItemRef}}\"\r\n }]\r\n }\r\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "https://{{apiEndpoint}}/v2/orders/{{orderRef}}/consumers",
"protocol": "https",
"host": [
"{{apiEndpoint}}"
],
"path": [
"v2",
"orders",
"{{orderRef}}",
"consumers"
]
}
},
"response": []
},
{
"name": "Update Order Consumer",
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "{\r\n \"title\": \"Mr\",\r\n \"firstName\": \"Tom\",\r\n \"lastName\": \"Smith\",\r\n \"gender\": \"male\",\r\n \"guest\": {\r\n \"href\": \"http://{{apiEndpoint}}/v2/guests/{{guestRef}}\"\r\n },\r\n \"orderItems\": {\r\n \"items\" : [{\r\n \"href\": \"http://{{apiEndpoint}}/v2/orderItems/{{orderItemRef}}\"\r\n }]\r\n }\r\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "https://{{apiEndpoint}}/v2/orderConsumers/{{orderConsumerRef}}",
"protocol": "https",
"host": [
"{{apiEndpoint}}"
],
"path": [
"v2",
"orderConsumers",
"{{orderConsumerRef}}"
]
}
},
"response": []
}
]
},
{
"name": "Audience Sync",
"item": [
{
"name": "Locate Batch Flows Job",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "https://{{apiEndpoint}}/v2/batchFlowsJob?flowRef=9d496538-6079-49ff-8911-9964f0333528&expand=true",
"protocol": "https",
"host": [
"{{apiEndpoint}}"
],
"path": [
"v2",
"batchFlowsJob"
],
"query": [
{
"key": "flowRef",
"value": "9d496538-6079-49ff-8911-9964f0333528"
},
{
"key": "expand",
"value": "true"
}
]
}
},
"response": []
},
{
"name": "Retrieve Batch Flows Job",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "https://{{apiEndpoint}}/v2/batchFlowsJob/{{batchFlowsJobRef}}",
"protocol": "https",
"host": [
"{{apiEndpoint}}"
],
"path": [
"v2",
"batchFlowsJob",
"{{batchFlowsJobRef}}"
]
}
},
"response": []
},
{
"name": "Retrieve Batch Flows Output",
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "https://{{apiEndpoint}}/v2/batchFlowOutput/{{batchFlowsJobRef}}/files",
"protocol": "https",
"host": [
"{{apiEndpoint}}"
],
"path": [
"v2",
"batchFlowOutput",
"{{batchFlowsJobRef}}",
"files"
]
}
},
"response": []
}
]
}
]
},
{
"name": "Batch APIs",
"item": [
{
"name": "Batch Import",
"item": [
{
"name": "1. Pre-signed Request",
"event": [
{
"listen": "test",
"script": {
"exec": [
"var jsonData = JSON.parse(responseBody);",
"postman.setEnvironmentVariable(\"uploadURL\", jsonData.location.href);",
"postman.setEnvironmentVariable(\"batchRef\", jsonData.ref);"
],
"type": "text/javascript"
}
}
],
"request": {
"auth": {
"type": "basic",
"basic": [
{
"key": "password",
"value": "{{password}}",
"type": "string"
},
{
"key": "username",
"value": "{{username}}",
"type": "string"
}
]
},
"method": "PUT",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"checksum\": \"7ac8d945ec4e47cbf7d6bb7fbb5c0b0b\",\n \"size\": 365\n}\n",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "https://api.boxever.com/v2/batches/380f7fe7-0d22-4fbb-abf6-d19960e6ca0e",
"protocol": "https",
"host": [
"api",
"boxever",
"com"
],
"path": [
"v2",
"batches",
"380f7fe7-0d22-4fbb-abf6-d19960e6ca0e"
]
}
},
"response": []
},
{
"name": "2. Upload File",
"event": [
{
"listen": "test",
"script": {
"exec": [
""
],
"type": "text/javascript"
}
}
],
"protocolProfileBehavior": {
"disabledSystemHeaders": {
"content-type": true
}
},
"request": {
"auth": {
"type": "noauth"
},
"method": "PUT",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
},
{
"key": "x-amz-server-side-encryption",
"value": "AES256",
"type": "text"
},
{
"key": "Content-Md5",
"value": "esjZRexOR8v31rt/u1wLCw==",
"type": "text"
}
],
"body": {
"mode": "file",
"file": {
"src": "/Users/sao/aretha_order.json.gz"
}
},
"url": {
"raw": "{{uploadURL}}",
"host": [
"{{uploadURL}}"
]
}
},
"response": []
},
{
"name": "3. Check Status",
"event": [
{
"listen": "test",
"script": {
"exec": [
""
],
"type": "text/javascript"
}
}
],
"protocolProfileBehavior": {
"disableBodyPruning": true
},
"request": {
"auth": {
"type": "basic",
"basic": [
{
"key": "password",
"value": "{{password}}",
"type": "string"
},
{
"key": "username",
"value": "{{username}}",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "https://api.boxever.com/v2/batches/:BatchRef",
"protocol": "https",
"host": [
"api",
"boxever",
"com"
],
"path": [
"v2",
"batches",
":BatchRef"
],
"variable": [
{
"key": "BatchRef",
"value": null
}
]
}
},
"response": []
}
]
},
{
"name": "Batch Flows",
"item": [
{
"name": "1. Trigger Batch Flow",
"event": [
{
"listen": "test",
"script": {
"exec": [
"var jsonData = JSON.parse(responseBody);",
"postman.setEnvironmentVariable(\"batchFlowRef\", jsonData.ref);"
],
"type": "text/javascript"
}
}
],
"request": {
"auth": {
"type": "basic",
"basic": [
{
"key": "password",
"value": "{{password}}",
"type": "string"
},
{
"key": "username",
"value": "{{username}}",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"flowRef\": \"c6739c0f-b241-4586-9699-0b0ccdfbf97c\",\n \"segmentRef\": \"ea3b0580-ae3d-4a44-9a3a-e3f6c6d55f4d\",\n \"datasetDate\": \"2021-10-29T00:00:00.000Z\"\n}",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "https://api.boxever.com/v2/batchFlowsTrigger",
"protocol": "https",
"host": [
"api",
"boxever",
"com"
],
"path": [
"v2",
"batchFlowsTrigger"
],
"query": [
{
"key": "expand",
"value": "extPropensities",
"disabled": true
}
]
}
},
"response": []
},
{
"name": "2. Get Batch Flow Status",
"event": [
{
"listen": "test",
"script": {
"exec": [
""
],
"type": "text/javascript"
}
}
],
"protocolProfileBehavior": {
"disableBodyPruning": true
},
"request": {
"auth": {
"type": "basic",
"basic": [
{
"key": "password",
"value": "{{password}}",
"type": "string"
},
{
"key": "username",
"value": "{{username}}",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "https://api.boxever.com/v2/batchFlowsJob/{{batchFlowRef}}",
"protocol": "https",
"host": [
"api",
"boxever",
"com"
],
"path": [
"v2",
"batchFlowsJob",
"{{batchFlowRef}}"
],
"query": [
{
"key": "expand",
"value": "true",
"disabled": true
}
]
}
},
"response": []
},
{
"name": "3. Get Files",
"event": [
{
"listen": "test",
"script": {
"exec": [
""
],
"type": "text/javascript"
}
}
],
"protocolProfileBehavior": {
"disableBodyPruning": true
},
"request": {
"auth": {
"type": "basic",
"basic": [
{
"key": "password",
"value": "{{password}}",
"type": "string"
},
{
"key": "username",
"value": "{{username}}",
"type": "string"
}
]
},
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json",
"type": "text"
}
],
"body": {
"mode": "raw",
"raw": "",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "https://api-eu-west-1-production.boxever.com/v2/batchFlowOutput/{{batchFlowRef}}/files",
"protocol": "https",
"host": [
"api-eu-west-1-production",
"boxever",
"com"
],
"path": [
"v2",
"batchFlowOutput",
"{{batchFlowRef}}",
"files"
]
}
},
"response": []
}
]
}
]
},
{
"name": "Stream APIs",
"item": [
{
"name": "Flow Execution",
"item": [
{
"name": "Run Experiment",
"event": [
{
"listen": "prerequest",
"script": {
"exec": [
"var browserId = pm.environment.get(\"BrowserRef\");\r",
"var POS = pm.environment.get(\"POS\");\r",
"var clientKey = pm.environment.get(\"ClientKey\");\r",
"\r",
"let body = {\r",
" mode: 'raw',\r",
" raw: JSON.stringify({\r",
" \"channel\": \"WEB\",\r",
" \"language\": \"EN\",\r",
" \"currencyCode\": \"USD\",\r",
" \"pointOfSale\": POS,\r",
" \"browserId\": browserId,\r",
" \"clientKey\": clientKey,\r",
" \"friendlyId\":\"experimentwithpostman\"\r",
" }),\r",
" options: {\r",
" raw: {\r",
" language: 'json'\r",
" }\r",
" }\r",
"}\r",
"\r",
"pm.request.body.update(body);\r",
"console.log(pm.request.body);"
],
"type": "text/javascript"
}
}
],
"request": {
"method": "POST",
"header": [],
"body": {
"mode": "raw",
"raw": "",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "https://{{apiEndpoint}}/v2/callFlows",
"protocol": "https",
"host": [
"{{apiEndpoint}}"
],
"path": [
"v2",
"callFlows"
]
}
},
"response": []
}
]
},
{
"name": "Create Browser Reference",
"event": [
{
"listen": "test",
"script": {
"exec": [
"var jsonData = JSON.parse(responseBody);\r",
"pm.environment.set(\"BrowserRef\", jsonData.ref);"
],
"type": "text/javascript"
}
}
],
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "https://{{apiEndpoint}}/v1.2/browser/create.json?client_key={{ClientKey}}&message=",
"protocol": "https",
"host": [
"{{apiEndpoint}}"
],
"path": [
"v1.2",
"browser",
"create.json"
],
"query": [
{
"key": "client_key",
"value": "{{ClientKey}}"
},
{
"key": "message",
"value": "",
"description": "The body of the message. Leave this empty for retrieving the `browserId` attribute."
}
]
}
},
"response": [
{
"name": "Create Browser Reference",
"originalRequest": {
"method": "GET",
"header": [],
"url": {
"raw": "https://{{apiEndpoint}}/v1.2/browser/create.json?client_key={{ClientKey}}&message=",
"protocol": "https",
"host": [
"{{apiEndpoint}}"
],
"path": [
"v1.2",
"browser",
"create.json"
],
"query": [
{
"key": "client_key",
"value": "{{ClientKey}}"
},
{
"key": "message",
"value": "",
"description": "The body of the message. Leave this empty for retrieving the `browserId` attribute."
}
]
}
},
"status": "Created",
"code": 201,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Date",
"value": "Mon, 29 Aug 2022 17:43:47 GMT"
},
{
"key": "Vary",
"value": "Accept-Encoding"
},
{
"key": "X-Robots-Tag",
"value": "noindex"
},
{
"key": "Content-Length",
"value": "178"
},
{
"key": "Connection",
"value": "keep-alive"
}
],
"cookie": [],
"body": "{\n \"status\": \"OK\",\n \"version\": \"1.2\",\n \"client_key\": \"psfu6uh05hsr9c34rptlr06dn864cqrx\",\n \"ref\": \"8be8b9d0-e34d-4f13-bcc3-5579f6862589\",\n \"customer_ref\": \"7d0faa2b-3f07-4f3b-afeb-75419317b569\"\n}"
}
]
},
{
"name": "Kill Session",
"event": [
{
"listen": "prerequest",
"script": {
"exec": [
"var browserId = pm.environment.get(\"BrowserRef\");\r",
"var POS = pm.environment.get(\"POS\");\r",
"var clientKey = pm.environment.get(\"ClientKey\");\r",
"var closeSessionRequest = {\r",
" channel: \"WEB\",\r",
" language: \"EN\",\r",
" currency: \"USD\",\r",
" pos: POS,\r",
" browser_id: browserId,\r",
" clientKey: clientKey,\r",
" type: \"FORCE_CLOSE\",\r",
" _bx_extended_message: \"1\"\r",
"};\r",
"\r",
"var messageAsString = JSON.stringify(closeSessionRequest);\r",
"var messageEncoded = encodeURI(messageAsString);\r",
"pm.environment.set(\"message\", messageEncoded);"
],
"type": "text/javascript"
}
}
],
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "https://{{apiEndpoint}}/v1.2/event/create.json?client_key={{ClientKey}}&message={{message}}",
"protocol": "https",
"host": [
"{{apiEndpoint}}"
],
"path": [
"v1.2",
"event",
"create.json"
],
"query": [
{
"key": "client_key",
"value": "{{ClientKey}}"
},
{
"key": "message",
"value": "{{message}}"
}
]
}
},
"response": []
},
{
"name": "Track a Web VIEW Event",
"event": [
{
"listen": "test",
"script": {
"exec": [
""
],
"type": "text/javascript"
}
},
{
"listen": "prerequest",
"script": {
"exec": [
"var browserId = pm.environment.get(\"BrowserRef\");\r",
"var POS = pm.environment.get(\"POS\");\r",
"var clientKey = pm.environment.get(\"ClientKey\");\r",
"var viewEvent = {\r",
" channel: \"WEB\",\r",
" language: \"EN\",\r",
" currency: \"USD\",\r",
" pos: POS,\r",
" page: \"/campaign\",\r",
" browser_id: browserId,\r",
" clientKey: clientKey,\r",
" type: \"VIEW\"\r",
"}\r",
"\r",
"var messageAsString = JSON.stringify(viewEvent);\r",
"var messageEncoded = encodeURI(messageAsString);\r",
"pm.environment.set(\"message\", messageEncoded);"
],
"type": "text/javascript"
}
}
],
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "https://{{apiEndpoint}}/v1.2/event/create.json?client_key={{ClientKey}}&message={{message}}",
"protocol": "https",
"host": [
"{{apiEndpoint}}"
],
"path": [
"v1.2",
"event",
"create.json"
],
"query": [
{
"key": "client_key",
"value": "{{ClientKey}}"
},
{
"key": "message",
"value": "{{message}}",
"description": "The message container the event data"
}
]
}
},
"response": []
},
{
"name": "Track a Web Custom Event",
"event": [
{
"listen": "test",
"script": {
"exec": [
""
],
"type": "text/javascript"
}
},
{
"listen": "prerequest",
"script": {
"exec": [
"var browserId = pm.environment.get(\"BrowserRef\");\r",
"var POS = pm.environment.get(\"POS\");\r",
"var clientKey = pm.environment.get(\"ClientKey\");\r",
"var viewEvent = {\r",
" channel: \"WEB\",\r",
" language: \"EN\",\r",
" currency: \"USD\",\r",
" pos: POS,\r",
" page: \"home\",\r",
" browser_id: browserId,\r",
" clientKey: clientKey,\r",
" type: \"VIDEO_VIEWED\"\r",
"}\r",
"\r",
"var messageAsString = JSON.stringify(viewEvent);\r",
"var messageEncoded = encodeURI(messageAsString);\r",
"pm.environment.set(\"message\", messageEncoded);"
],
"type": "text/javascript"
}
}
],
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "https://{{apiEndpoint}}/v1.2/event/create.json?client_key={{ClientKey}}&message={{message}}",
"protocol": "https",
"host": [
"{{apiEndpoint}}"
],
"path": [
"v1.2",
"event",
"create.json"
],
"query": [
{
"key": "client_key",
"value": "{{ClientKey}}"
},
{
"key": "message",
"value": "{{message}}",
"description": "The message container the event data"
}
]
}
},
"response": []
},
{
"name": "Identity Web Event",
"event": [
{
"listen": "test",
"script": {
"exec": [
""
],
"type": "text/javascript"
}
},
{
"listen": "prerequest",
"script": {
"exec": [
"var browserId = pm.environment.get(\"BrowserRef\");\r",
"var POS = pm.environment.get(\"POS\");\r",
"var clientKey = pm.environment.get(\"ClientKey\");\r",
"var viewEvent = {\r",
" channel: \"WEB\",\r",
" language: \"EN\",\r",
" currency: \"USD\",\r",
" pos: POS,\r",
" page: \"home\",\r",
" browser_id: browserId,\r",
" clientKey: clientKey,\r",
" type: \"IDENTITY\"\r",
"}\r",
"\r",
"var messageAsString = JSON.stringify(viewEvent);\r",
"var messageEncoded = encodeURI(messageAsString);\r",
"pm.environment.set(\"message\", messageEncoded);"
],
"type": "text/javascript"
}
}
],
"request": {
"method": "GET",
"header": [],
"url": {
"raw": "https://{{apiEndpoint}}/v1.2/event/create.json?client_key={{ClientKey}}&message={{message}}",
"protocol": "https",
"host": [
"{{apiEndpoint}}"
],
"path": [
"v1.2",
"event",
"create.json"
],
"query": [
{
"key": "client_key",
"value": "{{ClientKey}}"
},
{
"key": "message",
"value": "{{message}}",
"description": "The message container the event data"
}
]
}
},
"response": []
}
],
"auth": {
"type": "noauth"
},
"event": [
{
"listen": "prerequest",
"script": {
"type": "text/javascript",
"exec": [
""
]
}
},
{
"listen": "test",
"script": {
"type": "text/javascript",
"exec": [
""
]
}
}
]
}
],
"auth": {
"type": "basic",
"basic": [
{
"key": "password",
"value": "{{ApiToken}}",
"type": "string"
},
{
"key": "username",
"value": "{{ClientKey}}",
"type": "string"
}
]
},
"event": [
{
"listen": "prerequest",
"script": {
"type": "text/javascript",
"exec": [
""
]
}
},
{
"listen": "test",
"script": {
"type": "text/javascript",
"exec": [
""
]
}
}
],
"variable": [
{
"key": "apiKeyId",
"value": "pqsHoMeZqwc3fXgLCQs1p21ImhAr6tPL"
},
{
"key": "apiKeySecret",
"value": "WEf8ceRcUmY20yQGfZUqKvMx01toi5BM"
},
{
"key": "apiEndpoint",
"value": "api.boxever.com"
},
{
"key": "pointOfSale",
"value": "betaSpinAir"
},
{
"key": "currencyCode",
"value": "USD"
},
{
"key": "language",
"value": "EN"
},
{
"key": "channel",
"value": "WEB"
},
{
"key": "guestRef",
"value": "5df26fc7-bb3f-4685-bbb4-fd5eca7d45c6\""
},
{
"key": "guestEmail",
"value": "[email protected]"
},
{
"key": "identifiersProvider",
"value": "ProfileSystem"
},
{
"key": "identifiersId",
"value": "B7524AE6-CF1C-440F-B1A2-0C9D42F5CB41"
},
{
"key": "dataExtensionName",
"value": "extEmailPreferences"
},
{
"key": "dataExtensionRef",
"value": "42264dac-d2c2-531c-84aa-a85ef8735b6f"
},
{
"key": "orderRef",
"value": "1fb820e2-b29c-4df1-9950-77949385eb0d"
},
{
"key": "orderItemRef",
"value": "\t\nThe reference of the order item."
},
{
"key": "orderContactRef",
"value": "6ca149d1-8f23-456b-85df-2ce23f96a679"
},
{
"key": "orderConsumerRef",
"value": ""
},
{
"key": "batchFlowsJobRef",
"value": ""
},
{
"key": "decisionModelDefinitionRef",
"value": "e8878fdb-4031-423c-a12b-5691381f0c89"
},
{
"key": "decisionModelDefinitionRevision",
"value": ""
},
{
"key": "decisionModelVariantRef",
"value": ""
},
{
"key": "decisionModelVariantRevision",
"value": ""
},
{
"key": "connectionRef",
"value": ""
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment