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": "6a14eb2a-ce09-420a-acb7-de9643013696",
"ClientId": "cdcc4c13-5764-41b7-9b80-8f62b07d51e9",
"LabelPrintTemplateId": "4bb5561b-aa42-4318-a962-a50fde70dfcd",
"ProductId": "ff1bf6f1-90c6-41b9-b7a9-9f82eec660b0",
"ProductNumber": "sample string 6",
"ProductName": "sample string 7",
"LabelingName": "sample string 8",
"ProductionDate": "2026-06-25T10:46:56.8897223+02:00",
"BestBeforeDate": "2026-06-25T10:46:56.8897223+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": "652ef441-9c8c-44d8-8807-b9656e6086a6",
"ClientId": "d51ee202-39fc-4393-9596-befe23599aad",
"LabelPrintTemplateId": "6f2d03c8-9374-4d35-a934-df0668127749",
"ProductId": "80570ccc-cf07-4060-862b-7ddfd96c52fa",
"LineNo": 5,
"ProductNumber": "sample string 6",
"ProductName": "sample string 7",
"LabelingName": "sample string 8",
"ProductionDate": "2026-06-25T10:46:56.8897223+02:00",
"BestBeforeDate": "2026-06-25T10:46:56.8897223+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
}