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": "fed93440-01b6-4094-a1bb-9755198e8a65",
"ClientId": "19c2c845-a910-4e69-8364-cdc8d94171e2",
"SystemUserId": "6b913778-910e-414b-9e65-b76dc3a82d58",
"TemplateName": "sample string 5",
"QtyDecimal": 6,
"FpakWeightDecimal": 7,
"DpakWeightDecimal": 8,
"FpakWeightType": 9,
"FpakWeightText": "sample string 10",
"DpakWeightType": 11,
"DpakWeightText": "sample string 12",
"FpakLayoutId": "4fa45f9f-6861-4d78-ab85-56a9407b4d4d",
"DpakLayoutId": "69ce1335-022a-45b3-998b-fa2e249d06ae",
"FpakPrinterId": "c57518f6-5979-427f-a167-642c71250171",
"DpakPrinterId": "7cadae29-e786-4d34-a0af-c7bee42315fc",
"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": "aaedf517-5c35-4dc8-8711-bb1f0a890e70",
"ClientId": "ea8c9547-fc75-43e8-b443-ec22af251e61",
"SystemUserId": "eae25573-bcae-40fa-b2b4-828d91bb2228",
"TemplateName": "sample string 4",
"QtyDecimal": 5,
"FpakWeightDecimal": 6,
"DpakWeightDecimal": 7,
"FpakWeightType": 8,
"FpakWeightText": "sample string 9",
"DpakWeightType": 10,
"DpakWeightText": "sample string 11",
"FpakLayoutId": "4d769e66-2d1a-4721-882f-0ad5fd97a962",
"DpakLayoutId": "6cec7bd4-c7a8-4f94-a767-c8160bcba179",
"FpakPrinterId": "cbab80e4-d2c7-44cf-a561-88690e9a6762",
"DpakPrinterId": "6ad76cae-16c1-4fdf-b97a-62be13f344e2",
"UseLocalPrinterConfig": true,
"FpakPrinterName": "sample string 17",
"FpakPrinterIP": "sample string 18",
"FpakPrinterPort": 19,
"DpakPrinterName": "sample string 20",
"DpakPrinterIP": "sample string 21",
"DpakPrinterPort": 22,
"TemplateLines": [
{
"LabelPrintTemplateLineId": "f4230967-651f-47b2-bfb8-14b37e177846",
"ClientId": "ec5c4d94-790d-4155-a2e6-82b7e18184e2",
"LabelPrintTemplateId": "a1d86222-e2fe-4a0e-b57e-d55c68e94f23",
"ProductId": "48e99b9b-3485-44ae-9297-b97eddbc8399",
"LineNo": 5,
"ProductNumber": "sample string 6",
"ProductName": "sample string 7",
"LabelingName": "sample string 8",
"ProductionDate": "2026-06-25T16:08:37.7835992+02:00",
"BestBeforeDate": "2026-06-25T16:08:37.7835992+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": "f4230967-651f-47b2-bfb8-14b37e177846",
"ClientId": "ec5c4d94-790d-4155-a2e6-82b7e18184e2",
"LabelPrintTemplateId": "a1d86222-e2fe-4a0e-b57e-d55c68e94f23",
"ProductId": "48e99b9b-3485-44ae-9297-b97eddbc8399",
"LineNo": 5,
"ProductNumber": "sample string 6",
"ProductName": "sample string 7",
"LabelingName": "sample string 8",
"ProductionDate": "2026-06-25T16:08:37.7835992+02:00",
"BestBeforeDate": "2026-06-25T16:08:37.7835992+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
}
]
}