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": "4e197030-d2aa-46b6-a687-ccda41075030",
"PageId": "fd2c26a1-edd6-4c3d-a6c3-08ab8320785e",
"CopyId": "9b9a071f-8df7-4c73-b212-2083b5f71358",
"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": "Yes",
"PrmtBannerLst": [
{
"Id": "4db7b353-55fc-4130-8500-79bea202ccc7",
"PrmtID": "d95f4293-0f09-46c8-abfa-b36bb5c86be3",
"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": "4db7b353-55fc-4130-8500-79bea202ccc7",
"PrmtID": "d95f4293-0f09-46c8-abfa-b36bb5c86be3",
"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": "a28a73c2-43ac-4885-ab4d-994d55be353d",
"PromotionId": "ce934f75-cbc9-47a6-bd54-187fb73363d4",
"ProductId": "08c4316d-82a1-49e8-83df-ab5bd4eb945b",
"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": "a28a73c2-43ac-4885-ab4d-994d55be353d",
"PromotionId": "ce934f75-cbc9-47a6-bd54-187fb73363d4",
"ProductId": "08c4316d-82a1-49e8-83df-ab5bd4eb945b",
"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": "c061abf6-6481-4832-bfbb-dff8d676230a",
"PromotionId": "d7610fb1-40ea-4fda-9af5-eaa6f7bac6dd",
"MerchantId": "a43508d0-87a4-4539-9bcf-73949bba501f",
"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": "c061abf6-6481-4832-bfbb-dff8d676230a",
"PromotionId": "d7610fb1-40ea-4fda-9af5-eaa6f7bac6dd",
"MerchantId": "a43508d0-87a4-4539-9bcf-73949bba501f",
"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": "bf5f08ac-bcca-4ffc-b3df-06cde983e58d",
"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": "06df0679-8fb9-433c-8aed-67ea403f05db",
"ClientId": "66725546-9749-478f-9928-692f5af49707",
"IsActive": true,
"IsDeleted": true,
"CreateDate": "2026-04-20 09:55:05",
"UpdateDate": "2026-04-20 09:55:05",
"CreateBy": "4b4f8395-7976-4a95-b54c-43eac9fd2f32",
"UpdateBy": "db19663c-e2c4-45eb-8272-6e32d544618b"
},
"AppLayoutId": "85e5490a-188e-4ba2-b17d-a5b0b53f70c4",
"AppLayoutType": 0,
"StyleId": "7ca43c38-9d64-426c-ba47-7784008fe59f",
"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": "4de2e7d9-21af-4657-b5ad-b601f264ccc1",
"ClientId": "65ba2440-32f0-4247-9c8f-c86f77fb4ea9",
"IsActive": true,
"IsDeleted": true,
"CreateDate": "2026-04-20 09:55:05",
"UpdateDate": "2026-04-20 09:55:05",
"CreateBy": "686a6612-7236-4c9e-b5fa-66827736fdc0",
"UpdateBy": "2706fd06-72f4-4f49-bde6-b972c865fe76"
},
"BrowerLayoutId": "187353b9-f566-463c-949c-1cea6fe46661",
"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": "4e48ad43-c300-4cae-a26b-e7493e4b0968",
"PrmtId": "e59743fe-d1eb-43b1-b6df-047cfcfdf488",
"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": "4db7b353-55fc-4130-8500-79bea202ccc7",
"PrmtID": "d95f4293-0f09-46c8-abfa-b36bb5c86be3",
"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": "4db7b353-55fc-4130-8500-79bea202ccc7",
"PrmtID": "d95f4293-0f09-46c8-abfa-b36bb5c86be3",
"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": "a28a73c2-43ac-4885-ab4d-994d55be353d",
"PromotionId": "ce934f75-cbc9-47a6-bd54-187fb73363d4",
"ProductId": "08c4316d-82a1-49e8-83df-ab5bd4eb945b",
"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": "a28a73c2-43ac-4885-ab4d-994d55be353d",
"PromotionId": "ce934f75-cbc9-47a6-bd54-187fb73363d4",
"ProductId": "08c4316d-82a1-49e8-83df-ab5bd4eb945b",
"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": "c061abf6-6481-4832-bfbb-dff8d676230a",
"PromotionId": "d7610fb1-40ea-4fda-9af5-eaa6f7bac6dd",
"MerchantId": "a43508d0-87a4-4539-9bcf-73949bba501f",
"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": "c061abf6-6481-4832-bfbb-dff8d676230a",
"PromotionId": "d7610fb1-40ea-4fda-9af5-eaa6f7bac6dd",
"MerchantId": "a43508d0-87a4-4539-9bcf-73949bba501f",
"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-04-20 09:55:05",
"CreateDateStr": "2026-04-20 09:55:05",
"UpdateDate": "2026-04-20 09:55:05",
"UpdateDateStr": "2026-04-20 09:55:05",
"PrmtProductCount": 11,
"PrmtBannerCount": 12,
"PrmtMerchantCount": 13
},
{
"Id": "4e48ad43-c300-4cae-a26b-e7493e4b0968",
"PrmtId": "e59743fe-d1eb-43b1-b6df-047cfcfdf488",
"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": "4db7b353-55fc-4130-8500-79bea202ccc7",
"PrmtID": "d95f4293-0f09-46c8-abfa-b36bb5c86be3",
"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": "4db7b353-55fc-4130-8500-79bea202ccc7",
"PrmtID": "d95f4293-0f09-46c8-abfa-b36bb5c86be3",
"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": "a28a73c2-43ac-4885-ab4d-994d55be353d",
"PromotionId": "ce934f75-cbc9-47a6-bd54-187fb73363d4",
"ProductId": "08c4316d-82a1-49e8-83df-ab5bd4eb945b",
"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": "a28a73c2-43ac-4885-ab4d-994d55be353d",
"PromotionId": "ce934f75-cbc9-47a6-bd54-187fb73363d4",
"ProductId": "08c4316d-82a1-49e8-83df-ab5bd4eb945b",
"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": "c061abf6-6481-4832-bfbb-dff8d676230a",
"PromotionId": "d7610fb1-40ea-4fda-9af5-eaa6f7bac6dd",
"MerchantId": "a43508d0-87a4-4539-9bcf-73949bba501f",
"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": "c061abf6-6481-4832-bfbb-dff8d676230a",
"PromotionId": "d7610fb1-40ea-4fda-9af5-eaa6f7bac6dd",
"MerchantId": "a43508d0-87a4-4539-9bcf-73949bba501f",
"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-04-20 09:55:05",
"CreateDateStr": "2026-04-20 09:55:05",
"UpdateDate": "2026-04-20 09:55:05",
"UpdateDateStr": "2026-04-20 09:55:05",
"PrmtProductCount": 11,
"PrmtBannerCount": 12,
"PrmtMerchantCount": 13
}
],
"CreateDate": "2026-04-20 09:55:05",
"CreateDateStr": "2026-04-20 09:55:05",
"UpdateDate": "2026-04-20 09:55:05",
"UpdateDateStr": "2026-04-20 09:55:05",
"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": {}
}