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
NameDescriptionTypeAdditional 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": "f9020cd7-cb93-47f7-8fa9-948bdf2cefda",
  "ClientId": "e8a39868-30a5-4f6a-bd76-972940ba77c2",
  "LabelPrintTemplateId": "22dfeb49-c12b-4b17-baf5-b35f899b1063",
  "ProductId": "166dee1a-03fe-40d2-a8d0-c6225e157ad8",
  "ProductNumber": "sample string 6",
  "ProductName": "sample string 7",
  "LabelingName": "sample string 8",
  "ProductionDate": "2026-06-25T11:35:20.1848092+02:00",
  "BestBeforeDate": "2026-06-25T11:35:20.1848092+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:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'UpdateLabelPrintTemplateLineParameters'.

Response Information

Resource Description

LabelPrintTemplateLine
NameDescriptionTypeAdditional 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": "a4231f0c-52e4-4ddc-9482-ca9924ef33c7",
  "ClientId": "7127dab1-5287-491b-a2ac-21adab88ca74",
  "LabelPrintTemplateId": "4ac6d47a-f51c-4dc7-ad18-90141c33d988",
  "ProductId": "2b539120-0081-4477-9637-4822af052528",
  "LineNo": 5,
  "ProductNumber": "sample string 6",
  "ProductName": "sample string 7",
  "LabelingName": "sample string 8",
  "ProductionDate": "2026-06-25T11:35:20.1848092+02:00",
  "BestBeforeDate": "2026-06-25T11:35:20.1848092+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
}