openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/DSVAS_FL_SET_PARAMETERS:
    post:
      tags:
      - DSVAS_FL
      summary: save attributes / parameters
      operationId: /rfc/DSVAS_FL_SET_PARAMETERS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                PF_CHANGE_DATE:
                  type: string
                  maxLength: 8
                  description: Character field, 8 characters long
                PF_CHANGE_TIME:
                  type: string
                  maxLength: 6
                  description: Character field of length 6
                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:
                  type: integer
                  format: int32
                  description: Loops, number of current pass
                PF_MODE:
                  type: string
                  maxLength: 1
                  description: 'DSVAS: Session opening mode'
                PF_SESSITYPE:
                  type: string
                  maxLength: 2
                  description: 'DSVAS: Type of instanced session'
                PF_SESSNO:
                  type: string
                  maxLength: 13
                  description: 'DSVAS: Number of instanced session'
                PT_ATTRIBUTES:
                  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'
                      ATTR_GRP:
                        type: string
                        maxLength: 20
                        description: 'DSVAS: Attribute group'
                      ATTR_NAME:
                        type: string
                        maxLength: 40
                        description: 'DSVAS: Attribute name'
                      CUR:
                        type: string
                        maxLength: 60
                        description: 'DSVAS: Attribute value'
                      TOOL:
                        type: string
                        maxLength: 60
                        description: 'DSVAS: Attribute value'
                      USR:
                        type: string
                        maxLength: 60
                        description: 'DSVAS: Attribute value'
                      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
                      ATTR_TYPE:
                        type: string
                        maxLength: 1
                        description: 'DSVAS: Type of attribute  enumValues: G=Integer,""=Character String,R=Decimal Number,T=Time,D=Date'
                        enum:
                        - G
                        - ''
                        - R
                        - T
                        - D
                      TYPE_PRECISION:
                        type: integer
                        format: int64
                        description: 'DSVAS: Number of places shown after the decimal point'
                      TYPE_SIGN:
                        type: string
                        maxLength: 1
                        description: 'DSVAS: Number with plus/minus sign?  enumValues: X=Indicator set,""=Indicator not set'
                        enum:
                        - X
                        - ''
                      ATTR_ALIAS:
                        type: string
                        maxLength: 60
                        description: 'DSVAS: Alternative name for an attribute (alias)'
                      SHORT_TEXT:
                        type: string
                        maxLength: 60
                        description: 'DSVAS: Description of length 60'
                      DESCRIPTION:
                        type: integer
                        format: int64
                        description: 'DSVAS: Short description of a value'
                      AL_YEL_TXT:
                        type: integer
                        format: int64
                        description: 'DSVAS: Text for yellow rating'
                      AL_RED_TXT:
                        type: integer
                        format: int64
                        description: 'DSVAS: Text for red rating'
                PT_ATTRIBUTE_USER:
                  type: array
                  items:
                    type: object
                    properties:
                      USER_VALUE:
                        type: string
                        maxLength: 60
                        description: 'DSVAS: Attribute value'
              required:
              - PF_CHANGE_DATE
              - PF_CHANGE_TIME
              - PF_CHECK_CON
              - PF_CHECK_GRP
              - PF_CHECK_ID
              - PF_CHECK_INS
              - PF_HANDLE
              - PF_MODE
              - PF_SESSITYPE
              - PF_SESSNO
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  PF_CHECK_EXCEPTION:
                    type: string
                    maxLength: 73
                    description: Message text
                  PF_ERROR:
                    type: string
                    maxLength: 73
                    description: Message text
                  PF_RATING:
                    type: string
                    maxLength: 1
                    description: 'DSVAS: Rating'
                  PF_RATING_CUSTOM:
                    type: string
                    maxLength: 1
                    description: 'DSVAS: Rating'
                  PF_RATING_TEXT:
                    type: string
                    maxLength: 60
                    description: 'DSVAS: Description of length 60'
                  PF_SESS_DESCRIPTION:
                    type: string
                    maxLength: 128
                    description: 'DSVAS: Text of length 128'
                  PF_STATUS_MESSAGE:
                    type: string
                    maxLength: 128
                    description: 'DSVAS: Text of length 128'
                  PF_TITLE:
                    type: string
                    maxLength: 60
                    description: 'DSVAS: Description of length 60'
                  PT_ATTRIBUTES:
                    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'
                        ATTR_GRP:
                          type: string
                          maxLength: 20
                          description: 'DSVAS: Attribute group'
                        ATTR_NAME:
                          type: string
                          maxLength: 40
                          description: 'DSVAS: Attribute name'
                        CUR:
                          type: string
                          maxLength: 60
                          description: 'DSVAS: Attribute value'
                        TOOL:
                          type: string
                          maxLength: 60
                          description: 'DSVAS: Attribute value'
                        USR:
                          type: string
                          maxLength: 60
                          description: 'DSVAS: Attribute value'
                        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
                        ATTR_TYPE:
                          type: string
                          maxLength: 1
                          description: 'DSVAS: Type of attribute  enumValues: G=Integer,""=Character String,R=Decimal Number,T=Time,D=Date'
                          enum:
                          - G
                          - ''
                          - R
                          - T
                          - D
                        TYPE_PRECISION:
                          type: integer
                          format: int64
                          description: 'DSVAS: Number of places shown after the decimal point'
                        TYPE_SIGN:
                          type: string
                          maxLength: 1
                          description: 'DSVAS: Number with plus/minus sign?  enumValues: X=Indicator set,""=Indicator not set'
                          enum:
                          - X
                          - ''
                        ATTR_ALIAS:
                          type: string
                          maxLength: 60
                          description: 'DSVAS: Alternative name for an attribute (alias)'
                        SHORT_TEXT:
                          type: string
                          maxLength: 60
                          description: 'DSVAS: Description of length 60'
                        DESCRIPTION:
                          type: integer
                          format: int64
                          description: 'DSVAS: Short description of a value'
                        AL_YEL_TXT:
                          type: integer
                          format: int64
                          description: 'DSVAS: Text for yellow rating'
                        AL_RED_TXT:
                          type: integer
                          format: int64
                          description: 'DSVAS: Text for red rating'
                  PT_ATTRIBUTE_USER:
                    type: array
                    items:
                      type: object
                      properties:
                        USER_VALUE:
                          type: string
                          maxLength: 60
                          description: 'DSVAS: Attribute value'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
