Dokumentacja MGBI API
  1. Tworzenie raportów
Dokumentacja MGBI API
  • MGBI API
    • Wprowadzenie
    • Autoryzacja
    • Pojęcia
    • Modele danych
      • pl-krs-wp-record
      • pl-krs-rdf-record
      • pl-krz-wp-record
      • pl-wpv-record
      • pl-crbr-wp-record
      • pl-msig-record
      • pl-mgbi-lu-record
    • Endpointy dla modeli danych
      • pl-krs-wp-record
        • Get Record By Id
        • Get Records
        • Stream Records
        • Download File By Id
        • Get Limits
        • Get Projections
      • pl-krs-rdf-record
        • Get Record By Id
        • Get Records
        • Stream Records
        • Download File By Id
        • Get Limits
        • Get Projections
        • Get Type Enum Values
      • pl-krz-wp-record
        • Get Record By Id
        • Get Records
        • Stream Records
        • Get Limits
        • Get Projections
      • pl-wpv-record
        • Get Record By Id
        • Get Records
        • Stream Records
        • Get Limits
        • Get Projections
      • pl-crbr-wp-record
        • Get Record By Id
        • Get Records
        • Stream Records
        • Get Limits
        • Get Projections
      • pl-msig-record
        • Get Record By Id
        • Get Records
        • Stream Records
        • Download File By Id
        • Get Limits
        • Get Projections
      • pl-mgbi-lu-record
        • Get Record By Id
        • Get Records
        • Stream Records
        • Get Limits
        • Get Projections
        • Get Category
    • Zlecanie odświeżenia danych
      • Ogólne informacje
      • Create Refresh
      • Get Refresh
    • Tworzenie raportów
      • Ogólne informacje
      • Create Report
        POST
      • Get Report By Id
        GET
      • Get Reports
        GET
      • Download Report
        GET
      • Delete Report
        DELETE
  1. Tworzenie raportów

Download Report

GET
/v1/reports/{report_id}/download
Pobiera zawartość pliku raportu.
W przypadku sukcesu w nagłówkach HTTP zwraca metadane pliku, a w odpowiedzi jego zawartość.
W przypadku, gdy plik nie istnieje, zwraca błąd 404.

Request

Path Params

Header Params

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.mgbi.pl/v1/reports//download'

Responses

🟢200Download a single report
application/json
Zawartość pliku
Headers

Body

Example
{}
🟠400Bad Request
🟠401Unauthorized
🟠403Forbidden
🟠404Not Found
🟠410Gone
Modified at 2025-10-28 11:44:45
Previous
Get Reports
Next
Delete Report
Built with