Send an Edge web event

Learning objective

Send a simulated web event to the Adobe Edge Network using the API.

To simulate a web page being loaded and sent to the AEP Edge, you send in a Postman call to the Datastream you created.

This sends in an event with no OAuth Token. Ensure you have Postman open on your machine to perform this lab.

NOTE
Because you are not passing in an authenticated token, you don’t get back any attributes.

Lab expectations

  1. Experience Event to hit the Edge

  2. Datastream configuration

  3. Datastream configuration to use AEP Service

    1. Edge Audience to run
    2. Send Event to the Hub
  4. Postman Response to include Edge Audience (but no attributes)

  5. Profile Store to receive event and add an Event Profile Fragment

  6. Identity Store to add a relationship

  7. Dataset to receive data and store in Data Lake

Update Postman environment variable

Before you can execute the API request you need to add the datastream ID to the Postman variable environment. Start by gathering the following values:

Gather the Datastream ID

  1. You should already have the Datastream ID
NOTE
If you lost the Datastream ID
  1. In the left rail click on Datastreams (under the Data Collection heading)
  2. Select your Datastream and copy the Datastream ID value
Datastreams list showing the Datastream ID to copy
  1. Postman Left Sidebar -> Collections
  2. Collection -> AJO Bootcamp (Labs)
  3. Folder -> Profile & Journey Labs
  4. API Request -> Create Web Event

Postman sidebar navigating to the Create Web Event request

Update DATASTREAM_CONFIG variable

  1. Click on Variables in Request in the top right

    Variables in Request option in the Postman toolbar

  2. Update the DATASTREAM_CONFIG Value with the datastream ID from the first step on the page.

    DATASTREAMCONFIG variable updated with the datastream ID

  3. Save your update (ctrl+s or command+s)

  4. Click the ‘X’ in the upper right corner of the environment sidebar to close the sidebar

    Closing the Postman environment sidebar after saving

  5. The Create Web Event request is now ready to send since all of the variables are now blue and have a value in the environment.

Create Web Event request with all variables populated

Execute the API

Execute your request by clicking the Send button.

Response looks something like this:

Example 200 OK response from the Create Web Event request

What you see coming back in the response are these core things:

  • A 200 OK response means the data was successfully sent and accepted by the Edge Network

Recap

The event has been successfully sent to and accepted by the Edge Network

recommendation-more-help
blueprints-learn-help-blueprints