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": "2d1c7291-d712-4bad-b833-e829aabfd932",
"ClientId": "0d9b5a50-69c8-41d2-b0cb-30b07b09fff6",
"LabelPrintTemplateId": "6148306b-667d-4656-9a8c-d102f540195f",
"ProductId": "3639e106-af5c-4e41-b5a6-4bee412e3474",
"ProductNumber": "sample string 6",
"ProductName": "sample string 7",
"LabelingName": "sample string 8",
"ProductionDate": "2026-06-25T16:25:36.4413462+02:00",
"BestBeforeDate": "2026-06-25T16:25:36.4413462+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": "efeb37a1-f351-404c-ad64-7ca8938a6760",
"ClientId": "034a32ee-c859-4c0a-a295-9f377fb998c7",
"LabelPrintTemplateId": "fea84e0b-4736-4271-a99c-f3b6e89feb56",
"ProductId": "09f09003-20ff-40a6-90dd-2f8fbc3ca6bd",
"LineNo": 5,
"ProductNumber": "sample string 6",
"ProductName": "sample string 7",
"LabelingName": "sample string 8",
"ProductionDate": "2026-06-25T16:25:36.5507233+02:00",
"BestBeforeDate": "2026-06-25T16:25:36.5507233+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
}