GET api/v1/widgets/topgenerationscouponswgtd?refresh={refresh}&number={number}&monthsBack={monthsBack}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
refresh

boolean

Default value is False

number

integer

Default value is 5

monthsBack

integer

Default value is 12

Body Parameters

None.

Response Information

Resource Description

SingleResultResponseOfWidgetWithDataDtoOfICollectionOfGeneratiosByCoupon
NameDescriptionTypeAdditional information
Meta

MetaSingleResult

None.

Notifications

None.

Response Formats

application/json, text/json

Sample:
{
  "meta": {},
  "notifications": [
    {},
    {}
  ],
  "result": {
    "id": "a04d3b4a-3056-4dd9-85eb-8f22ba3db4c7",
    "code": "sample string 2",
    "data": [
      {
        "numDownloads": 1,
        "promotionCode": "sample string 2",
        "promotionTitle": "sample string 3",
        "urlImage": "sample string 4"
      },
      {
        "numDownloads": 1,
        "promotionCode": "sample string 2",
        "promotionTitle": "sample string 3",
        "urlImage": "sample string 4"
      }
    ]
  }
}

application/xml, text/xml

Sample:
<SingleResultResponseOfWidgetWithDataDtoOfArrayOfGeneratiosByCoupondOvjT49_PdOvjT49_P xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Presentation.WebApi.Dtos.Response">
  <Meta />
  <Notifications>
    <Notification />
    <Notification />
  </Notifications>
  <Result xmlns:d2p1="http://schemas.datacontract.org/2004/07/Application.Services.Dtos">
    <d2p1:Code>sample string 2</d2p1:Code>
    <d2p1:Data>
      <d2p1:GeneratiosByCoupon>
        <d2p1:NumDownloads>1</d2p1:NumDownloads>
        <d2p1:PromotionCode>sample string 2</d2p1:PromotionCode>
        <d2p1:PromotionTitle>sample string 3</d2p1:PromotionTitle>
        <d2p1:UrlImage>sample string 4</d2p1:UrlImage>
      </d2p1:GeneratiosByCoupon>
      <d2p1:GeneratiosByCoupon>
        <d2p1:NumDownloads>1</d2p1:NumDownloads>
        <d2p1:PromotionCode>sample string 2</d2p1:PromotionCode>
        <d2p1:PromotionTitle>sample string 3</d2p1:PromotionTitle>
        <d2p1:UrlImage>sample string 4</d2p1:UrlImage>
      </d2p1:GeneratiosByCoupon>
    </d2p1:Data>
    <d2p1:Id>a04d3b4a-3056-4dd9-85eb-8f22ba3db4c7</d2p1:Id>
  </Result>
</SingleResultResponseOfWidgetWithDataDtoOfArrayOfGeneratiosByCoupondOvjT49_PdOvjT49_P>