openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/ES_EXECUTE_CROSS_OBJECT_SEARCH:
    post:
      tags:
      - SESC_PROXY_INTERFACE
      operationId: /rfc/ES_EXECUTE_CROSS_OBJECT_SEARCH
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_CONTENT_TYPE:
                  type: string
                  maxLength: 1
                I_FROM:
                  type: integer
                  format: int32
                I_LANGU:
                  type: string
                  maxLength: 1
                I_REQUEST_FIELDS:
                  type: array
                  items:
                    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
                      REQUEST_FIELDS:
                        type: array
                        items:
                          type: string
                          maxLength: 64
                          description: Attribute Name
                I_SEARCHSCOPE_TAB:
                  type: array
                  items:
                    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
                I_TERM:
                  type: string
                I_TO:
                  type: integer
                  format: int32
              required:
              - I_FROM
              - I_REQUEST_FIELDS
              - I_SEARCHSCOPE_TAB
              - I_TO
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_HITS:
                    type: array
                    items:
                      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
                        HITS:
                          type: integer
                          format: int32
                          description: ''
                        ALL_HITS:
                          type: integer
                          format: int32
                          description: ''
                  E_RESULT_CROSSOBJSEARCH_XML:
                    type: string
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
