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": "b4a95c6d-5d58-4f93-9b61-bfc4d061ceec",
"PageId": "60bee529-3329-4570-a6f1-655e347bfbdd",
"CopyId": "ac8a57a9-f3f0-4b09-a818-a3f847dab593",
"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": "92e6b8f0-1ba6-4772-babb-62c5a0653d33",
"PrmtID": "42fd6021-5821-4403-bfd2-81eae9b9f137",
"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": "92e6b8f0-1ba6-4772-babb-62c5a0653d33",
"PrmtID": "42fd6021-5821-4403-bfd2-81eae9b9f137",
"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": "bb46a7c7-fe37-44e0-aef8-b5f9dfd0d432",
"PromotionId": "d8d7f2eb-e739-406a-8305-58534834c4f9",
"ProductId": "b26bf04e-e406-4a4e-8044-0124540e916b",
"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": "bb46a7c7-fe37-44e0-aef8-b5f9dfd0d432",
"PromotionId": "d8d7f2eb-e739-406a-8305-58534834c4f9",
"ProductId": "b26bf04e-e406-4a4e-8044-0124540e916b",
"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": "d77b4f91-0f8c-4436-ba46-d345d3138ce2",
"PromotionId": "f178e413-6431-441b-b746-c4415a652c9f",
"MerchantId": "6bc175c0-e18b-474e-891f-2afabf85b8eb",
"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": "d77b4f91-0f8c-4436-ba46-d345d3138ce2",
"PromotionId": "f178e413-6431-441b-b746-c4415a652c9f",
"MerchantId": "6bc175c0-e18b-474e-891f-2afabf85b8eb",
"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": "bea69eff-c627-4464-bc03-ee856aee9a53",
"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": "19ffc266-cf96-4784-bff7-767145f9eba7",
"ClientId": "44c3e596-cf79-41a5-bdfd-357655977098",
"IsActive": true,
"IsDeleted": true,
"CreateDate": "2026-06-15 12:46:20",
"UpdateDate": "2026-06-15 12:46:20",
"CreateBy": "7ea4d90c-be8f-42b0-b549-4ecd30d3dc55",
"UpdateBy": "ad37d5ac-ba5a-4423-a49b-253756b07d7a"
},
"AppLayoutId": "58be83b4-44dd-4914-a4e7-ec74adc6cea1",
"AppLayoutType": 0,
"StyleId": "96fd7193-4127-44ae-a298-945dd2e0301d",
"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": "7613bdb1-af17-4887-a1a1-9b7636df767f",
"ClientId": "64a37bdf-abb6-4e53-8492-6d1a64ca0bee",
"IsActive": true,
"IsDeleted": true,
"CreateDate": "2026-06-15 12:46:20",
"UpdateDate": "2026-06-15 12:46:20",
"CreateBy": "5db90868-fb26-49c6-aebd-98ef0572e553",
"UpdateBy": "9261d8a7-6b9d-4641-860f-8ebb32fcbf09"
},
"BrowerLayoutId": "bb374504-c806-42b9-ade4-64f590f8fb88",
"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": "4c7f6262-c4a1-4b00-b7f8-fa552ad374bd",
"PrmtId": "132633a7-9e9c-4aed-b50f-50093c984c0a",
"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": "92e6b8f0-1ba6-4772-babb-62c5a0653d33",
"PrmtID": "42fd6021-5821-4403-bfd2-81eae9b9f137",
"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": "92e6b8f0-1ba6-4772-babb-62c5a0653d33",
"PrmtID": "42fd6021-5821-4403-bfd2-81eae9b9f137",
"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": "bb46a7c7-fe37-44e0-aef8-b5f9dfd0d432",
"PromotionId": "d8d7f2eb-e739-406a-8305-58534834c4f9",
"ProductId": "b26bf04e-e406-4a4e-8044-0124540e916b",
"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": "bb46a7c7-fe37-44e0-aef8-b5f9dfd0d432",
"PromotionId": "d8d7f2eb-e739-406a-8305-58534834c4f9",
"ProductId": "b26bf04e-e406-4a4e-8044-0124540e916b",
"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": "d77b4f91-0f8c-4436-ba46-d345d3138ce2",
"PromotionId": "f178e413-6431-441b-b746-c4415a652c9f",
"MerchantId": "6bc175c0-e18b-474e-891f-2afabf85b8eb",
"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": "d77b4f91-0f8c-4436-ba46-d345d3138ce2",
"PromotionId": "f178e413-6431-441b-b746-c4415a652c9f",
"MerchantId": "6bc175c0-e18b-474e-891f-2afabf85b8eb",
"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-06-15 12:46:20",
"CreateDateStr": "2026-06-15 12:46:20",
"UpdateDate": "2026-06-15 12:46:20",
"UpdateDateStr": "2026-06-15 12:46:20",
"PrmtProductCount": 11,
"PrmtBannerCount": 12,
"PrmtMerchantCount": 13
},
{
"Id": "4c7f6262-c4a1-4b00-b7f8-fa552ad374bd",
"PrmtId": "132633a7-9e9c-4aed-b50f-50093c984c0a",
"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": "92e6b8f0-1ba6-4772-babb-62c5a0653d33",
"PrmtID": "42fd6021-5821-4403-bfd2-81eae9b9f137",
"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": "92e6b8f0-1ba6-4772-babb-62c5a0653d33",
"PrmtID": "42fd6021-5821-4403-bfd2-81eae9b9f137",
"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": "bb46a7c7-fe37-44e0-aef8-b5f9dfd0d432",
"PromotionId": "d8d7f2eb-e739-406a-8305-58534834c4f9",
"ProductId": "b26bf04e-e406-4a4e-8044-0124540e916b",
"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": "bb46a7c7-fe37-44e0-aef8-b5f9dfd0d432",
"PromotionId": "d8d7f2eb-e739-406a-8305-58534834c4f9",
"ProductId": "b26bf04e-e406-4a4e-8044-0124540e916b",
"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": "d77b4f91-0f8c-4436-ba46-d345d3138ce2",
"PromotionId": "f178e413-6431-441b-b746-c4415a652c9f",
"MerchantId": "6bc175c0-e18b-474e-891f-2afabf85b8eb",
"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": "d77b4f91-0f8c-4436-ba46-d345d3138ce2",
"PromotionId": "f178e413-6431-441b-b746-c4415a652c9f",
"MerchantId": "6bc175c0-e18b-474e-891f-2afabf85b8eb",
"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-06-15 12:46:20",
"CreateDateStr": "2026-06-15 12:46:20",
"UpdateDate": "2026-06-15 12:46:20",
"UpdateDateStr": "2026-06-15 12:46:20",
"PrmtProductCount": 11,
"PrmtBannerCount": 12,
"PrmtMerchantCount": 13
}
],
"CreateDate": "2026-06-15 12:46:20",
"CreateDateStr": "2026-06-15 12:46:20",
"UpdateDate": "2026-06-15 12:46:20",
"UpdateDateStr": "2026-06-15 12:46:20",
"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": {}
}