POST api/LabelPrintTemplate/Head/UpdateOrCreate
Create new or update existing label print template head as specified in input parameter
Request Information
URI Parameters
None.
Body Parameters
UpdateLabelPrintTemplateHeadParameters| Name | Description | Type | Additional information |
|---|---|---|---|
| UserName | string |
None. |
|
| LabelPrintTemplateId |
If new record then this can be Guid.Empty or a new Guid |
globally unique identifier |
None. |
| ClientId | globally unique identifier |
None. |
|
| SystemUserId | globally unique identifier |
None. |
|
| TemplateName | string |
None. |
|
| QtyDecimal | integer |
None. |
|
| FpakWeightDecimal | integer |
None. |
|
| DpakWeightDecimal | integer |
None. |
|
| FpakWeightType | integer |
None. |
|
| FpakWeightText | string |
None. |
|
| DpakWeightType | integer |
None. |
|
| DpakWeightText | string |
None. |
|
| FpakLayoutId | globally unique identifier |
None. |
|
| DpakLayoutId | globally unique identifier |
None. |
|
| FpakPrinterId | globally unique identifier |
None. |
|
| DpakPrinterId | globally unique identifier |
None. |
|
| UseLocalPrinterConfig | boolean |
None. |
|
| FpakPrinterName | string |
None. |
|
| FpakPrinterIP | string |
None. |
|
| FpakPrinterPort | integer |
None. |
|
| DpakPrinterName | string |
None. |
|
| DpakPrinterIP | string |
None. |
|
| DpakPrinterPort | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"UserName": "sample string 1",
"LabelPrintTemplateId": "e4a3aaf8-8e1d-48da-b273-c0ac3ba56cd5",
"ClientId": "3932532e-1412-4243-a11e-1d8f496b2445",
"SystemUserId": "e3aa5c81-65af-4610-a115-1dc6b94470a1",
"TemplateName": "sample string 5",
"QtyDecimal": 6,
"FpakWeightDecimal": 7,
"DpakWeightDecimal": 8,
"FpakWeightType": 9,
"FpakWeightText": "sample string 10",
"DpakWeightType": 11,
"DpakWeightText": "sample string 12",
"FpakLayoutId": "e2fd32e5-dfb4-431e-ab40-7b0c59553e56",
"DpakLayoutId": "b36f9987-f58f-4733-8538-045526eba824",
"FpakPrinterId": "3110b390-d0c5-468d-80c7-fd9efa8f1b9a",
"DpakPrinterId": "06ad5d7a-b149-4d11-88d4-121f16474ca9",
"UseLocalPrinterConfig": true,
"FpakPrinterName": "sample string 18",
"FpakPrinterIP": "sample string 19",
"FpakPrinterPort": 20,
"DpakPrinterName": "sample string 21",
"DpakPrinterIP": "sample string 22",
"DpakPrinterPort": 23
}
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
LabelPrintTemplate| Name | Description | Type | Additional information |
|---|---|---|---|
| LabelPrintTemplateId | globally unique identifier |
None. |
|
| ClientId | globally unique identifier |
None. |
|
| SystemUserId | globally unique identifier |
None. |
|
| TemplateName | string |
None. |
|
| QtyDecimal | integer |
None. |
|
| FpakWeightDecimal | integer |
None. |
|
| DpakWeightDecimal | integer |
None. |
|
| FpakWeightType | integer |
None. |
|
| FpakWeightText | string |
None. |
|
| DpakWeightType | integer |
None. |
|
| DpakWeightText | string |
None. |
|
| FpakLayoutId | globally unique identifier |
None. |
|
| DpakLayoutId | globally unique identifier |
None. |
|
| FpakPrinterId | globally unique identifier |
None. |
|
| DpakPrinterId | globally unique identifier |
None. |
|
| UseLocalPrinterConfig | boolean |
None. |
|
| FpakPrinterName | string |
None. |
|
| FpakPrinterIP | string |
None. |
|
| FpakPrinterPort | integer |
None. |
|
| DpakPrinterName | string |
None. |
|
| DpakPrinterIP | string |
None. |
|
| DpakPrinterPort | integer |
None. |
|
| TemplateLines | Collection of LabelPrintTemplateLine |
None. |
Response Formats
application/json, text/json
Sample:
{
"LabelPrintTemplateId": "4ed81a4b-1e4f-4cb1-adf0-06ac3d887920",
"ClientId": "e658eed7-30c5-4bd8-8c43-5fce0e8a898b",
"SystemUserId": "f3b22832-c143-4f9f-b7c8-29e3736d25c0",
"TemplateName": "sample string 4",
"QtyDecimal": 5,
"FpakWeightDecimal": 6,
"DpakWeightDecimal": 7,
"FpakWeightType": 8,
"FpakWeightText": "sample string 9",
"DpakWeightType": 10,
"DpakWeightText": "sample string 11",
"FpakLayoutId": "ca3aa456-6625-4f94-b6f6-f689df0007b8",
"DpakLayoutId": "c4f75879-1252-46cf-a598-b60026895479",
"FpakPrinterId": "065152ee-17a9-48fe-82fe-3c1afa652cdb",
"DpakPrinterId": "b765c920-634c-4eee-8b1b-91c046854bfb",
"UseLocalPrinterConfig": true,
"FpakPrinterName": "sample string 17",
"FpakPrinterIP": "sample string 18",
"FpakPrinterPort": 19,
"DpakPrinterName": "sample string 20",
"DpakPrinterIP": "sample string 21",
"DpakPrinterPort": 22,
"TemplateLines": [
{
"LabelPrintTemplateLineId": "c51d32fa-3c6a-4e1b-8083-66c23f185128",
"ClientId": "4ce57e75-d0ec-4914-a39f-3f63f9a72718",
"LabelPrintTemplateId": "af0baabd-8d56-4c11-8289-7d14249c8358",
"ProductId": "7e90c562-2f48-438f-a930-778d53b15ded",
"LineNo": 5,
"ProductNumber": "sample string 6",
"ProductName": "sample string 7",
"LabelingName": "sample string 8",
"ProductionDate": "2026-06-25T16:48:37.9383805+02:00",
"BestBeforeDate": "2026-06-25T16:48:37.9383805+02:00",
"BatchNumber": "sample string 11",
"FpakGtin": "sample string 12",
"FpakQtyPrint": 13,
"DpakNoOfFpak": 14,
"DpakWeight": 15.0,
"DpakQtyPrint": 16,
"DpakGtin": "sample string 17",
"DpakNetWeight": 18.0,
"FpakWeight": 19.0,
"FpakNetWeight": 20.0,
"FpakLabelPrice": 21.0,
"IsVariableQuantity": true,
"ForthStampDays": 23
},
{
"LabelPrintTemplateLineId": "c51d32fa-3c6a-4e1b-8083-66c23f185128",
"ClientId": "4ce57e75-d0ec-4914-a39f-3f63f9a72718",
"LabelPrintTemplateId": "af0baabd-8d56-4c11-8289-7d14249c8358",
"ProductId": "7e90c562-2f48-438f-a930-778d53b15ded",
"LineNo": 5,
"ProductNumber": "sample string 6",
"ProductName": "sample string 7",
"LabelingName": "sample string 8",
"ProductionDate": "2026-06-25T16:48:37.9383805+02:00",
"BestBeforeDate": "2026-06-25T16:48:37.9383805+02:00",
"BatchNumber": "sample string 11",
"FpakGtin": "sample string 12",
"FpakQtyPrint": 13,
"DpakNoOfFpak": 14,
"DpakWeight": 15.0,
"DpakQtyPrint": 16,
"DpakGtin": "sample string 17",
"DpakNetWeight": 18.0,
"FpakWeight": 19.0,
"FpakNetWeight": 20.0,
"FpakLabelPrice": 21.0,
"IsVariableQuantity": true,
"ForthStampDays": 23
}
]
}