POST api/LabelPrintTemplate/Line/UpdateOrCreate
Create new or update existing lable print template line as specified in input parameter
Request Information
URI Parameters
None.
Body Parameters
UpdateLabelPrintTemplateLineParameters| Name | Description | Type | Additional information |
|---|---|---|---|
| UserName | string |
None. |
|
| LabelPrintTemplateLineId |
If new record then this can be Guid.Empty or a new Guid |
globally unique identifier |
None. |
| ClientId | globally unique identifier |
None. |
|
| LabelPrintTemplateId | globally unique identifier |
None. |
|
| ProductId | globally unique identifier |
None. |
|
| ProductNumber | string |
None. |
|
| ProductName | string |
None. |
|
| LabelingName | string |
None. |
|
| ProductionDate | date |
None. |
|
| BestBeforeDate | date |
None. |
|
| BatchNumber | string |
None. |
|
| FpakGtin | string |
None. |
|
| FpakQtyPrint | integer |
None. |
|
| DpakNoOfFpak | integer |
None. |
|
| DpakWeight | decimal number |
None. |
|
| DpakQtyPrint | integer |
None. |
|
| DpakGtin | string |
None. |
|
| DpakNetWeight | decimal number |
None. |
|
| FpakWeight | decimal number |
None. |
|
| FpakNetWeight | decimal number |
None. |
|
| FpakPrice | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"UserName": "sample string 1",
"LabelPrintTemplateLineId": "6814048b-0b59-45f3-b3ba-5345ea71bd88",
"ClientId": "323eca09-e83c-41bc-b43a-110fa928a105",
"LabelPrintTemplateId": "3420d1a0-3383-49e1-8420-a0b286db66bb",
"ProductId": "91032111-6c38-462a-bcba-f44d3cc2d32f",
"ProductNumber": "sample string 6",
"ProductName": "sample string 7",
"LabelingName": "sample string 8",
"ProductionDate": "2026-06-25T16:47:18.0261849+02:00",
"BestBeforeDate": "2026-06-25T16:47:18.0261849+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,
"FpakPrice": 21.0
}
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
LabelPrintTemplateLine| Name | Description | Type | Additional information |
|---|---|---|---|
| LabelPrintTemplateLineId | globally unique identifier |
None. |
|
| ClientId | globally unique identifier |
None. |
|
| LabelPrintTemplateId | globally unique identifier |
None. |
|
| ProductId | globally unique identifier |
None. |
|
| LineNo | integer |
None. |
|
| ProductNumber | string |
None. |
|
| ProductName | string |
None. |
|
| LabelingName | string |
None. |
|
| ProductionDate | date |
None. |
|
| BestBeforeDate | date |
None. |
|
| BatchNumber | string |
None. |
|
| FpakGtin | string |
None. |
|
| FpakQtyPrint | integer |
None. |
|
| DpakNoOfFpak | integer |
None. |
|
| DpakWeight | decimal number |
None. |
|
| DpakQtyPrint | integer |
None. |
|
| DpakGtin | string |
None. |
|
| DpakNetWeight | decimal number |
None. |
|
| FpakWeight | decimal number |
None. |
|
| FpakNetWeight | decimal number |
None. |
|
| FpakLabelPrice | decimal number |
None. |
|
| IsVariableQuantity | boolean |
None. |
|
| ForthStampDays | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"LabelPrintTemplateLineId": "f5ef2caa-73e4-47d2-8d97-14ca564b6d45",
"ClientId": "34e98785-27a2-4cce-9501-09d3e4580dbc",
"LabelPrintTemplateId": "d9b6ee1d-ea89-4531-9cfc-9b8058479680",
"ProductId": "d6a6f6e4-fc0d-478b-b9bc-8514422c9dc8",
"LineNo": 5,
"ProductNumber": "sample string 6",
"ProductName": "sample string 7",
"LabelingName": "sample string 8",
"ProductionDate": "2026-06-25T16:47:18.0418094+02:00",
"BestBeforeDate": "2026-06-25T16:47:18.0418094+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
}