openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/DSVAS_FL_GET_TEXT:
    post:
      tags:
      - DSVAS_FL
      summary: get text
      operationId: /rfc/DSVAS_FL_GET_TEXT
      requestBody:
        content:
          application/json:
            schema:
              properties:
                PF_CHECK_CON:
                  type: string
                  maxLength: 10
                PF_CHECK_GRP:
                  type: string
                  maxLength: 20
                PF_CHECK_ID:
                  type: integer
                  format: int64
                PF_CHECK_INS:
                  type: string
                  maxLength: 40
                PF_HANDLE_IN:
                  type: integer
                  format: int32
                PF_LANGUAGE:
                  type: string
                  maxLength: 1
                PF_MODE:
                  type: string
                  default: S
                  maxLength: 1
                PF_SESSITYPE:
                  type: string
                  maxLength: 2
                PF_SESSNO:
                  type: string
                  maxLength: 13
                PF_TEXT_TYPE:
                  type: string
                  maxLength: 10
                PT_HTML_CODE:
                  type: array
                  items:
                    type: object
                    properties:
                      LINE:
                        type: string
                        maxLength: 255
                        description: 'Text field length 255: texts'
                PT_TEXT:
                  type: array
                  items:
                    type: object
                    properties:
                      TITLE:
                        type: string
                        maxLength: 128
                        description: 'DSVAS: Text of length 128'
                      INDEX_BEGIN:
                        type: integer
                        format: int32
                        description: 'Text index: beginning'
                      INDEX_END:
                        type: integer
                        format: int32
                        description: 'Text index: end'
                      NOT_CHANGEABLE:
                        type: string
                        maxLength: 1
                        description: 'DSVAS: Check object not modifiable'
                      TEXT_TYPE:
                        type: string
                        maxLength: 10
                        description: 'DSVAS: Check-object type  enumValues: TITLE=Additonal title for report,TEXT=Text supplement,RED=Text for red rating,PARAMETER=Parameter table for report,ACTIONLIST=Action item list for report,GREEN=Text for green rating,GRAPHIC=Diagram for report,YELLOW=Text for yellow rating,NOT_PERFMD=Text to be used if check not performed,RATING=Traffic-light and rating for report,TABLE=Table for report'
                        enum:
                        - TITLE
                        - TEXT
                        - RED
                        - PARAMETER
                        - ACTIONLIST
                        - GREEN
                        - GRAPHIC
                        - YELLOW
                        - NOT_PERFMD
                        - RATING
                        - TABLE
              required:
              - PF_SESSITYPE
              - PF_SESSNO
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  PF_ERROR:
                    type: string
                    maxLength: 73
                  PF_SESS_DESCRIPTION:
                    type: string
                    maxLength: 128
                  PF_TITLE:
                    type: string
                    maxLength: 60
                  PT_HTML_CODE:
                    type: array
                    items:
                      type: object
                      properties:
                        LINE:
                          type: string
                          maxLength: 255
                          description: 'Text field length 255: texts'
                  PT_TEXT:
                    type: array
                    items:
                      type: object
                      properties:
                        TITLE:
                          type: string
                          maxLength: 128
                          description: 'DSVAS: Text of length 128'
                        INDEX_BEGIN:
                          type: integer
                          format: int32
                          description: 'Text index: beginning'
                        INDEX_END:
                          type: integer
                          format: int32
                          description: 'Text index: end'
                        NOT_CHANGEABLE:
                          type: string
                          maxLength: 1
                          description: 'DSVAS: Check object not modifiable'
                        TEXT_TYPE:
                          type: string
                          maxLength: 10
                          description: 'DSVAS: Check-object type  enumValues: TITLE=Additonal title for report,TEXT=Text supplement,RED=Text for red rating,PARAMETER=Parameter table for report,ACTIONLIST=Action item list for report,GREEN=Text for green rating,GRAPHIC=Diagram for report,YELLOW=Text for yellow rating,NOT_PERFMD=Text to be used if check not performed,RATING=Traffic-light and rating for report,TABLE=Table for report'
                          enum:
                          - TITLE
                          - TEXT
                          - RED
                          - PARAMETER
                          - ACTIONLIST
                          - GREEN
                          - GRAPHIC
                          - YELLOW
                          - NOT_PERFMD
                          - RATING
                          - TABLE
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
