GET Promotions/GetPromoTypes?SiteID={SiteID}

Returns All Promo Types for The Site

Request Information

URI Parameters

Name Type Description Additional information
SiteID integer

Body Parameters

None.

Response Information

Resource Description

Collection of PromoTypesDto
Name Type Description Additional information
PromoTypeID integer

None.

PromoTypeName string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "PromoTypeID": 1,
    "PromoTypeName": "sample string 2"
  },
  {
    "PromoTypeID": 1,
    "PromoTypeName": "sample string 2"
  }
]

application/xml, text/xml

Sample:
<ArrayOfPromotionTypesDto.PromoTypesDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tevalis.API.Core.PromoTypes.Dtos">
  <PromotionTypesDto.PromoTypesDto>
    <PromoTypeID>1</PromoTypeID>
    <PromoTypeName>sample string 2</PromoTypeName>
  </PromotionTypesDto.PromoTypesDto>
  <PromotionTypesDto.PromoTypesDto>
    <PromoTypeID>1</PromoTypeID>
    <PromoTypeName>sample string 2</PromoTypeName>
  </PromotionTypesDto.PromoTypesDto>
</ArrayOfPromotionTypesDto.PromoTypesDto>