POST api/WatermarkTemplate/MigrationSetting
Request Information
URI Parameters
None.
Body Parameters
WatermarkData| Name | Description | Type | Additional information |
|---|---|---|---|
| WatermarkTemplate | WatermarkSetting |
None. |
|
| settingDefault | WatermarkSettingDefault |
None. |
Request Formats
application/json, text/json
Sample:
{
"WatermarkTemplate": {
"Id": 1,
"TemplateName": "sample string 2",
"FontFamily": "sample string 3",
"FontSize": 4.1,
"Bold": true,
"Italic": true,
"Strikeout": true,
"Underline": true,
"Position": "Absolute",
"Opacity": 9.1,
"RotateFlip": "RotateNoneFlipNone",
"ScaleRatio": 10.1,
"FontColor": "sample string 11",
"DrawText": "sample string 12",
"DrawImageFile": "sample string 13",
"IsDrawImage": true,
"Left": 15,
"Right": 16,
"Top": 17,
"Bottom": 18,
"CreateTime": "2025-10-31 05:24:36",
"ReproductionWidth": 20,
"ReproductionHeight": 21
},
"settingDefault": {
"AutoWatermark": true,
"WatermarkTemplatesId": 2,
"WatermarkType": "common",
"ShopId": 3,
"SKUWatermark": true,
"MainFigureWatermark": true,
"DescribeWatermark": true,
"UpdateTime": "2025-10-31 05:24:36"
}
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResponseOfBoolean| Name | Description | Type | Additional information |
|---|---|---|---|
| Data | boolean |
None. |
|
| IsSuccess | boolean |
None. |
|
| ErrorCode | string |
None. |
|
| ErrorMessage | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Data": true,
"IsSuccess": true,
"ErrorCode": "sample string 3",
"ErrorMessage": "sample string 4"
}