openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SKWF_IO_TO_RELATIONS_GET:
    post:
      tags:
      - SKWF_IO
      operationId: /rfc/SKWF_IO_TO_RELATIONS_GET
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IO:
                  type: object
                  properties:
                    OBJTYPE:
                      type: string
                      maxLength: 1
                      description: 'KW Framework: IO type  enumValues: R=Relationship,L=LOIO,P=PHIO,""=Undefined (= all),F=Directory'
                      enum:
                      - R
                      - L
                      - P
                      - ''
                      - F
                    CLASS:
                      type: string
                      maxLength: 10
                      description: Document class
                    OBJID:
                      type: string
                      maxLength: 32
                      description: ID for documents and relations
                RELATION_CLASS:
                  type: string
                  maxLength: 10
                CLASS_FILTER:
                  type: array
                  items:
                    type: object
                    properties:
                      RE_CLASS:
                        type: string
                        maxLength: 10
                        description: Document class
                      PRTN_CLASS:
                        type: string
                        maxLength: 10
                        description: Document class
                RELATIONS:
                  type: array
                  items:
                    type: object
                    properties:
                      OBJTYPE:
                        type: string
                        maxLength: 1
                        description: 'KW Framework: IO type  enumValues: R=Relationship,L=LOIO,P=PHIO,""=Undefined (= all),F=Directory'
                        enum:
                        - R
                        - L
                        - P
                        - ''
                        - F
                      REIO_ID:
                        type: string
                        maxLength: 32
                        description: Relationship between logical and physical documents
                      RE_CLASS:
                        type: string
                        maxLength: 10
                        description: Relationship class
                      PRTN_ID:
                        type: string
                        maxLength: 32
                        description: ID for documents and relations
                      PRTN_CLASS:
                        type: string
                        maxLength: 10
                        description: Document class
              required:
              - IO
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ERROR:
                    type: object
                    properties:
                      ID:
                        type: string
                        maxLength: 20
                        description: Message Class
                      TYPE:
                        type: string
                        maxLength: 1
                        description: Message Type
                      'NO':
                        type: integer
                        format: int64
                        description: Message Number
                      V1:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      V2:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      V3:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      V4:
                        type: string
                        maxLength: 50
                        description: Message Variable
                  CLASS_FILTER:
                    type: array
                    items:
                      type: object
                      properties:
                        RE_CLASS:
                          type: string
                          maxLength: 10
                          description: Document class
                        PRTN_CLASS:
                          type: string
                          maxLength: 10
                          description: Document class
                  RELATIONS:
                    type: array
                    items:
                      type: object
                      properties:
                        OBJTYPE:
                          type: string
                          maxLength: 1
                          description: 'KW Framework: IO type  enumValues: R=Relationship,L=LOIO,P=PHIO,""=Undefined (= all),F=Directory'
                          enum:
                          - R
                          - L
                          - P
                          - ''
                          - F
                        REIO_ID:
                          type: string
                          maxLength: 32
                          description: Relationship between logical and physical documents
                        RE_CLASS:
                          type: string
                          maxLength: 10
                          description: Relationship class
                        PRTN_ID:
                          type: string
                          maxLength: 32
                          description: ID for documents and relations
                        PRTN_CLASS:
                          type: string
                          maxLength: 10
                          description: Document class
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
