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": "b658a5c9-6f64-4797-b353-e85cd966865c",
"PageId": "8a423403-9298-4b34-b4bd-1dc0ab2f4d48",
"CopyId": "658126d0-f7ca-4f52-8c3e-b0d9af6cab89",
"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": "69d1f8c9-95f1-428f-90aa-f44701c9a375",
"PrmtID": "568d6e7c-9ed2-428a-95a8-b6f3823e95c6",
"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": "69d1f8c9-95f1-428f-90aa-f44701c9a375",
"PrmtID": "568d6e7c-9ed2-428a-95a8-b6f3823e95c6",
"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": "2f9c1f43-e380-4ad3-975f-539b343615bf",
"PromotionId": "6c3f6511-537d-4a11-9ee6-1c1b1c23a51d",
"ProductId": "3a31ef9d-cc62-485e-b3af-ad444c414d9a",
"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": "2f9c1f43-e380-4ad3-975f-539b343615bf",
"PromotionId": "6c3f6511-537d-4a11-9ee6-1c1b1c23a51d",
"ProductId": "3a31ef9d-cc62-485e-b3af-ad444c414d9a",
"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": "85e47637-18cf-4999-a71f-ab5f94c9c763",
"PromotionId": "a46be607-8e8a-40fa-8082-31942288510f",
"MerchantId": "981118e2-001c-4ffc-bf3c-999703b06881",
"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": "85e47637-18cf-4999-a71f-ab5f94c9c763",
"PromotionId": "a46be607-8e8a-40fa-8082-31942288510f",
"MerchantId": "981118e2-001c-4ffc-bf3c-999703b06881",
"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": "a6ca2d05-53bc-4f92-bd08-fdc26b426763",
"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": "af00c62b-d042-47a3-b1b4-39d09e656cc0",
"ClientId": "b9c4f2ee-c5e0-4944-9ac1-992fcb234349",
"IsActive": true,
"IsDeleted": true,
"CreateDate": "2026-08-17 02:06:08",
"UpdateDate": "2026-08-17 02:06:08",
"CreateBy": "a706c252-7dd8-4c20-b44e-b53848104ea6",
"UpdateBy": "e0fea733-1845-42c7-8f99-c1922748f065"
},
"AppLayoutId": "068d098d-c4d0-4c35-9505-40318f7aa4a9",
"AppLayoutType": 0,
"StyleId": "447b873e-5609-4dc2-8ff8-ff66fdf8df89",
"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": "1cb99da8-75bc-4b74-816b-8ca32cc2ecfb",
"ClientId": "a43294fa-d18a-4a4a-a080-fadd52f84cdd",
"IsActive": true,
"IsDeleted": true,
"CreateDate": "2026-08-17 02:06:08",
"UpdateDate": "2026-08-17 02:06:08",
"CreateBy": "439129b7-550d-4e90-a461-e31a01ec933b",
"UpdateBy": "c1b56e53-8ea7-4ab9-b79c-bda5bddfc4ef"
},
"BrowerLayoutId": "994eb63f-c617-4b4d-ba3c-bbdd6dd7a31e",
"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": "318cd2ae-e1e4-4d00-aaf5-b908b12585fa",
"PrmtId": "00156944-e1b4-46e5-9a14-128e9365b7e9",
"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": "69d1f8c9-95f1-428f-90aa-f44701c9a375",
"PrmtID": "568d6e7c-9ed2-428a-95a8-b6f3823e95c6",
"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": "69d1f8c9-95f1-428f-90aa-f44701c9a375",
"PrmtID": "568d6e7c-9ed2-428a-95a8-b6f3823e95c6",
"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": "2f9c1f43-e380-4ad3-975f-539b343615bf",
"PromotionId": "6c3f6511-537d-4a11-9ee6-1c1b1c23a51d",
"ProductId": "3a31ef9d-cc62-485e-b3af-ad444c414d9a",
"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": "2f9c1f43-e380-4ad3-975f-539b343615bf",
"PromotionId": "6c3f6511-537d-4a11-9ee6-1c1b1c23a51d",
"ProductId": "3a31ef9d-cc62-485e-b3af-ad444c414d9a",
"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": "85e47637-18cf-4999-a71f-ab5f94c9c763",
"PromotionId": "a46be607-8e8a-40fa-8082-31942288510f",
"MerchantId": "981118e2-001c-4ffc-bf3c-999703b06881",
"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": "85e47637-18cf-4999-a71f-ab5f94c9c763",
"PromotionId": "a46be607-8e8a-40fa-8082-31942288510f",
"MerchantId": "981118e2-001c-4ffc-bf3c-999703b06881",
"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-08-17 02:06:08",
"CreateDateStr": "2026-08-17 02:06:08",
"UpdateDate": "2026-08-17 02:06:08",
"UpdateDateStr": "2026-08-17 02:06:08",
"PrmtProductCount": 11,
"PrmtBannerCount": 12,
"PrmtMerchantCount": 13
},
{
"Id": "318cd2ae-e1e4-4d00-aaf5-b908b12585fa",
"PrmtId": "00156944-e1b4-46e5-9a14-128e9365b7e9",
"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": "69d1f8c9-95f1-428f-90aa-f44701c9a375",
"PrmtID": "568d6e7c-9ed2-428a-95a8-b6f3823e95c6",
"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": "69d1f8c9-95f1-428f-90aa-f44701c9a375",
"PrmtID": "568d6e7c-9ed2-428a-95a8-b6f3823e95c6",
"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": "2f9c1f43-e380-4ad3-975f-539b343615bf",
"PromotionId": "6c3f6511-537d-4a11-9ee6-1c1b1c23a51d",
"ProductId": "3a31ef9d-cc62-485e-b3af-ad444c414d9a",
"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": "2f9c1f43-e380-4ad3-975f-539b343615bf",
"PromotionId": "6c3f6511-537d-4a11-9ee6-1c1b1c23a51d",
"ProductId": "3a31ef9d-cc62-485e-b3af-ad444c414d9a",
"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": "85e47637-18cf-4999-a71f-ab5f94c9c763",
"PromotionId": "a46be607-8e8a-40fa-8082-31942288510f",
"MerchantId": "981118e2-001c-4ffc-bf3c-999703b06881",
"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": "85e47637-18cf-4999-a71f-ab5f94c9c763",
"PromotionId": "a46be607-8e8a-40fa-8082-31942288510f",
"MerchantId": "981118e2-001c-4ffc-bf3c-999703b06881",
"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-08-17 02:06:08",
"CreateDateStr": "2026-08-17 02:06:08",
"UpdateDate": "2026-08-17 02:06:08",
"UpdateDateStr": "2026-08-17 02:06:08",
"PrmtProductCount": 11,
"PrmtBannerCount": 12,
"PrmtMerchantCount": 13
}
],
"CreateDate": "2026-08-17 02:06:08",
"CreateDateStr": "2026-08-17 02:06:08",
"UpdateDate": "2026-08-17 02:06:08",
"UpdateDateStr": "2026-08-17 02:06:08",
"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": {}
}