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": "ec4d1d64-b62f-44d8-a96b-32aafc2bc834",
"PageId": "fd7f1963-bbb5-450b-9552-b3c43157ac48",
"CopyId": "b582bd30-2ced-4502-8fae-fe904a81bca4",
"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": "90e73897-4e2d-465b-93f7-3d0aa3538e53",
"PrmtID": "bea5e3e2-a7c7-46f9-b610-57c01ebedfbb",
"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": "90e73897-4e2d-465b-93f7-3d0aa3538e53",
"PrmtID": "bea5e3e2-a7c7-46f9-b610-57c01ebedfbb",
"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": "08e355c5-5824-42c9-aeb2-1edf8e92e3bf",
"PromotionId": "8bc2eb74-eecd-4277-b6ec-7f29bf7b3ba0",
"ProductId": "7b5457f1-aa98-48a5-a809-2ce8496f3bd3",
"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": "08e355c5-5824-42c9-aeb2-1edf8e92e3bf",
"PromotionId": "8bc2eb74-eecd-4277-b6ec-7f29bf7b3ba0",
"ProductId": "7b5457f1-aa98-48a5-a809-2ce8496f3bd3",
"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": "f490a891-3494-41a5-9c08-c898aa9eb2ad",
"PromotionId": "c3940710-4bbd-43c7-8812-32803e8e69a2",
"MerchantId": "8de03cdd-b818-4ca5-8d84-c54569f11e93",
"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": "f490a891-3494-41a5-9c08-c898aa9eb2ad",
"PromotionId": "c3940710-4bbd-43c7-8812-32803e8e69a2",
"MerchantId": "8de03cdd-b818-4ca5-8d84-c54569f11e93",
"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": "749e08e8-a631-497c-ad15-c99c696577bc",
"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": "ffba00cb-7282-4d9a-83da-7a16559dc097",
"ClientId": "b2ab364f-420a-4e75-b6f5-faf4ef912739",
"IsActive": true,
"IsDeleted": true,
"CreateDate": "2025-10-28 19:09:24",
"UpdateDate": "2025-10-28 19:09:24",
"CreateBy": "41b4dd83-f170-49a4-9fba-4b8196cd3dcb",
"UpdateBy": "110cfc83-8a57-4f5d-a272-6e6f75dc3a32"
},
"AppLayoutId": "bd9f786a-3a54-4078-b4de-63a21c2888b0",
"AppLayoutType": 0,
"StyleId": "195c1ad6-ba46-44b6-ac4d-f82afd89b4c1",
"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": "98089b79-abe2-4883-a88a-6e6d11abf901",
"ClientId": "20a684a3-3e58-4c84-b7b5-2460f06c1a7d",
"IsActive": true,
"IsDeleted": true,
"CreateDate": "2025-10-28 19:09:24",
"UpdateDate": "2025-10-28 19:09:24",
"CreateBy": "9ff6cf5d-39c6-4373-be76-7299a9e0bf01",
"UpdateBy": "71e4234c-a9b5-4f94-9ace-6745ee1db9dd"
},
"BrowerLayoutId": "5682c3f2-d7d7-4021-93d7-226d694b083a",
"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": "693daf5e-0f60-4f23-8752-ebf82b90a5ac",
"PrmtId": "dc09bdfd-331c-494f-ab4c-926c95a423bc",
"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": "90e73897-4e2d-465b-93f7-3d0aa3538e53",
"PrmtID": "bea5e3e2-a7c7-46f9-b610-57c01ebedfbb",
"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": "90e73897-4e2d-465b-93f7-3d0aa3538e53",
"PrmtID": "bea5e3e2-a7c7-46f9-b610-57c01ebedfbb",
"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": "08e355c5-5824-42c9-aeb2-1edf8e92e3bf",
"PromotionId": "8bc2eb74-eecd-4277-b6ec-7f29bf7b3ba0",
"ProductId": "7b5457f1-aa98-48a5-a809-2ce8496f3bd3",
"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": "08e355c5-5824-42c9-aeb2-1edf8e92e3bf",
"PromotionId": "8bc2eb74-eecd-4277-b6ec-7f29bf7b3ba0",
"ProductId": "7b5457f1-aa98-48a5-a809-2ce8496f3bd3",
"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": "f490a891-3494-41a5-9c08-c898aa9eb2ad",
"PromotionId": "c3940710-4bbd-43c7-8812-32803e8e69a2",
"MerchantId": "8de03cdd-b818-4ca5-8d84-c54569f11e93",
"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": "f490a891-3494-41a5-9c08-c898aa9eb2ad",
"PromotionId": "c3940710-4bbd-43c7-8812-32803e8e69a2",
"MerchantId": "8de03cdd-b818-4ca5-8d84-c54569f11e93",
"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": "2025-10-28 19:09:24",
"CreateDateStr": "2025-10-28 19:09:24",
"UpdateDate": "2025-10-28 19:09:24",
"UpdateDateStr": "2025-10-28 19:09:24",
"PrmtProductCount": 11,
"PrmtBannerCount": 12,
"PrmtMerchantCount": 13
},
{
"Id": "693daf5e-0f60-4f23-8752-ebf82b90a5ac",
"PrmtId": "dc09bdfd-331c-494f-ab4c-926c95a423bc",
"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": "90e73897-4e2d-465b-93f7-3d0aa3538e53",
"PrmtID": "bea5e3e2-a7c7-46f9-b610-57c01ebedfbb",
"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": "90e73897-4e2d-465b-93f7-3d0aa3538e53",
"PrmtID": "bea5e3e2-a7c7-46f9-b610-57c01ebedfbb",
"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": "08e355c5-5824-42c9-aeb2-1edf8e92e3bf",
"PromotionId": "8bc2eb74-eecd-4277-b6ec-7f29bf7b3ba0",
"ProductId": "7b5457f1-aa98-48a5-a809-2ce8496f3bd3",
"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": "08e355c5-5824-42c9-aeb2-1edf8e92e3bf",
"PromotionId": "8bc2eb74-eecd-4277-b6ec-7f29bf7b3ba0",
"ProductId": "7b5457f1-aa98-48a5-a809-2ce8496f3bd3",
"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": "f490a891-3494-41a5-9c08-c898aa9eb2ad",
"PromotionId": "c3940710-4bbd-43c7-8812-32803e8e69a2",
"MerchantId": "8de03cdd-b818-4ca5-8d84-c54569f11e93",
"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": "f490a891-3494-41a5-9c08-c898aa9eb2ad",
"PromotionId": "c3940710-4bbd-43c7-8812-32803e8e69a2",
"MerchantId": "8de03cdd-b818-4ca5-8d84-c54569f11e93",
"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": "2025-10-28 19:09:24",
"CreateDateStr": "2025-10-28 19:09:24",
"UpdateDate": "2025-10-28 19:09:24",
"UpdateDateStr": "2025-10-28 19:09:24",
"PrmtProductCount": 11,
"PrmtBannerCount": 12,
"PrmtMerchantCount": 13
}
],
"CreateDate": "2025-10-28 19:09:24",
"CreateDateStr": "2025-10-28 19:09:24",
"UpdateDate": "2025-10-28 19:09:24",
"UpdateDateStr": "2025-10-28 19:09:24",
"IspType": "sample string 22"
}
application/x-www-form-urlencoded
Sample:
Sample not available.
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": {}
}