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": "bcea267c-bd19-4a4a-8d4c-84ac7c5a505a",
"PageId": "b433545f-087c-46d8-8d30-299557f66fd1",
"CopyId": "f42bf0bb-f12b-4ae8-8957-c1bcc4856e03",
"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": "26e6ac3e-ee66-4eca-90e5-8f30d06c1126",
"PrmtID": "b7552514-46ca-4169-9b96-378f970dd91c",
"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": "26e6ac3e-ee66-4eca-90e5-8f30d06c1126",
"PrmtID": "b7552514-46ca-4169-9b96-378f970dd91c",
"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": "651486e1-6da9-4702-8951-2cd73888d5e4",
"PromotionId": "cb3b62c6-c23c-45c5-bba7-2e4614920866",
"ProductId": "ff878563-3c30-4fff-9b59-f0b0e12f0ead",
"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": "651486e1-6da9-4702-8951-2cd73888d5e4",
"PromotionId": "cb3b62c6-c23c-45c5-bba7-2e4614920866",
"ProductId": "ff878563-3c30-4fff-9b59-f0b0e12f0ead",
"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": "640677ba-f5a9-4df8-9e53-cbade18dba13",
"PromotionId": "591a4e4c-475e-4c77-a642-3822970b9cf2",
"MerchantId": "73afe25f-d354-459d-ae2b-b72011b71962",
"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": "640677ba-f5a9-4df8-9e53-cbade18dba13",
"PromotionId": "591a4e4c-475e-4c77-a642-3822970b9cf2",
"MerchantId": "73afe25f-d354-459d-ae2b-b72011b71962",
"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": "e38d62ac-33a1-4102-9d11-5c4cc7661de4",
"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": "359a93c6-3942-475a-999c-156974f1674b",
"ClientId": "536f80d3-fe3e-44de-820e-91766ad85d5e",
"IsActive": true,
"IsDeleted": true,
"CreateDate": "2026-07-30 18:06:12",
"UpdateDate": "2026-07-30 18:06:12",
"CreateBy": "ae9b5814-822a-4656-80aa-eef1f227ec8b",
"UpdateBy": "ef463754-0a2a-4d6e-a54c-090c74ab6733"
},
"AppLayoutId": "d170e201-eece-4e1d-9323-10d56ce4700f",
"AppLayoutType": 0,
"StyleId": "8e28556a-85c5-43f3-b669-df1b121d8937",
"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": "62454ab8-d11d-4eba-8860-94f4f4086a82",
"ClientId": "ba480e3c-7058-40b5-a633-eeca46fab834",
"IsActive": true,
"IsDeleted": true,
"CreateDate": "2026-07-30 18:06:12",
"UpdateDate": "2026-07-30 18:06:12",
"CreateBy": "2ee915fb-d8c4-47c7-a7ca-7a0ffd08d037",
"UpdateBy": "d21b117e-36bf-4208-98e6-91cdddf864eb"
},
"BrowerLayoutId": "e3507dfc-d407-43d8-b963-9c76f0430c80",
"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": "ee559a62-5aca-4e81-a46e-b4e53df65f63",
"PrmtId": "986d302d-6106-4e17-be92-1d5f1388fd9a",
"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": "26e6ac3e-ee66-4eca-90e5-8f30d06c1126",
"PrmtID": "b7552514-46ca-4169-9b96-378f970dd91c",
"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": "26e6ac3e-ee66-4eca-90e5-8f30d06c1126",
"PrmtID": "b7552514-46ca-4169-9b96-378f970dd91c",
"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": "651486e1-6da9-4702-8951-2cd73888d5e4",
"PromotionId": "cb3b62c6-c23c-45c5-bba7-2e4614920866",
"ProductId": "ff878563-3c30-4fff-9b59-f0b0e12f0ead",
"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": "651486e1-6da9-4702-8951-2cd73888d5e4",
"PromotionId": "cb3b62c6-c23c-45c5-bba7-2e4614920866",
"ProductId": "ff878563-3c30-4fff-9b59-f0b0e12f0ead",
"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": "640677ba-f5a9-4df8-9e53-cbade18dba13",
"PromotionId": "591a4e4c-475e-4c77-a642-3822970b9cf2",
"MerchantId": "73afe25f-d354-459d-ae2b-b72011b71962",
"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": "640677ba-f5a9-4df8-9e53-cbade18dba13",
"PromotionId": "591a4e4c-475e-4c77-a642-3822970b9cf2",
"MerchantId": "73afe25f-d354-459d-ae2b-b72011b71962",
"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-30 18:06:12",
"CreateDateStr": "2026-07-30 18:06:12",
"UpdateDate": "2026-07-30 18:06:12",
"UpdateDateStr": "2026-07-30 18:06:12",
"PrmtProductCount": 11,
"PrmtBannerCount": 12,
"PrmtMerchantCount": 13
},
{
"Id": "ee559a62-5aca-4e81-a46e-b4e53df65f63",
"PrmtId": "986d302d-6106-4e17-be92-1d5f1388fd9a",
"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": "26e6ac3e-ee66-4eca-90e5-8f30d06c1126",
"PrmtID": "b7552514-46ca-4169-9b96-378f970dd91c",
"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": "26e6ac3e-ee66-4eca-90e5-8f30d06c1126",
"PrmtID": "b7552514-46ca-4169-9b96-378f970dd91c",
"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": "651486e1-6da9-4702-8951-2cd73888d5e4",
"PromotionId": "cb3b62c6-c23c-45c5-bba7-2e4614920866",
"ProductId": "ff878563-3c30-4fff-9b59-f0b0e12f0ead",
"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": "651486e1-6da9-4702-8951-2cd73888d5e4",
"PromotionId": "cb3b62c6-c23c-45c5-bba7-2e4614920866",
"ProductId": "ff878563-3c30-4fff-9b59-f0b0e12f0ead",
"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": "640677ba-f5a9-4df8-9e53-cbade18dba13",
"PromotionId": "591a4e4c-475e-4c77-a642-3822970b9cf2",
"MerchantId": "73afe25f-d354-459d-ae2b-b72011b71962",
"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": "640677ba-f5a9-4df8-9e53-cbade18dba13",
"PromotionId": "591a4e4c-475e-4c77-a642-3822970b9cf2",
"MerchantId": "73afe25f-d354-459d-ae2b-b72011b71962",
"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-30 18:06:12",
"CreateDateStr": "2026-07-30 18:06:12",
"UpdateDate": "2026-07-30 18:06:12",
"UpdateDateStr": "2026-07-30 18:06:12",
"PrmtProductCount": 11,
"PrmtBannerCount": 12,
"PrmtMerchantCount": 13
}
],
"CreateDate": "2026-07-30 18:06:12",
"CreateDateStr": "2026-07-30 18:06:12",
"UpdateDate": "2026-07-30 18:06:12",
"UpdateDateStr": "2026-07-30 18:06:12",
"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": {}
}