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": "59596028-e049-45f0-b1a9-12748efb71ad",
"PageId": "e8726c88-6e87-4e67-9138-db743a337e71",
"CopyId": "b943e000-e4b6-4d4a-a7e7-afcd8b9f763d",
"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": "fb14334f-2bf7-4085-a462-6fff8ee927c5",
"PrmtID": "8ce98e9e-7a78-4d24-8328-4207987278fe",
"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": "fb14334f-2bf7-4085-a462-6fff8ee927c5",
"PrmtID": "8ce98e9e-7a78-4d24-8328-4207987278fe",
"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": "6d344e07-204f-4c3b-a901-415c44373a5c",
"PromotionId": "e92818ac-f38b-4509-bc0e-7e71404a5ae2",
"ProductId": "85cc1335-6e05-478d-a7f7-6f0ee174be14",
"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": "6d344e07-204f-4c3b-a901-415c44373a5c",
"PromotionId": "e92818ac-f38b-4509-bc0e-7e71404a5ae2",
"ProductId": "85cc1335-6e05-478d-a7f7-6f0ee174be14",
"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": "b3708546-43a3-4bcf-91cb-a240232c6700",
"PromotionId": "69342945-f45d-475d-9c8a-f4fa3e2bcad6",
"MerchantId": "b067407d-d050-4234-ae97-5dc505de9527",
"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": "b3708546-43a3-4bcf-91cb-a240232c6700",
"PromotionId": "69342945-f45d-475d-9c8a-f4fa3e2bcad6",
"MerchantId": "b067407d-d050-4234-ae97-5dc505de9527",
"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": "d725d6b1-40ce-4f5f-a046-5cf338b8573d",
"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": "001f59b4-26df-4138-b941-c09f9d2fa92b",
"ClientId": "de4eef75-8ec8-428f-b36d-50d90abb93ca",
"IsActive": true,
"IsDeleted": true,
"CreateDate": "2026-09-16 11:18:38",
"UpdateDate": "2026-09-16 11:18:38",
"CreateBy": "8490caf8-1712-4920-8f33-04e5d4f63d00",
"UpdateBy": "405ba5a0-8539-4777-814e-841a9cf8193e"
},
"AppLayoutId": "7ec378d1-8cbe-4731-a7b7-4d047d2a504b",
"AppLayoutType": 0,
"StyleId": "8ff5c94e-d994-4111-8964-25a525f55308",
"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": "7d5ac379-9bee-4cd6-8a27-0ee3fff6a866",
"ClientId": "80d3aac2-69b1-47c0-b6c9-36545743973d",
"IsActive": true,
"IsDeleted": true,
"CreateDate": "2026-09-16 11:18:38",
"UpdateDate": "2026-09-16 11:18:38",
"CreateBy": "17776eec-c254-4c1c-a245-06bdc02d2275",
"UpdateBy": "1716e721-7fca-4136-9dfd-363dbf8ca89b"
},
"BrowerLayoutId": "7cbf0304-06e0-4f0c-96ec-6495e2de1ee2",
"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": "5223a93b-7193-4b0f-adaf-ce6ab6277982",
"PrmtId": "124a24d8-4a08-4984-ab89-42b655cb000e",
"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": "fb14334f-2bf7-4085-a462-6fff8ee927c5",
"PrmtID": "8ce98e9e-7a78-4d24-8328-4207987278fe",
"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": "fb14334f-2bf7-4085-a462-6fff8ee927c5",
"PrmtID": "8ce98e9e-7a78-4d24-8328-4207987278fe",
"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": "6d344e07-204f-4c3b-a901-415c44373a5c",
"PromotionId": "e92818ac-f38b-4509-bc0e-7e71404a5ae2",
"ProductId": "85cc1335-6e05-478d-a7f7-6f0ee174be14",
"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": "6d344e07-204f-4c3b-a901-415c44373a5c",
"PromotionId": "e92818ac-f38b-4509-bc0e-7e71404a5ae2",
"ProductId": "85cc1335-6e05-478d-a7f7-6f0ee174be14",
"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": "b3708546-43a3-4bcf-91cb-a240232c6700",
"PromotionId": "69342945-f45d-475d-9c8a-f4fa3e2bcad6",
"MerchantId": "b067407d-d050-4234-ae97-5dc505de9527",
"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": "b3708546-43a3-4bcf-91cb-a240232c6700",
"PromotionId": "69342945-f45d-475d-9c8a-f4fa3e2bcad6",
"MerchantId": "b067407d-d050-4234-ae97-5dc505de9527",
"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:38",
"CreateDateStr": "2026-09-16 11:18:38",
"UpdateDate": "2026-09-16 11:18:38",
"UpdateDateStr": "2026-09-16 11:18:38",
"PrmtProductCount": 11,
"PrmtBannerCount": 12,
"PrmtMerchantCount": 13
},
{
"Id": "5223a93b-7193-4b0f-adaf-ce6ab6277982",
"PrmtId": "124a24d8-4a08-4984-ab89-42b655cb000e",
"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": "fb14334f-2bf7-4085-a462-6fff8ee927c5",
"PrmtID": "8ce98e9e-7a78-4d24-8328-4207987278fe",
"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": "fb14334f-2bf7-4085-a462-6fff8ee927c5",
"PrmtID": "8ce98e9e-7a78-4d24-8328-4207987278fe",
"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": "6d344e07-204f-4c3b-a901-415c44373a5c",
"PromotionId": "e92818ac-f38b-4509-bc0e-7e71404a5ae2",
"ProductId": "85cc1335-6e05-478d-a7f7-6f0ee174be14",
"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": "6d344e07-204f-4c3b-a901-415c44373a5c",
"PromotionId": "e92818ac-f38b-4509-bc0e-7e71404a5ae2",
"ProductId": "85cc1335-6e05-478d-a7f7-6f0ee174be14",
"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": "b3708546-43a3-4bcf-91cb-a240232c6700",
"PromotionId": "69342945-f45d-475d-9c8a-f4fa3e2bcad6",
"MerchantId": "b067407d-d050-4234-ae97-5dc505de9527",
"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": "b3708546-43a3-4bcf-91cb-a240232c6700",
"PromotionId": "69342945-f45d-475d-9c8a-f4fa3e2bcad6",
"MerchantId": "b067407d-d050-4234-ae97-5dc505de9527",
"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:38",
"CreateDateStr": "2026-09-16 11:18:38",
"UpdateDate": "2026-09-16 11:18:38",
"UpdateDateStr": "2026-09-16 11:18:38",
"PrmtProductCount": 11,
"PrmtBannerCount": 12,
"PrmtMerchantCount": 13
}
],
"CreateDate": "2026-09-16 11:18:38",
"CreateDateStr": "2026-09-16 11:18:38",
"UpdateDate": "2026-09-16 11:18:38",
"UpdateDateStr": "2026-09-16 11:18:38",
"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": {}
}