Document Properties
Kbid
257F56
Last Modified
23-Jun-2020
Added to KB
14-May-2014
Public Access
Everyone
Status
Online
Doc Type
References
REST API OCST - Get Promotion Details

URI

/channels/<channelID>/promotions/<promotionID>

Http Method

GET

Short Description

Returns information on a single promotion

Query Parameters

Example Requests

/channels/PrimeTech-PrimeTechSpecials/promotions/CC_20EUR_OrderDiscount

HTTP Status Codes

200 OK
404 Not found

Description

Get information on a single promotion.

Cartridge

app_sf_contactcenter_rest

Application

ContactCenter

Product Version

7.5.1

Product To Version

Status

New Labels

JSON

Request Data Format

n.a.

Request related java object

com.intershop.application.contactcenter.capi.rest.resource.PromotionResource

Request Example

 

Response Data Format

application/json

Response related java object

com.intershop.application.contactcenter.capi.rest.resource.PromotionResource
com.intershop.application.contactcenter.capi.rest.resourceobject.PromotionRO

Response Example

{
    "name": "20 EUR Order discount ",
    "type": "Promotion",
    "id": "CC_20EUR_OrderDiscount",
    "description": "Contact Center 20 EUR order discount coupon.",
    "links":
    {
        "elements":
        [
            {
                "type": "Link",
                "relation": "related",
                "title": "codes",
                "uri": "ContactCenter/-/channels/PrimeTech-PrimeTechSpecials/promotions/CC_20EUR_OrderDiscount/codes"
            }
        ],
        "type": "ResourceCollection"
    }
}

XML

XML Request Data Format

n.a.

XML Request Java Objects

com.intershop.application.contactcenter.capi.rest.resource.PromotionResource

XML Request Example

 

XML Response Data Format

text/xml

XML Response Java Objects

com.intershop.application.contactcenter.capi.rest.resource.PromotionResource
com.intershop.application.contactcenter.capi.rest.resourceobject.PromotionRO

XML Response Example

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Promotion name="20 EUR Order discount " type="Promotion">
  <description>Contact Center 20 EUR order discount coupon.</description>
  <id>CC_20EUR_OrderDiscount</id>
  <links type="ResourceCollection">
    <elements>
      <Link type="Link">
        <relation>related</relation>
        <title>codes</title>
        <uri>ContactCenter/-/channels/PrimeTech-PrimeTechSpecials/promotions/CC_20EUR_OrderDiscount/codes</uri>
      </Link>
    </elements>
  </links>
</Promotion>
Disclaimer
The information provided in the Knowledge Base may not be applicable to all systems and situations. Intershop Communications will not be liable to any party for any direct or indirect damages resulting from the use of the Customer Support section of the Intershop Corporate Web site, including, without limitation, any lost profits, business interruption, loss of programs or other data on your information handling system.
The Intershop Knowledge Portal uses only technically necessary cookies. We do not track visitors or have visitors tracked by 3rd parties. Please find further information on privacy in the Intershop Privacy Policy and Legal Notice.
Home
Knowledge Base
Product Releases
Log on to continue
This Knowledge Base document is reserved for registered customers.
Log on with your Intershop Entra ID to continue.
Write an email to supportadmin@intershop.de if you experience login issues,
or if you want to register as customer.