openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/OSP/RAUI_CHR_RP_READ:
    post:
      tags:
      - /OSP/RAUI_SERVICES
      summary: Fetch Chart Reports
      operationId: /rfc/OSP/RAUI_CHR_RP_READ
      requestBody:
        content:
          application/json:
            schema:
              properties:
                RV_TYPE:
                  type: string
                  maxLength: 4
                  description: Rule violation type code
                USER_ROLES:
                  type: array
                  items:
                    type: string
                    maxLength: 255
                    description: OSP Role of the user
              required:
              - RV_TYPE
              - USER_ROLES
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ET_CHRRP_DETAIL:
                    type: array
                    items:
                      type: object
                      properties:
                        MANDT:
                          type: string
                          maxLength: 3
                          description: Client
                        RV_TYPE:
                          type: string
                          maxLength: 4
                          description: Rule violation type code
                        REPORT:
                          type: string
                          maxLength: 40
                          description: Report Name
                        RFCDEST:
                          type: string
                          maxLength: 32
                          description: Duet Logical RFC Destination
                        SYSTYPE:
                          type: string
                          maxLength: 50
                          description: Source System Type
                        RP_TYP:
                          type: string
                          maxLength: 50
                          description: Report Type
                        ACTIVE:
                          type: string
                          maxLength: 1
                          description: Report Active Flag
                        ROLE:
                          type: string
                          maxLength: 255
                          description: OSP Role of the user
                        ALV_VAR:
                          type: string
                          maxLength: 12
                          description: ALV Variant
                        DESCRIPTION:
                          type: string
                          maxLength: 70
                          description: Report Description
                        REP_TITLE:
                          type: string
                          maxLength: 70
                          description: Report Title
                        RLV_DESCRIPTION:
                          type: string
                          maxLength: 60
                          description: Short Text
                        RFC_DESCRIPTION:
                          type: string
                          maxLength: 72
                          description: Duet Logical RFC Description
                        SYSTYPE_DESC:
                          type: string
                          maxLength: 255
                          description: Description
                        RP_TYP_DESC:
                          type: string
                          maxLength: 255
                          description: Description
                  ET_CHRRP_PAR_DETAIL:
                    type: array
                    items:
                      type: object
                      properties:
                        MANDT:
                          type: string
                          maxLength: 3
                          description: Client
                        RV_TYPE:
                          type: string
                          maxLength: 4
                          description: Rule violation type code
                        REPORT:
                          type: string
                          maxLength: 40
                          description: Report Name
                        RFCDEST:
                          type: string
                          maxLength: 32
                          description: Duet Logical RFC Destination
                        PARAM_NAME:
                          type: string
                          maxLength: 8
                          description: Parameter Name
                        PARAM_KIND:
                          type: string
                          maxLength: 50
                          description: Report Parameter Type
                        PARAM_ORDER:
                          type: integer
                          format: int64
                          description: Report Parameter Order
                        DATA_TYPE:
                          type: string
                          maxLength: 4
                          description: Data Type
                        ABAP_TYPE:
                          type: string
                          maxLength: 1
                          description: Selection field type
                        DATA_DOMAIN:
                          type: string
                          maxLength: 132
                          description: Reference Field
                        PARAM_LENGTH:
                          type: integer
                          format: int64
                          description: Output Length
                        PAR_INT_LEN:
                          type: integer
                          format: int64
                          description: Internal Length
                        P_DECIMALS:
                          type: integer
                          format: int64
                          description: Decimal Places
                        P_SIGN:
                          type: string
                          maxLength: 1
                          description: Negatives
                        CASE_SENSE:
                          type: string
                          maxLength: 1
                          description: Case Sense
                        RADIOGROUP:
                          type: string
                          maxLength: 4
                          description: Radio Button Group
                        NO_EXTN:
                          type: string
                          maxLength: 1
                          description: No Extension Flag
                        NO_INTERVAL:
                          type: string
                          maxLength: 1
                          description: No Interval Flag
                        BACKEND_MAND:
                          type: string
                          maxLength: 1
                          description: Backend Mandatory flag
                        DFLT_SIGN:
                          type: string
                          maxLength: 1
                          description: 'I/E : Include or Exclude'
                        DFLT_OPTN:
                          type: string
                          maxLength: 50
                          description: Selection Condition (EQ/BT/NE/...)
                        DFLT_LOW:
                          type: string
                          maxLength: 255
                          description: Low/From Value
                        DFLT_HIGH:
                          type: string
                          maxLength: 255
                          description: High/To Value
                        PAR_DESCRIPTION:
                          type: string
                          maxLength: 60
                          description: Parameter Backend Description
                        RLV_DESCRIPTION:
                          type: string
                          maxLength: 60
                          description: Short Text
                        CONTEXT_PARAM_FR:
                          type: string
                          maxLength: 8
                          description: Context Parameter From/Low Value
                        CONTEXT_PARAM_TO:
                          type: string
                          maxLength: 8
                          description: Context Parameter To/High Value
                        CON_GRP:
                          type: string
                          maxLength: 15
                          description: Context Group Name
                        VAR_NAME:
                          type: string
                          maxLength: 30
                          description: Context Variable Name
                        PARAM_KIND_DESC:
                          type: string
                          maxLength: 255
                          description: Description
                        DFLT_OPTN_DESC:
                          type: string
                          maxLength: 255
                          description: Description
                        CNTX_ID:
                          type: string
                          maxLength: 32
                          description: SAP ID - GUID
                        CLASS_NAME:
                          type: string
                          maxLength: 30
                          description: Class Name
                        CON_DUET_DESC:
                          type: string
                          maxLength: 60
                          description: Duet Description
                  ET_CHRRP_PAR_VALUES:
                    type: array
                    items:
                      type: object
                      properties:
                        MANDT:
                          type: string
                          maxLength: 3
                          description: Client
                        RV_TYPE:
                          type: string
                          maxLength: 4
                          description: Rule violation type code
                        REPORT:
                          type: string
                          maxLength: 40
                          description: Report Name
                        RFCDEST:
                          type: string
                          maxLength: 32
                          description: Duet Logical RFC Destination
                        PARAM_NAME:
                          type: string
                          maxLength: 8
                          description: Parameter Name
                        PARAM_SEQ_NO:
                          type: integer
                          format: int64
                          description: Parameter Value Sequence Number
                        DFLT_SIGN:
                          type: string
                          maxLength: 1
                          description: 'I/E : Include or Exclude'
                        DFLT_OPTN:
                          type: string
                          maxLength: 50
                          description: Selection Condition (EQ/BT/NE/...)
                        DFLT_LOW:
                          type: string
                          maxLength: 255
                          description: Low/From Value
                        DFLT_HIGH:
                          type: string
                          maxLength: 255
                          description: High/To Value
                        VAR_NAME:
                          type: string
                          maxLength: 30
                          description: Context Variable Name
                        PAR_DESCRIPTION:
                          type: string
                          maxLength: 60
                          description: Parameter Backend Description
                        RLV_DESCRIPTION:
                          type: string
                          maxLength: 60
                          description: Short Text
                        CNTX_ID:
                          type: string
                          maxLength: 32
                          description: SAP ID - GUID
                        CLASS_NAME:
                          type: string
                          maxLength: 30
                          description: Class Name
                        CON_DUET_DESC:
                          type: string
                          maxLength: 60
                          description: Duet Description
                        DFLT_OPTN_DESC:
                          type: string
                          maxLength: 255
                          description: Description
                  ET_CHRRP_SER_DETAIL:
                    type: array
                    items:
                      type: object
                      properties:
                        MANDT:
                          type: string
                          maxLength: 3
                          description: Client
                        RV_TYPE:
                          type: string
                          maxLength: 4
                          description: Rule violation type code
                        REPORT:
                          type: string
                          maxLength: 40
                          description: Report Name
                        RFCDEST:
                          type: string
                          maxLength: 32
                          description: Duet Logical RFC Destination
                        CHART_TYPE:
                          type: string
                          maxLength: 50
                          description: Chart Type - Bar / Stacked Bar / Pie / Line
                        SERIES_NUMBER:
                          type: integer
                          format: int64
                          description: Series number
                        ROW_COL_NUM:
                          type: integer
                          format: int64
                          description: Row or Column Number
                        DESCRIPTION:
                          type: string
                          maxLength: 60
                          description: Short Text
                  ET_CHRRP_SET_DETAIL:
                    type: array
                    items:
                      type: object
                      properties:
                        MANDT:
                          type: string
                          maxLength: 3
                          description: Client
                        RV_TYPE:
                          type: string
                          maxLength: 4
                          description: Rule violation type code
                        REPORT:
                          type: string
                          maxLength: 40
                          description: Report Name
                        RFCDEST:
                          type: string
                          maxLength: 32
                          description: Duet Logical RFC Destination
                        CHART_TYPE:
                          type: string
                          maxLength: 50
                          description: Chart Type - Bar / Stacked Bar / Pie / Line
                        SERIES_TYPE:
                          type: string
                          maxLength: 50
                          description: Series Type - Row Series or Column Series
                        SER_DATA_TYPE:
                          type: string
                          maxLength: 50
                          description: Series data type
                        SORT_ORDER:
                          type: integer
                          format: int64
                          description: Sort Order
                        TABLE_START:
                          type: integer
                          format: int64
                          description: Row no. of start of table
                        ACTIVE:
                          type: string
                          maxLength: 1
                          description: Chart Setting Active Flag
                        X_AXIS_TITLE:
                          type: string
                          maxLength: 60
                          description: X - Axis Title
                        Y_AXIS_TITLE:
                          type: string
                          maxLength: 60
                          description: Y - Axis Title
                        RLV_DESCRIPTION:
                          type: string
                          maxLength: 60
                          description: Short Text
                  ET_CTX_MAP:
                    type: array
                    items:
                      type: object
                      properties:
                        CNTX_ID:
                          type: string
                          maxLength: 32
                          description: SAP ID - GUID
                        CON_GRP:
                          type: string
                          maxLength: 15
                          description: Context Group Name
                        VAR_NAME:
                          type: string
                          maxLength: 30
                          description: Context Variable Name
                        CLASS_NAME:
                          type: string
                          maxLength: 30
                          description: Class Name
                        LOGICAL_RFC_DEST:
                          type: string
                          maxLength: 32
                          description: Duet Logical RFC Destination
                        CON_DUET_DESC:
                          type: string
                          maxLength: 60
                          description: Duet Description
                        CON_GRP_TYPE:
                          type: string
                          maxLength: 1
                          description: Context Group type
                  ET_RETURN:
                    type: array
                    items:
                      type: object
                      properties:
                        TYPE:
                          type: string
                          maxLength: 1
                          description: 'Message type: S Success, E Error, W Warning, I Info, A Abort'
                        ID:
                          type: string
                          maxLength: 20
                          description: Message Class
                        NUMBER:
                          type: integer
                          format: int64
                          description: Message Number
                        MESSAGE:
                          type: string
                          maxLength: 220
                          description: Message Text
                        LOG_NO:
                          type: string
                          maxLength: 20
                          description: 'Application log: log number'
                        LOG_MSG_NO:
                          type: integer
                          format: int64
                          description: 'Application log: Internal message serial number'
                        MESSAGE_V1:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MESSAGE_V2:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MESSAGE_V3:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MESSAGE_V4:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        PARAMETER:
                          type: string
                          maxLength: 32
                          description: Parameter Name
                        ROW:
                          type: integer
                          format: int32
                          description: Lines in parameter
                        FIELD:
                          type: string
                          maxLength: 30
                          description: Field in parameter
                        SYSTEM:
                          type: string
                          maxLength: 10
                          description: Logical system from which message originates
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
