openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/ES_RETRIEVE_OBJECT:
    post:
      tags:
      - SESC_PROXY_INTERFACE
      operationId: /rfc/ES_RETRIEVE_OBJECT
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_KEYS:
                  type: array
                  items:
                    type: string
                    description: Object Instance Key
                I_LANGU:
                  type: string
                  default: SY-LANGU
                  maxLength: 1
                I_REQUEST_FIELDS:
                  type: array
                  items:
                    type: string
                    maxLength: 64
                    description: Attribute Name
                I_SEARCHSCOPE:
                  type: object
                  properties:
                    REPOSITORY_CLASS:
                      type: string
                      maxLength: 10
                      description: Repository Class
                    REPOSITORY_ID:
                      type: string
                      maxLength: 30
                      description: Repository ID
                    OBJTYPEID:
                      type: string
                      maxLength: 30
                      description: Unique Name of Object Type
              required:
              - I_KEYS
              - I_LANGU
              - I_REQUEST_FIELDS
              - I_SEARCHSCOPE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_RESULT_OBJECT_XML:
                    type: string
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
