Information Classification: External Restricted.
See https://www.chili-publish.com/security

Webservice Functions - BarcodeCreateColored

Creates a barcode, or returns information on it if it already existed in the cache.

Declaration

public string BarcodeCreateColored ( string apiKey, string barcodeTypeID, string barcodeText, string backColor, string barColor, string textColor );

Arguments

Name

Type

Description

apiKey

apiKey

The API key previously generated by calling the GenerateApiKey function

barcodeTypeID

itemID

The ID of the BarcodeTypes Resource Item

barcodeText

string

The text of the barcode to be created/returned.

backColor

string

Background color for the barcode

barColor

string

Bar color for the output barcode

textColor

string

Text color for the output barcode

Returns

xmlString

An XML string containing information on the generated barcode. Eg:

<barcode text="1234567890123" type="TYPE_NAME"
succeeded="true" errorMessage="Failed to create because ..."
previewURL="URL_TO_PNG" pdfURL="URL_TO_PDF" pdfPath="PATH_TO_PDF"
widthPx="x" heightPx="y"
/>

None of the provided URL's contain the apiKey QueryString argument. This needs to be appended by the client ("&apiKey=XXX") to authenticate the download

A valid XML string

All information on this page must be treated as External Restricted, or more strict. https://www.chili-publish.com/security