POST api/sertcard/SitePageSertOwner

Получение конфига для страницы "Сайт получателя сертификата"

Request Information

URI Parameters

None.

Body Parameters

SitePageSertOwnerRequest
NameDescriptionTypeAdditional information
Theme

Наименование темы

string

None.

PageType

Наименование типа страницы

string

None.

Operator

Идентификатор оператора программы лояльности

integer

None.

Token

Токен пользователя, который инициирует данный запрос

integer

None.

SiteCode

Уникальный код виджета по продаже подарочных сертификатов, который инициирует запрос

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Theme": "sample string 1",
  "PageType": "sample string 2",
  "Operator": 1,
  "Token": 1,
  "SiteCode": "sample string 3"
}

application/xml, text/xml

Sample:
<SitePageSertOwnerRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LCManagerPartner.Implementation.Request.SertCardRequest">
  <Operator xmlns="http://schemas.datacontract.org/2004/07/LCManagerPartner.Implementation.Abstractions">1</Operator>
  <SiteCode xmlns="http://schemas.datacontract.org/2004/07/LCManagerPartner.Implementation.Abstractions">sample string 3</SiteCode>
  <Token xmlns="http://schemas.datacontract.org/2004/07/LCManagerPartner.Implementation.Abstractions">1</Token>
  <PageType>sample string 2</PageType>
  <Theme>sample string 1</Theme>
</SitePageSertOwnerRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

SitePageSertOwnerResponse
NameDescriptionTypeAdditional information
LogoHeader

Лого продавца сертификата, в хедере сайта

string

None.

SertCard

Сертификат

SitePageSertOwnerSertCard

None.

SaveOptions

Сохраненные параметры

SitePageSertOwnerSaveOptions

None.

SertRules

Правила использования

SitePageSertOwnerSertRules

None.

SertFaq

Часто задаваемые вопросы

SitePageSertOwnerSertFaq

None.

SertBotsUrl

Ссылки на ботов соц. сетей

SitePageSertOwnerSertBotsUrl

None.

ErrorCode

Код ошибки

integer

None.

Message

Сообщение об ошибке

string

None.

Response Formats

application/json, text/json

Sample:
{
  "LogoHeader": "sample string 1",
  "SertCard": {
    "Header": "sample string 1",
    "ExpDate": "2022-08-14T15:25:18.4983975+03:00",
    "Congratulation": "sample string 2",
    "Image": "sample string 3",
    "Nominal": 1.0,
    "Number": "sample string 4",
    "SecretCode": "sample string 5",
    "BarCode": "sample string 6"
  },
  "SaveOptions": {
    "Wallet": true,
    "WalletUrl": "sample string 1",
    "GooglePay": true,
    "GooglePayUrl": "sample string 2",
    "Telegram": true,
    "TelegramUrl": "sample string 3",
    "PrintAction": true,
    "DocumentUrl": "sample string 4",
    "ButtonAction": true,
    "Galery": true,
    "Email": true
  },
  "SertRules": {
    "Header": "sample string 1",
    "ButtonUrl": "sample string 2",
    "Steps": {
      "Step1": "sample string 1",
      "Step2": "sample string 2",
      "Step3": "sample string 3",
      "Step4": "sample string 4",
      "Step5": "sample string 5"
    }
  },
  "SertFaq": {
    "Header": "sample string 1",
    "ButtonUrl": "sample string 2"
  },
  "SertBotsUrl": {
    "Telegram": "sample string 1",
    "Viber": "sample string 2",
    "VK": "sample string 3",
    "Whatsapp": "sample string 4"
  },
  "ErrorCode": 2,
  "Message": "sample string 3"
}

application/xml, text/xml

Sample:
<SitePageSertOwnerResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LCManagerPartner.Implementation.Response.SertCardResponse">
  <ErrorCode xmlns="http://schemas.datacontract.org/2004/07/LCManagerPartner.Implementation.Abstractions">2</ErrorCode>
  <Message xmlns="http://schemas.datacontract.org/2004/07/LCManagerPartner.Implementation.Abstractions">sample string 3</Message>
  <LogoHeader>sample string 1</LogoHeader>
  <SaveOptions>
    <ButtonAction>true</ButtonAction>
    <DocumentUrl>sample string 4</DocumentUrl>
    <Email>true</Email>
    <Galery>true</Galery>
    <GooglePay>true</GooglePay>
    <GooglePayUrl>sample string 2</GooglePayUrl>
    <PrintAction>true</PrintAction>
    <Telegram>true</Telegram>
    <TelegramUrl>sample string 3</TelegramUrl>
    <Wallet>true</Wallet>
    <WalletUrl>sample string 1</WalletUrl>
  </SaveOptions>
  <SertBotsUrl>
    <Telegram>sample string 1</Telegram>
    <VK>sample string 3</VK>
    <Viber>sample string 2</Viber>
    <Whatsapp>sample string 4</Whatsapp>
  </SertBotsUrl>
  <SertCard>
    <BarCode>sample string 6</BarCode>
    <Congratulation>sample string 2</Congratulation>
    <ExpDate>2022-08-14T15:25:18.4983975+03:00</ExpDate>
    <Header>sample string 1</Header>
    <Image>sample string 3</Image>
    <Nominal>1</Nominal>
    <Number>sample string 4</Number>
    <SecretCode>sample string 5</SecretCode>
  </SertCard>
  <SertFaq>
    <ButtonUrl>sample string 2</ButtonUrl>
    <Header>sample string 1</Header>
  </SertFaq>
  <SertRules>
    <ButtonUrl>sample string 2</ButtonUrl>
    <Header>sample string 1</Header>
    <Steps>
      <Step1>sample string 1</Step1>
      <Step2>sample string 2</Step2>
      <Step3>sample string 3</Step3>
      <Step4>sample string 4</Step4>
      <Step5>sample string 5</Step5>
    </Steps>
  </SertRules>
</SitePageSertOwnerResponse>