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": "0d373573-75e9-411e-bd9e-f1bc3c0e0bc4",
"PageId": "0670a495-ed0d-4855-ab31-ec2609f68976",
"CopyId": "0796f6cb-1a4e-4fa8-a603-5ed635742341",
"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": "bdc36794-1c53-4fe8-8803-6674a37cd43d",
"PrmtID": "03b5a543-5168-4997-bb20-8c703a21687b",
"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": "bdc36794-1c53-4fe8-8803-6674a37cd43d",
"PrmtID": "03b5a543-5168-4997-bb20-8c703a21687b",
"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": "2c169b18-3158-47a0-ad53-918deca527f6",
"PromotionId": "ae2a1cd0-2024-49ce-9caa-81f9b7d83e56",
"ProductId": "3729c8be-2311-42ca-99a3-e03a44a65c5d",
"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": "2c169b18-3158-47a0-ad53-918deca527f6",
"PromotionId": "ae2a1cd0-2024-49ce-9caa-81f9b7d83e56",
"ProductId": "3729c8be-2311-42ca-99a3-e03a44a65c5d",
"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": "d9e78b6f-2556-4a04-a9c4-b7f2e11cbcbe",
"PromotionId": "7b16fe66-d65f-4665-8cc1-ea5d81cf4392",
"MerchantId": "e3a2d359-60dd-4df9-bd12-27b98117bc1b",
"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": "d9e78b6f-2556-4a04-a9c4-b7f2e11cbcbe",
"PromotionId": "7b16fe66-d65f-4665-8cc1-ea5d81cf4392",
"MerchantId": "e3a2d359-60dd-4df9-bd12-27b98117bc1b",
"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": "453c485e-2ec8-468f-b7e1-7e3fada3a509",
"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": "040182f1-a0ef-419e-8067-42118fe2b9be",
"ClientId": "cccdaadb-aa47-4223-8133-1e6f25f1b615",
"IsActive": true,
"IsDeleted": true,
"CreateDate": "2026-10-04 11:14:32",
"UpdateDate": "2026-10-04 11:14:32",
"CreateBy": "05c03181-4fcd-4586-883f-209c4c863715",
"UpdateBy": "9f5e1bfb-41d9-4f2e-bcf9-c64a7b9e0aa0"
},
"AppLayoutId": "16781ea7-24b1-4192-b5cd-c6ff86be47a7",
"AppLayoutType": 0,
"StyleId": "710726e8-773b-46fe-91e5-ff41089363e7",
"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": "2277870f-acf0-4a7b-abdd-8942c78242af",
"ClientId": "69fc61c0-815d-4c51-9e6b-92d3c2d92627",
"IsActive": true,
"IsDeleted": true,
"CreateDate": "2026-10-04 11:14:32",
"UpdateDate": "2026-10-04 11:14:32",
"CreateBy": "9c274a30-fb4d-455c-af4e-c2f0515ed32d",
"UpdateBy": "a0c86366-b257-4457-b2e4-8ebfe0485c83"
},
"BrowerLayoutId": "d0d52013-b7ab-4afb-a827-78b9fee8fc89",
"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": "c76efb6f-4455-4807-abca-b169a3e1c03d",
"PrmtId": "c1c7e70f-f0b7-4092-824e-aab6973e4088",
"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": "bdc36794-1c53-4fe8-8803-6674a37cd43d",
"PrmtID": "03b5a543-5168-4997-bb20-8c703a21687b",
"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": "bdc36794-1c53-4fe8-8803-6674a37cd43d",
"PrmtID": "03b5a543-5168-4997-bb20-8c703a21687b",
"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": "2c169b18-3158-47a0-ad53-918deca527f6",
"PromotionId": "ae2a1cd0-2024-49ce-9caa-81f9b7d83e56",
"ProductId": "3729c8be-2311-42ca-99a3-e03a44a65c5d",
"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": "2c169b18-3158-47a0-ad53-918deca527f6",
"PromotionId": "ae2a1cd0-2024-49ce-9caa-81f9b7d83e56",
"ProductId": "3729c8be-2311-42ca-99a3-e03a44a65c5d",
"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": "d9e78b6f-2556-4a04-a9c4-b7f2e11cbcbe",
"PromotionId": "7b16fe66-d65f-4665-8cc1-ea5d81cf4392",
"MerchantId": "e3a2d359-60dd-4df9-bd12-27b98117bc1b",
"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": "d9e78b6f-2556-4a04-a9c4-b7f2e11cbcbe",
"PromotionId": "7b16fe66-d65f-4665-8cc1-ea5d81cf4392",
"MerchantId": "e3a2d359-60dd-4df9-bd12-27b98117bc1b",
"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:32",
"CreateDateStr": "2026-10-04 11:14:32",
"UpdateDate": "2026-10-04 11:14:32",
"UpdateDateStr": "2026-10-04 11:14:32",
"PrmtProductCount": 11,
"PrmtBannerCount": 12,
"PrmtMerchantCount": 13
},
{
"Id": "c76efb6f-4455-4807-abca-b169a3e1c03d",
"PrmtId": "c1c7e70f-f0b7-4092-824e-aab6973e4088",
"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": "bdc36794-1c53-4fe8-8803-6674a37cd43d",
"PrmtID": "03b5a543-5168-4997-bb20-8c703a21687b",
"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": "bdc36794-1c53-4fe8-8803-6674a37cd43d",
"PrmtID": "03b5a543-5168-4997-bb20-8c703a21687b",
"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": "2c169b18-3158-47a0-ad53-918deca527f6",
"PromotionId": "ae2a1cd0-2024-49ce-9caa-81f9b7d83e56",
"ProductId": "3729c8be-2311-42ca-99a3-e03a44a65c5d",
"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": "2c169b18-3158-47a0-ad53-918deca527f6",
"PromotionId": "ae2a1cd0-2024-49ce-9caa-81f9b7d83e56",
"ProductId": "3729c8be-2311-42ca-99a3-e03a44a65c5d",
"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": "d9e78b6f-2556-4a04-a9c4-b7f2e11cbcbe",
"PromotionId": "7b16fe66-d65f-4665-8cc1-ea5d81cf4392",
"MerchantId": "e3a2d359-60dd-4df9-bd12-27b98117bc1b",
"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": "d9e78b6f-2556-4a04-a9c4-b7f2e11cbcbe",
"PromotionId": "7b16fe66-d65f-4665-8cc1-ea5d81cf4392",
"MerchantId": "e3a2d359-60dd-4df9-bd12-27b98117bc1b",
"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:32",
"CreateDateStr": "2026-10-04 11:14:32",
"UpdateDate": "2026-10-04 11:14:32",
"UpdateDateStr": "2026-10-04 11:14:32",
"PrmtProductCount": 11,
"PrmtBannerCount": 12,
"PrmtMerchantCount": 13
}
],
"CreateDate": "2026-10-04 11:14:32",
"CreateDateStr": "2026-10-04 11:14:32",
"UpdateDate": "2026-10-04 11:14:32",
"UpdateDateStr": "2026-10-04 11:14:32",
"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": {}
}