public PovelliResponse unassignLabels(PovelliLabelFilter[] labels)
 {
     PovelliResponse res = this.sendRequest(
         PovelliAPI.DEFAULT_API_DOMAIN, PovelliAPI.API_URL_LABELS_ASSIGN,
         this.dataToJson(labels, typeof(PovelliLabelFilter[])));
     return res;
 }
        public PovelliTemplate[] getLabelTemplates(string storeUid, string labelBarcode)
        {
            PovelliLabelFilter[] labelFilters = new PovelliLabelFilter[1];
            labelFilters[0] = new PovelliLabelFilter(storeUid, labelBarcode);

            PovelliResponse res = this.sendRequest(
                PovelliAPI.DEFAULT_API_DOMAIN, PovelliAPI.API_URL_LABELS_GET,
                this.dataToJson(labelFilters, typeof(PovelliLabelFilter[])));

            PovelliTemplate[] templates = null;
            if (res.success && res.labels.Length > 0) {
                templates = res.labels[0].available_templates;
            }

            return templates;
        }