WS-RESTRICTED_API Host [RESTRICTED_API] : D5290-staging

<back to all web services

barcode_forced

Barcode

Service de création de barcodes (OLD SCHOOL)

The following routes are available for this service:
GET/barcode_forced/{BasicAuth}/{MimeType}/{BarcodeType}/{BarcodeValue}barcode
"use strict";
/** @typedef {'code39'|'ean13'|'qrcode'} */
export var eapi_barcode_type_enum;
(function (eapi_barcode_type_enum) {
    eapi_barcode_type_enum["code39"] = "code39"
    eapi_barcode_type_enum["ean13"] = "ean13"
    eapi_barcode_type_enum["qrcode"] = "qrcode"
})(eapi_barcode_type_enum || (eapi_barcode_type_enum = {}));
export class barcode {
    /** @param {{barcodeType?:eapi_barcode_type_enum,barcodeValue?:string}} [init] */
    constructor(init) { Object.assign(this, init) }
    /**
     * @type {eapi_barcode_type_enum}
     * @description barcode type */
    barcodeType;
    /**
     * @type {string}
     * @description barcode value */
    barcodeValue;
}
export class barcode_forced {
    /** @param {{basicAuth?:string,mimeType?:string,barcodeType?:eapi_barcode_type_enum,barcodeValue?:string,barcode?:barcode}} [init] */
    constructor(init) { Object.assign(this, init) }
    /**
     * @type {string}
     * @description Basic Auth */
    basicAuth;
    /**
     * @type {string}
     * @description mime-type */
    mimeType;
    /**
     * @type {eapi_barcode_type_enum}
     * @description barcode type */
    barcodeType;
    /**
     * @type {string}
     * @description barcode value */
    barcodeValue;
    /** @type {barcode} */
    barcode;
}

JavaScript barcode_forced DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /barcode_forced/{BasicAuth}/{MimeType}/{BarcodeType}/{BarcodeValue} HTTP/1.1 
Host: milliet.io 
Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{}