Request Data Format | application/json |
---|---|
Request related java object | com.intershop.application.contactcenter.capi.rest.resource.EMailQueueResource com.intershop.application.contactcenter.capi.rest.resourceobject.PromotionCodeRO |
Request Example | { "type": "PromotionCode", "code": "CC2M8Y5VY4MW", "promotion": { "type": "Link", "description": "Contact Center 10 EUR order discount coupon.", "title": "10 EUR Order discount ", "uri": "ContactCenter/-/channels/PrimeTech-PrimeTechSpecials/promotions/CC_10EUR_OrderDiscount", "relation": "about" }, "promotionID": "CC_10EUR_OrderDiscount", "channelID": "PrimeTech-PrimeTechSpecials" } |
Response Data Format | application/json |
Response related java object | n/a |
Response Example | n/a |
XML Request Data Format | text/xml |
---|---|
XML Request Java Objects | com.intershop.application.contactcenter.capi.rest.resource.EMailQueueResource com.intershop.application.contactcenter.capi.rest.resourceobject.PromotionCodeRO |
XML Request Example | <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <PromotionCode type="PromotionCode"> <channelID>PrimeTech-PrimeTechSpecials</channelID> <code>CCZN413KW8RK</code> <promotion type="Link"> <description>Contact Center 10 EUR order discount coupon.</description> <relation>about</relation> <title>10 EUR Order discount </title> <uri>ContactCenter/-/channels/PrimeTech-PrimeTechSpecials/promotions/CC_10EUR_OrderDiscount</uri> </promotion> <promotionID>CC_10EUR_OrderDiscount</promotionID> </PromotionCode> |
XML Response Data Format | text/xml |
XML Response Java Objects | n/a |
XML Response Example | n/a |