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 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> |