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": "416ea647-1fd8-435c-b471-45b50f959f11",
"ClientId": "569535a6-50a2-4204-a45a-f9549d771934",
"SystemUserId": "f59e0058-7d7f-48cc-acd8-ecce3abca4fc",
"TemplateName": "sample string 5",
"QtyDecimal": 6,
"FpakWeightDecimal": 7,
"DpakWeightDecimal": 8,
"FpakWeightType": 9,
"FpakWeightText": "sample string 10",
"DpakWeightType": 11,
"DpakWeightText": "sample string 12",
"FpakLayoutId": "37c15c48-9128-4d93-a09c-5560411bccf9",
"DpakLayoutId": "84a99fac-a698-4ecf-bc09-644f2a0318d0",
"FpakPrinterId": "06009b3d-9f46-4647-a5e0-961e93535f9f",
"DpakPrinterId": "6d5903e3-57b7-40b5-a87b-d5816dd6d8b8",
"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": "144ea94c-cdc3-4d5e-87e4-c7c9aad67622",
"ClientId": "587a74a5-987b-40fa-80d7-82ce7501d295",
"SystemUserId": "8ceb3a34-c242-489b-92d2-03bebc867ccc",
"TemplateName": "sample string 4",
"QtyDecimal": 5,
"FpakWeightDecimal": 6,
"DpakWeightDecimal": 7,
"FpakWeightType": 8,
"FpakWeightText": "sample string 9",
"DpakWeightType": 10,
"DpakWeightText": "sample string 11",
"FpakLayoutId": "b4e197dc-ce57-4be6-b03d-4b40414fe7c9",
"DpakLayoutId": "57a98ea2-b301-4099-b9d5-9a78c6d10af5",
"FpakPrinterId": "15757946-84bd-4040-9b3e-b35cbc11610b",
"DpakPrinterId": "19ee93cb-e920-4972-a301-927444b4a4e3",
"UseLocalPrinterConfig": true,
"FpakPrinterName": "sample string 17",
"FpakPrinterIP": "sample string 18",
"FpakPrinterPort": 19,
"DpakPrinterName": "sample string 20",
"DpakPrinterIP": "sample string 21",
"DpakPrinterPort": 22,
"TemplateLines": [
{
"LabelPrintTemplateLineId": "df477993-d961-4283-a371-5c678c402ad8",
"ClientId": "ba7d2389-786c-4ce2-8779-503ba3d71375",
"LabelPrintTemplateId": "cd62ada1-5968-4927-8fa2-e03ba5277b8c",
"ProductId": "1c5d9c8e-df6a-4aae-874a-f634ee361dc0",
"LineNo": 5,
"ProductNumber": "sample string 6",
"ProductName": "sample string 7",
"LabelingName": "sample string 8",
"ProductionDate": "2026-06-25T16:08:20.0284499+02:00",
"BestBeforeDate": "2026-06-25T16:08:20.0284499+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": "df477993-d961-4283-a371-5c678c402ad8",
"ClientId": "ba7d2389-786c-4ce2-8779-503ba3d71375",
"LabelPrintTemplateId": "cd62ada1-5968-4927-8fa2-e03ba5277b8c",
"ProductId": "1c5d9c8e-df6a-4aae-874a-f634ee361dc0",
"LineNo": 5,
"ProductNumber": "sample string 6",
"ProductName": "sample string 7",
"LabelingName": "sample string 8",
"ProductionDate": "2026-06-25T16:08:20.0284499+02:00",
"BestBeforeDate": "2026-06-25T16:08:20.0284499+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
}
]
}