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": "3fe1ee91-97f8-4edb-943d-94d990f1bbf7",
"ClientId": "ce209c1b-dacf-4003-a70d-8881be6ef232",
"SystemUserId": "6a538579-f1f1-4e8b-ade3-9726e2433591",
"TemplateName": "sample string 5",
"QtyDecimal": 6,
"FpakWeightDecimal": 7,
"DpakWeightDecimal": 8,
"FpakWeightType": 9,
"FpakWeightText": "sample string 10",
"DpakWeightType": 11,
"DpakWeightText": "sample string 12",
"FpakLayoutId": "f1657210-e8d5-4323-bb8d-489ed5755a79",
"DpakLayoutId": "e3999dfb-1032-4366-a407-6e97140829aa",
"FpakPrinterId": "8fec6300-ddd9-4576-b084-dfb6cdc6afdf",
"DpakPrinterId": "3a4bf576-3ef7-460b-b3ef-181b8b5bc88e",
"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": "08359380-a224-4f20-b56b-c7b1d2786dd6",
"ClientId": "e49282f1-9a67-4d2b-877f-a2dea6eb2c7a",
"SystemUserId": "550192a0-5986-4050-83a6-98dd6d6263e4",
"TemplateName": "sample string 4",
"QtyDecimal": 5,
"FpakWeightDecimal": 6,
"DpakWeightDecimal": 7,
"FpakWeightType": 8,
"FpakWeightText": "sample string 9",
"DpakWeightType": 10,
"DpakWeightText": "sample string 11",
"FpakLayoutId": "c922aa88-e9dd-405a-a53f-3b33e836e009",
"DpakLayoutId": "96a14db7-95f3-4f34-b428-ea479e50d577",
"FpakPrinterId": "910eb0c0-cc29-48c0-80c6-bbe6889400aa",
"DpakPrinterId": "46903814-0126-4ca7-9a6d-23d7b9061534",
"UseLocalPrinterConfig": true,
"FpakPrinterName": "sample string 17",
"FpakPrinterIP": "sample string 18",
"FpakPrinterPort": 19,
"DpakPrinterName": "sample string 20",
"DpakPrinterIP": "sample string 21",
"DpakPrinterPort": 22,
"TemplateLines": [
{
"LabelPrintTemplateLineId": "aff60be9-6c51-4d1f-9169-50099fbfc480",
"ClientId": "3c771308-a43c-4d91-8ed1-3723faee9d73",
"LabelPrintTemplateId": "61ed9af7-d1db-4a55-b282-b10c8c895f06",
"ProductId": "49f1e156-ab26-4ba9-ad39-5baf5405f0c6",
"LineNo": 5,
"ProductNumber": "sample string 6",
"ProductName": "sample string 7",
"LabelingName": "sample string 8",
"ProductionDate": "2026-06-25T11:35:20.7870624+02:00",
"BestBeforeDate": "2026-06-25T11:35:20.7870624+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": "aff60be9-6c51-4d1f-9169-50099fbfc480",
"ClientId": "3c771308-a43c-4d91-8ed1-3723faee9d73",
"LabelPrintTemplateId": "61ed9af7-d1db-4a55-b282-b10c8c895f06",
"ProductId": "49f1e156-ab26-4ba9-ad39-5baf5405f0c6",
"LineNo": 5,
"ProductNumber": "sample string 6",
"ProductName": "sample string 7",
"LabelingName": "sample string 8",
"ProductionDate": "2026-06-25T11:35:20.7870624+02:00",
"BestBeforeDate": "2026-06-25T11:35:20.7870624+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
}
]
}