Command: Create prepress task - LabelHub/labelhub.integration.documentation GitHub Wiki

CreatePrepressTaskCommand v1

Properties

CreatePrepressTaskCommand

Name Type Required Default Notes
identifier string (empty) If none is specified, the frontend will show internal prepress id as identifier
description string (empty)
dueDate date? (none/null) Format: ISO_8601(e.g YYYY-MM-DD). UTC assumed if not specified!
referenceEmail string? (current user) Defaults to the user creating the prepress task. The email must exist as user in LabelHub! Otherwise it will automatic fallback to the creator user which usually will be a custom integration user.
assigneeEmail string? (none/null) The email must exist as user in LabelHub
brandOwnerNo string? (none/null) The brandowner number, which must exist in LabelHub and must match ALL links!
links array (none) List of links to associate with the task. See Links section for details
metadata array (none) List of metadata to add to the new task. See Metadata page for details

Links

Name Type Required Default Notes
linkType string Yes Possible types: labelno
identifier string Yes The identifier key for the given type, e.g. "MLN" for linktype "labelno"

Note that the brandowner must match between the task and ALL links.

Metadata

Name Type Required Default Notes
key string Yes A unique key for the metadata, the same key can only exist once per entity
values string[] Yes Note that this can be a list of values, so even a single value must be specified as an array

Full sample

<?xml version="1.0" encoding="UTF-8"?>
<createprepresstaskcommand version="1">
  <identifier>PPT-1234</identifier>
  <description>stuff</description>
  <dueDate>2025-08-21</dueDate>
  <referenceEmail>[email protected]</referenceEmail>
  <assigneeEmail>[email protected]</assigneeEmail>
  <brandOwnerNo>cust1234</brandOwnerNo>
  <links>
    <link>
      <linkType>labelno</linkType>
      <identifier>101010</identifier>
    </link>
  </links> 
  <metadata>
    <metadata>
      <key>InternalIDs</key>
      <values>
        <value>1234</value>
        <value>PPT-1234</value>
      </values>
    </metadata>
    <metadata>
      <key>CustReference</key>
      <values>
        <value>PO8474</value>
      </values>
    </metadata>
  </metadata> 
</createprepresstaskcommand>
⚠️ **GitHub.com Fallback** ⚠️