Search the Omeda Knowledge Base

< All Topics
Print

Email Deployment Content Lookup

Summary

An api available to our omail clients.

For a given set of url parameters – the API will return the text or html content for a given omail deployment and specified split.

General Technical Requirements

The following technical requirements apply to all requests for this API.

Base Resource URI

Production: https://ows.omeda.com/webservices/rest/brand/{brandAbbreviation}/omail/deployment/content/lookup/{textOrHtml}/{trackingNumber}/{splitSequence}/*

Testing: https://ows.omedastaging.com/webservices/rest/brand/{brandAbbreviation}/omail/deployment/content/lookup/{textOrHtml}/{trackingNumber}/{splitSequence}/*

brandAbbreviation is the abbreviation for the brand textOrHtml valid values are “text” or “html” and determine whether the API returns the text version of the deployment content or the html version of the deployment content. trackingNumber is the tracking number for the omail deployment. splitSequence is the split sequence of the omail deployment. If the deployment has multiple splits, you would pass ‘1’ to see split 1’s content, etc.

HTTP Headers

The HTTP header must contain the following elements: x-omeda-appid a unique id provided to you by Omeda to access your data. The request will fail without a valid id.

Content Type

The content type is text/html.

Supported HTTP Methods

There is one HTTP method supported: GET See W3C’s GET specs for details.

Example URL to retrieve the html content from split 1 of omail deployment ACME190211008:

https://ows.omedastaging.com/webservices/rest/brand/ACME/omail/deployment/content/lookup/html/ACME190211008/1/*

Example URL to retrieve the text content from split 2 of omail deployment ACME141001003:

https://ows.omedastaging.com/webservices/rest/brand/ACME/omail/deployment/content/lookup/text/ACME141001003/2/*

Success Response will return the content corresponding to the search values in the lookup URL.

Tags:
Table of Contents
Scroll to Top