GET rest/defaultcouponsettings/{partnerId}

Returns the default coupon settings for the first partner id in the JWT token.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
partnerId

integer

Required

Body Parameters

None.

Response Information

Resource Description

A object with the default settings.

DefaultCouponSetting
NameDescriptionTypeAdditional information
lastModified

Gets or sets the LastModifiedUtc.

date

None.

created

Gets or sets the RegDateUtc.

date

None.

LogoImageUrl

Gets or sets the default logo for the coupons in data url format like 'data:image/png;base64,AAQSkZJRgABAg...'.

string

None.

RedeemButtonText

Gets or sets the default text to use on the redeem button on coupons.

string

Max length: 20

RedeemButtonTextColor

Gets or sets the default text color on the redeem button on coupons.

string

Max length: 28

RedeemButtonBackgroundColor

Gets or sets the default background color on the redeem button on coupons.

string

Max length: 28

RedeemCancelButtonText

Gets or sets the default text on the Cancel button in the redeem confirmation dialog for coupons.

string

Max length: 20

RedeemOkButtonText

Gets or sets the default text on the OK button in the redeem confirmation dialog for coupons.

string

Max length: 20

RedeemWarningMessage

Gets or sets the default warning text in the redeem confirmation dialog for coupons.

string

Max length: -1

ThumbnailButtonText

Gets or sets the default text on the "View coupon" button for all coupons in a coupon book.

string

Max length: 20

ThumbnailButtonTextColor

Gets or sets the default text color on the "View coupon" button for all coupons in a coupon book.

string

Max length: 28

ThumbnailButtonBackgroundColor

Gets or sets the background color on the "View coupon" button for all coupons in a coupon book.

string

Max length: 28

Response Formats

application/json, text/json

Sample:
{
  "lastModified": 1532213500500,
  "created": 1532213500500,
  "logoImageUrl": "sample string 4",
  "redeemButtonText": "sample string 5",
  "redeemButtonTextColor": "sample string 6",
  "redeemButtonBackgroundColor": "sample string 7",
  "redeemCancelButtonText": "sample string 8",
  "redeemOkButtonText": "sample string 9",
  "redeemWarningMessage": "sample string 10",
  "thumbnailButtonText": "sample string 11",
  "thumbnailButtonTextColor": "sample string 12",
  "thumbnailButtonBackgroundColor": "sample string 13"
}

application/xml, text/xml

Sample:
<DefaultCouponSetting xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.linkmobility.com/common/coupons">
  <LogoImageUrl>sample string 4</LogoImageUrl>
  <RedeemButtonBackgroundColor>sample string 7</RedeemButtonBackgroundColor>
  <RedeemButtonText>sample string 5</RedeemButtonText>
  <RedeemButtonTextColor>sample string 6</RedeemButtonTextColor>
  <RedeemCancelButtonText>sample string 8</RedeemCancelButtonText>
  <RedeemOkButtonText>sample string 9</RedeemOkButtonText>
  <RedeemWarningMessage>sample string 10</RedeemWarningMessage>
  <ThumbnailButtonBackgroundColor>sample string 13</ThumbnailButtonBackgroundColor>
  <ThumbnailButtonText>sample string 11</ThumbnailButtonText>
  <ThumbnailButtonTextColor>sample string 12</ThumbnailButtonTextColor>
  <created>2018-07-21T22:51:40.5009249+00:00</created>
  <lastModified>2018-07-21T22:51:40.5009249+00:00</lastModified>
</DefaultCouponSetting>