Dokumentacja MGBI API
  1. Zlecanie odświeżenia danych
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
        POST
      • Get Refresh
        GET
    • Tworzenie raportów
      • Ogólne informacje
      • Create Report
      • Get Report By Id
      • Get Reports
      • Download Report
      • Delete Report
  1. Zlecanie odświeżenia danych

Get Refresh

GET
/v1/refresh/{id}
Pobiera pojedynczy rekord z informacjami o zleceniu odświeżenia danych.
W przypadku sukcesu w odpowiedzi zwraca parametry zlecenia.
W przypadku, gdy zlecenie nie istnieje, zwraca błąd 404.

Request

Path Params

Query 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/refresh/'

Responses

🟢200Successful Response
application/json
Pojedynczy rekord
Body

Example
{
    "id": "string",
    "query": {
        "model": "string"
    },
    "creation_datetime": "2019-08-24T14:15:22Z",
    "start_datetime": "2019-08-24T14:15:22Z",
    "finish_datetime": "2019-08-24T14:15:22Z",
    "status": "pending"
}
🟠404Not Found
🟠400Bad Request
🟠401Unauthorized
🟠403Forbidden
🟠404Not Found
Modified at 2025-09-11 12:02:24
Previous
Create Refresh
Next
Ogólne informacje
Built with