POST api/PromotionsInfo

Get monthly promotions (descriptions, images etc.)

Request Information

Parameters

NameDescriptionAdditional information
request

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "WhiteLabelId": 1,
  "Tracker": 1,
  "Dynamic": "sample string 2",
  "ClickId": "sample string 3",
  "Language": "sample string 4",
  "Country": "sample string 5",
  "Platform": "sample string 6",
  "PlayMode": "sample string 7",
  "IsLoggedIn": true,
  "DepositCount": 9,
  "IsExcludeTerms": true,
  "ExcludeContent": "sample string 11"
}

application/xml, text/xml

Sample:
<GetPromotionsRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PlayCode.DataContracts.Content">
  <ClickId>sample string 3</ClickId>
  <Country>sample string 5</Country>
  <DepositCount>9</DepositCount>
  <Dynamic>sample string 2</Dynamic>
  <ExcludeContent>sample string 11</ExcludeContent>
  <IsExcludeTerms>true</IsExcludeTerms>
  <IsLoggedIn>true</IsLoggedIn>
  <Language>sample string 4</Language>
  <Platform>sample string 6</Platform>
  <PlayMode>sample string 7</PlayMode>
  <Tracker>1</Tracker>
  <WhiteLabelId>1</WhiteLabelId>
</GetPromotionsRequest>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'GetPromotionsRequest'.

Response Information

Response body formats

application/json, text/json

Sample:
[
  {
    "id": 1,
    "code": "sample string 2",
    "imageCode": "sample string 3",
    "imageExtension": "sample string 4",
    "name": "sample string 5",
    "title": "sample string 6",
    "subTitle": "sample string 7",
    "htmlSummary": "sample string 8",
    "html": "sample string 9",
    "html2": "sample string 10",
    "imageNormalUrl": "sample string 11",
    "imagePortraitUrl": "sample string 12",
    "imageSmallUrl": "sample string 13",
    "imageUrl": "sample string 14",
    "bigImageUrl": "sample string 15",
    "isActive": true,
    "isExtrusive": true,
    "isWelcome": true,
    "showDisclaimer": true,
    "disclaimer": "sample string 19",
    "orderIndex": 1,
    "show2Real": true,
    "show2Fun": true,
    "showAction": true,
    "showInLobby": true,
    "showInGame": true,
    "showInPromotionPage": true,
    "promotionCode": "sample string 26",
    "isCasino": true,
    "isSport": true,
    "depositCount": 1,
    "updatedDt": "2024-11-21T09:52:19.6271978+00:00"
  },
  {
    "id": 1,
    "code": "sample string 2",
    "imageCode": "sample string 3",
    "imageExtension": "sample string 4",
    "name": "sample string 5",
    "title": "sample string 6",
    "subTitle": "sample string 7",
    "htmlSummary": "sample string 8",
    "html": "sample string 9",
    "html2": "sample string 10",
    "imageNormalUrl": "sample string 11",
    "imagePortraitUrl": "sample string 12",
    "imageSmallUrl": "sample string 13",
    "imageUrl": "sample string 14",
    "bigImageUrl": "sample string 15",
    "isActive": true,
    "isExtrusive": true,
    "isWelcome": true,
    "showDisclaimer": true,
    "disclaimer": "sample string 19",
    "orderIndex": 1,
    "show2Real": true,
    "show2Fun": true,
    "showAction": true,
    "showInLobby": true,
    "showInGame": true,
    "showInPromotionPage": true,
    "promotionCode": "sample string 26",
    "isCasino": true,
    "isSport": true,
    "depositCount": 1,
    "updatedDt": "2024-11-21T09:52:19.6271978+00:00"
  },
  {
    "id": 1,
    "code": "sample string 2",
    "imageCode": "sample string 3",
    "imageExtension": "sample string 4",
    "name": "sample string 5",
    "title": "sample string 6",
    "subTitle": "sample string 7",
    "htmlSummary": "sample string 8",
    "html": "sample string 9",
    "html2": "sample string 10",
    "imageNormalUrl": "sample string 11",
    "imagePortraitUrl": "sample string 12",
    "imageSmallUrl": "sample string 13",
    "imageUrl": "sample string 14",
    "bigImageUrl": "sample string 15",
    "isActive": true,
    "isExtrusive": true,
    "isWelcome": true,
    "showDisclaimer": true,
    "disclaimer": "sample string 19",
    "orderIndex": 1,
    "show2Real": true,
    "show2Fun": true,
    "showAction": true,
    "showInLobby": true,
    "showInGame": true,
    "showInPromotionPage": true,
    "promotionCode": "sample string 26",
    "isCasino": true,
    "isSport": true,
    "depositCount": 1,
    "updatedDt": "2024-11-21T09:52:19.6271978+00:00"
  }
]

application/xml, text/xml

Sample:
<ArrayOfPromotionInfoModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PlayCode.DataContracts.Content">
  <PromotionInfoModel>
    <BigImageUrl>sample string 15</BigImageUrl>
    <Code>sample string 2</Code>
    <DepositCount>1</DepositCount>
    <Disclaimer>sample string 19</Disclaimer>
    <Html>sample string 9</Html>
    <Html2>sample string 10</Html2>
    <HtmlSummary>sample string 8</HtmlSummary>
    <Id>1</Id>
    <ImageCode>sample string 3</ImageCode>
    <ImageExtension>sample string 4</ImageExtension>
    <ImageNormalUrl>sample string 11</ImageNormalUrl>
    <ImagePortraitUrl>sample string 12</ImagePortraitUrl>
    <ImageSmallUrl>sample string 13</ImageSmallUrl>
    <ImageUrl>sample string 14</ImageUrl>
    <IsActive>true</IsActive>
    <IsCasino>true</IsCasino>
    <IsExtrusive>true</IsExtrusive>
    <IsSport>true</IsSport>
    <IsWelcome>true</IsWelcome>
    <Name>sample string 5</Name>
    <OrderIndex>1</OrderIndex>
    <PromotionCode>sample string 26</PromotionCode>
    <Show2Fun>true</Show2Fun>
    <Show2Real>true</Show2Real>
    <ShowAction>true</ShowAction>
    <ShowDisclaimer>true</ShowDisclaimer>
    <ShowInGame>true</ShowInGame>
    <ShowInLobby>true</ShowInLobby>
    <ShowInPromotionPage>true</ShowInPromotionPage>
    <SubTitle>sample string 7</SubTitle>
    <Title>sample string 6</Title>
    <UpdatedDt>2024-11-21T09:52:19.6271978+00:00</UpdatedDt>
  </PromotionInfoModel>
  <PromotionInfoModel>
    <BigImageUrl>sample string 15</BigImageUrl>
    <Code>sample string 2</Code>
    <DepositCount>1</DepositCount>
    <Disclaimer>sample string 19</Disclaimer>
    <Html>sample string 9</Html>
    <Html2>sample string 10</Html2>
    <HtmlSummary>sample string 8</HtmlSummary>
    <Id>1</Id>
    <ImageCode>sample string 3</ImageCode>
    <ImageExtension>sample string 4</ImageExtension>
    <ImageNormalUrl>sample string 11</ImageNormalUrl>
    <ImagePortraitUrl>sample string 12</ImagePortraitUrl>
    <ImageSmallUrl>sample string 13</ImageSmallUrl>
    <ImageUrl>sample string 14</ImageUrl>
    <IsActive>true</IsActive>
    <IsCasino>true</IsCasino>
    <IsExtrusive>true</IsExtrusive>
    <IsSport>true</IsSport>
    <IsWelcome>true</IsWelcome>
    <Name>sample string 5</Name>
    <OrderIndex>1</OrderIndex>
    <PromotionCode>sample string 26</PromotionCode>
    <Show2Fun>true</Show2Fun>
    <Show2Real>true</Show2Real>
    <ShowAction>true</ShowAction>
    <ShowDisclaimer>true</ShowDisclaimer>
    <ShowInGame>true</ShowInGame>
    <ShowInLobby>true</ShowInLobby>
    <ShowInPromotionPage>true</ShowInPromotionPage>
    <SubTitle>sample string 7</SubTitle>
    <Title>sample string 6</Title>
    <UpdatedDt>2024-11-21T09:52:19.6271978+00:00</UpdatedDt>
  </PromotionInfoModel>
  <PromotionInfoModel>
    <BigImageUrl>sample string 15</BigImageUrl>
    <Code>sample string 2</Code>
    <DepositCount>1</DepositCount>
    <Disclaimer>sample string 19</Disclaimer>
    <Html>sample string 9</Html>
    <Html2>sample string 10</Html2>
    <HtmlSummary>sample string 8</HtmlSummary>
    <Id>1</Id>
    <ImageCode>sample string 3</ImageCode>
    <ImageExtension>sample string 4</ImageExtension>
    <ImageNormalUrl>sample string 11</ImageNormalUrl>
    <ImagePortraitUrl>sample string 12</ImagePortraitUrl>
    <ImageSmallUrl>sample string 13</ImageSmallUrl>
    <ImageUrl>sample string 14</ImageUrl>
    <IsActive>true</IsActive>
    <IsCasino>true</IsCasino>
    <IsExtrusive>true</IsExtrusive>
    <IsSport>true</IsSport>
    <IsWelcome>true</IsWelcome>
    <Name>sample string 5</Name>
    <OrderIndex>1</OrderIndex>
    <PromotionCode>sample string 26</PromotionCode>
    <Show2Fun>true</Show2Fun>
    <Show2Real>true</Show2Real>
    <ShowAction>true</ShowAction>
    <ShowDisclaimer>true</ShowDisclaimer>
    <ShowInGame>true</ShowInGame>
    <ShowInLobby>true</ShowInLobby>
    <ShowInPromotionPage>true</ShowInPromotionPage>
    <SubTitle>sample string 7</SubTitle>
    <Title>sample string 6</Title>
    <UpdatedDt>2024-11-21T09:52:19.6271978+00:00</UpdatedDt>
  </PromotionInfoModel>
</ArrayOfPromotionInfoModel>