Valuekeep Developers - Web API Reference

GET Operations

GET LabelConfigurations (odata)

Returns a page of the list of all the entity records available.

The following elements are optional:

opts (ODataQueryOptions) OData query option.

Response:

When successful, the response body contains the list of records available. See LabelConfigurationResource.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

GET /settings/labelConfigurations/odata

GET LabelConfiguration by identifier

Returns the entity record that matches the specified identifier.

The following elements are required:

id (string) The record identifier.

Response:

When successful, the response body contains the entity record. See LabelConfigurationResource.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.
404 NotFound. The specified record does not exist.

Resource URL:

GET /settings/labelConfigurations/{id}

GET LabelConfiguration by key

Returns the entity record that matches the specified key.

The following elements are required:

labelConfigurationKey (string) Tag Template.

Response:

When successful, the response body contains the entity record. See LabelConfigurationResource.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.
404 NotFound. The specified record does not exist.

Resource URL:

GET /settings/labelConfigurations/{labelConfigurationKey}

POST Operations

POST LabelConfigurations

Creates a new entity record.

The following elements are required:

labelConfigurationResource (ApiLabelConfigurationResource) The request body should contain the entity record that should be created.
See ApiLabelConfigurationResource.

The following elements are optional:

customAttributes (JSON Document) A key-value pair in JSON format that represents the extensibility custom attributes for this entity.
The key should be the custom attribute name prefixed with "custom_", e.g. "custom_attributeName".
While the "customAttributes" element is optional, please notice that specific custom attributes might be marked as required.

Response:

When successful, the response body contains the new entity record identifier. The resource header location property contains the URL for the new entity record. See ApiLabelConfigurationResource.

Response status codes:

201 Created. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

POST /settings/labelConfigurations

POST Print

Custom operation 'Print'.

The following elements are required:

configuration (ApiLabelConfigurationResource) Configuration.

The following elements are optional:

customAttributes (JSON Document) A key-value pair in JSON format that represents the extensibility custom attributes for this entity.
The key should be the custom attribute name prefixed with "custom_", e.g. "custom_attributeName".
While the "customAttributes" element is optional, please notice that specific custom attributes might be marked as required.

Response:

When successful, the response body contains a string.

Resource URL:

POST /settings/labelConfigurations/print

POST Print Custom

Custom operation 'PrintCustom'.

The following elements are required:

customReport (CustomReportResource) CustomReport.

The following elements are optional:

customAttributes (JSON Document) A key-value pair in JSON format that represents the extensibility custom attributes for this entity.
The key should be the custom attribute name prefixed with "custom_", e.g. "custom_attributeName".
While the "customAttributes" element is optional, please notice that specific custom attributes might be marked as required.

Response:

When successful, the response body contains a string.

Resource URL:

POST /settings/labelConfigurations/printCustom

POST Print Default

Custom operation 'PrintDefault'.

The following elements are required:

tags (List) Tags.

The following elements are optional:

customAttributes (JSON Document) A key-value pair in JSON format that represents the extensibility custom attributes for this entity.
The key should be the custom attribute name prefixed with "custom_", e.g. "custom_attributeName".
While the "customAttributes" element is optional, please notice that specific custom attributes might be marked as required.

Response:

When successful, the response body contains a string.

Resource URL:

POST /settings/labelConfigurations/printDefault

PUT Operations

PUT Set Description LabelConfiguration

Updates the value of attribute 'Description' in the specified entity record.

The following elements are required:

labelConfigurationKey (string) Tag Template.
value (string) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /settings/labelConfigurations/{labelConfigurationKey}/description

PUT Set Height LabelConfiguration

Updates the value of attribute 'Height' in the specified entity record.

The following elements are required:

labelConfigurationKey (string) Tag Template.
value (int) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /settings/labelConfigurations/{labelConfigurationKey}/height

PUT Set IsActive LabelConfiguration

Updates the value of attribute 'IsActive' in the specified entity record.

The following elements are required:

labelConfigurationKey (string) Tag Template.
value (bool) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.
404 NotFound. The specified record does not exist.

Resource URL:

PUT /settings/labelConfigurations/{labelConfigurationKey}/isActive

PUT Set IsDefault LabelConfiguration

Updates the value of attribute 'IsDefault' in the specified entity record.

The following elements are required:

labelConfigurationKey (string) Tag Template.
value (bool) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /settings/labelConfigurations/{labelConfigurationKey}/isDefault

PUT Set LabelConfigurationKey LabelConfiguration

Updates the value of attribute 'LabelConfigurationKey' in the specified entity record.

The following elements are required:

labelConfigurationKey (string) Tag Template.
value (string) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /settings/labelConfigurations/{labelConfigurationKey}/labelConfigurationKey

PUT Set Padding LabelConfiguration

Updates the value of attribute 'Padding' in the specified entity record.

The following elements are required:

labelConfigurationKey (string) Tag Template.
value (int) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /settings/labelConfigurations/{labelConfigurationKey}/padding

PUT Set Remarks LabelConfiguration

Updates the value of attribute 'Remarks' in the specified entity record.

The following elements are required:

labelConfigurationKey (string) Tag Template.
value (string) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /settings/labelConfigurations/{labelConfigurationKey}/remarks

PUT Set ShowText LabelConfiguration

Updates the value of attribute 'ShowText' in the specified entity record.

The following elements are required:

labelConfigurationKey (string) Tag Template.
value (bool) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /settings/labelConfigurations/{labelConfigurationKey}/showText

PUT Set Tags LabelConfiguration

Updates the value of attribute 'Tags' in the specified entity record.

The following elements are required:

labelConfigurationKey (string) Tag Template.
value (string) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /settings/labelConfigurations/{labelConfigurationKey}/tags

PUT Set TextSize LabelConfiguration

Updates the value of attribute 'TextSize' in the specified entity record.

The following elements are required:

labelConfigurationKey (string) Tag Template.
value (int) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /settings/labelConfigurations/{labelConfigurationKey}/textSize

PUT Set Type LabelConfiguration

Updates the value of attribute 'Type' in the specified entity record.

The following elements are required:

labelConfigurationKey (string) Tag Template.
value (enum LabelType) The request body should contain the new value for the attribute.
See LabelType.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /settings/labelConfigurations/{labelConfigurationKey}/type

PUT Set Width LabelConfiguration

Updates the value of attribute 'Width' in the specified entity record.

The following elements are required:

labelConfigurationKey (string) Tag Template.
value (int) The request body should contain the new value for the attribute.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.

Resource URL:

PUT /settings/labelConfigurations/{labelConfigurationKey}/width

PUT Set Custom Attribute LabelConfiguration

Updates the value of 'CustomAttribute' in the specified entity record.

The following elements are required:

labelConfigurationKey (string) Tag Template
customAttributeName (string) The custom attribute name.
value (ExtensibilityCustomAttributeValueResource) The request body should contain the new value for the custom attribute.
See ExtensibilityCustomAttributeValueResource.

Response:

When successful, the response body is empty.

Response status codes:

200 OK. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.
404 NotFound. The specified record does not exist.

Resource URL:

PUT /settings/labelConfigurations/{labelConfigurationKey}/{customAttributeName}

DELETE Operations

DELETE LabelConfiguration by identifier

Deletes the entity record that matches the specified identifier.

The following elements are required:

id (string) The record identifier.

Response:

When successful, the response body is empty.

Response status codes:

204 Deleted. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.
404 NotFound. The specified record does not exist.

Resource URL:

DELETE /settings/labelConfigurations/{id}

DELETE LabelConfiguration by key

Deletes the entity record that matches the specified key.

The following elements are required:

labelConfigurationKey (string) Tag Template.

Response:

When successful, the response body is empty.

Response status codes:

204 Deleted. The operation was completed successfully.
400 BadRequest. The request parameters are invalid.
404 NotFound. The specified record does not exist.

Resource URL:

DELETE /settings/labelConfigurations/{labelConfigurationKey}

Resources


ApiLabelConfigurationResource

The following elements are required:

labelConfigurationKey (string) Tag Template.
type (enum LabelType) Type.
See LabelType.

The following elements are optional:

description (string) Description.
isDefault (bool) Is Default.
width (int) Width.
height (int) Height.
padding (int) Padding.
showText (bool) Show Text.
textSize (int) Text Size.
tags (string) Tags.
remarks (string) Remarks.


CustomReportResource

The following elements are optional:

reportDefinition (string) Report Definition.
tags (string) Tags.
keyword (string) Keyword.


LabelConfigurationResource

The following elements are required:

labelConfigurationKey (string) Tag Template.
type (enum LabelType) Type.
See LabelType.

The following elements are optional:

description (string) Description.
isDefault (bool) Is Default.
width (int) Width.
height (int) Height.
padding (int) Padding.
showText (bool) Show Text.
textSize (int) Text Size.
tags (string) Tags.
remarks (string) Remarks.


PrintDefaultResource

The following elements are optional:

tags (string) Tags.
keywords (string) Keywords.


ExtensibilityCustomAttributeValueResource

The following elements are required:

value (object) The custom attribute value.

Enumerations


LabelType

1 Codabar
2 Code39
3 Code93
4 Code128
5 DataMatrix
6 DataMatrixGS1
7 EAN13
8 EAN128
9 Interleaved2of5
10 PDF417
11 QRCode