{
  "openapi": "3.0.1",
  "info": {
    "title": "OpenAPI definition",
    "version": "v0"
  },
  "servers": [
    {
      "url": "https://irz.arimr.gov.pl/api/dostawcy",
      "description": "Generated server url"
    }
  ],
  "paths": {
    "/srodki-identyfikacji/api/pobieranie-srodkow-identyfikacji": {
      "post": {
        "tags": [
          "srodki-identyfikacji-api-controller"
        ],
        "operationId": "pobierzNumery",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PobieranieSrodkowIdentyfikacjiRequest"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "*/*": {
                "schema": {
                  "$ref": "#/components/schemas/PobieranieSrodkowIdentyfikacjiResponse"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "PobieranieSrodkowIdentyfikacjiRequest": {
        "type": "object",
        "properties": {
          "nipDostawcy": {
            "type": "string"
          },
          "nrDokumentu": {
            "type": "string"
          },
          "kodZabezpieczajacy": {
            "type": "string"
          },
          "nrProducenta": {
            "type": "string"
          }
        }
      },
      "NumerSrodkaIdentyfikacjiDTO": {
        "type": "object",
        "properties": {
          "znakOdpowiedzi": {
            "type": "string"
          },
          "dataOdpowiedzi": {
            "type": "string",
            "format": "date"
          },
          "kodOdpowiedzi": {
            "type": "string"
          },
          "gatunek": {
            "type": "string"
          },
          "numerProducenta": {
            "type": "string"
          },
          "zamawiajacy": {
            "type": "string"
          },
          "dataPobrania": {
            "type": "string",
            "format": "date-time"
          },
          "numerSrodkaIdent": {
            "type": "string"
          },
          "rodzajSrodka": {
            "type": "string"
          },
          "typOdpowiedzi": {
            "type": "string"
          },
          "nrDuplikatu": {
            "type": "string"
          },
          "liczbaSrodkowIdent": {
            "type": "integer",
            "format": "int32"
          }
        }
      },
      "PobieranieSrodkowIdentyfikacjiResponse": {
        "type": "object",
        "properties": {
          "listaNumerow": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/NumerSrodkaIdentyfikacjiDTO"
            }
          },
          "komunikatBledu": {
            "type": "string"
          }
        }
      }
    }
  }
}