|
type
string
|
"nesting_template"
|
|
id
string
|
Unique identifier for the nesting template. For example : "lt_xyza12abc"
|
|
dieline_template_id
string
|
Unique identifier for the dieline template that the nesting template belong to. For example : "becf-10319"
|
|
nesting_template_components
[nesting_template_component]
|
An array of "nesting_template_components" for the nesting template. A template may satisfy one or many "nesting_template_components". For example, a nesting template may satisfy "Hard cardboard of the box", or "Hard cardboard of the cover" or both.
Objects | nesting_template_component
Represents a component of a nesting template. A single box may contain multiple components, such as Corrugated Cardboard, Carton, or other materials.
| type |
nesting_template_component |
| id |
Unique identifier for the nesting_template_component. For example "hard_cardboard_of_the_box" |
| name |
Name of nesting_template_component. For example:
"Hard cardboard of the box" "Hard cardboard of the cover" "Coating of the box" "Exterior coating of the cover" "Interior coating of the cover"
|
| category |
the category that includes the nesting_template_component. for example: "Hard cardboard", "Cover", "Carton" |
|
|
variables
[dieline_template_variable]
|
List of "dieline_template_variables".
Objects | dieline_template_variable
Every nesting_template supports a number of dieline_template_variables allowing customisation.
|
type
string
|
"dieline_template_variable"
|
|
name
string
|
Name of the variable
"num_x" ,
"num_y" ,
"margin_x" ,
"margin_y" ,
"sheet"
|
|
data_type
string
|
Data type
"length" : They represent a lenght with a unit.
"integer" : They represent an integer.
"boolean" : They represent a boolean, "true" or "false"
For more information, please visit our nesting demo.
|
|
required
boolean
|
Set to true if variable is required to create a dieline.
|
|
default_value
{value:, unit:}
|
Default value for the variable. For example:
length => { "value": 5.23, "unit": "mm" }
integer => { "value": 4 }
boolean => { "value": true }
|
|
allowed_values
object
|
Array of allowed values.
For example:
|
|
|
image
object
|
Image for the nesting template.
For example:
{
"type": "svg",
"url": "https://d2atdwxjx7uc4i.cloudfront.net/api/drawing_option_svg_example.svg"
}
|
|
links
[nesting_template_link]
|
An array of "nesting_template_link" objects that provide available actions for this nesting template.
Objects | nesting_template_link
This object represents links that provide available actions for a nesting template, such as creating a nesting.
|
rel
string
|
relationship identifier for the given link.
Possible values:
"create_nesting"
{
"rel": "create_nesting",
"href": "/dielines/di_ertegfdvcxvs/nestings/lt_xyz123abc",
"method": "POST"
}
|
|