openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/DSVAS_FL_GET_RATING:
    post:
      tags:
      - DSVAS_FL
      summary: get rating
      operationId: /rfc/DSVAS_FL_GET_RATING
      requestBody:
        content:
          application/json:
            schema:
              properties:
                PF_CHECK_CON:
                  type: string
                  maxLength: 10
                  description: 'DSVAS: Context'
                PF_CHECK_GRP:
                  type: string
                  maxLength: 20
                  description: 'DSVAS: Check group'
                PF_CHECK_ID:
                  type: integer
                  format: int64
                  description: 'DSVAS: Check ID'
                PF_CHECK_INS:
                  type: string
                  maxLength: 40
                  description: 'DSVAS: Instance of a context'
                PF_HANDLE_IN:
                  type: integer
                  format: int32
                  description: Loops, number of current pass
                PF_LANGUAGE:
                  type: string
                  maxLength: 1
                  description: 'DSVAS: Nummer einer instanziierten Sitzung'
                PF_MODE:
                  type: string
                  default: S
                  maxLength: 1
                  description: 'DSVAS: Nummer einer instanziierten Sitzung'
                PF_SESSITYPE:
                  type: string
                  maxLength: 2
                  description: 'DSVAS: Typ einer instanziierten Sitzung'
                PF_SESSNO:
                  type: string
                  maxLength: 13
                  description: 'DSVAS: Nummer einer instanziierten Sitzung'
                PT_RATINGS_POSSIBLE:
                  type: array
                  items:
                    type: object
                    properties:
                      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
                      TEXT:
                        type: string
                        maxLength: 60
                        description: 'DSVAS: Description of length 60'
                      ICON_INTERNAL:
                        type: string
                        maxLength: 8
                        description: Icon internal format
                      IN_REPORT:
                        type: string
                        maxLength: 1
                        description: 'DSVAS: Boolean value  enumValues: X=True,""=False'
                        enum:
                        - X
                        - ''
              required:
              - PF_SESSITYPE
              - PF_SESSNO
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  PF_CHANGE_DATE:
                    type: string
                    format: date
                    description: 'DSVAS: Beschreibung der Länge 60'
                  PF_CHANGE_TIME:
                    type: string
                    maxLength: 6
                    description: 'DSVAS: Beschreibung der Länge 60'
                  PF_ERROR:
                    type: string
                    maxLength: 73
                    description: Nachrichtentext
                  PF_RATING_OUT:
                    type: string
                    maxLength: 1
                    description: 'DSVAS: Bewertung'
                  PF_RATING_TOOL_TEXT:
                    type: string
                    maxLength: 60
                    description: 'DSVAS: Beschreibung der Länge 60'
                  PF_SESS_DESCRIPTION:
                    type: string
                    maxLength: 128
                    description: Loops, number of current pass
                  PF_TITLE:
                    type: string
                    maxLength: 60
                    description: 'DSVAS: Description of length 60'
                  PF_TOOL_RATING:
                    type: string
                    maxLength: 1
                    description: 'DSVAS: Bewertung'
                  PT_RATINGS_POSSIBLE:
                    type: array
                    items:
                      type: object
                      properties:
                        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
                        TEXT:
                          type: string
                          maxLength: 60
                          description: 'DSVAS: Description of length 60'
                        ICON_INTERNAL:
                          type: string
                          maxLength: 8
                          description: Icon internal format
                        IN_REPORT:
                          type: string
                          maxLength: 1
                          description: 'DSVAS: Boolean value  enumValues: X=True,""=False'
                          enum:
                          - X
                          - ''
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
