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": "cf7bffdd-9960-48fa-950e-845e4ccc4e00",
"PageId": "0149fad9-1cb0-47b0-bcf6-4d871f0fe651",
"CopyId": "107740ef-3989-4d6a-ad57-4949d1c324f8",
"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": "be73d12d-e9b6-40b7-bc47-07880374b15f",
"PrmtID": "2a7668a4-755f-4ee5-86e9-be273bc53f1a",
"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": "be73d12d-e9b6-40b7-bc47-07880374b15f",
"PrmtID": "2a7668a4-755f-4ee5-86e9-be273bc53f1a",
"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": "c54dc4f9-cf15-4684-8ccf-011e978be87a",
"PromotionId": "1f2f2170-182b-40a8-9bda-7ed5f4a64c11",
"ProductId": "f07bd794-dccf-4aa2-976d-76f2e2e7592e",
"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": "c54dc4f9-cf15-4684-8ccf-011e978be87a",
"PromotionId": "1f2f2170-182b-40a8-9bda-7ed5f4a64c11",
"ProductId": "f07bd794-dccf-4aa2-976d-76f2e2e7592e",
"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": "7a0ba2ab-70ad-4e53-b502-7ec008c39a9b",
"PromotionId": "5fc90686-f854-447e-88eb-78dd0df11312",
"MerchantId": "34307147-09f6-43c0-a669-fe42d580839c",
"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": "7a0ba2ab-70ad-4e53-b502-7ec008c39a9b",
"PromotionId": "5fc90686-f854-447e-88eb-78dd0df11312",
"MerchantId": "34307147-09f6-43c0-a669-fe42d580839c",
"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": "6c19ab44-d92f-445f-bd3d-e5829af298ba",
"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": "567189d7-b877-432f-978d-b5cd95fb448c",
"ClientId": "9ee99b6e-4742-4e58-996c-23370a0ddb5a",
"IsActive": true,
"IsDeleted": true,
"CreateDate": "2026-09-16 11:18:41",
"UpdateDate": "2026-09-16 11:18:41",
"CreateBy": "1c8240d1-2369-4014-9dd3-def8b7ebebd6",
"UpdateBy": "756009fe-3365-4122-a512-656edae923f9"
},
"AppLayoutId": "8ee580b5-13da-4a24-a7e1-10a0f45cec2e",
"AppLayoutType": 0,
"StyleId": "7ec159e4-8328-487e-8899-92af503ffcf9",
"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": "e063a12a-4374-444d-bf6c-319af94b83dc",
"ClientId": "2b6baf3d-d431-418a-9bf5-0dbfc7bc16a2",
"IsActive": true,
"IsDeleted": true,
"CreateDate": "2026-09-16 11:18:41",
"UpdateDate": "2026-09-16 11:18:41",
"CreateBy": "380bf85c-6732-43e2-90bc-837cbd0210c6",
"UpdateBy": "0a8fe5ea-2896-472d-8d0d-76152b595d3c"
},
"BrowerLayoutId": "def3e8aa-915d-46d3-847a-f13116abf01d",
"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": "93aae481-b578-441b-acd7-7fac10489608",
"PrmtId": "d2b609e5-d061-461f-8a5b-0f9fe7a6b90b",
"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": "be73d12d-e9b6-40b7-bc47-07880374b15f",
"PrmtID": "2a7668a4-755f-4ee5-86e9-be273bc53f1a",
"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": "be73d12d-e9b6-40b7-bc47-07880374b15f",
"PrmtID": "2a7668a4-755f-4ee5-86e9-be273bc53f1a",
"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": "c54dc4f9-cf15-4684-8ccf-011e978be87a",
"PromotionId": "1f2f2170-182b-40a8-9bda-7ed5f4a64c11",
"ProductId": "f07bd794-dccf-4aa2-976d-76f2e2e7592e",
"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": "c54dc4f9-cf15-4684-8ccf-011e978be87a",
"PromotionId": "1f2f2170-182b-40a8-9bda-7ed5f4a64c11",
"ProductId": "f07bd794-dccf-4aa2-976d-76f2e2e7592e",
"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": "7a0ba2ab-70ad-4e53-b502-7ec008c39a9b",
"PromotionId": "5fc90686-f854-447e-88eb-78dd0df11312",
"MerchantId": "34307147-09f6-43c0-a669-fe42d580839c",
"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": "7a0ba2ab-70ad-4e53-b502-7ec008c39a9b",
"PromotionId": "5fc90686-f854-447e-88eb-78dd0df11312",
"MerchantId": "34307147-09f6-43c0-a669-fe42d580839c",
"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-09-16 11:18:41",
"CreateDateStr": "2026-09-16 11:18:41",
"UpdateDate": "2026-09-16 11:18:41",
"UpdateDateStr": "2026-09-16 11:18:41",
"PrmtProductCount": 11,
"PrmtBannerCount": 12,
"PrmtMerchantCount": 13
},
{
"Id": "93aae481-b578-441b-acd7-7fac10489608",
"PrmtId": "d2b609e5-d061-461f-8a5b-0f9fe7a6b90b",
"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": "be73d12d-e9b6-40b7-bc47-07880374b15f",
"PrmtID": "2a7668a4-755f-4ee5-86e9-be273bc53f1a",
"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": "be73d12d-e9b6-40b7-bc47-07880374b15f",
"PrmtID": "2a7668a4-755f-4ee5-86e9-be273bc53f1a",
"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": "c54dc4f9-cf15-4684-8ccf-011e978be87a",
"PromotionId": "1f2f2170-182b-40a8-9bda-7ed5f4a64c11",
"ProductId": "f07bd794-dccf-4aa2-976d-76f2e2e7592e",
"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": "c54dc4f9-cf15-4684-8ccf-011e978be87a",
"PromotionId": "1f2f2170-182b-40a8-9bda-7ed5f4a64c11",
"ProductId": "f07bd794-dccf-4aa2-976d-76f2e2e7592e",
"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": "7a0ba2ab-70ad-4e53-b502-7ec008c39a9b",
"PromotionId": "5fc90686-f854-447e-88eb-78dd0df11312",
"MerchantId": "34307147-09f6-43c0-a669-fe42d580839c",
"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": "7a0ba2ab-70ad-4e53-b502-7ec008c39a9b",
"PromotionId": "5fc90686-f854-447e-88eb-78dd0df11312",
"MerchantId": "34307147-09f6-43c0-a669-fe42d580839c",
"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-09-16 11:18:41",
"CreateDateStr": "2026-09-16 11:18:41",
"UpdateDate": "2026-09-16 11:18:41",
"UpdateDateStr": "2026-09-16 11:18:41",
"PrmtProductCount": 11,
"PrmtBannerCount": 12,
"PrmtMerchantCount": 13
}
],
"CreateDate": "2026-09-16 11:18:41",
"CreateDateStr": "2026-09-16 11:18:41",
"UpdateDate": "2026-09-16 11:18:41",
"UpdateDateStr": "2026-09-16 11:18:41",
"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": {}
}