openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/DR_RESOLVE_FLOBJECT_RELATIONS:
    post:
      tags:
      - DRFLIGHT
      operationId: /rfc/DR_RESOLVE_FLOBJECT_RELATIONS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                MAXRESULT:
                  type: integer
                  format: int32
                  default: 500
                SOURCETYPE:
                  type: string
                  maxLength: 10
                TARGETTYPE:
                  type: string
                  maxLength: 10
                RELATIONS:
                  type: array
                  items:
                    type: object
                    properties:
                      SOURCETYPE:
                        type: string
                        maxLength: 10
                        description: 'Drag&Relate: Object Type'
                      TARGETTYPE:
                        type: string
                        maxLength: 10
                        description: 'Drag&Relate: Object Type'
                      ATTRIBNAME:
                        type: string
                        maxLength: 32
                        description: Object type component
                      RELTYPE:
                        type: string
                        maxLength: 1
                        description: Character field with length 1
                RESULTLIST:
                  type: array
                  items:
                    type: object
                    properties:
                      OBJECTID:
                        type: string
                        maxLength: 70
                        description: Object key
                      DESCRIPT:
                        type: string
                        maxLength: 128
                        description: Object description
                SOURCELIST:
                  type: array
                  items:
                    type: object
                    properties:
                      OBJECTID:
                        type: string
                        maxLength: 70
                        description: Object key
              required:
              - SOURCETYPE
              - TARGETTYPE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  RELATIONS:
                    type: array
                    items:
                      type: object
                      properties:
                        SOURCETYPE:
                          type: string
                          maxLength: 10
                          description: 'Drag&Relate: Object Type'
                        TARGETTYPE:
                          type: string
                          maxLength: 10
                          description: 'Drag&Relate: Object Type'
                        ATTRIBNAME:
                          type: string
                          maxLength: 32
                          description: Object type component
                        RELTYPE:
                          type: string
                          maxLength: 1
                          description: Character field with length 1
                  RESULTLIST:
                    type: array
                    items:
                      type: object
                      properties:
                        OBJECTID:
                          type: string
                          maxLength: 70
                          description: Object key
                        DESCRIPT:
                          type: string
                          maxLength: 128
                          description: Object description
                  SOURCELIST:
                    type: array
                    items:
                      type: object
                      properties:
                        OBJECTID:
                          type: string
                          maxLength: 70
                          description: Object key
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
