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": "232f5926-e863-42ec-84ee-dc33fd1bbba7",
"PageId": "e909cc71-bd2c-44ce-a6ce-abfb4b13da59",
"CopyId": "5f3fb923-7c3b-4b71-b0e2-ed8825c24353",
"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": "f77105b7-d068-4a6f-b45c-76a6de9d9a1d",
"PrmtID": "de95c0b4-8557-449d-b163-718b42bd4332",
"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": "f77105b7-d068-4a6f-b45c-76a6de9d9a1d",
"PrmtID": "de95c0b4-8557-449d-b163-718b42bd4332",
"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": "c3c04373-ef75-4b39-81d5-c387ebf5b8e4",
"PromotionId": "191a6097-bdaa-47f4-92c1-4bb7021c614e",
"ProductId": "38f0ddbb-a725-48e5-a75d-303151d8fdf6",
"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": "c3c04373-ef75-4b39-81d5-c387ebf5b8e4",
"PromotionId": "191a6097-bdaa-47f4-92c1-4bb7021c614e",
"ProductId": "38f0ddbb-a725-48e5-a75d-303151d8fdf6",
"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": "2bb1cbde-2dee-4512-b5c6-8467efa43526",
"PromotionId": "ddd42420-3974-41b1-a05b-1419b16387af",
"MerchantId": "8fe56775-37f0-42e2-9ca1-cbe239f1f9ef",
"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": "2bb1cbde-2dee-4512-b5c6-8467efa43526",
"PromotionId": "ddd42420-3974-41b1-a05b-1419b16387af",
"MerchantId": "8fe56775-37f0-42e2-9ca1-cbe239f1f9ef",
"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": "3235cb0e-1ccb-485b-89fd-11fd43574e5e",
"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": "aa7eb91c-c7ff-4e86-905c-84757effecd6",
"ClientId": "283c0205-0fec-47b2-ba67-53f7ab6630e4",
"IsActive": true,
"IsDeleted": true,
"CreateDate": "2026-08-17 02:05:55",
"UpdateDate": "2026-08-17 02:05:55",
"CreateBy": "bf647d71-8cbe-40f8-a076-f4cc3163b5bf",
"UpdateBy": "9f4eca81-3d77-413c-9eb3-00092744f323"
},
"AppLayoutId": "5601012f-2408-4366-b7b7-6f1f302b01e7",
"AppLayoutType": 0,
"StyleId": "ed2ae29b-ce5c-4eb1-8d87-2d37a6067b10",
"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": "909e6185-c8a7-4dcb-a7e1-63d81e51dbf3",
"ClientId": "f72b42ca-0108-43fe-bbe7-28e864df6ea8",
"IsActive": true,
"IsDeleted": true,
"CreateDate": "2026-08-17 02:05:55",
"UpdateDate": "2026-08-17 02:05:55",
"CreateBy": "a007eec4-5dbd-488b-bcc3-3499de6563b3",
"UpdateBy": "511c7491-4aaf-4c70-945e-b57be0110322"
},
"BrowerLayoutId": "a579bd4a-8ea1-43e3-9bd1-7c86ac9240a5",
"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": "0ffa613d-e029-4821-9c45-2e598f1dc06d",
"PrmtId": "4e5296b9-90ae-4198-abeb-e9abf27c42d0",
"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": "f77105b7-d068-4a6f-b45c-76a6de9d9a1d",
"PrmtID": "de95c0b4-8557-449d-b163-718b42bd4332",
"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": "f77105b7-d068-4a6f-b45c-76a6de9d9a1d",
"PrmtID": "de95c0b4-8557-449d-b163-718b42bd4332",
"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": "c3c04373-ef75-4b39-81d5-c387ebf5b8e4",
"PromotionId": "191a6097-bdaa-47f4-92c1-4bb7021c614e",
"ProductId": "38f0ddbb-a725-48e5-a75d-303151d8fdf6",
"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": "c3c04373-ef75-4b39-81d5-c387ebf5b8e4",
"PromotionId": "191a6097-bdaa-47f4-92c1-4bb7021c614e",
"ProductId": "38f0ddbb-a725-48e5-a75d-303151d8fdf6",
"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": "2bb1cbde-2dee-4512-b5c6-8467efa43526",
"PromotionId": "ddd42420-3974-41b1-a05b-1419b16387af",
"MerchantId": "8fe56775-37f0-42e2-9ca1-cbe239f1f9ef",
"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": "2bb1cbde-2dee-4512-b5c6-8467efa43526",
"PromotionId": "ddd42420-3974-41b1-a05b-1419b16387af",
"MerchantId": "8fe56775-37f0-42e2-9ca1-cbe239f1f9ef",
"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:05:55",
"CreateDateStr": "2026-08-17 02:05:55",
"UpdateDate": "2026-08-17 02:05:55",
"UpdateDateStr": "2026-08-17 02:05:55",
"PrmtProductCount": 11,
"PrmtBannerCount": 12,
"PrmtMerchantCount": 13
},
{
"Id": "0ffa613d-e029-4821-9c45-2e598f1dc06d",
"PrmtId": "4e5296b9-90ae-4198-abeb-e9abf27c42d0",
"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": "f77105b7-d068-4a6f-b45c-76a6de9d9a1d",
"PrmtID": "de95c0b4-8557-449d-b163-718b42bd4332",
"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": "f77105b7-d068-4a6f-b45c-76a6de9d9a1d",
"PrmtID": "de95c0b4-8557-449d-b163-718b42bd4332",
"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": "c3c04373-ef75-4b39-81d5-c387ebf5b8e4",
"PromotionId": "191a6097-bdaa-47f4-92c1-4bb7021c614e",
"ProductId": "38f0ddbb-a725-48e5-a75d-303151d8fdf6",
"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": "c3c04373-ef75-4b39-81d5-c387ebf5b8e4",
"PromotionId": "191a6097-bdaa-47f4-92c1-4bb7021c614e",
"ProductId": "38f0ddbb-a725-48e5-a75d-303151d8fdf6",
"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": "2bb1cbde-2dee-4512-b5c6-8467efa43526",
"PromotionId": "ddd42420-3974-41b1-a05b-1419b16387af",
"MerchantId": "8fe56775-37f0-42e2-9ca1-cbe239f1f9ef",
"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": "2bb1cbde-2dee-4512-b5c6-8467efa43526",
"PromotionId": "ddd42420-3974-41b1-a05b-1419b16387af",
"MerchantId": "8fe56775-37f0-42e2-9ca1-cbe239f1f9ef",
"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:05:55",
"CreateDateStr": "2026-08-17 02:05:55",
"UpdateDate": "2026-08-17 02:05:55",
"UpdateDateStr": "2026-08-17 02:05:55",
"PrmtProductCount": 11,
"PrmtBannerCount": 12,
"PrmtMerchantCount": 13
}
],
"CreateDate": "2026-08-17 02:05:55",
"CreateDateStr": "2026-08-17 02:05:55",
"UpdateDate": "2026-08-17 02:05:55",
"UpdateDateStr": "2026-08-17 02:05:55",
"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": {}
}