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": "e5eb1c63-ddd1-4b3d-92a5-bdfb0adc752e",
"ClientId": "3cc082e8-24ec-4d1f-9e62-9cf8bbdb6286",
"LabelPrintTemplateId": "dfd93592-15b0-4dd1-9e10-8fd72d5b32c1",
"ProductId": "46e07e66-07d0-4697-abf9-35e666627422",
"ProductNumber": "sample string 6",
"ProductName": "sample string 7",
"LabelingName": "sample string 8",
"ProductionDate": "2026-06-25T16:07:51.6783949+02:00",
"BestBeforeDate": "2026-06-25T16:07:51.6783949+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": "c840ca48-aa61-42e5-92f4-12fd4742d0ac",
"ClientId": "55c73319-8cad-4f79-991c-0347f9b386b6",
"LabelPrintTemplateId": "3f677e94-20c6-454c-943b-2f0214b06f74",
"ProductId": "36fbb9ac-5a49-491f-9d7b-28b467bd72bc",
"LineNo": 5,
"ProductNumber": "sample string 6",
"ProductName": "sample string 7",
"LabelingName": "sample string 8",
"ProductionDate": "2026-06-25T16:07:51.6783949+02:00",
"BestBeforeDate": "2026-06-25T16:07:51.6783949+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
}