openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/ECATT_ECSD_GET_TARGETSYSTEMS:
    post:
      tags:
      - ECATT_API
      operationId: /rfc/ECATT_ECSD_GET_TARGETSYSTEMS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IM_NO_TEXT:
                  type: string
                  default: ' '
                  maxLength: 1
                IM_OBJ_NAME:
                  type: string
                  maxLength: 30
                ET_TARGETSYSTEMS:
                  type: array
                  items:
                    type: object
                    properties:
                      TESTSYSTEM:
                        type: string
                        maxLength: 30
                        description: Target System (Key in System Data Container)
                      PV:
                        type: string
                        maxLength: 20
                        description: 'eCATT: Product Version'
                      RFCDEST:
                        type: string
                        maxLength: 32
                        description: Logical Destination (Specified in Function Call)
                      SORT_LNR:
                        type: integer
                        format: int64
                        description: eCATT - Sort Index in Lists
                      RFCDEST2:
                        type: string
                        maxLength: 32
                        description: HTTP Destination in eCATT System Data Containers
                      INSTANCE:
                        type: string
                        maxLength: 150
                        description: Description of System Instance
                      SYS_DESC:
                        type: string
                        maxLength: 60
                        description: Description for Target System
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ET_TARGETSYSTEMS:
                    type: array
                    items:
                      type: object
                      properties:
                        TESTSYSTEM:
                          type: string
                          maxLength: 30
                          description: Target System (Key in System Data Container)
                        PV:
                          type: string
                          maxLength: 20
                          description: 'eCATT: Product Version'
                        RFCDEST:
                          type: string
                          maxLength: 32
                          description: Logical Destination (Specified in Function Call)
                        SORT_LNR:
                          type: integer
                          format: int64
                          description: eCATT - Sort Index in Lists
                        RFCDEST2:
                          type: string
                          maxLength: 32
                          description: HTTP Destination in eCATT System Data Containers
                        INSTANCE:
                          type: string
                          maxLength: 150
                          description: Description of System Instance
                        SYS_DESC:
                          type: string
                          maxLength: 60
                          description: Description for Target System
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
