openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SKWF_PKG_FIND_BY_IO:
    post:
      tags:
      - SKWF_PACKAGE
      operationId: /rfc/SKWF_PKG_FIND_BY_IO
      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
                RESULT_PACKAGES:
                  type: array
                  items:
                    type: object
                    properties:
                      MANDT:
                        type: string
                        maxLength: 3
                        description: Client ID of Current User
                      ID:
                        type: string
                        maxLength: 32
                        description: 'KW Framework: Package ID'
                      TYPE:
                        type: integer
                        format: int64
                        description: 'KW Framework: Package Type  enumValues: 03=Dynamic,01=Root,02=Query,00=Standard'
                        enum:
                        - '03'
                        - '01'
                        - '02'
                        - '00'
                      CREA_USER:
                        type: string
                        maxLength: 12
                        description: Created By
                      CREA_TIME:
                        type: integer
                        format: int64
                        description: Creation time (UTC)
                      CHNG_USER:
                        type: string
                        maxLength: 12
                        description: Last changed by
                      CHNG_TIME:
                        type: integer
                        format: int64
                        description: Time of change (UTC)
                      X_HIDDEN:
                        type: string
                        maxLength: 1
                        description: 'KW Framework: Boolean flag (''X'' set, '' '' deleted)  enumValues: X=Flag set,""=Flag deleted'
                        enum:
                        - X
                        - ''
                      X_SHARED:
                        type: string
                        maxLength: 1
                        description: 'KW Framework: Boolean flag (''X'' set, '' '' deleted)  enumValues: X=Flag set,""=Flag deleted'
                        enum:
                        - X
                        - ''
                      POS:
                        type: integer
                        format: int64
                        description: Position for Display
                      DESCRIPT:
                        type: string
                        maxLength: 64
                        description: 'KW Framework: Description'
                      CTX:
                        type: string
                        maxLength: 32
                        description: 'KW Framework: Context ID'
                      APPL:
                        type: string
                        maxLength: 15
                        description: Application
                      QUERY:
                        type: string
                        maxLength: 32
                        description: 'KW Framework: ID of a stored query'
                      CSPC:
                        type: string
                        maxLength: 30
                        description: 'Model: Entity Name'
                      ORDER_TYPE:
                        type: string
                        maxLength: 1
                        description: 'KW Framework: Sort Sequence  enumValues: ""=No sorting,M=Manual Sort'
                        enum:
                        - ''
                        - M
              required:
              - IO
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  RESULT_PACKAGES:
                    type: array
                    items:
                      type: object
                      properties:
                        MANDT:
                          type: string
                          maxLength: 3
                          description: Client ID of Current User
                        ID:
                          type: string
                          maxLength: 32
                          description: 'KW Framework: Package ID'
                        TYPE:
                          type: integer
                          format: int64
                          description: 'KW Framework: Package Type  enumValues: 03=Dynamic,01=Root,02=Query,00=Standard'
                          enum:
                          - '03'
                          - '01'
                          - '02'
                          - '00'
                        CREA_USER:
                          type: string
                          maxLength: 12
                          description: Created By
                        CREA_TIME:
                          type: integer
                          format: int64
                          description: Creation time (UTC)
                        CHNG_USER:
                          type: string
                          maxLength: 12
                          description: Last changed by
                        CHNG_TIME:
                          type: integer
                          format: int64
                          description: Time of change (UTC)
                        X_HIDDEN:
                          type: string
                          maxLength: 1
                          description: 'KW Framework: Boolean flag (''X'' set, '' '' deleted)  enumValues: X=Flag set,""=Flag deleted'
                          enum:
                          - X
                          - ''
                        X_SHARED:
                          type: string
                          maxLength: 1
                          description: 'KW Framework: Boolean flag (''X'' set, '' '' deleted)  enumValues: X=Flag set,""=Flag deleted'
                          enum:
                          - X
                          - ''
                        POS:
                          type: integer
                          format: int64
                          description: Position for Display
                        DESCRIPT:
                          type: string
                          maxLength: 64
                          description: 'KW Framework: Description'
                        CTX:
                          type: string
                          maxLength: 32
                          description: 'KW Framework: Context ID'
                        APPL:
                          type: string
                          maxLength: 15
                          description: Application
                        QUERY:
                          type: string
                          maxLength: 32
                          description: 'KW Framework: ID of a stored query'
                        CSPC:
                          type: string
                          maxLength: 30
                          description: 'Model: Entity Name'
                        ORDER_TYPE:
                          type: string
                          maxLength: 1
                          description: 'KW Framework: Sort Sequence  enumValues: ""=No sorting,M=Manual Sort'
                          enum:
                          - ''
                          - M
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
