openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SLS_MISC_SIW_INFO_OBJECT_QUERY:
    post:
      tags:
      - SLS0
      summary: 'IWB: Info Objekt suchen (Anw.schnittst.)'
      operationId: /rfc/SLS_MISC_SIW_INFO_OBJECT_QUERY
      requestBody:
        content:
          application/json:
            schema:
              properties:
                AREA:
                  type: string
                  maxLength: 10
                MULTI_SELECT:
                  type: string
                  default: ' '
                  maxLength: 1
                NO_CONTEXT_CHANGE:
                  type: string
                  default: X
                  maxLength: 1
                WITH_DIALOG:
                  type: string
                  default: X
                  maxLength: 1
                CONTEXT:
                  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
                INFO_OBJECTS:
                  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
                PROPERTIES:
                  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
                QUERY:
                  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
                REQUESTED_PROPERTIES:
                  type: array
                  items:
                    type: object
                    properties:
                      NAME:
                        type: string
                        maxLength: 25
                        description: Attribute of a document or a relationship
                VALID_INFO_CLASSES:
                  type: array
                  items:
                    type: object
                    properties:
                      CLASS:
                        type: string
                        maxLength: 10
                        description: Info Object Class
              required:
              - AREA
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ACTION:
                    type: string
                    maxLength: 70
                  ERROR_MSG:
                    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
                  CONTEXT:
                    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
                  INFO_OBJECTS:
                    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
                  PROPERTIES:
                    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
                  QUERY:
                    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
                  REQUESTED_PROPERTIES:
                    type: array
                    items:
                      type: object
                      properties:
                        NAME:
                          type: string
                          maxLength: 25
                          description: Attribute of a document or a relationship
                  VALID_INFO_CLASSES:
                    type: array
                    items:
                      type: object
                      properties:
                        CLASS:
                          type: string
                          maxLength: 10
                          description: Info Object Class
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
