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": "b0e8ea8c-5380-4008-89ce-1d58312563c3",
"PageId": "23586ea2-928a-48eb-b2c9-e538ed4f1edd",
"CopyId": "950acb05-72f5-46df-a45c-ef0bca464793",
"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": "fb17d312-27cb-452f-94ea-77734772f592",
"PrmtID": "04f97c92-3315-4957-b70e-30638b61773b",
"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": "fb17d312-27cb-452f-94ea-77734772f592",
"PrmtID": "04f97c92-3315-4957-b70e-30638b61773b",
"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": "299496c3-063d-433b-96f7-1bd24b1f330a",
"PromotionId": "8b2adeaf-01c8-4a07-bc09-2327beac0493",
"ProductId": "a29407f8-080a-4658-a6e8-8bb76b93e6a8",
"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": "299496c3-063d-433b-96f7-1bd24b1f330a",
"PromotionId": "8b2adeaf-01c8-4a07-bc09-2327beac0493",
"ProductId": "a29407f8-080a-4658-a6e8-8bb76b93e6a8",
"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": "a514e3ca-c326-40db-a44d-d8a227032ce6",
"PromotionId": "3678abac-3731-4d5f-91d0-ca8b3537caad",
"MerchantId": "096c0803-37ee-4628-8bc4-47564c9bbafb",
"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": "a514e3ca-c326-40db-a44d-d8a227032ce6",
"PromotionId": "3678abac-3731-4d5f-91d0-ca8b3537caad",
"MerchantId": "096c0803-37ee-4628-8bc4-47564c9bbafb",
"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": "d3ca0f18-3aa2-495d-b795-4b89c262370f",
"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": "e0f9b496-4875-4abf-8ad6-2ae465ba5c5e",
"ClientId": "016af9fe-8618-4588-9c8d-5a366f0ad326",
"IsActive": true,
"IsDeleted": true,
"CreateDate": "2026-12-06 09:27:28",
"UpdateDate": "2026-12-06 09:27:28",
"CreateBy": "487984af-03dd-4c4d-bee2-df080eab15a0",
"UpdateBy": "6799bdfb-d2db-42eb-9839-34c61f8171d1"
},
"AppLayoutId": "82d7ad46-a737-4a1a-986b-614658beac3c",
"AppLayoutType": 0,
"StyleId": "39651bbe-317e-45f4-b61e-1f74e75c50c8",
"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": "5458248e-0b93-4df6-8955-19edd111591a",
"ClientId": "51af2df7-9283-43a2-929d-440ac7795449",
"IsActive": true,
"IsDeleted": true,
"CreateDate": "2026-12-06 09:27:28",
"UpdateDate": "2026-12-06 09:27:28",
"CreateBy": "ffee6f83-0ec6-4cd8-b1cd-7ebc0731dc1a",
"UpdateBy": "b83487fa-610e-4b56-9c70-639e1059a6dd"
},
"BrowerLayoutId": "14af6015-572f-403f-beeb-423f4051ffa4",
"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": "974bbd50-60e7-4f2c-a2d0-e9e71db448b5",
"PrmtId": "85b6c2ca-e856-4d60-ab35-02ec40243d2c",
"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": "fb17d312-27cb-452f-94ea-77734772f592",
"PrmtID": "04f97c92-3315-4957-b70e-30638b61773b",
"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": "fb17d312-27cb-452f-94ea-77734772f592",
"PrmtID": "04f97c92-3315-4957-b70e-30638b61773b",
"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": "299496c3-063d-433b-96f7-1bd24b1f330a",
"PromotionId": "8b2adeaf-01c8-4a07-bc09-2327beac0493",
"ProductId": "a29407f8-080a-4658-a6e8-8bb76b93e6a8",
"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": "299496c3-063d-433b-96f7-1bd24b1f330a",
"PromotionId": "8b2adeaf-01c8-4a07-bc09-2327beac0493",
"ProductId": "a29407f8-080a-4658-a6e8-8bb76b93e6a8",
"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": "a514e3ca-c326-40db-a44d-d8a227032ce6",
"PromotionId": "3678abac-3731-4d5f-91d0-ca8b3537caad",
"MerchantId": "096c0803-37ee-4628-8bc4-47564c9bbafb",
"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": "a514e3ca-c326-40db-a44d-d8a227032ce6",
"PromotionId": "3678abac-3731-4d5f-91d0-ca8b3537caad",
"MerchantId": "096c0803-37ee-4628-8bc4-47564c9bbafb",
"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-12-06 09:27:28",
"CreateDateStr": "2026-12-06 09:27:28",
"UpdateDate": "2026-12-06 09:27:28",
"UpdateDateStr": "2026-12-06 09:27:28",
"PrmtProductCount": 11,
"PrmtBannerCount": 12,
"PrmtMerchantCount": 13
},
{
"Id": "974bbd50-60e7-4f2c-a2d0-e9e71db448b5",
"PrmtId": "85b6c2ca-e856-4d60-ab35-02ec40243d2c",
"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": "fb17d312-27cb-452f-94ea-77734772f592",
"PrmtID": "04f97c92-3315-4957-b70e-30638b61773b",
"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": "fb17d312-27cb-452f-94ea-77734772f592",
"PrmtID": "04f97c92-3315-4957-b70e-30638b61773b",
"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": "299496c3-063d-433b-96f7-1bd24b1f330a",
"PromotionId": "8b2adeaf-01c8-4a07-bc09-2327beac0493",
"ProductId": "a29407f8-080a-4658-a6e8-8bb76b93e6a8",
"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": "299496c3-063d-433b-96f7-1bd24b1f330a",
"PromotionId": "8b2adeaf-01c8-4a07-bc09-2327beac0493",
"ProductId": "a29407f8-080a-4658-a6e8-8bb76b93e6a8",
"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": "a514e3ca-c326-40db-a44d-d8a227032ce6",
"PromotionId": "3678abac-3731-4d5f-91d0-ca8b3537caad",
"MerchantId": "096c0803-37ee-4628-8bc4-47564c9bbafb",
"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": "a514e3ca-c326-40db-a44d-d8a227032ce6",
"PromotionId": "3678abac-3731-4d5f-91d0-ca8b3537caad",
"MerchantId": "096c0803-37ee-4628-8bc4-47564c9bbafb",
"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-12-06 09:27:28",
"CreateDateStr": "2026-12-06 09:27:28",
"UpdateDate": "2026-12-06 09:27:28",
"UpdateDateStr": "2026-12-06 09:27:28",
"PrmtProductCount": 11,
"PrmtBannerCount": 12,
"PrmtMerchantCount": 13
}
],
"CreateDate": "2026-12-06 09:27:28",
"CreateDateStr": "2026-12-06 09:27:28",
"UpdateDate": "2026-12-06 09:27:28",
"UpdateDateStr": "2026-12-06 09:27: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": {}
}