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": "a15c4c63-0351-4651-bb1e-8db98451b964",
"ClientId": "ca85f301-902b-4baa-964d-fb95380a91c1",
"LabelPrintTemplateId": "9ab88b57-c4e5-44b4-a4e4-9fd9b582a72e",
"ProductId": "d56817c6-006e-4526-a3e0-9233b16e59e5",
"ProductNumber": "sample string 6",
"ProductName": "sample string 7",
"LabelingName": "sample string 8",
"ProductionDate": "2026-08-24T14:16:02.1438248+02:00",
"BestBeforeDate": "2026-08-24T14:16:02.1438248+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": "c7a2c1c0-4cdc-493a-8a20-410a9909eda3",
"ClientId": "527beb81-c818-4055-9449-d735d5b75f75",
"LabelPrintTemplateId": "f1419715-82c8-4f02-82ee-146a63537e29",
"ProductId": "776f52b5-b833-4529-b286-734480e89e6a",
"LineNo": 5,
"ProductNumber": "sample string 6",
"ProductName": "sample string 7",
"LabelingName": "sample string 8",
"ProductionDate": "2026-08-24T14:16:02.1438248+02:00",
"BestBeforeDate": "2026-08-24T14:16:02.1438248+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
}