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": "2501a7fe-328c-4c74-9d78-73ffc8e245af",
"PageId": "820ddf69-14c1-480c-abf3-a80f636a7795",
"CopyId": "904b6d70-17f1-4ed7-afbc-1dd9b950b335",
"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": "c955b8b7-4562-45e2-bbf8-2f1206744181",
"PrmtID": "4bb1decb-f90c-42d9-b109-f2e5d1da052c",
"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": "c955b8b7-4562-45e2-bbf8-2f1206744181",
"PrmtID": "4bb1decb-f90c-42d9-b109-f2e5d1da052c",
"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": "41d3aba8-b2a6-477c-9053-e38e4cb68f7c",
"PromotionId": "3a95adb3-faa5-4169-9992-1748ff7465aa",
"ProductId": "a5fdfe82-e9be-46c5-8e96-641f4abca362",
"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": "41d3aba8-b2a6-477c-9053-e38e4cb68f7c",
"PromotionId": "3a95adb3-faa5-4169-9992-1748ff7465aa",
"ProductId": "a5fdfe82-e9be-46c5-8e96-641f4abca362",
"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": "ccf61659-bd88-479e-84d5-85e5fa62168c",
"PromotionId": "ed48ab6e-fa1b-4765-bd46-38e3b96c3d61",
"MerchantId": "5ce8061d-d505-4d1c-b775-54089a19d788",
"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": "ccf61659-bd88-479e-84d5-85e5fa62168c",
"PromotionId": "ed48ab6e-fa1b-4765-bd46-38e3b96c3d61",
"MerchantId": "5ce8061d-d505-4d1c-b775-54089a19d788",
"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": "5a6f366d-0e06-49c7-a4dd-6f9696c28c66",
"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": "3d36551c-b60c-4360-82c2-59774f5c409f",
"ClientId": "b8cb5ee2-cd7f-41a5-b41a-512c11fdae36",
"IsActive": true,
"IsDeleted": true,
"CreateDate": "2026-12-06 09:27:25",
"UpdateDate": "2026-12-06 09:27:25",
"CreateBy": "e20e4375-a434-410d-aa2f-4d32d98ca0bc",
"UpdateBy": "57a627da-a4e6-4005-8b67-03cb758d2cf2"
},
"AppLayoutId": "78dd1c97-4b41-4854-945d-aece084e9565",
"AppLayoutType": 0,
"StyleId": "52009aa0-ccdb-4edb-8ee3-c47dc8b1b4a9",
"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": "4a984ea9-d639-463e-8a31-8c7f65931144",
"ClientId": "51e8b641-028b-433f-a99d-0b1b30867cb1",
"IsActive": true,
"IsDeleted": true,
"CreateDate": "2026-12-06 09:27:25",
"UpdateDate": "2026-12-06 09:27:25",
"CreateBy": "8c2ece9e-4ac5-4bc8-a5f7-555c5ac54c9f",
"UpdateBy": "1474195f-0ecd-4ec0-91cc-9dc969dca5e6"
},
"BrowerLayoutId": "6dd872e7-ff0e-4ada-8e91-7cd37a921e85",
"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": "086a7681-9e95-4f55-8e63-9d5d8e6d72d4",
"PrmtId": "7fed70ef-9a83-491d-bf4b-86ce1863ba29",
"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": "c955b8b7-4562-45e2-bbf8-2f1206744181",
"PrmtID": "4bb1decb-f90c-42d9-b109-f2e5d1da052c",
"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": "c955b8b7-4562-45e2-bbf8-2f1206744181",
"PrmtID": "4bb1decb-f90c-42d9-b109-f2e5d1da052c",
"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": "41d3aba8-b2a6-477c-9053-e38e4cb68f7c",
"PromotionId": "3a95adb3-faa5-4169-9992-1748ff7465aa",
"ProductId": "a5fdfe82-e9be-46c5-8e96-641f4abca362",
"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": "41d3aba8-b2a6-477c-9053-e38e4cb68f7c",
"PromotionId": "3a95adb3-faa5-4169-9992-1748ff7465aa",
"ProductId": "a5fdfe82-e9be-46c5-8e96-641f4abca362",
"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": "ccf61659-bd88-479e-84d5-85e5fa62168c",
"PromotionId": "ed48ab6e-fa1b-4765-bd46-38e3b96c3d61",
"MerchantId": "5ce8061d-d505-4d1c-b775-54089a19d788",
"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": "ccf61659-bd88-479e-84d5-85e5fa62168c",
"PromotionId": "ed48ab6e-fa1b-4765-bd46-38e3b96c3d61",
"MerchantId": "5ce8061d-d505-4d1c-b775-54089a19d788",
"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-12-06 09:27:25",
"CreateDateStr": "2026-12-06 09:27:25",
"UpdateDate": "2026-12-06 09:27:25",
"UpdateDateStr": "2026-12-06 09:27:25",
"PrmtProductCount": 11,
"PrmtBannerCount": 12,
"PrmtMerchantCount": 13
},
{
"Id": "086a7681-9e95-4f55-8e63-9d5d8e6d72d4",
"PrmtId": "7fed70ef-9a83-491d-bf4b-86ce1863ba29",
"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": "c955b8b7-4562-45e2-bbf8-2f1206744181",
"PrmtID": "4bb1decb-f90c-42d9-b109-f2e5d1da052c",
"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": "c955b8b7-4562-45e2-bbf8-2f1206744181",
"PrmtID": "4bb1decb-f90c-42d9-b109-f2e5d1da052c",
"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": "41d3aba8-b2a6-477c-9053-e38e4cb68f7c",
"PromotionId": "3a95adb3-faa5-4169-9992-1748ff7465aa",
"ProductId": "a5fdfe82-e9be-46c5-8e96-641f4abca362",
"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": "41d3aba8-b2a6-477c-9053-e38e4cb68f7c",
"PromotionId": "3a95adb3-faa5-4169-9992-1748ff7465aa",
"ProductId": "a5fdfe82-e9be-46c5-8e96-641f4abca362",
"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": "ccf61659-bd88-479e-84d5-85e5fa62168c",
"PromotionId": "ed48ab6e-fa1b-4765-bd46-38e3b96c3d61",
"MerchantId": "5ce8061d-d505-4d1c-b775-54089a19d788",
"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": "ccf61659-bd88-479e-84d5-85e5fa62168c",
"PromotionId": "ed48ab6e-fa1b-4765-bd46-38e3b96c3d61",
"MerchantId": "5ce8061d-d505-4d1c-b775-54089a19d788",
"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-12-06 09:27:25",
"CreateDateStr": "2026-12-06 09:27:25",
"UpdateDate": "2026-12-06 09:27:25",
"UpdateDateStr": "2026-12-06 09:27:25",
"PrmtProductCount": 11,
"PrmtBannerCount": 12,
"PrmtMerchantCount": 13
}
],
"CreateDate": "2026-12-06 09:27:25",
"CreateDateStr": "2026-12-06 09:27:25",
"UpdateDate": "2026-12-06 09:27:25",
"UpdateDateStr": "2026-12-06 09:27: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": {}
}