GET CMPromotions/GetPromotionTypes
Returns a list of Promotion Types that are exposed through the API
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of PromotionTypesModel| Name | Type | Description | Additional information |
|---|---|---|---|
| PromoType | string |
None. |
|
| PromoTypeId | integer |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"PromoType": "sample string 1",
"PromoTypeId": 2
},
{
"PromoType": "sample string 1",
"PromoTypeId": 2
}
]
application/xml, text/xml
Sample:
<ArrayOfCMPromotionsController.PromotionTypesModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tevalis.API.App.Controllers">
<CMPromotionsController.PromotionTypesModel>
<PromoType>sample string 1</PromoType>
<PromoTypeId>2</PromoTypeId>
</CMPromotionsController.PromotionTypesModel>
<CMPromotionsController.PromotionTypesModel>
<PromoType>sample string 1</PromoType>
<PromoTypeId>2</PromoTypeId>
</CMPromotionsController.PromotionTypesModel>
</ArrayOfCMPromotionsController.PromotionTypesModel>