| GET | /barcode/{BarcodeType}/{BarcodeValue} |
|---|
"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;
}
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
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /barcode/{BarcodeType}/{BarcodeValue} HTTP/1.1
Host: milliet.io
Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{}