openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SC2_GET_DATA:
    post:
      tags:
      - SC2_GEN
      operationId: /rfc/SC2_GET_DATA
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IS_CO_NODE_NAME:
                  type: object
                  properties:
                    BO_NAME:
                      type: string
                      maxLength: 30
                      description: 'ESF: Business Object'
                    NODE_NAME:
                      type: string
                      maxLength: 30
                      description: 'ESF: Business Object Node'
                IT_FIELD_LIST:
                  type: array
                  items:
                    type: string
                    maxLength: 30
                    description: Field Name
                IT_SEL_PARAM:
                  type: array
                  items:
                    type: object
                    properties:
                      KEY:
                        type: string
                        description: Parameter Name
                      VALUE:
                        type: string
                        description: Parameter Value
                IV_CO_INTERFACE:
                  type: string
                  maxLength: 30
                IV_CO_METHOD:
                  type: string
                  maxLength: 61
                IV_LANGU:
                  type: string
                  maxLength: 1
              required:
              - IS_CO_NODE_NAME
              - IT_FIELD_LIST
              - IT_SEL_PARAM
              - IV_CO_INTERFACE
              - IV_CO_METHOD
              - IV_LANGU
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  EV_RESULT:
                    type: string
                    format: byte
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
