openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SKWF_FIND_BY_QUERY:
    post:
      tags:
      - SKWF_RETRIEVAL
      operationId: /rfc/SKWF_FIND_BY_QUERY
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CONNECTION_SPACE:
                  type: string
                  maxLength: 30
                  description: Class connection space
                OBJ_TYPE:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: IO Type
                PTYPE:
                  type: integer
                  format: int64
                  description: 'KW Framework: Storage Type of Attribute'
                X_STRICT:
                  type: string
                  maxLength: 1
                CLASSES:
                  type: array
                  items:
                    type: object
                    properties:
                      CLASS:
                        type: string
                        maxLength: 10
                        description: Document class
                PROPERTIES_REQUEST:
                  type: array
                  items:
                    type: object
                    properties:
                      NAME:
                        type: string
                        maxLength: 25
                        description: Attribute of a document or a relationship
                PROPERTIES_RESULT:
                  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
                      NAME:
                        type: string
                        maxLength: 25
                        description: Attribute of a document or a relationship
                      VALUE:
                        type: string
                        maxLength: 64
                        description: Attribute Value
                QUERIES:
                  type: array
                  items:
                    type: object
                    properties:
                      PROP_NAME:
                        type: string
                        maxLength: 25
                        description: Attribute of a document or a relationship
                      SIGN:
                        type: string
                        maxLength: 1
                        description: 'Include-exclude attribute in search query  enumValues: E=Exclusive no.,I=Inclusive no.'
                        enum:
                        - E
                        - I
                      OPTION:
                        type: string
                        maxLength: 2
                        description: 'Relational operator in search query  enumValues: NE=Not equal to,CP=Contains template ...,LT=Less than,GT=Greater than,LE=Less than or equal to,EQ=Equal to,BT=Between ... and ...,NP=Contains no template ...,GE=Greater than or equal to,NB=Not between ... and ...'
                        enum:
                        - NE
                        - CP
                        - LT
                        - GT
                        - LE
                        - EQ
                        - BT
                        - NP
                        - GE
                        - NB
                      LOW:
                        type: string
                        maxLength: 64
                        description: Lower interval limit for search query
                      HIGH:
                        type: string
                        maxLength: 64
                        description: Upper interval limit for search query
                RESULT_OBJECTS:
                  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
      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
                  CLASSES:
                    type: array
                    items:
                      type: object
                      properties:
                        CLASS:
                          type: string
                          maxLength: 10
                          description: Document class
                  PROPERTIES_REQUEST:
                    type: array
                    items:
                      type: object
                      properties:
                        NAME:
                          type: string
                          maxLength: 25
                          description: Attribute of a document or a relationship
                  PROPERTIES_RESULT:
                    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
                        NAME:
                          type: string
                          maxLength: 25
                          description: Attribute of a document or a relationship
                        VALUE:
                          type: string
                          maxLength: 64
                          description: Attribute Value
                  QUERIES:
                    type: array
                    items:
                      type: object
                      properties:
                        PROP_NAME:
                          type: string
                          maxLength: 25
                          description: Attribute of a document or a relationship
                        SIGN:
                          type: string
                          maxLength: 1
                          description: 'Include-exclude attribute in search query  enumValues: E=Exclusive no.,I=Inclusive no.'
                          enum:
                          - E
                          - I
                        OPTION:
                          type: string
                          maxLength: 2
                          description: 'Relational operator in search query  enumValues: NE=Not equal to,CP=Contains template ...,LT=Less than,GT=Greater than,LE=Less than or equal to,EQ=Equal to,BT=Between ... and ...,NP=Contains no template ...,GE=Greater than or equal to,NB=Not between ... and ...'
                          enum:
                          - NE
                          - CP
                          - LT
                          - GT
                          - LE
                          - EQ
                          - BT
                          - NP
                          - GE
                          - NB
                        LOW:
                          type: string
                          maxLength: 64
                          description: Lower interval limit for search query
                        HIGH:
                          type: string
                          maxLength: 64
                          description: Upper interval limit for search query
                  RESULT_OBJECTS:
                    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.
