openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/BDL_RECEIVE_DATA:
    post:
      tags:
      - BDL3
      summary: welcome data form a customer in SAPNET
      operationId: /rfc/BDL_RECEIVE_DATA
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CONTENT:
                  type: array
                  items:
                    type: object
                    properties:
                      SESSIONNR:
                        type: string
                        maxLength: 10
                        description: Character Field Length = 10
                      MANDANT:
                        type: string
                        maxLength: 3
                        description: 3-Byte field
                      INSTALL_NO:
                        type: integer
                        format: int64
                        description: 10 digit number
                      SID:
                        type: string
                        maxLength: 8
                        description: Name of the SAP System
                      CUST_NO:
                        type: integer
                        format: int64
                        description: 10 digit number
                      CONTRACT:
                        type: string
                        maxLength: 8
                        description: Contract type
                      DESCRIPTIO:
                        type: string
                        maxLength: 8
                        description: Session subtype
                      FUNCMOD:
                        type: string
                        maxLength: 6
                        description: Character field of length 6
                      HOST:
                        type: string
                        maxLength: 32
                        description: Character field, length 32
                      INSTANCE:
                        type: string
                        maxLength: 2
                        description: Version Number Component
                      SEQNO:
                        type: integer
                        format: int64
                        description: Sequence number
                      CONTEXT:
                        type: string
                        maxLength: 20
                        description: Context
                      TYPE:
                        type: string
                        maxLength: 1
                        description: Single-Character Flag
                      CODEPAGE:
                        type: integer
                        format: int64
                        description: SAP Character Set ID
                      DATUM:
                        type: string
                        format: date
                        description: Current Date of Application Server
                      UHRZEIT:
                        type: string
                        maxLength: 6
                        description: Current Time of Application Server
                      TRANSFER:
                        type: string
                        maxLength: 1
                        description: Status of data transfer
                      LOGFUNC:
                        type: string
                        maxLength: 30
                        description: Logical name
                      BYTES:
                        type: integer
                        format: int64
                        description: DATA LENGTH
                      BEG_INDEX:
                        type: integer
                        format: int32
                        description: Index of Internal Tables
                      BEG_OFFSET:
                        type: integer
                        format: int32
                        description: Index of Internal Tables
                DATA:
                  type: array
                  items:
                    type: object
                    properties:
                      DATA:
                        type: string
                        format: byte
                        description: data container?
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  CONTENT:
                    type: array
                    items:
                      type: object
                      properties:
                        SESSIONNR:
                          type: string
                          maxLength: 10
                          description: Character Field Length = 10
                        MANDANT:
                          type: string
                          maxLength: 3
                          description: 3-Byte field
                        INSTALL_NO:
                          type: integer
                          format: int64
                          description: 10 digit number
                        SID:
                          type: string
                          maxLength: 8
                          description: Name of the SAP System
                        CUST_NO:
                          type: integer
                          format: int64
                          description: 10 digit number
                        CONTRACT:
                          type: string
                          maxLength: 8
                          description: Contract type
                        DESCRIPTIO:
                          type: string
                          maxLength: 8
                          description: Session subtype
                        FUNCMOD:
                          type: string
                          maxLength: 6
                          description: Character field of length 6
                        HOST:
                          type: string
                          maxLength: 32
                          description: Character field, length 32
                        INSTANCE:
                          type: string
                          maxLength: 2
                          description: Version Number Component
                        SEQNO:
                          type: integer
                          format: int64
                          description: Sequence number
                        CONTEXT:
                          type: string
                          maxLength: 20
                          description: Context
                        TYPE:
                          type: string
                          maxLength: 1
                          description: Single-Character Flag
                        CODEPAGE:
                          type: integer
                          format: int64
                          description: SAP Character Set ID
                        DATUM:
                          type: string
                          format: date
                          description: Current Date of Application Server
                        UHRZEIT:
                          type: string
                          maxLength: 6
                          description: Current Time of Application Server
                        TRANSFER:
                          type: string
                          maxLength: 1
                          description: Status of data transfer
                        LOGFUNC:
                          type: string
                          maxLength: 30
                          description: Logical name
                        BYTES:
                          type: integer
                          format: int64
                          description: DATA LENGTH
                        BEG_INDEX:
                          type: integer
                          format: int32
                          description: Index of Internal Tables
                        BEG_OFFSET:
                          type: integer
                          format: int32
                          description: Index of Internal Tables
                  DATA:
                    type: array
                    items:
                      type: object
                      properties:
                        DATA:
                          type: string
                          format: byte
                          description: data container?
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
