POST api/LabelPrintTemplate/Head/UpdateOrCreate

Create new or update existing label print template head as specified in input parameter

Request Information

URI Parameters

None.

Body Parameters

UpdateLabelPrintTemplateHeadParameters
NameDescriptionTypeAdditional information
UserName

string

None.

LabelPrintTemplateId

If new record then this can be Guid.Empty or a new Guid

globally unique identifier

None.

ClientId

globally unique identifier

None.

SystemUserId

globally unique identifier

None.

TemplateName

string

None.

QtyDecimal

integer

None.

FpakWeightDecimal

integer

None.

DpakWeightDecimal

integer

None.

FpakWeightType

integer

None.

FpakWeightText

string

None.

DpakWeightType

integer

None.

DpakWeightText

string

None.

FpakLayoutId

globally unique identifier

None.

DpakLayoutId

globally unique identifier

None.

FpakPrinterId

globally unique identifier

None.

DpakPrinterId

globally unique identifier

None.

UseLocalPrinterConfig

boolean

None.

FpakPrinterName

string

None.

FpakPrinterIP

string

None.

FpakPrinterPort

integer

None.

DpakPrinterName

string

None.

DpakPrinterIP

string

None.

DpakPrinterPort

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "UserName": "sample string 1",
  "LabelPrintTemplateId": "35b93fdc-150c-4df0-a917-cfea961fe4bf",
  "ClientId": "83b8d932-f2b4-476b-a840-baea4db56fb1",
  "SystemUserId": "8d277f41-f5db-41cd-a8e8-1daa967dba42",
  "TemplateName": "sample string 5",
  "QtyDecimal": 6,
  "FpakWeightDecimal": 7,
  "DpakWeightDecimal": 8,
  "FpakWeightType": 9,
  "FpakWeightText": "sample string 10",
  "DpakWeightType": 11,
  "DpakWeightText": "sample string 12",
  "FpakLayoutId": "ec7a00e1-15c9-4801-858b-509014762bec",
  "DpakLayoutId": "d4f6917f-1de2-4c72-b236-df7c7d45693c",
  "FpakPrinterId": "9b0a10bb-7834-4822-b499-302ad8d2a1f5",
  "DpakPrinterId": "9a5e3bdc-7ff8-40af-bd72-f08bc5bc4708",
  "UseLocalPrinterConfig": true,
  "FpakPrinterName": "sample string 18",
  "FpakPrinterIP": "sample string 19",
  "FpakPrinterPort": 20,
  "DpakPrinterName": "sample string 21",
  "DpakPrinterIP": "sample string 22",
  "DpakPrinterPort": 23
}

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 'UpdateLabelPrintTemplateHeadParameters'.

Response Information

Resource Description

LabelPrintTemplate
NameDescriptionTypeAdditional information
LabelPrintTemplateId

globally unique identifier

None.

ClientId

globally unique identifier

None.

SystemUserId

globally unique identifier

None.

TemplateName

string

None.

QtyDecimal

integer

None.

FpakWeightDecimal

integer

None.

DpakWeightDecimal

integer

None.

FpakWeightType

integer

None.

FpakWeightText

string

None.

DpakWeightType

integer

None.

DpakWeightText

string

None.

FpakLayoutId

globally unique identifier

None.

DpakLayoutId

globally unique identifier

None.

FpakPrinterId

globally unique identifier

None.

DpakPrinterId

globally unique identifier

None.

UseLocalPrinterConfig

boolean

None.

FpakPrinterName

string

None.

FpakPrinterIP

string

None.

FpakPrinterPort

integer

None.

DpakPrinterName

string

None.

DpakPrinterIP

string

None.

DpakPrinterPort

integer

None.

TemplateLines

Collection of LabelPrintTemplateLine

None.

Response Formats

application/json, text/json

Sample:
{
  "LabelPrintTemplateId": "24b1c477-f11f-464f-88b0-79d17dcf1aa8",
  "ClientId": "442afed6-dd04-41e5-a171-727e44490d07",
  "SystemUserId": "6a6fcab2-e001-4c23-8fc8-c961684df14e",
  "TemplateName": "sample string 4",
  "QtyDecimal": 5,
  "FpakWeightDecimal": 6,
  "DpakWeightDecimal": 7,
  "FpakWeightType": 8,
  "FpakWeightText": "sample string 9",
  "DpakWeightType": 10,
  "DpakWeightText": "sample string 11",
  "FpakLayoutId": "14165e06-89d9-4252-8725-e878c12fad25",
  "DpakLayoutId": "413c2c19-5bd4-40a5-97b3-f2f7d79a7e13",
  "FpakPrinterId": "bf1c401c-cab5-4307-9d6d-88fcdf6c68e1",
  "DpakPrinterId": "cfb1dc28-38ae-4af3-960d-b4cca0e2e3db",
  "UseLocalPrinterConfig": true,
  "FpakPrinterName": "sample string 17",
  "FpakPrinterIP": "sample string 18",
  "FpakPrinterPort": 19,
  "DpakPrinterName": "sample string 20",
  "DpakPrinterIP": "sample string 21",
  "DpakPrinterPort": 22,
  "TemplateLines": [
    {
      "LabelPrintTemplateLineId": "f531f7b3-3fed-4ab9-87a9-5838b4600524",
      "ClientId": "08f131aa-9cfe-4cfb-b8c9-cb248c005203",
      "LabelPrintTemplateId": "165ce8b1-fd06-4169-b2bf-b3cdf02ca75b",
      "ProductId": "428411d6-ed41-498e-b0fa-70b67da8fb68",
      "LineNo": 5,
      "ProductNumber": "sample string 6",
      "ProductName": "sample string 7",
      "LabelingName": "sample string 8",
      "ProductionDate": "2026-06-25T10:46:56.9053445+02:00",
      "BestBeforeDate": "2026-06-25T10:46:56.9053445+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
    },
    {
      "LabelPrintTemplateLineId": "f531f7b3-3fed-4ab9-87a9-5838b4600524",
      "ClientId": "08f131aa-9cfe-4cfb-b8c9-cb248c005203",
      "LabelPrintTemplateId": "165ce8b1-fd06-4169-b2bf-b3cdf02ca75b",
      "ProductId": "428411d6-ed41-498e-b0fa-70b67da8fb68",
      "LineNo": 5,
      "ProductNumber": "sample string 6",
      "ProductName": "sample string 7",
      "LabelingName": "sample string 8",
      "ProductionDate": "2026-06-25T10:46:56.9053445+02:00",
      "BestBeforeDate": "2026-06-25T10:46:56.9053445+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
    }
  ]
}