openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RSAP_IDOC_FIND_ALL_FROM_BIW:
    post:
      tags:
      - RSAK
      operationId: /rfc/RSAP_IDOC_FIND_ALL_FROM_BIW
      requestBody:
        content:
          application/json:
            schema:
              properties:
                L_DATUM:
                  type: string
                  format: date
                L_RNR:
                  type: string
                  maxLength: 30
                G_T_IDOCNUM:
                  type: array
                  items:
                    type: object
                    properties:
                      IDOCNUM:
                        type: integer
                        format: int64
                        description: IDoc number
                      SYSTEM:
                        type: string
                        maxLength: 40
                        description: Medium description
                      SYSTEMTYP:
                        type: string
                        maxLength: 1
                        description: System type ALE through-put from the Warehouse
                      IDOCTYP:
                        type: string
                        maxLength: 30
                        description: Logical message type
                      IDOCSTATUS:
                        type: string
                        maxLength: 2
                        description: Status of IDoc
                      DATAPAKID:
                        type: integer
                        format: int64
                        description: Data packet number
                      SELANZAHL:
                        type: string
                        maxLength: 6
                        description: Number of selections for ALE through-put from the Warehouse
                      RQSTATE:
                        type: string
                        maxLength: 1
                        description: 'Status of the data selection  enumValues: 0=Data request received,5=Error in data selection,9=Data selection ended,2=Data selection running,1=Data selection started,8=No data available, data selection ended,6=Transfer structure obsolete, transfer rules regeneration'
                        enum:
                        - '0'
                        - '5'
                        - '9'
                        - '2'
                        - '1'
                        - '8'
                        - '6'
                      DATUM:
                        type: string
                        format: date
                        description: Current Date of Application Server
                      UZEIT:
                        type: string
                        maxLength: 6
                        description: Current Time of Application Server
              required:
              - L_DATUM
              - L_RNR
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  G_T_IDOCNUM:
                    type: array
                    items:
                      type: object
                      properties:
                        IDOCNUM:
                          type: integer
                          format: int64
                          description: IDoc number
                        SYSTEM:
                          type: string
                          maxLength: 40
                          description: Medium description
                        SYSTEMTYP:
                          type: string
                          maxLength: 1
                          description: System type ALE through-put from the Warehouse
                        IDOCTYP:
                          type: string
                          maxLength: 30
                          description: Logical message type
                        IDOCSTATUS:
                          type: string
                          maxLength: 2
                          description: Status of IDoc
                        DATAPAKID:
                          type: integer
                          format: int64
                          description: Data packet number
                        SELANZAHL:
                          type: string
                          maxLength: 6
                          description: Number of selections for ALE through-put from the Warehouse
                        RQSTATE:
                          type: string
                          maxLength: 1
                          description: 'Status of the data selection  enumValues: 0=Data request received,5=Error in data selection,9=Data selection ended,2=Data selection running,1=Data selection started,8=No data available, data selection ended,6=Transfer structure obsolete, transfer rules regeneration'
                          enum:
                          - '0'
                          - '5'
                          - '9'
                          - '2'
                          - '1'
                          - '8'
                          - '6'
                        DATUM:
                          type: string
                          format: date
                          description: Current Date of Application Server
                        UZEIT:
                          type: string
                          maxLength: 6
                          description: Current Time of Application Server
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
