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": "0768052e-62f2-410b-98dc-796411f84240",
"PageId": "cb6b95f7-e107-467c-bcdf-d1b95c8a6e35",
"CopyId": "c9911cf6-77c0-4893-88d2-625df862d43c",
"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": "02b0c4cf-8eee-4034-a10a-fa0cbf6e2efb",
"PrmtID": "c17ccd35-2abe-4e2a-b03c-d306e3f56e7d",
"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": "02b0c4cf-8eee-4034-a10a-fa0cbf6e2efb",
"PrmtID": "c17ccd35-2abe-4e2a-b03c-d306e3f56e7d",
"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": "3e41f005-928f-4bd2-92cd-5b147fbd4a7f",
"PromotionId": "afb47db8-2982-4eed-8fe1-2bede374c008",
"ProductId": "58955d1c-2d13-4332-aab8-9464a98e7866",
"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": "3e41f005-928f-4bd2-92cd-5b147fbd4a7f",
"PromotionId": "afb47db8-2982-4eed-8fe1-2bede374c008",
"ProductId": "58955d1c-2d13-4332-aab8-9464a98e7866",
"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": "dbcd9ec4-49db-4f9b-8b39-0e003f0ecbcc",
"PromotionId": "38830fcb-9cd0-4af5-bc04-e9ab48c1ba2a",
"MerchantId": "7e89fb14-196a-471f-a962-c1107c793d6b",
"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": "dbcd9ec4-49db-4f9b-8b39-0e003f0ecbcc",
"PromotionId": "38830fcb-9cd0-4af5-bc04-e9ab48c1ba2a",
"MerchantId": "7e89fb14-196a-471f-a962-c1107c793d6b",
"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": "75c1a029-fb2a-4218-935d-64ee0824cb5b",
"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": "6f00749c-debd-4777-879f-9f6dc1917025",
"ClientId": "533d0ce9-cd42-4133-82ee-db936ca26a48",
"IsActive": true,
"IsDeleted": true,
"CreateDate": "2025-12-30 14:10:42",
"UpdateDate": "2025-12-30 14:10:42",
"CreateBy": "a74b8f4e-e760-42cd-aac4-2848ef9494fc",
"UpdateBy": "55c93fbb-fa6d-4a5f-a5f7-02997a7809d2"
},
"AppLayoutId": "5025bc0b-c097-499d-b749-aa15c299e110",
"AppLayoutType": 0,
"StyleId": "88210796-41d8-40bb-a1e3-1fc8c7447464",
"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": "f7ce6344-9362-4373-8fda-b5a04f511372",
"ClientId": "d40b6df4-5299-4b9c-94dc-1387dff31a0e",
"IsActive": true,
"IsDeleted": true,
"CreateDate": "2025-12-30 14:10:42",
"UpdateDate": "2025-12-30 14:10:42",
"CreateBy": "cca7d6d4-0568-4bf9-95e8-48049dcefa26",
"UpdateBy": "05cc8c1a-5e21-441e-88d8-165d1406d880"
},
"BrowerLayoutId": "2c02ea7c-5bff-495d-b070-de77df9d716a",
"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": "59d73af2-0b7e-4c25-93fa-f68aff513d47",
"PrmtId": "e4268328-a48c-4a66-9dc6-8a40d3399710",
"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": "02b0c4cf-8eee-4034-a10a-fa0cbf6e2efb",
"PrmtID": "c17ccd35-2abe-4e2a-b03c-d306e3f56e7d",
"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": "02b0c4cf-8eee-4034-a10a-fa0cbf6e2efb",
"PrmtID": "c17ccd35-2abe-4e2a-b03c-d306e3f56e7d",
"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": "3e41f005-928f-4bd2-92cd-5b147fbd4a7f",
"PromotionId": "afb47db8-2982-4eed-8fe1-2bede374c008",
"ProductId": "58955d1c-2d13-4332-aab8-9464a98e7866",
"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": "3e41f005-928f-4bd2-92cd-5b147fbd4a7f",
"PromotionId": "afb47db8-2982-4eed-8fe1-2bede374c008",
"ProductId": "58955d1c-2d13-4332-aab8-9464a98e7866",
"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": "dbcd9ec4-49db-4f9b-8b39-0e003f0ecbcc",
"PromotionId": "38830fcb-9cd0-4af5-bc04-e9ab48c1ba2a",
"MerchantId": "7e89fb14-196a-471f-a962-c1107c793d6b",
"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": "dbcd9ec4-49db-4f9b-8b39-0e003f0ecbcc",
"PromotionId": "38830fcb-9cd0-4af5-bc04-e9ab48c1ba2a",
"MerchantId": "7e89fb14-196a-471f-a962-c1107c793d6b",
"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-12-30 14:10:42",
"CreateDateStr": "2025-12-30 14:10:42",
"UpdateDate": "2025-12-30 14:10:42",
"UpdateDateStr": "2025-12-30 14:10:42",
"PrmtProductCount": 11,
"PrmtBannerCount": 12,
"PrmtMerchantCount": 13
},
{
"Id": "59d73af2-0b7e-4c25-93fa-f68aff513d47",
"PrmtId": "e4268328-a48c-4a66-9dc6-8a40d3399710",
"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": "02b0c4cf-8eee-4034-a10a-fa0cbf6e2efb",
"PrmtID": "c17ccd35-2abe-4e2a-b03c-d306e3f56e7d",
"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": "02b0c4cf-8eee-4034-a10a-fa0cbf6e2efb",
"PrmtID": "c17ccd35-2abe-4e2a-b03c-d306e3f56e7d",
"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": "3e41f005-928f-4bd2-92cd-5b147fbd4a7f",
"PromotionId": "afb47db8-2982-4eed-8fe1-2bede374c008",
"ProductId": "58955d1c-2d13-4332-aab8-9464a98e7866",
"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": "3e41f005-928f-4bd2-92cd-5b147fbd4a7f",
"PromotionId": "afb47db8-2982-4eed-8fe1-2bede374c008",
"ProductId": "58955d1c-2d13-4332-aab8-9464a98e7866",
"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": "dbcd9ec4-49db-4f9b-8b39-0e003f0ecbcc",
"PromotionId": "38830fcb-9cd0-4af5-bc04-e9ab48c1ba2a",
"MerchantId": "7e89fb14-196a-471f-a962-c1107c793d6b",
"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": "dbcd9ec4-49db-4f9b-8b39-0e003f0ecbcc",
"PromotionId": "38830fcb-9cd0-4af5-bc04-e9ab48c1ba2a",
"MerchantId": "7e89fb14-196a-471f-a962-c1107c793d6b",
"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-12-30 14:10:42",
"CreateDateStr": "2025-12-30 14:10:42",
"UpdateDate": "2025-12-30 14:10:42",
"UpdateDateStr": "2025-12-30 14:10:42",
"PrmtProductCount": 11,
"PrmtBannerCount": 12,
"PrmtMerchantCount": 13
}
],
"CreateDate": "2025-12-30 14:10:42",
"CreateDateStr": "2025-12-30 14:10:42",
"UpdateDate": "2025-12-30 14:10:42",
"UpdateDateStr": "2025-12-30 14:10:42",
"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": {}
}