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": "6ec757b1-549d-4a69-9c97-57095dd49738",
"PageId": "54352c7f-6f5d-4387-9abe-11b68c4d0b3e",
"CopyId": "30ec2b36-c24d-43f9-83a8-7da74c15e475",
"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": "be259098-e090-4c0e-9c43-090e3707606c",
"PrmtID": "84a72a98-cd4c-4491-b3a3-8bf8c852e57a",
"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": "be259098-e090-4c0e-9c43-090e3707606c",
"PrmtID": "84a72a98-cd4c-4491-b3a3-8bf8c852e57a",
"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": "9b37c90b-ae80-45fe-a303-27eb142de42c",
"PromotionId": "30266cbc-3ddd-457e-9101-0b3bcea48c8f",
"ProductId": "76feadf1-232a-4dfd-ad51-e8446bcc8acd",
"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": "9b37c90b-ae80-45fe-a303-27eb142de42c",
"PromotionId": "30266cbc-3ddd-457e-9101-0b3bcea48c8f",
"ProductId": "76feadf1-232a-4dfd-ad51-e8446bcc8acd",
"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": "123b0924-528b-4553-8c63-deeff9aab104",
"PromotionId": "62a59042-6427-43d5-8e40-1620da30350a",
"MerchantId": "137e074e-60b0-4360-b92a-89164240fbcb",
"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": "123b0924-528b-4553-8c63-deeff9aab104",
"PromotionId": "62a59042-6427-43d5-8e40-1620da30350a",
"MerchantId": "137e074e-60b0-4360-b92a-89164240fbcb",
"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": "4a06dd5e-a243-4f8b-bcb5-b32ea3906b66",
"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": "b17ae3eb-75fc-4a3c-9a63-ed236c01a5d1",
"ClientId": "adc40a9e-3af6-4ef4-b863-36e8f44b4aaf",
"IsActive": true,
"IsDeleted": true,
"CreateDate": "2026-07-22 06:04:40",
"UpdateDate": "2026-07-22 06:04:40",
"CreateBy": "44c4c5aa-4ba5-4df7-933f-af6c577c577e",
"UpdateBy": "c2cc090f-d82b-4238-81d9-26e360073ce2"
},
"AppLayoutId": "65c0f0db-8b27-44df-9e3f-cd5ba511315b",
"AppLayoutType": 0,
"StyleId": "41bd9d24-1e18-4458-97e4-2db063b91549",
"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": "71d544ac-1194-4c33-9344-1e2806a3fa93",
"ClientId": "a34bf5d5-8623-4245-a71e-e2e3057e0e70",
"IsActive": true,
"IsDeleted": true,
"CreateDate": "2026-07-22 06:04:40",
"UpdateDate": "2026-07-22 06:04:40",
"CreateBy": "9f1ae29b-c88f-4c39-86f3-1f9643ef6e79",
"UpdateBy": "f7036e84-1717-4a73-98d9-e2a5104516ed"
},
"BrowerLayoutId": "ad3e772b-1168-47a7-bf3e-da06cfc0b3f5",
"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": "d0294222-95c1-4578-bb4e-40f884fa0bf0",
"PrmtId": "94d4523f-5429-4e8f-a9c6-478919bcf044",
"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": "be259098-e090-4c0e-9c43-090e3707606c",
"PrmtID": "84a72a98-cd4c-4491-b3a3-8bf8c852e57a",
"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": "be259098-e090-4c0e-9c43-090e3707606c",
"PrmtID": "84a72a98-cd4c-4491-b3a3-8bf8c852e57a",
"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": "9b37c90b-ae80-45fe-a303-27eb142de42c",
"PromotionId": "30266cbc-3ddd-457e-9101-0b3bcea48c8f",
"ProductId": "76feadf1-232a-4dfd-ad51-e8446bcc8acd",
"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": "9b37c90b-ae80-45fe-a303-27eb142de42c",
"PromotionId": "30266cbc-3ddd-457e-9101-0b3bcea48c8f",
"ProductId": "76feadf1-232a-4dfd-ad51-e8446bcc8acd",
"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": "123b0924-528b-4553-8c63-deeff9aab104",
"PromotionId": "62a59042-6427-43d5-8e40-1620da30350a",
"MerchantId": "137e074e-60b0-4360-b92a-89164240fbcb",
"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": "123b0924-528b-4553-8c63-deeff9aab104",
"PromotionId": "62a59042-6427-43d5-8e40-1620da30350a",
"MerchantId": "137e074e-60b0-4360-b92a-89164240fbcb",
"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-07-22 06:04:40",
"CreateDateStr": "2026-07-22 06:04:40",
"UpdateDate": "2026-07-22 06:04:40",
"UpdateDateStr": "2026-07-22 06:04:40",
"PrmtProductCount": 11,
"PrmtBannerCount": 12,
"PrmtMerchantCount": 13
},
{
"Id": "d0294222-95c1-4578-bb4e-40f884fa0bf0",
"PrmtId": "94d4523f-5429-4e8f-a9c6-478919bcf044",
"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": "be259098-e090-4c0e-9c43-090e3707606c",
"PrmtID": "84a72a98-cd4c-4491-b3a3-8bf8c852e57a",
"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": "be259098-e090-4c0e-9c43-090e3707606c",
"PrmtID": "84a72a98-cd4c-4491-b3a3-8bf8c852e57a",
"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": "9b37c90b-ae80-45fe-a303-27eb142de42c",
"PromotionId": "30266cbc-3ddd-457e-9101-0b3bcea48c8f",
"ProductId": "76feadf1-232a-4dfd-ad51-e8446bcc8acd",
"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": "9b37c90b-ae80-45fe-a303-27eb142de42c",
"PromotionId": "30266cbc-3ddd-457e-9101-0b3bcea48c8f",
"ProductId": "76feadf1-232a-4dfd-ad51-e8446bcc8acd",
"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": "123b0924-528b-4553-8c63-deeff9aab104",
"PromotionId": "62a59042-6427-43d5-8e40-1620da30350a",
"MerchantId": "137e074e-60b0-4360-b92a-89164240fbcb",
"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": "123b0924-528b-4553-8c63-deeff9aab104",
"PromotionId": "62a59042-6427-43d5-8e40-1620da30350a",
"MerchantId": "137e074e-60b0-4360-b92a-89164240fbcb",
"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-07-22 06:04:40",
"CreateDateStr": "2026-07-22 06:04:40",
"UpdateDate": "2026-07-22 06:04:40",
"UpdateDateStr": "2026-07-22 06:04:40",
"PrmtProductCount": 11,
"PrmtBannerCount": 12,
"PrmtMerchantCount": 13
}
],
"CreateDate": "2026-07-22 06:04:40",
"CreateDateStr": "2026-07-22 06:04:40",
"UpdateDate": "2026-07-22 06:04:40",
"UpdateDateStr": "2026-07-22 06:04:40",
"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": {}
}