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": "a55e5c49-f92d-4a45-9daa-6222deac528a",
"PageId": "6ed17629-93ea-418e-9275-93cd3c98846b",
"CopyId": "ff4482b1-dc78-4d14-bd3d-c5e354d2d9ff",
"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": "Yes",
"PrmtBannerLst": [
{
"Id": "ff59b1f3-de9c-4afd-b4d9-7f1ed980c352",
"PrmtID": "0adc838e-6783-4eca-a810-ed9f48cdda53",
"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": "ff59b1f3-de9c-4afd-b4d9-7f1ed980c352",
"PrmtID": "0adc838e-6783-4eca-a810-ed9f48cdda53",
"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": "1f33ab3b-7f64-4649-8cb2-ea4e83a27a79",
"PromotionId": "a6a22c03-3259-4e35-b03c-17cbfc9aa262",
"ProductId": "f84c528c-6c51-4a97-abb6-34461564d046",
"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": "1f33ab3b-7f64-4649-8cb2-ea4e83a27a79",
"PromotionId": "a6a22c03-3259-4e35-b03c-17cbfc9aa262",
"ProductId": "f84c528c-6c51-4a97-abb6-34461564d046",
"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": "b588f8b1-0cd3-4001-b1b1-35d7f9dad677",
"PromotionId": "5a8eb846-9ba3-4448-ac3c-559db912ea3c",
"MerchantId": "8aced491-6291-4fcf-b0b5-88e8d8e8a17a",
"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": "b588f8b1-0cd3-4001-b1b1-35d7f9dad677",
"PromotionId": "5a8eb846-9ba3-4448-ac3c-559db912ea3c",
"MerchantId": "8aced491-6291-4fcf-b0b5-88e8d8e8a17a",
"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": "a728a947-c28d-4aec-bfca-0779758f932d",
"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": "6cf95101-e738-4ec4-a410-813593e0e658",
"ClientId": "d0cddf56-325e-49b8-8505-fdd6770594b0",
"IsActive": true,
"IsDeleted": true,
"CreateDate": "2025-12-30 14:10:16",
"UpdateDate": "2025-12-30 14:10:16",
"CreateBy": "de28cf4c-d0c1-404c-87a2-30544f492494",
"UpdateBy": "960dade3-031f-4f8e-a20a-1cb1b77ad314"
},
"AppLayoutId": "30c427fb-5875-4b65-ad50-0e6cecbcbc27",
"AppLayoutType": 0,
"StyleId": "aed8f5bb-52b2-45e0-8726-d1ad7b8f2791",
"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": "4d01fac5-2ec1-4c98-8ded-b24ac0da4e4c",
"ClientId": "05cb6294-8f41-499d-9344-d11c399da6d9",
"IsActive": true,
"IsDeleted": true,
"CreateDate": "2025-12-30 14:10:16",
"UpdateDate": "2025-12-30 14:10:16",
"CreateBy": "c9ceeef9-c30a-4097-8632-577ddcd064d3",
"UpdateBy": "412e67c2-8aba-4dcb-a173-bbd41ec5c44f"
},
"BrowerLayoutId": "36cc4475-59c7-405b-84b0-7597a1902625",
"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": "86b55419-bb7e-48d9-9153-468dbae54dfb",
"PrmtId": "a7181855-4693-4526-9ee1-fcae7bf194e2",
"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": "ff59b1f3-de9c-4afd-b4d9-7f1ed980c352",
"PrmtID": "0adc838e-6783-4eca-a810-ed9f48cdda53",
"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": "ff59b1f3-de9c-4afd-b4d9-7f1ed980c352",
"PrmtID": "0adc838e-6783-4eca-a810-ed9f48cdda53",
"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": "1f33ab3b-7f64-4649-8cb2-ea4e83a27a79",
"PromotionId": "a6a22c03-3259-4e35-b03c-17cbfc9aa262",
"ProductId": "f84c528c-6c51-4a97-abb6-34461564d046",
"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": "1f33ab3b-7f64-4649-8cb2-ea4e83a27a79",
"PromotionId": "a6a22c03-3259-4e35-b03c-17cbfc9aa262",
"ProductId": "f84c528c-6c51-4a97-abb6-34461564d046",
"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": "b588f8b1-0cd3-4001-b1b1-35d7f9dad677",
"PromotionId": "5a8eb846-9ba3-4448-ac3c-559db912ea3c",
"MerchantId": "8aced491-6291-4fcf-b0b5-88e8d8e8a17a",
"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": "b588f8b1-0cd3-4001-b1b1-35d7f9dad677",
"PromotionId": "5a8eb846-9ba3-4448-ac3c-559db912ea3c",
"MerchantId": "8aced491-6291-4fcf-b0b5-88e8d8e8a17a",
"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-12-30 14:10:16",
"CreateDateStr": "2025-12-30 14:10:16",
"UpdateDate": "2025-12-30 14:10:16",
"UpdateDateStr": "2025-12-30 14:10:16",
"PrmtProductCount": 11,
"PrmtBannerCount": 12,
"PrmtMerchantCount": 13
},
{
"Id": "86b55419-bb7e-48d9-9153-468dbae54dfb",
"PrmtId": "a7181855-4693-4526-9ee1-fcae7bf194e2",
"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": "ff59b1f3-de9c-4afd-b4d9-7f1ed980c352",
"PrmtID": "0adc838e-6783-4eca-a810-ed9f48cdda53",
"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": "ff59b1f3-de9c-4afd-b4d9-7f1ed980c352",
"PrmtID": "0adc838e-6783-4eca-a810-ed9f48cdda53",
"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": "1f33ab3b-7f64-4649-8cb2-ea4e83a27a79",
"PromotionId": "a6a22c03-3259-4e35-b03c-17cbfc9aa262",
"ProductId": "f84c528c-6c51-4a97-abb6-34461564d046",
"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": "1f33ab3b-7f64-4649-8cb2-ea4e83a27a79",
"PromotionId": "a6a22c03-3259-4e35-b03c-17cbfc9aa262",
"ProductId": "f84c528c-6c51-4a97-abb6-34461564d046",
"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": "b588f8b1-0cd3-4001-b1b1-35d7f9dad677",
"PromotionId": "5a8eb846-9ba3-4448-ac3c-559db912ea3c",
"MerchantId": "8aced491-6291-4fcf-b0b5-88e8d8e8a17a",
"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": "b588f8b1-0cd3-4001-b1b1-35d7f9dad677",
"PromotionId": "5a8eb846-9ba3-4448-ac3c-559db912ea3c",
"MerchantId": "8aced491-6291-4fcf-b0b5-88e8d8e8a17a",
"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-12-30 14:10:16",
"CreateDateStr": "2025-12-30 14:10:16",
"UpdateDate": "2025-12-30 14:10:16",
"UpdateDateStr": "2025-12-30 14:10:16",
"PrmtProductCount": 11,
"PrmtBannerCount": 12,
"PrmtMerchantCount": 13
}
],
"CreateDate": "2025-12-30 14:10:16",
"CreateDateStr": "2025-12-30 14:10:16",
"UpdateDate": "2025-12-30 14:10:16",
"UpdateDateStr": "2025-12-30 14:10:16",
"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": {}
}