openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RSAOS_OLTPSOURCE_GET_RFC:
    post:
      tags:
      - RS_CRM_ICM
      operationId: /rfc/RSAOS_OLTPSOURCE_GET_RFC
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_LOGSYS:
                  type: string
                  maxLength: 10
                I_OBJVERS:
                  type: string
                  maxLength: 1
                I_OLTPSOURCE:
                  type: string
                  maxLength: 30
              required:
              - I_LOGSYS
              - I_OLTPSOURCE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_T_TSFIELD:
                    type: array
                    items:
                      type: object
                      properties:
                        TRANSTRU:
                          type: string
                          maxLength: 27
                          description: Transfer Structure Between Source System and BI
                        OBJVERS:
                          type: string
                          maxLength: 1
                          description: Object version
                        POSIT:
                          type: integer
                          format: int64
                          description: Position of the Field in the Structure / Table
                        IOBJNM:
                          type: string
                          maxLength: 30
                          description: InfoObject
                        FIELDNM:
                          type: string
                          maxLength: 30
                          description: Field name
                        DTELNM:
                          type: string
                          maxLength: 30
                          description: Data Element
                        DATATYPE:
                          type: string
                          maxLength: 4
                          description: Data type
                        INTLEN:
                          type: integer
                          format: int64
                          description: Internal Length in Bytes
                        LENG:
                          type: integer
                          format: int64
                          description: Length (No. of Characters)
                        INTTYPE:
                          type: string
                          maxLength: 1
                          description: ABAP data type (C,D,N,...)
                        CONVEXIT:
                          type: string
                          maxLength: 5
                          description: Conversion Routine
                        DECIMALS:
                          type: integer
                          format: int64
                          description: Number of Decimal Places
                        UNIFIELDNM:
                          type: string
                          maxLength: 30
                          description: Name of the relevant unit field
                        ROLLNAME:
                          type: string
                          maxLength: 30
                          description: Warehouse data elements for source system objects
                        MANDATORY:
                          type: string
                          maxLength: 1
                          description: 'Flag: Required-entry field'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
