POST AdminApi/Promotion/SavePrmtInfo
Request Information
URI Parameters
None.
Body Parameters
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. |
Request Formats
application/json, text/json
Sample:
{
"Id": "4e3e3a29-10f4-4ac1-8e96-8cc308cc7f1c",
"PageId": "6d712ecd-b7b8-4dd5-b1de-389f31329bf8",
"CopyId": "77eddfd9-cd24-4730-bf6f-a999a202781e",
"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": "dda46dc6-ae29-4ef1-bc8c-a4f45f2e4b79",
"PrmtID": "c52ced42-64f0-43bf-a13c-3b72f4d50a54",
"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": "dda46dc6-ae29-4ef1-bc8c-a4f45f2e4b79",
"PrmtID": "c52ced42-64f0-43bf-a13c-3b72f4d50a54",
"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": "1432df27-1227-446c-9321-ccfd126740d2",
"PromotionId": "a4d69b23-1833-4c2b-8dbe-9d436bd33f8c",
"ProductId": "08a79abb-41dc-4a0b-80e4-7a1bbb54a594",
"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": "1432df27-1227-446c-9321-ccfd126740d2",
"PromotionId": "a4d69b23-1833-4c2b-8dbe-9d436bd33f8c",
"ProductId": "08a79abb-41dc-4a0b-80e4-7a1bbb54a594",
"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": "2d0074df-4fae-4b35-bca6-f423a5524bbc",
"PromotionId": "d463b61d-5f2c-44b0-a6d2-3d38863c62b1",
"MerchantId": "35241a76-a323-4781-b359-86b878988b7c",
"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": "2d0074df-4fae-4b35-bca6-f423a5524bbc",
"PromotionId": "d463b61d-5f2c-44b0-a6d2-3d38863c62b1",
"MerchantId": "35241a76-a323-4781-b359-86b878988b7c",
"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": "f647537c-6ef3-46e4-b0c4-fa718db71f29",
"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": "5bbb74c5-45e8-4f96-bc79-8dec509e8507",
"ClientId": "899c318a-0c67-4434-8c1e-d642707bb696",
"IsActive": true,
"IsDeleted": true,
"CreateDate": "2026-10-31 13:53:25",
"UpdateDate": "2026-10-31 13:53:25",
"CreateBy": "29b70cde-6205-4edd-99a4-117215b80843",
"UpdateBy": "058d15ab-1a6e-4c1a-b151-ace3da86d975"
},
"AppLayoutId": "5783f47f-f77e-412c-bd7a-6b88c079d9ec",
"AppLayoutType": 0,
"StyleId": "657a240a-7d98-4755-8adb-172040082f03",
"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": "e2908741-7dce-4038-ad1f-4d42d435292e",
"ClientId": "eb216036-0105-4c67-9c3a-a56130e5df19",
"IsActive": true,
"IsDeleted": true,
"CreateDate": "2026-10-31 13:53:25",
"UpdateDate": "2026-10-31 13:53:25",
"CreateBy": "624ed9ee-9687-460b-a4f8-61f251acd6a9",
"UpdateBy": "3a3bb6cb-91e9-4e13-8885-637c7dcdddd6"
},
"BrowerLayoutId": "f4d8e509-4c46-46df-bd89-c773b644c837",
"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": "295da798-f73b-470b-8084-ea5c0c19c0ca",
"PrmtId": "74aa860c-a2d0-47ab-a83f-abee17582245",
"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": "dda46dc6-ae29-4ef1-bc8c-a4f45f2e4b79",
"PrmtID": "c52ced42-64f0-43bf-a13c-3b72f4d50a54",
"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": "dda46dc6-ae29-4ef1-bc8c-a4f45f2e4b79",
"PrmtID": "c52ced42-64f0-43bf-a13c-3b72f4d50a54",
"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": "1432df27-1227-446c-9321-ccfd126740d2",
"PromotionId": "a4d69b23-1833-4c2b-8dbe-9d436bd33f8c",
"ProductId": "08a79abb-41dc-4a0b-80e4-7a1bbb54a594",
"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": "1432df27-1227-446c-9321-ccfd126740d2",
"PromotionId": "a4d69b23-1833-4c2b-8dbe-9d436bd33f8c",
"ProductId": "08a79abb-41dc-4a0b-80e4-7a1bbb54a594",
"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": "2d0074df-4fae-4b35-bca6-f423a5524bbc",
"PromotionId": "d463b61d-5f2c-44b0-a6d2-3d38863c62b1",
"MerchantId": "35241a76-a323-4781-b359-86b878988b7c",
"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": "2d0074df-4fae-4b35-bca6-f423a5524bbc",
"PromotionId": "d463b61d-5f2c-44b0-a6d2-3d38863c62b1",
"MerchantId": "35241a76-a323-4781-b359-86b878988b7c",
"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": "2026-10-31 13:53:25",
"CreateDateStr": "2026-10-31 13:53:25",
"UpdateDate": "2026-10-31 13:53:25",
"UpdateDateStr": "2026-10-31 13:53:25",
"PrmtProductCount": 11,
"PrmtBannerCount": 12,
"PrmtMerchantCount": 13
},
{
"Id": "295da798-f73b-470b-8084-ea5c0c19c0ca",
"PrmtId": "74aa860c-a2d0-47ab-a83f-abee17582245",
"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": "dda46dc6-ae29-4ef1-bc8c-a4f45f2e4b79",
"PrmtID": "c52ced42-64f0-43bf-a13c-3b72f4d50a54",
"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": "dda46dc6-ae29-4ef1-bc8c-a4f45f2e4b79",
"PrmtID": "c52ced42-64f0-43bf-a13c-3b72f4d50a54",
"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": "1432df27-1227-446c-9321-ccfd126740d2",
"PromotionId": "a4d69b23-1833-4c2b-8dbe-9d436bd33f8c",
"ProductId": "08a79abb-41dc-4a0b-80e4-7a1bbb54a594",
"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": "1432df27-1227-446c-9321-ccfd126740d2",
"PromotionId": "a4d69b23-1833-4c2b-8dbe-9d436bd33f8c",
"ProductId": "08a79abb-41dc-4a0b-80e4-7a1bbb54a594",
"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": "2d0074df-4fae-4b35-bca6-f423a5524bbc",
"PromotionId": "d463b61d-5f2c-44b0-a6d2-3d38863c62b1",
"MerchantId": "35241a76-a323-4781-b359-86b878988b7c",
"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": "2d0074df-4fae-4b35-bca6-f423a5524bbc",
"PromotionId": "d463b61d-5f2c-44b0-a6d2-3d38863c62b1",
"MerchantId": "35241a76-a323-4781-b359-86b878988b7c",
"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": "2026-10-31 13:53:25",
"CreateDateStr": "2026-10-31 13:53:25",
"UpdateDate": "2026-10-31 13:53:25",
"UpdateDateStr": "2026-10-31 13:53:25",
"PrmtProductCount": 11,
"PrmtBannerCount": 12,
"PrmtMerchantCount": 13
}
],
"CreateDate": "2026-10-31 13:53:25",
"CreateDateStr": "2026-10-31 13:53:25",
"UpdateDate": "2026-10-31 13:53:25",
"UpdateDateStr": "2026-10-31 13:53:25",
"IspType": "sample string 22"
}
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
SystemResult| Name | Description | Type | Additional information |
|---|---|---|---|
| Succeeded | boolean |
None. |
|
| Message | string |
None. |
|
| ReturnValue | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"Succeeded": true,
"Message": "sample string 2",
"ReturnValue": {}
}