Liefert eine Liste aller eingerichteten Exportprofile.
URL
GET /api/v1/exportprofiles
Optionale Parameter:
Übergabe möglich in URL als ?param=value oder Form-Encoded im Request-Body
|
Name |
Werte |
Default |
Funktion |
|
format |
json/xml |
xml |
Legt das Format fest, in dem die Auflistung zurückgegeben wird. |
Rückgabe
Es wird ein Array vom Typ ExportProfileEntry (siehe unten) zurückgeliefert.
Fehler (zusätzlich zu Allgemeine Fehlercodes)
keine
Beispiele
▪ http://combitreportserver/api/v1/exportprofiles
Liefert eine Liste aller Exportprofile im XML-Format
▪ http://combitreportserver/api/v1/exportprofiles?format=json
Liefert eine Liste aller Exportprofile im JSON-Format
Rückgabe-Typ: ExportProfileEntry
Als 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-formatierter Text (.csv)</Name>
<MimeType>application/octet-stream</MimeType>
</ExportProfileEntry>
...
</ArrayOfExportProfileEntry>
Als JSON
[
{
"ID": "0135FB16-083B-4D0D-958D-DB395BC80EF1",
"Name": "Bitmap Grafik (.bmp)",
"MimeType": "image/bmp"
},
{
"ID": "E10FDE06-C266-4006-933C-A31654013279",
"Name": "CSV-formatierter Text (.csv)",
"MimeType": "application/octet-stream"
},
...
]