Label Configurations

Update Label Configuration

PUT /api/.../labelconfigurations/{labelTypeID}

Updates an existing label configuration.

Request Information

Parameters
Name Description Type
labelTypeID The ID of the label configuration to update. Integer
Body Parameters

A DtoLabelConfiguration object representing the updated label configuration. The LabelTypeID in the body must match the labelTypeID in the URL.

Response Information

Example
application/json, text/json
{
  "LabelTypeID": -13,
  "DisplayName": "Updated PAS-Test",
  "PageWidth": 850,
  "PageHeight": 1100,
  "PageTopMargin": 25,
  "PageLeftMargin": 20,
  "TextAlignment": "Left",
  "ColumnsPerPage": 4,
  "RowsPerPage": 10,
  "PocketCount": 0
}

HTTP Response Codes

Code Description
200 OK. Success
400 Bad Request. Validation errors or ID mismatch.
404 Not Found. Label configuration does not exist.