POST api/TemplateConfig/Add
Request Information
URI Parameters
None.
Body Parameters
Template| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| CreationTime | date |
None. |
|
| TemplateName | string |
None. |
|
| FontSize | integer |
None. |
|
| XPosition | decimal number |
None. |
|
| YPosition | decimal number |
None. |
|
| Detail | Collection of TemplateDetail |
None. |
|
| PrevieName | string |
None. |
|
| Backdrop_PageSize_RelationId | integer |
None. |
|
| PrintFormat | TemplatePrintFormat |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"CreationTime": "2026-06-01 15:26:57",
"TemplateName": "sample string 3",
"FontSize": 4,
"XPosition": 5.0,
"YPosition": 6.0,
"Detail": [
{
"ConfigValue": "sample string 1",
"CustoContent": "sample string 2"
},
{
"ConfigValue": "sample string 1",
"CustoContent": "sample string 2"
}
],
"PrevieName": "sample string 7",
"Backdrop_PageSize_RelationId": 8,
"PrintFormat": "SplitJoint"
}
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ResponseResultOfBoolean| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | boolean |
None. |
|
| ErrorCode | string |
None. |
|
| ErrorMessage | string |
None. |
|
| Data | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{
"Status": true,
"ErrorCode": "sample string 2",
"ErrorMessage": "sample string 3",
"Data": true
}