Search the Omeda Knowledge Base

< All Topics

Brand Promotions Content By Promo Code


This API provides capabilities to retrieve information about a Brands Single Promotion Content by Promo Code .

General Technical Requirements

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

Base Resource URI



brandAbbreviation is the abbreviation for the brand promocode is the promotion code

HTTP Headers

The HTTP header must contain the following element: 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 application/xml. XML application/xml

Supported HTTP Methods

There is one HTTP method supported:

  1. GET : See W3C’s GET specs for details.

Lookup All Promotion Content

Retrieves all defined Promotion Content for the brand.

Field Definition

The following table describes the data elements present on the response from the API. In addition to the below elements, a SubmissionId element will also be returned with all responses. This is a unique identifier for the web services response. It can be used to cross-reference the response in Omeda’s database.

Brand Elements

Element NameAlways Returned…Data TypeDescription
IdYesIntegerThe brand identifier.
DescriptionYesStringThe name of the brand.
BrandAbbrevYesStringThe abbreviation for the brand (used in most web service URLs).
PromotionContentYesListList of PromotionContent Elements attached to this Brand.

PromotionContent Elements

Element NameAlways Returned…Data TypeDescription
IdYesintThe promotion content identifier.
ContentKeyYesStringName of the promotion content.
PromoCodeYesStringThe Promotion that this content is associated with.
StatusCodeYesintThe status of the promotion content.
HtmlContentYesStringThe HTML content associated with this content Key.
LayoutYesStringThe layout of the content on the page. (Top, Bottom, Left, Right)


HTTP Response Codes

200 OKThe request has succeeded. See Example Response below.
404 Not FoundIn the event no Promotions are found, an HTTP 404 (not found) response will be returned.

Example Response

<?xml version="1.0" encoding="UTF-8"?>
   <Description>XYZ Brand</Description>
            <td> this is the content</td>
            <td> this is the other content</td>
Table of Contents
Scroll to Top