Retrieving export profiles

Returns a list of all export profiles configured.

URLs

GET    /api/v1/exportprofiles

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 list will be returned.

 

Result

An array of type ExportProfileEntry (see below) will be returned.

Error codes (in addition to general error codes)

None.

Examples

▪    http://combitreportserver/api/v1/exportprofiles

Returns a list of all export profiles in XML format

▪    http://combitreportserver/api/v1/exportprofiles?format=json

Returns a list of all export profiles in JSON format

Result type: ReportTemplateEntry

As XML

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

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

  <ExportProfileEntry>

    <ID>0135FB16-083B-4D0D-958D-DB395BC80EF1</ID>

    <Name>Bitmap Grafik (.bmp)</Name>

    <MimeType>image/bmp</MimeType>

  </ExportProfileEntry>

  <ExportProfileEntry>

    <ID>E10FDE06-C266-4006-933C-A31654013279</ID>

    <Name>CSV-formatted text (.csv)</Name>

    <MimeType>application/octet-stream</MimeType>

  </ExportProfileEntry>

  ...

</ArrayOfExportProfileEntry>

As JSON

[

  {

    "ID": "0135FB16-083B-4D0D-958D-DB395BC80EF1",

    "Name": "Bitmap Grafik (.bmp)",

    "MimeType": "image/bmp"

  },

  {

    "ID": "E10FDE06-C266-4006-933C-A31654013279",

    "Name": "CSV-formatted text (.csv)",

    "MimeType": "application/octet-stream"

  },

  ...

]