openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/KAP_PSR_READ_PATTERNS:
    post:
      tags:
      - KAP_PSR
      operationId: /rfc/KAP_PSR_READ_PATTERNS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_OBJVERS:
                  type: string
                  default: A
                  maxLength: 1
                CT_PATTERNS:
                  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
                ET_PATTERNS_SHT:
                  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
                      SHEET:
                        type: integer
                        format: int64
                        description: Page number
                      SHEET_FORMAT:
                        type: string
                        maxLength: 1
                        description: Formatting
                      SHEET_WIDTH:
                        type: integer
                        format: int64
                        description: Width
                      TEXT:
                        type: string
                        maxLength: 60
                        description: Text/Description
                ET_PATTERNS_SHT_DET:
                  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
                      SHEET:
                        type: integer
                        format: int64
                        description: Page number
                      VERTICAL:
                        type: integer
                        format: int64
                        description: Vertical position
                      HORIZONTAL:
                        type: integer
                        format: int64
                        description: Horizontal Position
                      OBJNAME:
                        type: string
                        maxLength: 30
                        description: Technical name
                      DISTANCE:
                        type: integer
                        format: int64
                        description: Distance after an element
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  CT_PATTERNS:
                    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
                  ET_PATTERNS_SHT:
                    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
                        SHEET:
                          type: integer
                          format: int64
                          description: Page number
                        SHEET_FORMAT:
                          type: string
                          maxLength: 1
                          description: Formatting
                        SHEET_WIDTH:
                          type: integer
                          format: int64
                          description: Width
                        TEXT:
                          type: string
                          maxLength: 60
                          description: Text/Description
                  ET_PATTERNS_SHT_DET:
                    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
                        SHEET:
                          type: integer
                          format: int64
                          description: Page number
                        VERTICAL:
                          type: integer
                          format: int64
                          description: Vertical position
                        HORIZONTAL:
                          type: integer
                          format: int64
                          description: Horizontal Position
                        OBJNAME:
                          type: string
                          maxLength: 30
                          description: Technical name
                        DISTANCE:
                          type: integer
                          format: int64
                          description: Distance after an element
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
