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": "5b113205-e9bb-4ab5-8050-21293a50281d",
"PageId": "18a1f47a-9092-4f96-b995-8d23e360d7f0",
"CopyId": "048d156b-b119-4b19-bda8-670077c924a0",
"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": "2e996398-ea3f-4b3f-9be8-516cb7c391b8",
"PrmtID": "bb3be0e6-c384-4988-a538-5f79b968bbce",
"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": "2e996398-ea3f-4b3f-9be8-516cb7c391b8",
"PrmtID": "bb3be0e6-c384-4988-a538-5f79b968bbce",
"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": "4e2ad8da-98d7-4081-bbb3-1645c96d3a2f",
"PromotionId": "480236cd-8a51-4878-930b-660fd7117466",
"ProductId": "c8150aeb-6ef8-4b83-a290-edd44ee85f7e",
"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": "4e2ad8da-98d7-4081-bbb3-1645c96d3a2f",
"PromotionId": "480236cd-8a51-4878-930b-660fd7117466",
"ProductId": "c8150aeb-6ef8-4b83-a290-edd44ee85f7e",
"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": "e7c38b8a-6877-4d02-88cc-4005a9531b68",
"PromotionId": "d28b265d-bded-4722-a146-826e8bf3ad1c",
"MerchantId": "514ff0ac-d20e-4698-b3d6-317528f009c1",
"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": "e7c38b8a-6877-4d02-88cc-4005a9531b68",
"PromotionId": "d28b265d-bded-4722-a146-826e8bf3ad1c",
"MerchantId": "514ff0ac-d20e-4698-b3d6-317528f009c1",
"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": "9dd65b47-c350-45fb-a7e7-50ee50c22b63",
"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": "7836231b-1743-422a-b63e-c6171ff76571",
"ClientId": "25f032b0-7095-46f8-aa14-137f3258d803",
"IsActive": true,
"IsDeleted": true,
"CreateDate": "2026-07-22 06:05:04",
"UpdateDate": "2026-07-22 06:05:04",
"CreateBy": "f4c4bcee-9674-4014-8983-7d609a82425f",
"UpdateBy": "f20c71ce-ca26-443e-a35c-be593b9c6b18"
},
"AppLayoutId": "e7ae8596-0524-49a2-90aa-eb72b2b63637",
"AppLayoutType": 0,
"StyleId": "5c35d469-2fd3-470e-936e-a21378dfaeae",
"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": "13a57675-cfec-41d0-b2c1-8da469542ad6",
"ClientId": "f432b115-1a76-40f1-bd37-c18e725b2932",
"IsActive": true,
"IsDeleted": true,
"CreateDate": "2026-07-22 06:05:04",
"UpdateDate": "2026-07-22 06:05:04",
"CreateBy": "e484ac7f-500a-434e-9d4c-fc9a9b4e0658",
"UpdateBy": "a606086f-fd6a-4377-9238-d27736ed9895"
},
"BrowerLayoutId": "5546c146-7436-46fb-8140-9c44b8decd12",
"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": "83362320-45af-4eb7-9330-dcd3a6934852",
"PrmtId": "77337cec-0997-428e-9570-f1fe7bc0ac19",
"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": "2e996398-ea3f-4b3f-9be8-516cb7c391b8",
"PrmtID": "bb3be0e6-c384-4988-a538-5f79b968bbce",
"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": "2e996398-ea3f-4b3f-9be8-516cb7c391b8",
"PrmtID": "bb3be0e6-c384-4988-a538-5f79b968bbce",
"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": "4e2ad8da-98d7-4081-bbb3-1645c96d3a2f",
"PromotionId": "480236cd-8a51-4878-930b-660fd7117466",
"ProductId": "c8150aeb-6ef8-4b83-a290-edd44ee85f7e",
"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": "4e2ad8da-98d7-4081-bbb3-1645c96d3a2f",
"PromotionId": "480236cd-8a51-4878-930b-660fd7117466",
"ProductId": "c8150aeb-6ef8-4b83-a290-edd44ee85f7e",
"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": "e7c38b8a-6877-4d02-88cc-4005a9531b68",
"PromotionId": "d28b265d-bded-4722-a146-826e8bf3ad1c",
"MerchantId": "514ff0ac-d20e-4698-b3d6-317528f009c1",
"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": "e7c38b8a-6877-4d02-88cc-4005a9531b68",
"PromotionId": "d28b265d-bded-4722-a146-826e8bf3ad1c",
"MerchantId": "514ff0ac-d20e-4698-b3d6-317528f009c1",
"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-07-22 06:05:04",
"CreateDateStr": "2026-07-22 06:05:04",
"UpdateDate": "2026-07-22 06:05:04",
"UpdateDateStr": "2026-07-22 06:05:04",
"PrmtProductCount": 11,
"PrmtBannerCount": 12,
"PrmtMerchantCount": 13
},
{
"Id": "83362320-45af-4eb7-9330-dcd3a6934852",
"PrmtId": "77337cec-0997-428e-9570-f1fe7bc0ac19",
"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": "2e996398-ea3f-4b3f-9be8-516cb7c391b8",
"PrmtID": "bb3be0e6-c384-4988-a538-5f79b968bbce",
"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": "2e996398-ea3f-4b3f-9be8-516cb7c391b8",
"PrmtID": "bb3be0e6-c384-4988-a538-5f79b968bbce",
"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": "4e2ad8da-98d7-4081-bbb3-1645c96d3a2f",
"PromotionId": "480236cd-8a51-4878-930b-660fd7117466",
"ProductId": "c8150aeb-6ef8-4b83-a290-edd44ee85f7e",
"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": "4e2ad8da-98d7-4081-bbb3-1645c96d3a2f",
"PromotionId": "480236cd-8a51-4878-930b-660fd7117466",
"ProductId": "c8150aeb-6ef8-4b83-a290-edd44ee85f7e",
"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": "e7c38b8a-6877-4d02-88cc-4005a9531b68",
"PromotionId": "d28b265d-bded-4722-a146-826e8bf3ad1c",
"MerchantId": "514ff0ac-d20e-4698-b3d6-317528f009c1",
"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": "e7c38b8a-6877-4d02-88cc-4005a9531b68",
"PromotionId": "d28b265d-bded-4722-a146-826e8bf3ad1c",
"MerchantId": "514ff0ac-d20e-4698-b3d6-317528f009c1",
"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-07-22 06:05:04",
"CreateDateStr": "2026-07-22 06:05:04",
"UpdateDate": "2026-07-22 06:05:04",
"UpdateDateStr": "2026-07-22 06:05:04",
"PrmtProductCount": 11,
"PrmtBannerCount": 12,
"PrmtMerchantCount": 13
}
],
"CreateDate": "2026-07-22 06:05:04",
"CreateDateStr": "2026-07-22 06:05:04",
"UpdateDate": "2026-07-22 06:05:04",
"UpdateDateStr": "2026-07-22 06:05:04",
"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": {}
}