openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/DSVAS_FL_GET_ERROR:
    post:
      tags:
      - DSVAS_FL
      summary: get error messages
      operationId: /rfc/DSVAS_FL_GET_ERROR
      requestBody:
        content:
          application/json:
            schema:
              properties:
                PF_HANDLE:
                  type: integer
                  format: int32
                  description: loops, current loop index
                PF_LANGUAGE:
                  type: string
                  maxLength: 1
                  description: R/3 system, current language
                PF_SESSITYPE:
                  type: string
                  maxLength: 2
                  description: 'DSVAS: type of an instantiated session'
                PF_SESSNO:
                  type: string
                  maxLength: 13
                  description: 'DSVAS: number of an instantiated session'
                PT_ERRORS:
                  type: array
                  items:
                    type: object
                    properties:
                      ERROR_NUMBER:
                        type: integer
                        format: int64
                        description: 'DSVAS: Error number'
                      PARAMETER1:
                        type: string
                        maxLength: 60
                        description: 'DSVAS: Error message parameter'
                      PARAMETER2:
                        type: string
                        maxLength: 60
                        description: 'DSVAS: Error message parameter'
                      PARAMETER3:
                        type: string
                        maxLength: 60
                        description: 'DSVAS: Error message parameter'
                      CON:
                        type: string
                        maxLength: 10
                        description: 'DSVAS: Context'
                      INS:
                        type: string
                        maxLength: 40
                        description: 'DSVAS: Instance of a context'
                      VERSNR:
                        type: integer
                        format: int64
                        description: 'DSVAS: Version number (e.g session type, session group)'
                      GRP:
                        type: string
                        maxLength: 20
                        description: 'DSVAS: Check group'
                      ID:
                        type: integer
                        format: int64
                        description: 'DSVAS: Check ID'
                      CREATION_DATE:
                        type: string
                        format: date
                        description: 'DSVAS: Creation date'
                      CREATION_TIME:
                        type: string
                        maxLength: 6
                        description: 'DSVAS: Creation time'
                      REFERENCE_GRP:
                        type: string
                        maxLength: 20
                        description: 'DSVAS: Referenced check group'
                      REFERENCE_VERSNR:
                        type: integer
                        format: int64
                        description: 'DSVAS: Version number (e.g session type, session group)'
                      TEXT:
                        type: string
                        maxLength: 128
                        description: 'DSVAS: Text of length 128'
                      ERROR_LEVEL:
                        type: string
                        maxLength: 1
                        description: 'DSVAS: Error type  enumValues: W=Warning,E=Error,I=Information'
                        enum:
                        - W
                        - E
                        - I
                      INDEX_BEGIN:
                        type: integer
                        format: int64
                        description: 'Text index: beginning'
                      INDEX_END:
                        type: integer
                        format: int64
                        description: 'Text index: end'
                      CHECKNAME:
                        type: string
                        maxLength: 60
                        description: 'DSVAS: Description of length 60'
                      DESCRIPTION:
                        type: integer
                        format: int64
                        description: 'DSVAS: Text ID'
                PT_HTML_CODE:
                  type: array
                  items:
                    type: object
                    properties:
                      LINE:
                        type: string
                        maxLength: 255
                        description: 'Text field length 255: texts'
              required:
              - PF_HANDLE
              - PF_LANGUAGE
              - PF_SESSITYPE
              - PF_SESSNO
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  PF_EXCEPTION_TEXT:
                    type: string
                    maxLength: 73
                    description: message
                  PT_ERRORS:
                    type: array
                    items:
                      type: object
                      properties:
                        ERROR_NUMBER:
                          type: integer
                          format: int64
                          description: 'DSVAS: Error number'
                        PARAMETER1:
                          type: string
                          maxLength: 60
                          description: 'DSVAS: Error message parameter'
                        PARAMETER2:
                          type: string
                          maxLength: 60
                          description: 'DSVAS: Error message parameter'
                        PARAMETER3:
                          type: string
                          maxLength: 60
                          description: 'DSVAS: Error message parameter'
                        CON:
                          type: string
                          maxLength: 10
                          description: 'DSVAS: Context'
                        INS:
                          type: string
                          maxLength: 40
                          description: 'DSVAS: Instance of a context'
                        VERSNR:
                          type: integer
                          format: int64
                          description: 'DSVAS: Version number (e.g session type, session group)'
                        GRP:
                          type: string
                          maxLength: 20
                          description: 'DSVAS: Check group'
                        ID:
                          type: integer
                          format: int64
                          description: 'DSVAS: Check ID'
                        CREATION_DATE:
                          type: string
                          format: date
                          description: 'DSVAS: Creation date'
                        CREATION_TIME:
                          type: string
                          maxLength: 6
                          description: 'DSVAS: Creation time'
                        REFERENCE_GRP:
                          type: string
                          maxLength: 20
                          description: 'DSVAS: Referenced check group'
                        REFERENCE_VERSNR:
                          type: integer
                          format: int64
                          description: 'DSVAS: Version number (e.g session type, session group)'
                        TEXT:
                          type: string
                          maxLength: 128
                          description: 'DSVAS: Text of length 128'
                        ERROR_LEVEL:
                          type: string
                          maxLength: 1
                          description: 'DSVAS: Error type  enumValues: W=Warning,E=Error,I=Information'
                          enum:
                          - W
                          - E
                          - I
                        INDEX_BEGIN:
                          type: integer
                          format: int64
                          description: 'Text index: beginning'
                        INDEX_END:
                          type: integer
                          format: int64
                          description: 'Text index: end'
                        CHECKNAME:
                          type: string
                          maxLength: 60
                          description: 'DSVAS: Description of length 60'
                        DESCRIPTION:
                          type: integer
                          format: int64
                          description: 'DSVAS: Text ID'
                  PT_HTML_CODE:
                    type: array
                    items:
                      type: object
                      properties:
                        LINE:
                          type: string
                          maxLength: 255
                          description: 'Text field length 255: texts'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
