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": "6071e13e-944a-4ad1-867f-862d62f36195",
"PageId": "fb25d90c-1510-4c11-8687-82aca3ce93d0",
"CopyId": "062948c9-2027-49bc-b29b-9bcf26b9100b",
"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": "0c0c845a-d612-480d-bffa-371793328eda",
"PrmtID": "c8379b61-992b-4eef-b071-aca20034daa4",
"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": "0c0c845a-d612-480d-bffa-371793328eda",
"PrmtID": "c8379b61-992b-4eef-b071-aca20034daa4",
"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": "bdd5db64-1860-4635-a0bb-cf843f05c113",
"PromotionId": "3aa9083b-aa32-4146-bfaf-c9a735cc2f6c",
"ProductId": "6e1cecfb-ba8e-421c-8e86-102c127f7876",
"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": "bdd5db64-1860-4635-a0bb-cf843f05c113",
"PromotionId": "3aa9083b-aa32-4146-bfaf-c9a735cc2f6c",
"ProductId": "6e1cecfb-ba8e-421c-8e86-102c127f7876",
"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": "41143ada-221e-4e98-b682-997249a7e2f9",
"PromotionId": "87b1d789-6e07-4a19-ae6c-e8a63be5978a",
"MerchantId": "f74f8201-b71f-4fe5-b9ee-6815dae4ab98",
"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": "41143ada-221e-4e98-b682-997249a7e2f9",
"PromotionId": "87b1d789-6e07-4a19-ae6c-e8a63be5978a",
"MerchantId": "f74f8201-b71f-4fe5-b9ee-6815dae4ab98",
"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": "02e77a39-9a04-44a5-b47c-b82349154d64",
"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": "7fc22464-9799-4d78-9bae-4405919f76e0",
"ClientId": "bdb60084-bb5a-4ec0-96b4-36a3ae7f9c0e",
"IsActive": true,
"IsDeleted": true,
"CreateDate": "2026-10-04 11:14:26",
"UpdateDate": "2026-10-04 11:14:26",
"CreateBy": "cb2d4f54-e090-4806-bd50-e7bb29b54027",
"UpdateBy": "84c1c0b6-1666-4f5a-82ff-0bb580dd2f9b"
},
"AppLayoutId": "b292b0cc-52aa-4c90-99fd-ca7e0a9d4dd8",
"AppLayoutType": 0,
"StyleId": "2c6b135c-e332-4c67-8a2a-194199cee6d8",
"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": "1331a536-8da3-4f4b-9b9b-2c7a66891f31",
"ClientId": "6c8f1fde-36dc-4a89-8c79-61e609186983",
"IsActive": true,
"IsDeleted": true,
"CreateDate": "2026-10-04 11:14:26",
"UpdateDate": "2026-10-04 11:14:26",
"CreateBy": "b1c26c4e-b654-4390-8b5b-a6536b6a8af3",
"UpdateBy": "03ee8a29-6c82-48af-944a-3c772c7a7190"
},
"BrowerLayoutId": "cf685d63-368e-40f8-abad-9fa036fd32d4",
"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": "cc92ce6d-5d72-4e54-8f06-9b19189507c7",
"PrmtId": "8a27d03d-eb2e-4d5b-9299-ada845e600f8",
"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": "0c0c845a-d612-480d-bffa-371793328eda",
"PrmtID": "c8379b61-992b-4eef-b071-aca20034daa4",
"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": "0c0c845a-d612-480d-bffa-371793328eda",
"PrmtID": "c8379b61-992b-4eef-b071-aca20034daa4",
"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": "bdd5db64-1860-4635-a0bb-cf843f05c113",
"PromotionId": "3aa9083b-aa32-4146-bfaf-c9a735cc2f6c",
"ProductId": "6e1cecfb-ba8e-421c-8e86-102c127f7876",
"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": "bdd5db64-1860-4635-a0bb-cf843f05c113",
"PromotionId": "3aa9083b-aa32-4146-bfaf-c9a735cc2f6c",
"ProductId": "6e1cecfb-ba8e-421c-8e86-102c127f7876",
"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": "41143ada-221e-4e98-b682-997249a7e2f9",
"PromotionId": "87b1d789-6e07-4a19-ae6c-e8a63be5978a",
"MerchantId": "f74f8201-b71f-4fe5-b9ee-6815dae4ab98",
"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": "41143ada-221e-4e98-b682-997249a7e2f9",
"PromotionId": "87b1d789-6e07-4a19-ae6c-e8a63be5978a",
"MerchantId": "f74f8201-b71f-4fe5-b9ee-6815dae4ab98",
"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-04 11:14:26",
"CreateDateStr": "2026-10-04 11:14:26",
"UpdateDate": "2026-10-04 11:14:26",
"UpdateDateStr": "2026-10-04 11:14:26",
"PrmtProductCount": 11,
"PrmtBannerCount": 12,
"PrmtMerchantCount": 13
},
{
"Id": "cc92ce6d-5d72-4e54-8f06-9b19189507c7",
"PrmtId": "8a27d03d-eb2e-4d5b-9299-ada845e600f8",
"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": "0c0c845a-d612-480d-bffa-371793328eda",
"PrmtID": "c8379b61-992b-4eef-b071-aca20034daa4",
"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": "0c0c845a-d612-480d-bffa-371793328eda",
"PrmtID": "c8379b61-992b-4eef-b071-aca20034daa4",
"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": "bdd5db64-1860-4635-a0bb-cf843f05c113",
"PromotionId": "3aa9083b-aa32-4146-bfaf-c9a735cc2f6c",
"ProductId": "6e1cecfb-ba8e-421c-8e86-102c127f7876",
"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": "bdd5db64-1860-4635-a0bb-cf843f05c113",
"PromotionId": "3aa9083b-aa32-4146-bfaf-c9a735cc2f6c",
"ProductId": "6e1cecfb-ba8e-421c-8e86-102c127f7876",
"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": "41143ada-221e-4e98-b682-997249a7e2f9",
"PromotionId": "87b1d789-6e07-4a19-ae6c-e8a63be5978a",
"MerchantId": "f74f8201-b71f-4fe5-b9ee-6815dae4ab98",
"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": "41143ada-221e-4e98-b682-997249a7e2f9",
"PromotionId": "87b1d789-6e07-4a19-ae6c-e8a63be5978a",
"MerchantId": "f74f8201-b71f-4fe5-b9ee-6815dae4ab98",
"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-04 11:14:26",
"CreateDateStr": "2026-10-04 11:14:26",
"UpdateDate": "2026-10-04 11:14:26",
"UpdateDateStr": "2026-10-04 11:14:26",
"PrmtProductCount": 11,
"PrmtBannerCount": 12,
"PrmtMerchantCount": 13
}
],
"CreateDate": "2026-10-04 11:14:26",
"CreateDateStr": "2026-10-04 11:14:26",
"UpdateDate": "2026-10-04 11:14:26",
"UpdateDateStr": "2026-10-04 11:14:26",
"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": {}
}