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

Post Stream Records

POST
/v1/models/pl-msig-record/stream
Pobiera rekordy używając parametrów z ciała zapytania -NEW-.
W przypadku sukcesu w odpowiedzi zwraca listę rekordów.
W przypadku braku rekordów spełniających podane kryteria zwraca pustą listę.
Poprawne wywołanie endpointu zwiększa liczniki:
api i api_search o 1
api_search_results o 1 jeśli zwrócono co najmniej jeden rekord
records i records_api_search o liczbę zwróconych rekordów

Request

Query Params

Header Params

Body Params application/jsonRequired

Example
{
    "meta.last_update_datetime_from": "2019-08-24T14:15:22.123Z",
    "meta.last_update_datetime_to": "2019-08-24T14:15:22.123Z",
    "identifiers.pl_krs": "string",
    "identifiers.pl_rhb": "string",
    "identifiers.pl_ewp": "string",
    "projection": "string",
    "content": [
        "string"
    ]
}

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 'https://api.mgbi.pl/v1/models/pl-msig-record/stream?media_type=undefined' \
--header 'Authorization;' \
--header 'Content-Type: application/json' \
--data '{
    "meta.last_update_datetime_from": "2019-08-24T14:15:22.123Z",
    "meta.last_update_datetime_to": "2019-08-24T14:15:22.123Z",
    "identifiers.pl_krs": "string",
    "identifiers.pl_rhb": "string",
    "identifiers.pl_ewp": "string",
    "projection": "string",
    "content": [
        "string"
    ]
}'

Responses

🟢200Successful Response
application/json
Successful Response
Bodyapplication/json

Example
[
    {
        "_id": "66224f432af717a81b7caf8f",
        "content": {
            "body_xml": "<p style=\"margin:15px 0px 0px 0px\">\"Przedsiębiorstwo Robót Drogowych Świnoujście\" Sp. z o.o. z siedzibą w\n            Świnoujściu (KRS <numer typ=\"KRS\">1074561</numer>) (Spółka przekształcona), na podstawie art. 570 Ksh\n            ogłasza, że w dniu 13.12.2023 r. Spółka została wpisana w Rejestrze Przedsiębiorców w drodze przekształcenia\n            ze spółki cywilnej, akt not. z 25.08.2023 r., Rep. A nr 3653/2023.\n        </p>\n    ",
            "header_xml": "<p>\n                <b>Poz. 1. \"PRZEDSIĘBIORSTWO ROBÓT DROGOWYCH ŚWINOUJŚCIE\" SPÓŁKA Z OGRANICZONĄ ODPOWIEDZIALNOŚCIĄ</b>\n                w Świnoujściu. KRS 0001074561. SĄD REJONOWY SZCZECIN-CENTRUM W SZCZECINIE, XIII WYDZIAŁ GOSPODARCZY\n                KRAJOWEGO REJESTRU SĄDOWEGO, wpis do rejestru: 13 grudnia 2023 r. [BMSiG-61885/2023]\n            </p>\n        "
        },
        "entities": [
            {
                "basic": {
                    "name": "\"PRZEDSIĘBIORSTWO ROBÓT DROGOWYCH ŚWINOUJŚCIE\" SPÓŁKA Z OGRANICZONĄ ODPOWIEDZIALNOŚCIĄ",
                    "town": "w Świnoujściu"
                },
                "court": {
                    "department": "XIII WYDZIAŁ GOSPODARCZY KRAJOWEGO REJESTRU SĄDOWEGO",
                    "name": "SĄD REJONOWY SZCZECIN-CENTRUM W SZCZECINIE",
                    "registration_date": "2023-12-13"
                },
                "identifiers": {
                    "pl_krs": "0001074561"
                }
            }
        ],
        "meta": {
            "first_update_datetime": "2024-04-01T00:00:00.000",
            "last_update_datetime": "2024-04-03T00:00:00.000"
        },
        "msig": {
            "chapter": "I. OGŁOSZENIA WYMAGANE PRZEZ KODEKS SPÓŁEK HANDLOWYCH",
            "page_number": 7,
            "position_number": 1,
            "section": "2. Spółki z ograniczoną odpowiedzialnością",
            "sequential_number": 6903,
            "signature": "BMSiG-61885/2023",
            "year": 2024,
            "yearly_number": 1
        }
    }
]
🟠400Bad Request
🟠401Unauthorized
🟠403Forbidden
🟠404Not Found
🟠429Too Many Requests
Modified at 2026-06-03 11:40:06
Previous
Get Model Info
Next
pl-sudop-wpopb-record
Built with