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": "de3d0e3b-9799-4985-b07d-f690e59ec590",
"PageId": "6ab62381-8171-4107-9939-89bc5b00f67c",
"CopyId": "52f60955-3e1e-4aa3-9783-fe337127b0b3",
"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": "ff43828a-5a0e-4f03-9e7b-aac04c068a67",
"PrmtID": "ffc8b9db-9d2e-4530-8673-a3ca19a6283a",
"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": "ff43828a-5a0e-4f03-9e7b-aac04c068a67",
"PrmtID": "ffc8b9db-9d2e-4530-8673-a3ca19a6283a",
"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": "830fa09d-0d58-4dd5-a0b1-020a3ac46dd4",
"PromotionId": "316cbf7d-c064-435f-b96c-cb580c87cfd7",
"ProductId": "74d3918c-9927-4cc6-818e-3dd678edfb34",
"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": "830fa09d-0d58-4dd5-a0b1-020a3ac46dd4",
"PromotionId": "316cbf7d-c064-435f-b96c-cb580c87cfd7",
"ProductId": "74d3918c-9927-4cc6-818e-3dd678edfb34",
"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": "07f3c11b-0203-44f2-bc8d-2c1b1534d4cb",
"PromotionId": "901f3a4f-43c9-4b81-9c0c-23ccbbd7e4db",
"MerchantId": "9a66b335-6433-4439-a60c-5e63bfb5cb3a",
"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": "07f3c11b-0203-44f2-bc8d-2c1b1534d4cb",
"PromotionId": "901f3a4f-43c9-4b81-9c0c-23ccbbd7e4db",
"MerchantId": "9a66b335-6433-4439-a60c-5e63bfb5cb3a",
"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": "868685cf-e12a-43ef-ace5-b9056815b598",
"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": "c16e1c0a-b50d-4df3-b0df-d1a305d9cab8",
"ClientId": "8bca7f11-26e1-4904-aa7a-53c990ce2f30",
"IsActive": true,
"IsDeleted": true,
"CreateDate": "2025-10-28 19:02:51",
"UpdateDate": "2025-10-28 19:02:51",
"CreateBy": "39ac8985-7ad9-4e72-a9f9-acd30ceb6167",
"UpdateBy": "346b96ec-7a6c-41a3-b952-1a9ff20a2676"
},
"AppLayoutId": "588f02a4-b73c-4ebf-840c-72a9ee832fc7",
"AppLayoutType": 0,
"StyleId": "877092d3-047f-4f12-87f3-da99e20a6b16",
"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": "91b1f623-4e64-4136-b35e-12cd5b1e2239",
"ClientId": "0eccf58e-8803-4c96-a992-6a6e61517fc3",
"IsActive": true,
"IsDeleted": true,
"CreateDate": "2025-10-28 19:02:51",
"UpdateDate": "2025-10-28 19:02:51",
"CreateBy": "f1747e5d-8c04-4409-91ca-334a0cfa7712",
"UpdateBy": "38237b67-a05d-4d97-b638-ea1012dd9282"
},
"BrowerLayoutId": "b799ec8f-98b1-445c-9c95-fe45bb3d023a",
"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": "fdbcb301-d7a6-4cad-8117-f3d781fe6f3d",
"PrmtId": "701a9672-3953-40d4-88fb-96955ebe25f0",
"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": "ff43828a-5a0e-4f03-9e7b-aac04c068a67",
"PrmtID": "ffc8b9db-9d2e-4530-8673-a3ca19a6283a",
"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": "ff43828a-5a0e-4f03-9e7b-aac04c068a67",
"PrmtID": "ffc8b9db-9d2e-4530-8673-a3ca19a6283a",
"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": "830fa09d-0d58-4dd5-a0b1-020a3ac46dd4",
"PromotionId": "316cbf7d-c064-435f-b96c-cb580c87cfd7",
"ProductId": "74d3918c-9927-4cc6-818e-3dd678edfb34",
"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": "830fa09d-0d58-4dd5-a0b1-020a3ac46dd4",
"PromotionId": "316cbf7d-c064-435f-b96c-cb580c87cfd7",
"ProductId": "74d3918c-9927-4cc6-818e-3dd678edfb34",
"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": "07f3c11b-0203-44f2-bc8d-2c1b1534d4cb",
"PromotionId": "901f3a4f-43c9-4b81-9c0c-23ccbbd7e4db",
"MerchantId": "9a66b335-6433-4439-a60c-5e63bfb5cb3a",
"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": "07f3c11b-0203-44f2-bc8d-2c1b1534d4cb",
"PromotionId": "901f3a4f-43c9-4b81-9c0c-23ccbbd7e4db",
"MerchantId": "9a66b335-6433-4439-a60c-5e63bfb5cb3a",
"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:02:51",
"CreateDateStr": "2025-10-28 19:02:51",
"UpdateDate": "2025-10-28 19:02:51",
"UpdateDateStr": "2025-10-28 19:02:51",
"PrmtProductCount": 11,
"PrmtBannerCount": 12,
"PrmtMerchantCount": 13
},
{
"Id": "fdbcb301-d7a6-4cad-8117-f3d781fe6f3d",
"PrmtId": "701a9672-3953-40d4-88fb-96955ebe25f0",
"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": "ff43828a-5a0e-4f03-9e7b-aac04c068a67",
"PrmtID": "ffc8b9db-9d2e-4530-8673-a3ca19a6283a",
"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": "ff43828a-5a0e-4f03-9e7b-aac04c068a67",
"PrmtID": "ffc8b9db-9d2e-4530-8673-a3ca19a6283a",
"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": "830fa09d-0d58-4dd5-a0b1-020a3ac46dd4",
"PromotionId": "316cbf7d-c064-435f-b96c-cb580c87cfd7",
"ProductId": "74d3918c-9927-4cc6-818e-3dd678edfb34",
"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": "830fa09d-0d58-4dd5-a0b1-020a3ac46dd4",
"PromotionId": "316cbf7d-c064-435f-b96c-cb580c87cfd7",
"ProductId": "74d3918c-9927-4cc6-818e-3dd678edfb34",
"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": "07f3c11b-0203-44f2-bc8d-2c1b1534d4cb",
"PromotionId": "901f3a4f-43c9-4b81-9c0c-23ccbbd7e4db",
"MerchantId": "9a66b335-6433-4439-a60c-5e63bfb5cb3a",
"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": "07f3c11b-0203-44f2-bc8d-2c1b1534d4cb",
"PromotionId": "901f3a4f-43c9-4b81-9c0c-23ccbbd7e4db",
"MerchantId": "9a66b335-6433-4439-a60c-5e63bfb5cb3a",
"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:02:51",
"CreateDateStr": "2025-10-28 19:02:51",
"UpdateDate": "2025-10-28 19:02:51",
"UpdateDateStr": "2025-10-28 19:02:51",
"PrmtProductCount": 11,
"PrmtBannerCount": 12,
"PrmtMerchantCount": 13
}
],
"CreateDate": "2025-10-28 19:02:51",
"CreateDateStr": "2025-10-28 19:02:51",
"UpdateDate": "2025-10-28 19:02:51",
"UpdateDateStr": "2025-10-28 19:02:51",
"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": {}
}