openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RSC3_FREQ_DATA_UPL:
    post:
      tags:
      - RSC3
      operationId: /rfc/RSC3_FREQ_DATA_UPL
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_LAST_READ:
                  type: string
                  maxLength: 24
                I_OSOURCE:
                  type: string
                  maxLength: 30
                I_OSOURCE_READ:
                  type: string
                  maxLength: 30
                I_RLOGSYS:
                  type: string
                  maxLength: 10
                I_SINGLE_READ:
                  type: string
                  default: ' '
                  maxLength: 1
                E_T_DATA:
                  type: array
                  items:
                    type: object
                    properties:
                      CONT:
                        type: string
                        maxLength: 1
                        description: 'Data element for domain BOOLE: TRUE (=''X'') and FALSE (='' '')  enumValues: X=TRUE,""=FALSE'
                        enum:
                        - X
                        - ''
                      DATA:
                        type: string
                        maxLength: 250
                        description: Data field
                E_T_IDOCSTATE:
                  type: array
                  items:
                    type: object
                    properties:
                      DOCNUM:
                        type: integer
                        format: int64
                        description: IDoc number
                      STATUS:
                        type: string
                        maxLength: 2
                        description: Status of IDoc
                      MSGTY:
                        type: string
                        maxLength: 1
                        description: Message Type
                      MSGID:
                        type: string
                        maxLength: 20
                        description: Message identification
                      MSGNO:
                        type: string
                        maxLength: 3
                        description: System Message Number
                      MSGV1:
                        type: string
                        maxLength: 50
                        description: Parameter 1
                      MSGV2:
                        type: string
                        maxLength: 50
                        description: Parameter 2
                      MSGV3:
                        type: string
                        maxLength: 50
                        description: Parameter 3
                      MSGV4:
                        type: string
                        maxLength: 50
                        description: Parameter 4
                      SEGNUM:
                        type: integer
                        format: int64
                        description: Number of SAP segment
                      SEGFLD:
                        type: string
                        maxLength: 30
                        description: Field Name in SAP Segment
                      UNAME:
                        type: string
                        maxLength: 12
                        description: User name
                      REPID:
                        type: string
                        maxLength: 30
                        description: Program Name
                      ROUTID:
                        type: string
                        maxLength: 30
                        description: Name of subroutine (routine, function module)
                      TID:
                        type: string
                        maxLength: 24
                        description: Transaction ID
                      APPL_LOG:
                        type: string
                        maxLength: 20
                        description: Application Log
              required:
              - I_OSOURCE
              - I_RLOGSYS
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_LAST_READ:
                    type: string
                    maxLength: 24
                  E_NUMROWS:
                    type: integer
                    format: int32
                  E_SUBRC:
                    type: integer
                    format: int32
                  E_TRANSTRU:
                    type: string
                    maxLength: 30
                  E_T_DATA:
                    type: array
                    items:
                      type: object
                      properties:
                        CONT:
                          type: string
                          maxLength: 1
                          description: 'Data element for domain BOOLE: TRUE (=''X'') and FALSE (='' '')  enumValues: X=TRUE,""=FALSE'
                          enum:
                          - X
                          - ''
                        DATA:
                          type: string
                          maxLength: 250
                          description: Data field
                  E_T_IDOCSTATE:
                    type: array
                    items:
                      type: object
                      properties:
                        DOCNUM:
                          type: integer
                          format: int64
                          description: IDoc number
                        STATUS:
                          type: string
                          maxLength: 2
                          description: Status of IDoc
                        MSGTY:
                          type: string
                          maxLength: 1
                          description: Message Type
                        MSGID:
                          type: string
                          maxLength: 20
                          description: Message identification
                        MSGNO:
                          type: string
                          maxLength: 3
                          description: System Message Number
                        MSGV1:
                          type: string
                          maxLength: 50
                          description: Parameter 1
                        MSGV2:
                          type: string
                          maxLength: 50
                          description: Parameter 2
                        MSGV3:
                          type: string
                          maxLength: 50
                          description: Parameter 3
                        MSGV4:
                          type: string
                          maxLength: 50
                          description: Parameter 4
                        SEGNUM:
                          type: integer
                          format: int64
                          description: Number of SAP segment
                        SEGFLD:
                          type: string
                          maxLength: 30
                          description: Field Name in SAP Segment
                        UNAME:
                          type: string
                          maxLength: 12
                          description: User name
                        REPID:
                          type: string
                          maxLength: 30
                          description: Program Name
                        ROUTID:
                          type: string
                          maxLength: 30
                          description: Name of subroutine (routine, function module)
                        TID:
                          type: string
                          maxLength: 24
                          description: Transaction ID
                        APPL_LOG:
                          type: string
                          maxLength: 20
                          description: Application Log
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
