Basic API print command
URL
/1.0/print/
Body
Object with default Layout, Printer and Quantity.
Labels array list of each label.
Each label have a quantity field as well. Please note that having quantity 2 in the outer label should be conditioned as "sets". E.g 2 in outer and 3 in inner will result in 6 copies for that label.
{
"Layout":"GTIN",
"Printer":"Datamax-O'Neil E-4205A Mark III NETWORK",
"Quantity":"1",
"Labels":[
{
"quantity":1,
"layout":"GTIN", //optional
"printer":"Datamax-O'Neil E-4205A Mark III NETWORK", //optional
"data":{ //all data properties are optional/custom to the selected label layout
"description":"Abonnement",
"quantity":1,
"warehouseno":0,
"unittext":null,
"productunittext":null,
"gtinunittext":null,
"unitprice":0,
"date":"13.03.2017",
"bxrowid":9,
"productname":"Abonnement",
"productno":"105",
"mittfelt":25,
"supplierproductno":null,
"plu":null,
"gtin":null,
"price":0,
"cost":0,
"unit":"",
"unitname":null,
"warehouse":0,
"location":null,
"stockquantity":-5530,
"reservedquantity":5530,
"poquantity":0,
"pickingquantity":1,
"productgroup1":2,
"productgroup2":0,
"productgroup3":0,
"productgroupname1":"Mat",
"productgroupname2":null,
"productgroupname3":null,
"lastmodified":"2016-05-25T10:06:51"
}
},
{
"quantity":1,
"data":{
"description":"Avansert vare",
"quantity":1,
"warehouseno":0,
"unittext":null,
"productunittext":null,
"gtinunittext":null,
"unitprice":0,
"date":"13.03.2017",
"bxrowid":2,
"productname":"Avansert vare",
"productno":"1",
"mittfelt":25,
"supplierproductno":null,
"plu":null,
"gtin":null,
"price":0,
"cost":0,
"unit":"",
"unitname":null,
"warehouse":0,
"location":null,
"stockquantity":-7487,
"reservedquantity":7452,
"poquantity":1,
"pickingquantity":1,
"productgroup1":1,
"productgroup2":0,
"productgroup3":0,
"productgroupname1":"Diverse",
"productgroupname2":null,
"productgroupname3":null,
"lastmodified":"2016-06-08T19:23:21"
}
}
]
}