openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/DSVAS_FL_OPEN_SESSION:
    post:
      tags:
      - DSVAS_FL
      summary: open session
      operationId: /rfc/DSVAS_FL_OPEN_SESSION
      requestBody:
        content:
          application/json:
            schema:
              properties:
                PF_KEEP_OPEN:
                  type: string
                  default: X
                  maxLength: 1
                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
                PT_DSVASCHECKTREE:
                  type: array
                  items:
                    type: object
                    properties:
                      CON:
                        type: string
                        maxLength: 10
                        description: 'DSVAS: Context'
                      INS:
                        type: string
                        maxLength: 40
                        description: 'DSVAS: Instance of a context'
                      GRP:
                        type: string
                        maxLength: 20
                        description: 'DSVAS: Check group'
                      ID:
                        type: integer
                        format: int64
                        description: 'DSVAS: Check ID'
                      PARENT_CON:
                        type: string
                        maxLength: 10
                        description: 'DSVAS: Context'
                      PARENT_INS:
                        type: string
                        maxLength: 40
                        description: 'DSVAS: Instance of a context'
                      PARENT_GRP:
                        type: string
                        maxLength: 20
                        description: 'DSVAS: Check group'
                      PARENT_ID:
                        type: integer
                        format: int64
                        description: 'DSVAS: Check ID'
                      TEXT:
                        type: string
                        maxLength: 60
                        description: 'DSVAS: Description of length 60'
                      RATING:
                        type: string
                        maxLength: 1
                        description: 'DSVAS: Rating  enumValues: 6=Developer-defined rating 6,5=Developer-defined rating 5,8=Developer-defined rating 8,7=Developer-defined rating 7,""=No rating exists,2=Developer-defined rating 2,1=Developer-defined rating 1,4=Developer-defined rating 4,3=Developer-defined rating 3,R=Red,Y=Yellow,N=Not completed,9=Developer-defined rating 9,G=Green'
                        enum:
                        - '6'
                        - '5'
                        - '8'
                        - '7'
                        - ''
                        - '2'
                        - '1'
                        - '4'
                        - '3'
                        - R
                        - Y
                        - N
                        - '9'
                        - G
                      SELECTABLE:
                        type: string
                        maxLength: 1
                        description: 'DSVAS: Selectable?'
                      CHECKED:
                        type: string
                        maxLength: 1
                        description: 'DSVAS: Maintained?'
                      START_TOOL:
                        type: string
                        maxLength: 20
                        description: 'DSVAS: Tool to be started'
                      TOOL_RATING:
                        type: string
                        maxLength: 1
                        description: 'DSVAS: Rating  enumValues: 6=Developer-defined rating 6,5=Developer-defined rating 5,8=Developer-defined rating 8,7=Developer-defined rating 7,""=No rating exists,2=Developer-defined rating 2,1=Developer-defined rating 1,4=Developer-defined rating 4,3=Developer-defined rating 3,R=Red,Y=Yellow,N=Not completed,9=Developer-defined rating 9,G=Green'
                        enum:
                        - '6'
                        - '5'
                        - '8'
                        - '7'
                        - ''
                        - '2'
                        - '1'
                        - '4'
                        - '3'
                        - R
                        - Y
                        - N
                        - '9'
                        - G
                      RATING_ORIGIN:
                        type: string
                        maxLength: 1
                        description: 'DSVAS: Souce of the rating  enumValues: ""=Rating not yet set,U=Rating set by person performing check,T=Rating set automatically'
                        enum:
                        - ''
                        - U
                        - T
                      ICON:
                        type: string
                        maxLength: 4
                        description: 'DSVAS: Representation as icon'
              required:
              - PF_SESSITYPE
              - PF_SESSNO
      responses:
        '200':
          description: OK
          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_EXCEPTION_TEXT:
                    type: string
                    maxLength: 73
                  PF_HANDLE:
                    type: integer
                    format: int32
                  PF_LOCKING_USER:
                    type: string
                    maxLength: 50
                  PF_SESS_DESCRIPTION:
                    type: string
                    maxLength: 128
                  PT_DSVASCHECKTREE:
                    type: array
                    items:
                      type: object
                      properties:
                        CON:
                          type: string
                          maxLength: 10
                          description: 'DSVAS: Context'
                        INS:
                          type: string
                          maxLength: 40
                          description: 'DSVAS: Instance of a context'
                        GRP:
                          type: string
                          maxLength: 20
                          description: 'DSVAS: Check group'
                        ID:
                          type: integer
                          format: int64
                          description: 'DSVAS: Check ID'
                        PARENT_CON:
                          type: string
                          maxLength: 10
                          description: 'DSVAS: Context'
                        PARENT_INS:
                          type: string
                          maxLength: 40
                          description: 'DSVAS: Instance of a context'
                        PARENT_GRP:
                          type: string
                          maxLength: 20
                          description: 'DSVAS: Check group'
                        PARENT_ID:
                          type: integer
                          format: int64
                          description: 'DSVAS: Check ID'
                        TEXT:
                          type: string
                          maxLength: 60
                          description: 'DSVAS: Description of length 60'
                        RATING:
                          type: string
                          maxLength: 1
                          description: 'DSVAS: Rating  enumValues: 6=Developer-defined rating 6,5=Developer-defined rating 5,8=Developer-defined rating 8,7=Developer-defined rating 7,""=No rating exists,2=Developer-defined rating 2,1=Developer-defined rating 1,4=Developer-defined rating 4,3=Developer-defined rating 3,R=Red,Y=Yellow,N=Not completed,9=Developer-defined rating 9,G=Green'
                          enum:
                          - '6'
                          - '5'
                          - '8'
                          - '7'
                          - ''
                          - '2'
                          - '1'
                          - '4'
                          - '3'
                          - R
                          - Y
                          - N
                          - '9'
                          - G
                        SELECTABLE:
                          type: string
                          maxLength: 1
                          description: 'DSVAS: Selectable?'
                        CHECKED:
                          type: string
                          maxLength: 1
                          description: 'DSVAS: Maintained?'
                        START_TOOL:
                          type: string
                          maxLength: 20
                          description: 'DSVAS: Tool to be started'
                        TOOL_RATING:
                          type: string
                          maxLength: 1
                          description: 'DSVAS: Rating  enumValues: 6=Developer-defined rating 6,5=Developer-defined rating 5,8=Developer-defined rating 8,7=Developer-defined rating 7,""=No rating exists,2=Developer-defined rating 2,1=Developer-defined rating 1,4=Developer-defined rating 4,3=Developer-defined rating 3,R=Red,Y=Yellow,N=Not completed,9=Developer-defined rating 9,G=Green'
                          enum:
                          - '6'
                          - '5'
                          - '8'
                          - '7'
                          - ''
                          - '2'
                          - '1'
                          - '4'
                          - '3'
                          - R
                          - Y
                          - N
                          - '9'
                          - G
                        RATING_ORIGIN:
                          type: string
                          maxLength: 1
                          description: 'DSVAS: Souce of the rating  enumValues: ""=Rating not yet set,U=Rating set by person performing check,T=Rating set automatically'
                          enum:
                          - ''
                          - U
                          - T
                        ICON:
                          type: string
                          maxLength: 4
                          description: 'DSVAS: Representation as icon'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
