POST AdminApi/Promotion/SavePrmtInfo

Request Information

URI Parameters

None.

Body Parameters

PromotionView
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

CopyId

globally unique identifier

None.

Lang

Language

None.

LangDesc

string

None.

ImgName

string

None.

ImgPath

string

None.

ClientTypeName

string

None.

ClientType

ClientSideType

None.

Seq

integer

None.

Name

string

None.

Desc

string

None.

AppBackColor

string

None.

AppTitleColor

string

None.

AppItemColor

string

None.

Page

string

None.

PageDesc

string

None.

IsActive

boolean

None.

PrmtBannerLst

Collection of PrmtBannerView

None.

PrmtBannerCount

integer

None.

PrmtProductLst

Collection of PrmtProductView

None.

PrmtProductCount

integer

None.

IsDeleted

boolean

None.

RecStatus

RecordStatus

None.

AppStyleId

globally unique identifier

None.

AppStyle

PromotionAppStyle

None.

AppLayoutId

globally unique identifier

None.

AppLayoutType

AppPrmtLayoutType

None.

StyleId

globally unique identifier

None.

Style

PromotionStyle

None.

BrowerLayoutId

globally unique identifier

None.

CoverType

PrmtCoverLayoutType

None.

HeaderType

PrmtHeaderLayoutType

None.

BorderType

PrmtBorderLayoutType

None.

ProductLstType

PrmtProductLstLayoutType

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "b0e56369-0877-40ae-b3bb-1d0f2b6f64d3",
  "CopyId": "09d97b69-11de-436c-b4c2-0388ee4ab67c",
  "Lang": 0,
  "LangDesc": "sample string 3",
  "ImgName": "sample string 4",
  "ImgPath": "sample string 5",
  "ClientTypeName": "sample string 6",
  "ClientType": 0,
  "Seq": 7,
  "Name": "sample string 8",
  "Desc": "sample string 9",
  "AppBackColor": "sample string 10",
  "AppTitleColor": "sample string 11",
  "AppItemColor": "sample string 12",
  "Page": "sample string 13",
  "PageDesc": "sample string 14",
  "IsActive": true,
  "PrmtBannerLst": [
    {
      "Id": "c971dd39-021a-44a4-993f-6d57fa20aa05",
      "PrmtID": "d534f324-8709-4075-bd99-ecf925d01d73",
      "ImgName": "sample string 3",
      "ImgPath": "sample string 4",
      "Url": "sample string 5",
      "ImgW": 6,
      "ImgH": 7,
      "Seq": 8,
      "NewSeq": 9,
      "ContentDesc": "sample string 10",
      "RecStatus": 0
    },
    {
      "Id": "c971dd39-021a-44a4-993f-6d57fa20aa05",
      "PrmtID": "d534f324-8709-4075-bd99-ecf925d01d73",
      "ImgName": "sample string 3",
      "ImgPath": "sample string 4",
      "Url": "sample string 5",
      "ImgW": 6,
      "ImgH": 7,
      "Seq": 8,
      "NewSeq": 9,
      "ContentDesc": "sample string 10",
      "RecStatus": 0
    }
  ],
  "PrmtBannerCount": 16,
  "PrmtProductLst": [
    {
      "Id": "4c2efd1d-def4-4125-8f45-fdf52c506b07",
      "PromotionId": "fa04545f-27aa-4807-b1e2-fd00d9c054af",
      "ProductId": "8d5d3e44-8000-4d53-8970-df6048d74f95",
      "ProdCode": "sample string 4",
      "ProdName": "sample string 5",
      "ImgPath": "sample string 6",
      "PmsnId": 7,
      "Seq": 8,
      "NewSeq": 9,
      "RecStatus": 0
    },
    {
      "Id": "4c2efd1d-def4-4125-8f45-fdf52c506b07",
      "PromotionId": "fa04545f-27aa-4807-b1e2-fd00d9c054af",
      "ProductId": "8d5d3e44-8000-4d53-8970-df6048d74f95",
      "ProdCode": "sample string 4",
      "ProdName": "sample string 5",
      "ImgPath": "sample string 6",
      "PmsnId": 7,
      "Seq": 8,
      "NewSeq": 9,
      "RecStatus": 0
    }
  ],
  "PrmtProductCount": 17,
  "IsDeleted": true,
  "RecStatus": 0,
  "AppStyleId": "9699c829-0d16-4c1c-8a05-6c2d5265e082",
  "AppStyle": {
    "Type": 0,
    "Name": "sample string 1",
    "NameList": [
      {
        "Lang": {
          "Text": "sample string 1",
          "Code": "sample string 2",
          "Id": 3
        },
        "Language": 0,
        "Desc": "sample string 1"
      },
      {
        "Lang": {
          "Text": "sample string 1",
          "Code": "sample string 2",
          "Id": 3
        },
        "Language": 0,
        "Desc": "sample string 1"
      }
    ],
    "BackColor": "sample string 2",
    "FontColor": "sample string 3",
    "TitleBgColor": "sample string 4",
    "TitleFontColor": "sample string 5",
    "ItemBgColor": "sample string 6",
    "SummaryFontColor": "sample string 7",
    "Id": "af4679bb-0426-4acb-86d7-44f0dbdca441",
    "ClientId": "8188b89f-5db3-4ed0-b248-a692eea7ae03",
    "IsActive": true,
    "IsDeleted": true,
    "CreateDate": "2021-05-13 17:46:51",
    "UpdateDate": "2021-05-13 17:46:51",
    "CreateBy": "48cdeb63-1637-4037-9654-4e6e373d910f",
    "UpdateBy": "71ecf0b6-9e3b-4afb-ae75-cc7aa09d60c5"
  },
  "AppLayoutId": "080ba265-5e57-45e5-931c-a9feff6fe607",
  "AppLayoutType": 0,
  "StyleId": "93f3c86e-790b-497a-9afd-3ee33994ca61",
  "Style": {
    "Type": 0,
    "Name": "sample string 1",
    "NameList": [
      {
        "Lang": {
          "Text": "sample string 1",
          "Code": "sample string 2",
          "Id": 3
        },
        "Language": 0,
        "Desc": "sample string 1"
      },
      {
        "Lang": {
          "Text": "sample string 1",
          "Code": "sample string 2",
          "Id": 3
        },
        "Language": 0,
        "Desc": "sample string 1"
      }
    ],
    "Color1": "sample string 2",
    "Color2": "sample string 3",
    "Color3": "sample string 4",
    "Color4": "sample string 5",
    "Color5": "sample string 6",
    "Color6": "sample string 7",
    "Color7": "sample string 8",
    "Color8": "sample string 9",
    "Color9": "sample string 10",
    "Color10": "sample string 11",
    "Id": "363b0e7d-b3c9-41f6-9c59-a8c8ad1bcf15",
    "ClientId": "a0ce88f5-df7e-4c99-a75d-7b7de1f82db4",
    "IsActive": true,
    "IsDeleted": true,
    "CreateDate": "2021-05-13 17:46:51",
    "UpdateDate": "2021-05-13 17:46:51",
    "CreateBy": "ac91b812-fb6c-4275-a6c5-4f63b17f5846",
    "UpdateBy": "a4f2e59c-5e7d-4718-868e-efa42c173900"
  },
  "BrowerLayoutId": "e55898f0-af3f-4ae8-be63-259173d51625",
  "CoverType": 0,
  "HeaderType": 0,
  "BorderType": 0,
  "ProductLstType": 0
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

SystemResult
NameDescriptionTypeAdditional information
Succeeded

boolean

None.

Message

string

None.

ReturnValue

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "Succeeded": true,
  "Message": "sample string 2",
  "ReturnValue": {}
}