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": "a81add37-dbbd-4044-aab2-a1e27367e00c",
"ClientId": "0be4751e-b725-48ce-9b25-b853e8a018fe",
"SystemUserId": "ccdc023f-ded2-4e58-8413-afc61051b364",
"TemplateName": "sample string 5",
"QtyDecimal": 6,
"FpakWeightDecimal": 7,
"DpakWeightDecimal": 8,
"FpakWeightType": 9,
"FpakWeightText": "sample string 10",
"DpakWeightType": 11,
"DpakWeightText": "sample string 12",
"FpakLayoutId": "a9e11753-94cc-426e-910a-83080f07052a",
"DpakLayoutId": "981aa8dc-1964-4ed8-b994-ae90b5931e0e",
"FpakPrinterId": "d780caec-0325-4c88-a8e0-3f4cfaa3c190",
"DpakPrinterId": "44fde05c-1505-4f7f-bd54-b6b8fb92b7db",
"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": "15f39781-cc68-4b0e-987e-236dc08e5ee0",
"ClientId": "5a18a78a-43fd-4618-ae99-36b7f2f5fd0b",
"SystemUserId": "4c8967ce-1de9-4877-a975-7231d320bf60",
"TemplateName": "sample string 4",
"QtyDecimal": 5,
"FpakWeightDecimal": 6,
"DpakWeightDecimal": 7,
"FpakWeightType": 8,
"FpakWeightText": "sample string 9",
"DpakWeightType": 10,
"DpakWeightText": "sample string 11",
"FpakLayoutId": "77a00a35-3d9b-441e-b18f-98157d5decb8",
"DpakLayoutId": "9abb81f4-d4aa-41c0-8b5c-9bdef9de1426",
"FpakPrinterId": "ffda03bd-3043-4278-a43c-f57e36346a41",
"DpakPrinterId": "98e76f3a-0e29-4b04-b868-3101b5e76dd0",
"UseLocalPrinterConfig": true,
"FpakPrinterName": "sample string 17",
"FpakPrinterIP": "sample string 18",
"FpakPrinterPort": 19,
"DpakPrinterName": "sample string 20",
"DpakPrinterIP": "sample string 21",
"DpakPrinterPort": 22,
"TemplateLines": [
{
"LabelPrintTemplateLineId": "e805fd57-7ba5-4d3d-ae11-499969a9b858",
"ClientId": "1dde2fa5-6ed2-4230-a792-7afa3c54b40f",
"LabelPrintTemplateId": "d53d887d-7ba9-4534-b2a3-c69d51c8b364",
"ProductId": "b9017c0b-55ca-4683-baaa-5faf4981f244",
"LineNo": 5,
"ProductNumber": "sample string 6",
"ProductName": "sample string 7",
"LabelingName": "sample string 8",
"ProductionDate": "2026-06-25T16:27:06.8144444+02:00",
"BestBeforeDate": "2026-06-25T16:27:06.8144444+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": "e805fd57-7ba5-4d3d-ae11-499969a9b858",
"ClientId": "1dde2fa5-6ed2-4230-a792-7afa3c54b40f",
"LabelPrintTemplateId": "d53d887d-7ba9-4534-b2a3-c69d51c8b364",
"ProductId": "b9017c0b-55ca-4683-baaa-5faf4981f244",
"LineNo": 5,
"ProductNumber": "sample string 6",
"ProductName": "sample string 7",
"LabelingName": "sample string 8",
"ProductionDate": "2026-06-25T16:27:06.8144444+02:00",
"BestBeforeDate": "2026-06-25T16:27:06.8144444+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
}
]
}