POST Api/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": "79b325c7-1faa-40da-ba9a-de10bb509f96",
"PageId": "68d5cd92-23d2-4f26-a363-0bbb9ddf9b6b",
"CopyId": "16de6d9d-6360-4eb8-9ab8-296870276b1e",
"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": "ec16e7fd-1e1b-4462-a554-b3d98b4477f4",
"PrmtID": "b4f460a8-fb1d-4bdc-9ee5-74ac061acb33",
"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": "ec16e7fd-1e1b-4462-a554-b3d98b4477f4",
"PrmtID": "b4f460a8-fb1d-4bdc-9ee5-74ac061acb33",
"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": "fd0dea3e-3d97-45b8-92aa-bb22e91dc975",
"PromotionId": "4b33dcc7-5217-4e30-841c-267925b6662a",
"ProductId": "bb8634ee-eec7-4ff6-8583-a02639c7cad0",
"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": "fd0dea3e-3d97-45b8-92aa-bb22e91dc975",
"PromotionId": "4b33dcc7-5217-4e30-841c-267925b6662a",
"ProductId": "bb8634ee-eec7-4ff6-8583-a02639c7cad0",
"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": "51db5824-ba06-4d0e-8df9-01f30880847f",
"PromotionId": "76cc5504-31b2-48b7-a3e8-05750128ed6b",
"MerchantId": "b40bcc11-3469-4f0f-a587-da9a2e07fab0",
"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": "51db5824-ba06-4d0e-8df9-01f30880847f",
"PromotionId": "76cc5504-31b2-48b7-a3e8-05750128ed6b",
"MerchantId": "b40bcc11-3469-4f0f-a587-da9a2e07fab0",
"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": "b407783c-88d5-4eb9-8b86-33552eaf3557",
"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": "91432678-3cde-4dfc-8fea-38664752bd93",
"ClientId": "afd20662-7f7d-4d3b-92c0-7e581129a897",
"IsActive": true,
"IsDeleted": true,
"CreateDate": "2026-07-30 18:06:09",
"UpdateDate": "2026-07-30 18:06:09",
"CreateBy": "8d870324-002f-432d-8d49-129072175209",
"UpdateBy": "733cebd9-975d-4bd4-81da-aab80b7b4e1a"
},
"AppLayoutId": "6427a174-ad73-474a-a1d7-2c93d42c669f",
"AppLayoutType": 0,
"StyleId": "2785269a-1369-4e6e-9d7e-b86091a0afaa",
"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": "750fe9aa-7cac-454b-be7b-45df8ff71aa4",
"ClientId": "d8602f14-66a7-40e2-b8b3-8cadf2bed7b3",
"IsActive": true,
"IsDeleted": true,
"CreateDate": "2026-07-30 18:06:09",
"UpdateDate": "2026-07-30 18:06:09",
"CreateBy": "d876b300-ba80-4d04-bc3e-babcdf8065bf",
"UpdateBy": "f546dad6-d7c1-439e-bf2d-b06ca3a4b618"
},
"BrowerLayoutId": "47588b57-8712-4ee7-b114-bd4a751e7e59",
"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": "c2965351-caad-41d7-a602-c6bd20f330bc",
"PrmtId": "18383630-e22a-4f33-821e-fbd90d1a4d65",
"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": "ec16e7fd-1e1b-4462-a554-b3d98b4477f4",
"PrmtID": "b4f460a8-fb1d-4bdc-9ee5-74ac061acb33",
"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": "ec16e7fd-1e1b-4462-a554-b3d98b4477f4",
"PrmtID": "b4f460a8-fb1d-4bdc-9ee5-74ac061acb33",
"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": "fd0dea3e-3d97-45b8-92aa-bb22e91dc975",
"PromotionId": "4b33dcc7-5217-4e30-841c-267925b6662a",
"ProductId": "bb8634ee-eec7-4ff6-8583-a02639c7cad0",
"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": "fd0dea3e-3d97-45b8-92aa-bb22e91dc975",
"PromotionId": "4b33dcc7-5217-4e30-841c-267925b6662a",
"ProductId": "bb8634ee-eec7-4ff6-8583-a02639c7cad0",
"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": "51db5824-ba06-4d0e-8df9-01f30880847f",
"PromotionId": "76cc5504-31b2-48b7-a3e8-05750128ed6b",
"MerchantId": "b40bcc11-3469-4f0f-a587-da9a2e07fab0",
"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": "51db5824-ba06-4d0e-8df9-01f30880847f",
"PromotionId": "76cc5504-31b2-48b7-a3e8-05750128ed6b",
"MerchantId": "b40bcc11-3469-4f0f-a587-da9a2e07fab0",
"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-07-30 18:06:09",
"CreateDateStr": "2026-07-30 18:06:09",
"UpdateDate": "2026-07-30 18:06:09",
"UpdateDateStr": "2026-07-30 18:06:09",
"PrmtProductCount": 11,
"PrmtBannerCount": 12,
"PrmtMerchantCount": 13
},
{
"Id": "c2965351-caad-41d7-a602-c6bd20f330bc",
"PrmtId": "18383630-e22a-4f33-821e-fbd90d1a4d65",
"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": "ec16e7fd-1e1b-4462-a554-b3d98b4477f4",
"PrmtID": "b4f460a8-fb1d-4bdc-9ee5-74ac061acb33",
"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": "ec16e7fd-1e1b-4462-a554-b3d98b4477f4",
"PrmtID": "b4f460a8-fb1d-4bdc-9ee5-74ac061acb33",
"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": "fd0dea3e-3d97-45b8-92aa-bb22e91dc975",
"PromotionId": "4b33dcc7-5217-4e30-841c-267925b6662a",
"ProductId": "bb8634ee-eec7-4ff6-8583-a02639c7cad0",
"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": "fd0dea3e-3d97-45b8-92aa-bb22e91dc975",
"PromotionId": "4b33dcc7-5217-4e30-841c-267925b6662a",
"ProductId": "bb8634ee-eec7-4ff6-8583-a02639c7cad0",
"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": "51db5824-ba06-4d0e-8df9-01f30880847f",
"PromotionId": "76cc5504-31b2-48b7-a3e8-05750128ed6b",
"MerchantId": "b40bcc11-3469-4f0f-a587-da9a2e07fab0",
"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": "51db5824-ba06-4d0e-8df9-01f30880847f",
"PromotionId": "76cc5504-31b2-48b7-a3e8-05750128ed6b",
"MerchantId": "b40bcc11-3469-4f0f-a587-da9a2e07fab0",
"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-07-30 18:06:09",
"CreateDateStr": "2026-07-30 18:06:09",
"UpdateDate": "2026-07-30 18:06:09",
"UpdateDateStr": "2026-07-30 18:06:09",
"PrmtProductCount": 11,
"PrmtBannerCount": 12,
"PrmtMerchantCount": 13
}
],
"CreateDate": "2026-07-30 18:06:09",
"CreateDateStr": "2026-07-30 18:06:09",
"UpdateDate": "2026-07-30 18:06:09",
"UpdateDateStr": "2026-07-30 18:06:09",
"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": {}
}