openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SKWF_FOLDER_IOS_ATTACH:
    post:
      tags:
      - SKWF_FOLDER
      operationId: /rfc/SKWF_FOLDER_IOS_ATTACH
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CONNECTION_SPACE:
                  type: string
                  maxLength: 30
                  description: 'Model: Entity Name'
                FOLDER:
                  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
                INPOS:
                  type: object
                  properties:
                    INSPOS:
                      type: string
                      maxLength: 1
                      description: 'KW Framework: Insert Position  enumValues: F=In First Position,L=In Last Position,A=After Relative Info Object,B=Before Relative Info Object'
                      enum:
                      - F
                      - L
                      - A
                      - B
                    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
                BAD_IOS:
                  type: array
                  items:
                    type: object
                    properties:
                      CLASS:
                        type: string
                        maxLength: 10
                        description: Document class
                      OBJID:
                        type: string
                        maxLength: 32
                        description: ID for documents and relations
                      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
                DETACH_IOS:
                  type: array
                  items:
                    type: object
                    properties:
                      OBJTYPEIO:
                        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
                      CLASSIO:
                        type: string
                        maxLength: 10
                        description: Document class
                      OBJIDIO:
                        type: string
                        maxLength: 32
                        description: ID for documents and relations
                      SRC_TYPE:
                        type: integer
                        format: int64
                        description: 'KW Framework: Parent Type (Appl./PKg./Fld.)  enumValues: 02=Package,00=Free,01=Application,03=Directory'
                        enum:
                        - '02'
                        - '00'
                        - '01'
                        - '03'
                      APPL:
                        type: string
                        maxLength: 15
                        description: Application
                      PACKAGE_ID:
                        type: string
                        maxLength: 32
                        description: 'KW Framework: Package ID'
                      OBJTYPEFLD:
                        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
                      CLASSFLD:
                        type: string
                        maxLength: 10
                        description: Document class
                      OBJIDFLD:
                        type: string
                        maxLength: 32
                        description: ID for documents and relations
                IOS:
                  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
                      CLASS:
                        type: string
                        maxLength: 10
                        description: Document class
                      OBJID:
                        type: string
                        maxLength: 32
                        description: ID for documents and relations
              required:
              - FOLDER
      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
                  BAD_IOS:
                    type: array
                    items:
                      type: object
                      properties:
                        CLASS:
                          type: string
                          maxLength: 10
                          description: Document class
                        OBJID:
                          type: string
                          maxLength: 32
                          description: ID for documents and relations
                        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
                  DETACH_IOS:
                    type: array
                    items:
                      type: object
                      properties:
                        OBJTYPEIO:
                          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
                        CLASSIO:
                          type: string
                          maxLength: 10
                          description: Document class
                        OBJIDIO:
                          type: string
                          maxLength: 32
                          description: ID for documents and relations
                        SRC_TYPE:
                          type: integer
                          format: int64
                          description: 'KW Framework: Parent Type (Appl./PKg./Fld.)  enumValues: 02=Package,00=Free,01=Application,03=Directory'
                          enum:
                          - '02'
                          - '00'
                          - '01'
                          - '03'
                        APPL:
                          type: string
                          maxLength: 15
                          description: Application
                        PACKAGE_ID:
                          type: string
                          maxLength: 32
                          description: 'KW Framework: Package ID'
                        OBJTYPEFLD:
                          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
                        CLASSFLD:
                          type: string
                          maxLength: 10
                          description: Document class
                        OBJIDFLD:
                          type: string
                          maxLength: 32
                          description: ID for documents and relations
                  IOS:
                    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
                        CLASS:
                          type: string
                          maxLength: 10
                          description: Document class
                        OBJID:
                          type: string
                          maxLength: 32
                          description: ID for documents and relations
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
