Retrieve printer profiles

Returns a list of all configured export profiles that print the report to a (network) printer and do not generate any files.

URL

GET    /api/v1/printerprofiles

Optional parameters

Parameter can be passed in URL as ?param=value or form-encoded in the request body.

Name

Values

Default

Function

format

json/xml

xml

Specifies the format in which the collection is returned.

 

Result

An array of the type PrinterProfileEntry (see below) is returned.

Error codes (in addition to general error codes)

None.

Examples

▪    http://combitreportserver/api/v1/printerprofiles
Liefert eine Liste der Exportprofile im XML-Format.

▪    http://combitreportserver/api/v1/printerprofiles?format=json
Liefert eine Liste der Exportprofile im JSON-Format.

ExportResult object: PrinterProfileEntry

As XML

<?xml version="1.0" encoding="utf-16"?>

<ArrayOfPrinterProfileEntry xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

    <PrinterProfileEntry>

        <ID>1DE96BF6-831A-47BF-8297-5017F7F600F3</ID>

        <Name>Black/White-Printer</Name>

    </PrinterProfileEntry>

    <PrinterProfileEntry>

        <ID>3F7ADB74-8F0A-4230-AC57-D1C588AA1654</ID>

        <Name>Colored Print, Sales Office</Name>

    </PrinterProfileEntry>

    ...

</ArrayOfPrinterProfileEntry>

As JSON

[

    {

        "ID": "1DE96BF6-831A-47BF-8297-5017F7F600F3",

        "Name": "Black/White-Printer"

    },

    {

        "ID": "3F7ADB74-8F0A-4230-AC57-D1C588AA1654",

        "Name": "Colored Print, Sales Office"

    },

    ...

]