GET Api/Promotion/GetPrmtInfo/{Id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
PromotionView| Name | Description | Type | Additional 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": "9461118c-e1de-4411-8f94-bfb84a3bda43",
"PageId": "c86e614d-4961-4fe1-9732-8ee3a2885ca0",
"CopyId": "4b6dbcce-c75b-4002-a8e2-afc15aaf545b",
"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": "2a5087d5-4473-4efa-82d4-85923f4def35",
"PrmtID": "2a473bfa-d7f2-4ede-b760-27898b4995bd",
"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": "2a5087d5-4473-4efa-82d4-85923f4def35",
"PrmtID": "2a473bfa-d7f2-4ede-b760-27898b4995bd",
"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": "b8f0bda9-2aef-435e-aee0-34346a7c9e04",
"PromotionId": "30f28257-c8a8-4dd1-9c98-f8770f65dc9a",
"ProductId": "addd683b-21b3-498e-9512-efe2dab6cd9f",
"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": "b8f0bda9-2aef-435e-aee0-34346a7c9e04",
"PromotionId": "30f28257-c8a8-4dd1-9c98-f8770f65dc9a",
"ProductId": "addd683b-21b3-498e-9512-efe2dab6cd9f",
"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": "6fbad426-687a-4960-9396-7325cfef75d2",
"PromotionId": "3100f3e5-cc75-4185-97ff-bc58ff3f60ff",
"MerchantId": "3b5ab550-6d48-4359-aacf-16faa038e1ba",
"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": "6fbad426-687a-4960-9396-7325cfef75d2",
"PromotionId": "3100f3e5-cc75-4185-97ff-bc58ff3f60ff",
"MerchantId": "3b5ab550-6d48-4359-aacf-16faa038e1ba",
"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": "a72dfd1a-6a3c-40be-acfa-25bc5162a641",
"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": "a0f8cb22-154a-46bd-a91b-e4bb60f2812e",
"ClientId": "614eeb7e-4997-4e43-a4c6-e93c56af8e9b",
"IsActive": true,
"IsDeleted": true,
"CreateDate": "2025-10-28 19:06:23",
"UpdateDate": "2025-10-28 19:06:23",
"CreateBy": "dd53d985-1333-45e4-8120-7924f7c804d1",
"UpdateBy": "cc811fe7-47d5-4d85-ab7b-fec961579813"
},
"AppLayoutId": "73283e61-0379-48b5-ab6e-e4189cbe8ba5",
"AppLayoutType": 0,
"StyleId": "b94c2cc6-eb90-4027-a1a2-a50389bc4239",
"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": "61730ac7-4e2b-4c6b-b44b-82c30a30b3d4",
"ClientId": "7546d11b-af9f-4123-84ce-f348d5ac4b48",
"IsActive": true,
"IsDeleted": true,
"CreateDate": "2025-10-28 19:06:23",
"UpdateDate": "2025-10-28 19:06:23",
"CreateBy": "b9d4b96f-432e-4182-b2c9-5a6df9633970",
"UpdateBy": "13cbdf66-6c53-46ef-ae0a-79ce3840b5cb"
},
"BrowerLayoutId": "479b0160-d2cb-4c63-95fc-f54940c8f581",
"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": "37e5551f-8523-4df7-acbf-5d71bcd4e860",
"PrmtId": "a1a1b16e-1a93-496b-9a0f-7a4df99dc807",
"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": "2a5087d5-4473-4efa-82d4-85923f4def35",
"PrmtID": "2a473bfa-d7f2-4ede-b760-27898b4995bd",
"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": "2a5087d5-4473-4efa-82d4-85923f4def35",
"PrmtID": "2a473bfa-d7f2-4ede-b760-27898b4995bd",
"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": "b8f0bda9-2aef-435e-aee0-34346a7c9e04",
"PromotionId": "30f28257-c8a8-4dd1-9c98-f8770f65dc9a",
"ProductId": "addd683b-21b3-498e-9512-efe2dab6cd9f",
"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": "b8f0bda9-2aef-435e-aee0-34346a7c9e04",
"PromotionId": "30f28257-c8a8-4dd1-9c98-f8770f65dc9a",
"ProductId": "addd683b-21b3-498e-9512-efe2dab6cd9f",
"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": "6fbad426-687a-4960-9396-7325cfef75d2",
"PromotionId": "3100f3e5-cc75-4185-97ff-bc58ff3f60ff",
"MerchantId": "3b5ab550-6d48-4359-aacf-16faa038e1ba",
"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": "6fbad426-687a-4960-9396-7325cfef75d2",
"PromotionId": "3100f3e5-cc75-4185-97ff-bc58ff3f60ff",
"MerchantId": "3b5ab550-6d48-4359-aacf-16faa038e1ba",
"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:06:23",
"CreateDateStr": "2025-10-28 19:06:23",
"UpdateDate": "2025-10-28 19:06:23",
"UpdateDateStr": "2025-10-28 19:06:23",
"PrmtProductCount": 11,
"PrmtBannerCount": 12,
"PrmtMerchantCount": 13
},
{
"Id": "37e5551f-8523-4df7-acbf-5d71bcd4e860",
"PrmtId": "a1a1b16e-1a93-496b-9a0f-7a4df99dc807",
"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": "2a5087d5-4473-4efa-82d4-85923f4def35",
"PrmtID": "2a473bfa-d7f2-4ede-b760-27898b4995bd",
"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": "2a5087d5-4473-4efa-82d4-85923f4def35",
"PrmtID": "2a473bfa-d7f2-4ede-b760-27898b4995bd",
"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": "b8f0bda9-2aef-435e-aee0-34346a7c9e04",
"PromotionId": "30f28257-c8a8-4dd1-9c98-f8770f65dc9a",
"ProductId": "addd683b-21b3-498e-9512-efe2dab6cd9f",
"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": "b8f0bda9-2aef-435e-aee0-34346a7c9e04",
"PromotionId": "30f28257-c8a8-4dd1-9c98-f8770f65dc9a",
"ProductId": "addd683b-21b3-498e-9512-efe2dab6cd9f",
"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": "6fbad426-687a-4960-9396-7325cfef75d2",
"PromotionId": "3100f3e5-cc75-4185-97ff-bc58ff3f60ff",
"MerchantId": "3b5ab550-6d48-4359-aacf-16faa038e1ba",
"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": "6fbad426-687a-4960-9396-7325cfef75d2",
"PromotionId": "3100f3e5-cc75-4185-97ff-bc58ff3f60ff",
"MerchantId": "3b5ab550-6d48-4359-aacf-16faa038e1ba",
"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:06:23",
"CreateDateStr": "2025-10-28 19:06:23",
"UpdateDate": "2025-10-28 19:06:23",
"UpdateDateStr": "2025-10-28 19:06:23",
"PrmtProductCount": 11,
"PrmtBannerCount": 12,
"PrmtMerchantCount": 13
}
],
"CreateDate": "2025-10-28 19:06:23",
"CreateDateStr": "2025-10-28 19:06:23",
"UpdateDate": "2025-10-28 19:06:23",
"UpdateDateStr": "2025-10-28 19:06:23",
"IspType": "sample string 22"
}