openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SKWF_LOIO_CREATE:
    post:
      tags:
      - SKWF_IO
      operationId: /rfc/SKWF_LOIO_CREATE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CLASS:
                  type: string
                  maxLength: 10
                  description: Document Class
                PARENTPOS:
                  type: object
                  properties:
                    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'
                    PACKAGE_ID:
                      type: string
                      maxLength: 32
                      description: 'KW Framework: Package ID'
                    APPL:
                      type: string
                      maxLength: 15
                      description: Application
                    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
                    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
                PTYPE:
                  type: integer
                  format: int64
                  description: 'KW Framework: Storage Type of Attribute'
                UNIQUE_ID:
                  type: string
                  maxLength: 32
                  description: Logical information object
                X_STRICT:
                  type: string
                  maxLength: 1
                PROPERTIES:
                  type: array
                  items:
                    type: object
                    properties:
                      NAME:
                        type: string
                        maxLength: 25
                        description: Attribute of a document or a relationship
                      VALUE:
                        type: string
                        maxLength: 64
                        description: Attribute Value
              required:
              - CLASS
      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
                  LOIO:
                    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
                  PROPERTIES:
                    type: array
                    items:
                      type: object
                      properties:
                        NAME:
                          type: string
                          maxLength: 25
                          description: Attribute of a document or a relationship
                        VALUE:
                          type: string
                          maxLength: 64
                          description: Attribute Value
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
