openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RSA1_REQUEST_INFO_GET:
    post:
      tags:
      - RSA8
      operationId: /rfc/RSA1_REQUEST_INFO_GET
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_REQUNR:
                  type: string
                  maxLength: 30
                E_T_RORQSTPRMS:
                  type: array
                  items:
                    type: object
                    properties:
                      REQUNR:
                        type: string
                        maxLength: 30
                        description: Request number for the data transfer
                      DATAPAKID:
                        type: integer
                        format: int64
                        description: Data packet number
                      INFOPAKID:
                        type: integer
                        format: int64
                        description: Data packet number
                      IDOCNR:
                        type: integer
                        format: int64
                        description: IDoc number
                      ERROR:
                        type: integer
                        format: int32
                        description: Return Value of ABAP Statements
                      DATUM:
                        type: string
                        format: date
                        description: Current Date of Application Server
                      ZEIT:
                        type: string
                        maxLength: 6
                        description: Current Time of Application Server
                      MILISECS:
                        type: integer
                        format: int32
                        description: Natural number
                      RCRDEXTR:
                        type: integer
                        format: int32
                        description: Number of Data Records Extracted
                      RCRDSENT:
                        type: integer
                        format: int32
                        description: Number of Sent Data Records
              required:
              - I_REQUNR
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_T_RORQSTPRMS:
                    type: array
                    items:
                      type: object
                      properties:
                        REQUNR:
                          type: string
                          maxLength: 30
                          description: Request number for the data transfer
                        DATAPAKID:
                          type: integer
                          format: int64
                          description: Data packet number
                        INFOPAKID:
                          type: integer
                          format: int64
                          description: Data packet number
                        IDOCNR:
                          type: integer
                          format: int64
                          description: IDoc number
                        ERROR:
                          type: integer
                          format: int32
                          description: Return Value of ABAP Statements
                        DATUM:
                          type: string
                          format: date
                          description: Current Date of Application Server
                        ZEIT:
                          type: string
                          maxLength: 6
                          description: Current Time of Application Server
                        MILISECS:
                          type: integer
                          format: int32
                          description: Natural number
                        RCRDEXTR:
                          type: integer
                          format: int32
                          description: Number of Data Records Extracted
                        RCRDSENT:
                          type: integer
                          format: int32
                          description: Number of Sent Data Records
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
