GET AdminApi/Promotion/GetPrmtInfo?Id={Id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Id

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

PromotionView
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

PageId

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.

IsActiveDesc

string

None.

PrmtBannerLst

Collection of PrmtBannerView

None.

PrmtBannerCount

integer

None.

PrmtProductLst

Collection of PrmtProductView

None.

PrmtMerchantLst

Collection of PrmtMerchantView

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.

PrmtLstType

PrmtLayoutType

None.

MultiLanguage

Collection of MutiLanguage

None.

PromotionDetails

Collection of PromotionDetailView

None.

CreateDate

date

None.

CreateDateStr

string

None.

UpdateDate

date

None.

UpdateDateStr

string

None.

IspType

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": "2ecc10a2-6367-4595-a0b1-44fa3e841abd",
  "PageId": "36673398-7300-4963-a4ea-63cfd062d38d",
  "CopyId": "888efdf9-465d-48d6-9da5-0078cc96bddb",
  "Lang": 0,
  "LangDesc": "sample string 4",
  "ImgName": "sample string 5",
  "ImgPath": "sample string 6",
  "ClientTypeName": "sample string 7",
  "ClientType": 0,
  "Seq": 8,
  "Name": "sample string 9",
  "Desc": "sample string 10",
  "AppBackColor": "sample string 11",
  "AppTitleColor": "sample string 12",
  "AppItemColor": "sample string 13",
  "Page": "sample string 14",
  "PageDesc": "sample string 15",
  "IsActive": true,
  "IsActiveDesc": "是",
  "PrmtBannerLst": [
    {
      "Id": "2235c3d0-dba4-4fc9-acdb-9525a1960dd6",
      "PrmtID": "9900b6d7-48a7-4b85-9b99-9ab7469c91b8",
      "ImgName": "sample string 3",
      "Image": "sample string 4",
      "ImgPath": "sample string 5",
      "Url": "sample string 6",
      "ImgW": 7,
      "ImgH": 8,
      "Seq": 9,
      "NewSeq": 10,
      "ContentDesc": "sample string 11",
      "RecStatus": 0,
      "IsActive": true,
      "IsDeleted": true
    },
    {
      "Id": "2235c3d0-dba4-4fc9-acdb-9525a1960dd6",
      "PrmtID": "9900b6d7-48a7-4b85-9b99-9ab7469c91b8",
      "ImgName": "sample string 3",
      "Image": "sample string 4",
      "ImgPath": "sample string 5",
      "Url": "sample string 6",
      "ImgW": 7,
      "ImgH": 8,
      "Seq": 9,
      "NewSeq": 10,
      "ContentDesc": "sample string 11",
      "RecStatus": 0,
      "IsActive": true,
      "IsDeleted": true
    }
  ],
  "PrmtBannerCount": 17,
  "PrmtProductLst": [
    {
      "Id": "d1dc616c-7918-429b-a81a-926ce7689277",
      "PromotionId": "d80a331a-42c1-49bf-9bc2-194950f44222",
      "ProductId": "c98ac598-3cfb-4a4a-a781-259440d4b5a7",
      "ProdCode": "sample string 4",
      "ProdName": "sample string 5",
      "ImgPath": "sample string 6",
      "PmsnId": 7,
      "Seq": 8,
      "NewSeq": 9,
      "RecStatus": 0,
      "IsActive": true,
      "IsDeleted": true
    },
    {
      "Id": "d1dc616c-7918-429b-a81a-926ce7689277",
      "PromotionId": "d80a331a-42c1-49bf-9bc2-194950f44222",
      "ProductId": "c98ac598-3cfb-4a4a-a781-259440d4b5a7",
      "ProdCode": "sample string 4",
      "ProdName": "sample string 5",
      "ImgPath": "sample string 6",
      "PmsnId": 7,
      "Seq": 8,
      "NewSeq": 9,
      "RecStatus": 0,
      "IsActive": true,
      "IsDeleted": true
    }
  ],
  "PrmtMerchantLst": [
    {
      "Id": "c79cdd0f-3637-4f86-b67a-b9e195b109ed",
      "PromotionId": "7d66527b-f671-4e8e-b825-4a5159fb77a2",
      "MerchantId": "bdf16fe2-261a-420e-9182-0d1b064ad878",
      "MerchantNo": "sample string 4",
      "MerchantName": "sample string 5",
      "BigLogo": "sample string 6",
      "SmallLogo": "sample string 7",
      "Seq": 8,
      "NewSeq": 9,
      "RecStatus": 0,
      "IsActive": true,
      "IsDeleted": true
    },
    {
      "Id": "c79cdd0f-3637-4f86-b67a-b9e195b109ed",
      "PromotionId": "7d66527b-f671-4e8e-b825-4a5159fb77a2",
      "MerchantId": "bdf16fe2-261a-420e-9182-0d1b064ad878",
      "MerchantNo": "sample string 4",
      "MerchantName": "sample string 5",
      "BigLogo": "sample string 6",
      "SmallLogo": "sample string 7",
      "Seq": 8,
      "NewSeq": 9,
      "RecStatus": 0,
      "IsActive": true,
      "IsDeleted": true
    }
  ],
  "PrmtProductCount": 18,
  "IsDeleted": true,
  "RecStatus": 0,
  "AppStyleId": "08169a08-ebb7-4c9e-a7d7-6320b7c73cce",
  "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": "7d97ca7b-01fe-46ef-8963-3b526f829988",
    "ClientId": "74f974c4-ca58-4992-9c87-70e82a4e2e69",
    "IsActive": true,
    "IsDeleted": true,
    "CreateDate": "2025-10-28 19:04:18",
    "UpdateDate": "2025-10-28 19:04:18",
    "CreateBy": "12901d6e-d4a6-41f3-a5c9-d18b05e517aa",
    "UpdateBy": "5ac392b1-a918-47fe-85a7-a4178d827e22"
  },
  "AppLayoutId": "bf96fe6c-ad48-4694-a9b2-a84634d22fbb",
  "AppLayoutType": 0,
  "StyleId": "ae2ea12b-bab9-42ba-82ca-9b86f24c5e07",
  "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": "e16f2536-391a-44a4-a801-f73c1449da73",
    "ClientId": "5786a458-65d6-4751-a73f-40b9ffd93d0f",
    "IsActive": true,
    "IsDeleted": true,
    "CreateDate": "2025-10-28 19:04:18",
    "UpdateDate": "2025-10-28 19:04:18",
    "CreateBy": "ceffe50a-8352-426c-90da-b3d3ba1dffbb",
    "UpdateBy": "7dbbaf26-6f15-4c44-8420-3079c568c77e"
  },
  "BrowerLayoutId": "2503a4e1-4c37-4e11-b973-dda03047bb9c",
  "CoverType": 0,
  "HeaderType": 0,
  "BorderType": 0,
  "ProductLstType": 0,
  "PrmtLstType": 0,
  "MultiLanguage": [
    {
      "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"
    }
  ],
  "PromotionDetails": [
    {
      "Id": "31e430a1-3e95-4986-9171-ca3d8ba9ca3c",
      "PrmtId": "8875f95e-9015-4d1f-af73-a86564d52e95",
      "LangType": 0,
      "LangCode": "E",
      "Name": "sample string 3",
      "Desc": "sample string 4",
      "ImgPath": "sample string 5",
      "Image": "sample string 6",
      "ImgName": "sample string 7",
      "Lang": 0,
      "LangDesc": "sample string 8",
      "CondLangType": 0,
      "PrmtBannerLst": [
        {
          "Id": "2235c3d0-dba4-4fc9-acdb-9525a1960dd6",
          "PrmtID": "9900b6d7-48a7-4b85-9b99-9ab7469c91b8",
          "ImgName": "sample string 3",
          "Image": "sample string 4",
          "ImgPath": "sample string 5",
          "Url": "sample string 6",
          "ImgW": 7,
          "ImgH": 8,
          "Seq": 9,
          "NewSeq": 10,
          "ContentDesc": "sample string 11",
          "RecStatus": 0,
          "IsActive": true,
          "IsDeleted": true
        },
        {
          "Id": "2235c3d0-dba4-4fc9-acdb-9525a1960dd6",
          "PrmtID": "9900b6d7-48a7-4b85-9b99-9ab7469c91b8",
          "ImgName": "sample string 3",
          "Image": "sample string 4",
          "ImgPath": "sample string 5",
          "Url": "sample string 6",
          "ImgW": 7,
          "ImgH": 8,
          "Seq": 9,
          "NewSeq": 10,
          "ContentDesc": "sample string 11",
          "RecStatus": 0,
          "IsActive": true,
          "IsDeleted": true
        }
      ],
      "PrmtProductLst": [
        {
          "Id": "d1dc616c-7918-429b-a81a-926ce7689277",
          "PromotionId": "d80a331a-42c1-49bf-9bc2-194950f44222",
          "ProductId": "c98ac598-3cfb-4a4a-a781-259440d4b5a7",
          "ProdCode": "sample string 4",
          "ProdName": "sample string 5",
          "ImgPath": "sample string 6",
          "PmsnId": 7,
          "Seq": 8,
          "NewSeq": 9,
          "RecStatus": 0,
          "IsActive": true,
          "IsDeleted": true
        },
        {
          "Id": "d1dc616c-7918-429b-a81a-926ce7689277",
          "PromotionId": "d80a331a-42c1-49bf-9bc2-194950f44222",
          "ProductId": "c98ac598-3cfb-4a4a-a781-259440d4b5a7",
          "ProdCode": "sample string 4",
          "ProdName": "sample string 5",
          "ImgPath": "sample string 6",
          "PmsnId": 7,
          "Seq": 8,
          "NewSeq": 9,
          "RecStatus": 0,
          "IsActive": true,
          "IsDeleted": true
        }
      ],
      "PrmtMerchantLst": [
        {
          "Id": "c79cdd0f-3637-4f86-b67a-b9e195b109ed",
          "PromotionId": "7d66527b-f671-4e8e-b825-4a5159fb77a2",
          "MerchantId": "bdf16fe2-261a-420e-9182-0d1b064ad878",
          "MerchantNo": "sample string 4",
          "MerchantName": "sample string 5",
          "BigLogo": "sample string 6",
          "SmallLogo": "sample string 7",
          "Seq": 8,
          "NewSeq": 9,
          "RecStatus": 0,
          "IsActive": true,
          "IsDeleted": true
        },
        {
          "Id": "c79cdd0f-3637-4f86-b67a-b9e195b109ed",
          "PromotionId": "7d66527b-f671-4e8e-b825-4a5159fb77a2",
          "MerchantId": "bdf16fe2-261a-420e-9182-0d1b064ad878",
          "MerchantNo": "sample string 4",
          "MerchantName": "sample string 5",
          "BigLogo": "sample string 6",
          "SmallLogo": "sample string 7",
          "Seq": 8,
          "NewSeq": 9,
          "RecStatus": 0,
          "IsActive": true,
          "IsDeleted": true
        }
      ],
      "CreateDate": "2025-10-28 19:04:18",
      "CreateDateStr": "2025-10-28 19:04:18",
      "UpdateDate": "2025-10-28 19:04:18",
      "UpdateDateStr": "2025-10-28 19:04:18",
      "PrmtProductCount": 11,
      "PrmtBannerCount": 12,
      "PrmtMerchantCount": 13
    },
    {
      "Id": "31e430a1-3e95-4986-9171-ca3d8ba9ca3c",
      "PrmtId": "8875f95e-9015-4d1f-af73-a86564d52e95",
      "LangType": 0,
      "LangCode": "E",
      "Name": "sample string 3",
      "Desc": "sample string 4",
      "ImgPath": "sample string 5",
      "Image": "sample string 6",
      "ImgName": "sample string 7",
      "Lang": 0,
      "LangDesc": "sample string 8",
      "CondLangType": 0,
      "PrmtBannerLst": [
        {
          "Id": "2235c3d0-dba4-4fc9-acdb-9525a1960dd6",
          "PrmtID": "9900b6d7-48a7-4b85-9b99-9ab7469c91b8",
          "ImgName": "sample string 3",
          "Image": "sample string 4",
          "ImgPath": "sample string 5",
          "Url": "sample string 6",
          "ImgW": 7,
          "ImgH": 8,
          "Seq": 9,
          "NewSeq": 10,
          "ContentDesc": "sample string 11",
          "RecStatus": 0,
          "IsActive": true,
          "IsDeleted": true
        },
        {
          "Id": "2235c3d0-dba4-4fc9-acdb-9525a1960dd6",
          "PrmtID": "9900b6d7-48a7-4b85-9b99-9ab7469c91b8",
          "ImgName": "sample string 3",
          "Image": "sample string 4",
          "ImgPath": "sample string 5",
          "Url": "sample string 6",
          "ImgW": 7,
          "ImgH": 8,
          "Seq": 9,
          "NewSeq": 10,
          "ContentDesc": "sample string 11",
          "RecStatus": 0,
          "IsActive": true,
          "IsDeleted": true
        }
      ],
      "PrmtProductLst": [
        {
          "Id": "d1dc616c-7918-429b-a81a-926ce7689277",
          "PromotionId": "d80a331a-42c1-49bf-9bc2-194950f44222",
          "ProductId": "c98ac598-3cfb-4a4a-a781-259440d4b5a7",
          "ProdCode": "sample string 4",
          "ProdName": "sample string 5",
          "ImgPath": "sample string 6",
          "PmsnId": 7,
          "Seq": 8,
          "NewSeq": 9,
          "RecStatus": 0,
          "IsActive": true,
          "IsDeleted": true
        },
        {
          "Id": "d1dc616c-7918-429b-a81a-926ce7689277",
          "PromotionId": "d80a331a-42c1-49bf-9bc2-194950f44222",
          "ProductId": "c98ac598-3cfb-4a4a-a781-259440d4b5a7",
          "ProdCode": "sample string 4",
          "ProdName": "sample string 5",
          "ImgPath": "sample string 6",
          "PmsnId": 7,
          "Seq": 8,
          "NewSeq": 9,
          "RecStatus": 0,
          "IsActive": true,
          "IsDeleted": true
        }
      ],
      "PrmtMerchantLst": [
        {
          "Id": "c79cdd0f-3637-4f86-b67a-b9e195b109ed",
          "PromotionId": "7d66527b-f671-4e8e-b825-4a5159fb77a2",
          "MerchantId": "bdf16fe2-261a-420e-9182-0d1b064ad878",
          "MerchantNo": "sample string 4",
          "MerchantName": "sample string 5",
          "BigLogo": "sample string 6",
          "SmallLogo": "sample string 7",
          "Seq": 8,
          "NewSeq": 9,
          "RecStatus": 0,
          "IsActive": true,
          "IsDeleted": true
        },
        {
          "Id": "c79cdd0f-3637-4f86-b67a-b9e195b109ed",
          "PromotionId": "7d66527b-f671-4e8e-b825-4a5159fb77a2",
          "MerchantId": "bdf16fe2-261a-420e-9182-0d1b064ad878",
          "MerchantNo": "sample string 4",
          "MerchantName": "sample string 5",
          "BigLogo": "sample string 6",
          "SmallLogo": "sample string 7",
          "Seq": 8,
          "NewSeq": 9,
          "RecStatus": 0,
          "IsActive": true,
          "IsDeleted": true
        }
      ],
      "CreateDate": "2025-10-28 19:04:18",
      "CreateDateStr": "2025-10-28 19:04:18",
      "UpdateDate": "2025-10-28 19:04:18",
      "UpdateDateStr": "2025-10-28 19:04:18",
      "PrmtProductCount": 11,
      "PrmtBannerCount": 12,
      "PrmtMerchantCount": 13
    }
  ],
  "CreateDate": "2025-10-28 19:04:18",
  "CreateDateStr": "2025-10-28 19:04:18",
  "UpdateDate": "2025-10-28 19:04:18",
  "UpdateDateStr": "2025-10-28 19:04:18",
  "IspType": "sample string 22"
}