openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SPRT_DR_GET_SPECIFIED_RELATION:
    post:
      tags:
      - SPRT
      operationId: /rfc/SPRT_DR_GET_SPECIFIED_RELATION
      requestBody:
        content:
          application/json:
            schema:
              properties:
                SOURCE_OBJECT:
                  type: string
                  maxLength: 10
                TARGET_OBJECT:
                  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: Target object type'
                      ATTRIBNAME:
                        type: string
                        maxLength: 32
                        description: 'Drag&Relate: Attribute name for object relations'
                      ACCESSTYPE:
                        type: string
                        maxLength: 1
                        description: 'Drag&Relate: Type of Object Link  enumValues: A=Attribute,I=Inheritance relationship'
                        enum:
                        - A
                        - I
                      API_NAME:
                        type: string
                        maxLength: 128
                        description: 'Drag&Relate query: API name'
                      REVERSIBLE:
                        type: string
                        maxLength: 1
                        description: Character field with length 1
                      COMBINABLE:
                        type: string
                        maxLength: 1
                        description: Character field with length 1
              required:
              - SOURCE_OBJECT
              - TARGET_OBJECT
      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: Target object type'
                        ATTRIBNAME:
                          type: string
                          maxLength: 32
                          description: 'Drag&Relate: Attribute name for object relations'
                        ACCESSTYPE:
                          type: string
                          maxLength: 1
                          description: 'Drag&Relate: Type of Object Link  enumValues: A=Attribute,I=Inheritance relationship'
                          enum:
                          - A
                          - I
                        API_NAME:
                          type: string
                          maxLength: 128
                          description: 'Drag&Relate query: API name'
                        REVERSIBLE:
                          type: string
                          maxLength: 1
                          description: Character field with length 1
                        COMBINABLE:
                          type: string
                          maxLength: 1
                          description: Character field with length 1
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
