openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/KAP_PSR_READ_ELEMENTS:
    post:
      tags:
      - KAP_PSR
      operationId: /rfc/KAP_PSR_READ_ELEMENTS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_OBJVERS:
                  type: string
                  default: A
                  maxLength: 1
                CT_ELEMENTS:
                  type: array
                  items:
                    type: object
                    properties:
                      TECHNAME:
                        type: string
                        maxLength: 30
                        description: Technical name
                      OBJVERS:
                        type: string
                        maxLength: 1
                        description: 'Object version  enumValues: N=New,A=Active,M=Revised,D=Content,H=Historic,T=Transport'
                        enum:
                        - N
                        - A
                        - M
                        - D
                        - H
                        - T
                      OBJTYPE:
                        type: string
                        maxLength: 3
                        description: 'Object type for project status report  enumValues: PAT=Pattern,QUE=Query,TXT=Text field,KYB=Attribute/Key Figure Block,KYF=Attribute/Key Figure'
                        enum:
                        - PAT
                        - QUE
                        - TXT
                        - KYB
                        - KYF
                      CREATOR:
                        type: string
                        maxLength: 12
                        description: Created by
                      CREATION_DATE:
                        type: string
                        format: date
                        description: Created on
                      CREATION_TIME:
                        type: string
                        maxLength: 6
                        description: Creation Time
                      EDITOR:
                        type: string
                        maxLength: 12
                        description: Changed by
                      EDIT_DATE:
                        type: string
                        format: date
                        description: Changed on
                      EDIT_TIME:
                        type: string
                        maxLength: 6
                        description: Changed at
                      QUERY_COMPUID:
                        type: string
                        maxLength: 25
                        description: UUID in compressed form
                      QUERY_VIEW:
                        type: string
                        maxLength: 40
                        description: Medium-Length Description
                      QUERY_COLUMN:
                        type: integer
                        format: int64
                        description: Position
                      QUERY_LINE:
                        type: integer
                        format: int64
                        description: Position
                      NAVBLOCK:
                        type: string
                        maxLength: 1
                        description: 'Navigation block (yes/no)  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                        enum:
                        - X
                        - ''
                      TEXTELEMENTS:
                        type: string
                        maxLength: 1
                        description: 'Text Element (yes/no)  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                        enum:
                        - X
                        - ''
                      HEIGHT:
                        type: integer
                        format: int32
                        description: Height
                      TOOLBAR:
                        type: string
                        maxLength: 1
                        description: 'Toolbar (yes/no)  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                        enum:
                        - X
                        - ''
                      TEXT:
                        type: string
                        maxLength: 60
                        description: Text/Description
                      QUERY_COMPID:
                        type: string
                        maxLength: 30
                        description: Name (ID) of a reporting component
                      QUERY_GENUNIID:
                        type: string
                        maxLength: 25
                        description: Internal display of the report identifier
                ET_ELEMENTS_KYB:
                  type: array
                  items:
                    type: object
                    properties:
                      TECHNAME:
                        type: string
                        maxLength: 30
                        description: Technical name
                      OBJVERS:
                        type: string
                        maxLength: 1
                        description: 'Object version  enumValues: N=New,A=Active,M=Revised,D=Content,H=Historic,T=Transport'
                        enum:
                        - N
                        - A
                        - M
                        - D
                        - H
                        - T
                      VERTICAL:
                        type: integer
                        format: int64
                        description: Vertical position
                      HORIZONTAL:
                        type: integer
                        format: int64
                        description: Horizontal Position
                      OBJNAME:
                        type: string
                        maxLength: 30
                        description: Technical name
                ET_ELEMENTS_QUE:
                  type: array
                  items:
                    type: object
                    properties:
                      TECHNAME:
                        type: string
                        maxLength: 30
                        description: Technical name
                      OBJVERS:
                        type: string
                        maxLength: 1
                        description: 'Object version  enumValues: N=New,A=Active,M=Revised,D=Content,H=Historic,T=Transport'
                        enum:
                        - N
                        - A
                        - M
                        - D
                        - H
                        - T
                      VERTICAL:
                        type: integer
                        format: int64
                        description: Vertical position
                      HORIZONTAL:
                        type: integer
                        format: int64
                        description: Horizontal Position
                      APPEARANCE:
                        type: string
                        maxLength: 1
                        description: Query Display
                      DOCUMENT:
                        type: string
                        maxLength: 70
                        description: 'Business Document Service: Object key'
                      DIAGRAM_TYPE:
                        type: integer
                        format: int64
                        description: Diagram Type
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  CT_ELEMENTS:
                    type: array
                    items:
                      type: object
                      properties:
                        TECHNAME:
                          type: string
                          maxLength: 30
                          description: Technical name
                        OBJVERS:
                          type: string
                          maxLength: 1
                          description: 'Object version  enumValues: N=New,A=Active,M=Revised,D=Content,H=Historic,T=Transport'
                          enum:
                          - N
                          - A
                          - M
                          - D
                          - H
                          - T
                        OBJTYPE:
                          type: string
                          maxLength: 3
                          description: 'Object type for project status report  enumValues: PAT=Pattern,QUE=Query,TXT=Text field,KYB=Attribute/Key Figure Block,KYF=Attribute/Key Figure'
                          enum:
                          - PAT
                          - QUE
                          - TXT
                          - KYB
                          - KYF
                        CREATOR:
                          type: string
                          maxLength: 12
                          description: Created by
                        CREATION_DATE:
                          type: string
                          format: date
                          description: Created on
                        CREATION_TIME:
                          type: string
                          maxLength: 6
                          description: Creation Time
                        EDITOR:
                          type: string
                          maxLength: 12
                          description: Changed by
                        EDIT_DATE:
                          type: string
                          format: date
                          description: Changed on
                        EDIT_TIME:
                          type: string
                          maxLength: 6
                          description: Changed at
                        QUERY_COMPUID:
                          type: string
                          maxLength: 25
                          description: UUID in compressed form
                        QUERY_VIEW:
                          type: string
                          maxLength: 40
                          description: Medium-Length Description
                        QUERY_COLUMN:
                          type: integer
                          format: int64
                          description: Position
                        QUERY_LINE:
                          type: integer
                          format: int64
                          description: Position
                        NAVBLOCK:
                          type: string
                          maxLength: 1
                          description: 'Navigation block (yes/no)  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                          enum:
                          - X
                          - ''
                        TEXTELEMENTS:
                          type: string
                          maxLength: 1
                          description: 'Text Element (yes/no)  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                          enum:
                          - X
                          - ''
                        HEIGHT:
                          type: integer
                          format: int32
                          description: Height
                        TOOLBAR:
                          type: string
                          maxLength: 1
                          description: 'Toolbar (yes/no)  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                          enum:
                          - X
                          - ''
                        TEXT:
                          type: string
                          maxLength: 60
                          description: Text/Description
                        QUERY_COMPID:
                          type: string
                          maxLength: 30
                          description: Name (ID) of a reporting component
                        QUERY_GENUNIID:
                          type: string
                          maxLength: 25
                          description: Internal display of the report identifier
                  ET_ELEMENTS_KYB:
                    type: array
                    items:
                      type: object
                      properties:
                        TECHNAME:
                          type: string
                          maxLength: 30
                          description: Technical name
                        OBJVERS:
                          type: string
                          maxLength: 1
                          description: 'Object version  enumValues: N=New,A=Active,M=Revised,D=Content,H=Historic,T=Transport'
                          enum:
                          - N
                          - A
                          - M
                          - D
                          - H
                          - T
                        VERTICAL:
                          type: integer
                          format: int64
                          description: Vertical position
                        HORIZONTAL:
                          type: integer
                          format: int64
                          description: Horizontal Position
                        OBJNAME:
                          type: string
                          maxLength: 30
                          description: Technical name
                  ET_ELEMENTS_QUE:
                    type: array
                    items:
                      type: object
                      properties:
                        TECHNAME:
                          type: string
                          maxLength: 30
                          description: Technical name
                        OBJVERS:
                          type: string
                          maxLength: 1
                          description: 'Object version  enumValues: N=New,A=Active,M=Revised,D=Content,H=Historic,T=Transport'
                          enum:
                          - N
                          - A
                          - M
                          - D
                          - H
                          - T
                        VERTICAL:
                          type: integer
                          format: int64
                          description: Vertical position
                        HORIZONTAL:
                          type: integer
                          format: int64
                          description: Horizontal Position
                        APPEARANCE:
                          type: string
                          maxLength: 1
                          description: Query Display
                        DOCUMENT:
                          type: string
                          maxLength: 70
                          description: 'Business Document Service: Object key'
                        DIAGRAM_TYPE:
                          type: integer
                          format: int64
                          description: Diagram Type
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
