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": "a935fb75-da08-406a-81e0-57bf6a496f6a",
"PageId": "4963cef1-2fa5-4727-83bd-4254a6fefb5b",
"CopyId": "8f617911-8f62-44ac-8e10-a58f345c017d",
"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": "5a4c39ed-cbe4-4532-86f8-017c442084ea",
"PrmtID": "6f8a0588-a79d-49ad-85d9-b235e10e5ab0",
"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": "5a4c39ed-cbe4-4532-86f8-017c442084ea",
"PrmtID": "6f8a0588-a79d-49ad-85d9-b235e10e5ab0",
"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": "4284fb21-d477-4da2-9156-b6e7b068be9b",
"PromotionId": "448747d6-71a2-4993-b936-e2315f9a4fe9",
"ProductId": "969fb6cb-5f99-4ede-839b-af7766eece8e",
"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": "4284fb21-d477-4da2-9156-b6e7b068be9b",
"PromotionId": "448747d6-71a2-4993-b936-e2315f9a4fe9",
"ProductId": "969fb6cb-5f99-4ede-839b-af7766eece8e",
"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": "44ce0b93-56ec-4c97-8070-17b4b2d3abbb",
"PromotionId": "4beb9493-598a-4885-ac24-7bb36402ca23",
"MerchantId": "9ad80266-2553-444f-a300-fd134f60e9f9",
"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": "44ce0b93-56ec-4c97-8070-17b4b2d3abbb",
"PromotionId": "4beb9493-598a-4885-ac24-7bb36402ca23",
"MerchantId": "9ad80266-2553-444f-a300-fd134f60e9f9",
"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": "55a661a1-6650-474f-b47d-692d5212a50b",
"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": "5c9428d4-a53e-4763-b149-75949267625b",
"ClientId": "37deadd9-ce1a-4ec3-9831-71a4ea68718b",
"IsActive": true,
"IsDeleted": true,
"CreateDate": "2026-10-31 13:53:28",
"UpdateDate": "2026-10-31 13:53:28",
"CreateBy": "2af712c0-1cf3-4a05-a233-0b36d0ef9483",
"UpdateBy": "96b12cd2-4a94-4be7-8e6c-8c6c04acc0a1"
},
"AppLayoutId": "45175562-5f29-47ff-bbbe-0abff5ff65a4",
"AppLayoutType": 0,
"StyleId": "13e998ab-a197-4f7b-94de-66fed677cd55",
"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": "f02f72b6-d3c5-445d-90f8-00e0ae930f9f",
"ClientId": "ebee95a3-0a71-4742-ad20-e09ca6ad800b",
"IsActive": true,
"IsDeleted": true,
"CreateDate": "2026-10-31 13:53:28",
"UpdateDate": "2026-10-31 13:53:28",
"CreateBy": "d373efec-f248-4b24-9334-10cc89147076",
"UpdateBy": "a0f9250e-025c-4e31-b359-d2fe994fb1a1"
},
"BrowerLayoutId": "5ba62ca9-2bfb-4ab6-bd5b-349cc0972bcb",
"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": "253f593a-09df-4d81-8e26-0be543ced6bb",
"PrmtId": "273408a3-11e1-487a-a7c2-8518fc55bc0f",
"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": "5a4c39ed-cbe4-4532-86f8-017c442084ea",
"PrmtID": "6f8a0588-a79d-49ad-85d9-b235e10e5ab0",
"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": "5a4c39ed-cbe4-4532-86f8-017c442084ea",
"PrmtID": "6f8a0588-a79d-49ad-85d9-b235e10e5ab0",
"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": "4284fb21-d477-4da2-9156-b6e7b068be9b",
"PromotionId": "448747d6-71a2-4993-b936-e2315f9a4fe9",
"ProductId": "969fb6cb-5f99-4ede-839b-af7766eece8e",
"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": "4284fb21-d477-4da2-9156-b6e7b068be9b",
"PromotionId": "448747d6-71a2-4993-b936-e2315f9a4fe9",
"ProductId": "969fb6cb-5f99-4ede-839b-af7766eece8e",
"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": "44ce0b93-56ec-4c97-8070-17b4b2d3abbb",
"PromotionId": "4beb9493-598a-4885-ac24-7bb36402ca23",
"MerchantId": "9ad80266-2553-444f-a300-fd134f60e9f9",
"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": "44ce0b93-56ec-4c97-8070-17b4b2d3abbb",
"PromotionId": "4beb9493-598a-4885-ac24-7bb36402ca23",
"MerchantId": "9ad80266-2553-444f-a300-fd134f60e9f9",
"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-10-31 13:53:28",
"CreateDateStr": "2026-10-31 13:53:28",
"UpdateDate": "2026-10-31 13:53:28",
"UpdateDateStr": "2026-10-31 13:53:28",
"PrmtProductCount": 11,
"PrmtBannerCount": 12,
"PrmtMerchantCount": 13
},
{
"Id": "253f593a-09df-4d81-8e26-0be543ced6bb",
"PrmtId": "273408a3-11e1-487a-a7c2-8518fc55bc0f",
"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": "5a4c39ed-cbe4-4532-86f8-017c442084ea",
"PrmtID": "6f8a0588-a79d-49ad-85d9-b235e10e5ab0",
"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": "5a4c39ed-cbe4-4532-86f8-017c442084ea",
"PrmtID": "6f8a0588-a79d-49ad-85d9-b235e10e5ab0",
"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": "4284fb21-d477-4da2-9156-b6e7b068be9b",
"PromotionId": "448747d6-71a2-4993-b936-e2315f9a4fe9",
"ProductId": "969fb6cb-5f99-4ede-839b-af7766eece8e",
"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": "4284fb21-d477-4da2-9156-b6e7b068be9b",
"PromotionId": "448747d6-71a2-4993-b936-e2315f9a4fe9",
"ProductId": "969fb6cb-5f99-4ede-839b-af7766eece8e",
"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": "44ce0b93-56ec-4c97-8070-17b4b2d3abbb",
"PromotionId": "4beb9493-598a-4885-ac24-7bb36402ca23",
"MerchantId": "9ad80266-2553-444f-a300-fd134f60e9f9",
"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": "44ce0b93-56ec-4c97-8070-17b4b2d3abbb",
"PromotionId": "4beb9493-598a-4885-ac24-7bb36402ca23",
"MerchantId": "9ad80266-2553-444f-a300-fd134f60e9f9",
"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-10-31 13:53:28",
"CreateDateStr": "2026-10-31 13:53:28",
"UpdateDate": "2026-10-31 13:53:28",
"UpdateDateStr": "2026-10-31 13:53:28",
"PrmtProductCount": 11,
"PrmtBannerCount": 12,
"PrmtMerchantCount": 13
}
],
"CreateDate": "2026-10-31 13:53:28",
"CreateDateStr": "2026-10-31 13:53:28",
"UpdateDate": "2026-10-31 13:53:28",
"UpdateDateStr": "2026-10-31 13:53:28",
"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": {}
}