openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RSA_RSBASIDOC_READ:
    post:
      tags:
      - RSAS
      operationId: /rfc/RSA_RSBASIDOC_READ
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_AM_RECEIVER:
                  type: string
                  maxLength: 1
                I_AM_SENDER:
                  type: string
                  maxLength: 1
                BASIDOC:
                  type: array
                  items:
                    type: object
                    properties:
                      SLOGSYS:
                        type: string
                        maxLength: 10
                        description: Source system
                      RLOGSYS:
                        type: string
                        maxLength: 10
                        description: Source system of the receiver
                      OBJSTAT:
                        type: string
                        maxLength: 3
                        description: 'Object Status  enumValues: OFF=Switched off,INA=Inactive, not executable,ACT=Active, executable,PRO=Productive'
                        enum:
                        - 'OFF'
                        - INA
                        - ACT
                        - PRO
                      BIDOCTYP:
                        type: string
                        maxLength: 30
                        description: Basic type
                      TSIDOC3X:
                        type: integer
                        format: int64
                        description: Transfer structure 3.x number state for a source system
                      TSPREFIX:
                        type: string
                        maxLength: 2
                        description: Transfer structure prefix for a source system
                      SRCTYPE:
                        type: string
                        maxLength: 1
                        description: 'Type of the source system  enumValues: F=External system, meta data manually, data with file interf.,B=External system, data and meta data trns. with staging BAPIs,3=SAP R/3 from version 3.0D onwards'
                        enum:
                        - F
                        - B
                        - '3'
                      SAPREL:
                        type: string
                        maxLength: 4
                        description: Release Status of SAP System
                      TSTPNM:
                        type: string
                        maxLength: 12
                        description: Last changed by
                      TIMESTMP:
                        type: integer
                        format: int64
                        description: UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
                      SBWBCRL:
                        type: string
                        maxLength: 4
                        description: 'Sending System: BW Release of Basis Functions'
                      RBWBCRL:
                        type: string
                        maxLength: 4
                        description: 'Receiver System: BW Release of Basis Functions'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  BASIDOC:
                    type: array
                    items:
                      type: object
                      properties:
                        SLOGSYS:
                          type: string
                          maxLength: 10
                          description: Source system
                        RLOGSYS:
                          type: string
                          maxLength: 10
                          description: Source system of the receiver
                        OBJSTAT:
                          type: string
                          maxLength: 3
                          description: 'Object Status  enumValues: OFF=Switched off,INA=Inactive, not executable,ACT=Active, executable,PRO=Productive'
                          enum:
                          - 'OFF'
                          - INA
                          - ACT
                          - PRO
                        BIDOCTYP:
                          type: string
                          maxLength: 30
                          description: Basic type
                        TSIDOC3X:
                          type: integer
                          format: int64
                          description: Transfer structure 3.x number state for a source system
                        TSPREFIX:
                          type: string
                          maxLength: 2
                          description: Transfer structure prefix for a source system
                        SRCTYPE:
                          type: string
                          maxLength: 1
                          description: 'Type of the source system  enumValues: F=External system, meta data manually, data with file interf.,B=External system, data and meta data trns. with staging BAPIs,3=SAP R/3 from version 3.0D onwards'
                          enum:
                          - F
                          - B
                          - '3'
                        SAPREL:
                          type: string
                          maxLength: 4
                          description: Release Status of SAP System
                        TSTPNM:
                          type: string
                          maxLength: 12
                          description: Last changed by
                        TIMESTMP:
                          type: integer
                          format: int64
                          description: UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
                        SBWBCRL:
                          type: string
                          maxLength: 4
                          description: 'Sending System: BW Release of Basis Functions'
                        RBWBCRL:
                          type: string
                          maxLength: 4
                          description: 'Receiver System: BW Release of Basis Functions'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
