openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RSSH_CHAVL_READ_ALL_RFC:
    post:
      tags:
      - RSSHWD
      operationId: /rfc/RSSH_CHAVL_READ_ALL_RFC
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_CHECK_VALUE:
                  type: string
                  default: RS_C_TRUE
                  maxLength: 1
                I_DATETO:
                  type: string
                  format: date
                  default: SY-DATUM
                I_IOBJNM:
                  type: string
                  maxLength: 30
                I_LANGU:
                  type: string
                  default: SY-LANGU
                  maxLength: 1
                I_MOSTRECENT:
                  type: string
                  default: ' '
                  maxLength: 1
                I_READ_ATTRIBUTES:
                  type: string
                  default: ' '
                  maxLength: 1
                I_READ_TEXT:
                  type: string
                  default: RS_C_TRUE
                  maxLength: 1
                CT_CHAVLINFO:
                  type: array
                  items:
                    type: object
                    properties:
                      I_SID:
                        type: integer
                        format: int32
                        description: Master data ID
                      C_CHAVL:
                        type: string
                        maxLength: 60
                        description: 'Dim: Field for a User-Defined Characteristic Value'
                      C_NIOBJNM:
                        type: string
                        maxLength: 30
                        description: 30 Characters
                      C_HIEID:
                        type: string
                        maxLength: 25
                        description: Internal hierarchy ID (unique ID)
                      I_TABIX:
                        type: integer
                        format: int32
                        description: Natural number
                      E_EXIST:
                        type: string
                        maxLength: 1
                        description: Boolean
                      TXTSH:
                        type: string
                        maxLength: 20
                        description: Short description
                      TXTMD:
                        type: string
                        maxLength: 40
                        description: Medium description
                      TXTLG:
                        type: string
                        maxLength: 60
                        description: Long description
                      C_RC:
                        type: integer
                        format: int32
                        description: Return Value of ABAP Statements
                      I_READ_MODE:
                        type: string
                        maxLength: 1
                        description: Single-Character Flag
                IT_REQUESTED_ATTRIBUTE:
                  type: array
                  items:
                    type: object
                    properties:
                      IOBJNM:
                        type: string
                        maxLength: 30
                        description: InfoObject
              required:
              - I_IOBJNM
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  CT_CHAVLINFO:
                    type: array
                    items:
                      type: object
                      properties:
                        I_SID:
                          type: integer
                          format: int32
                          description: Master data ID
                        C_CHAVL:
                          type: string
                          maxLength: 60
                          description: 'Dim: Field for a User-Defined Characteristic Value'
                        C_NIOBJNM:
                          type: string
                          maxLength: 30
                          description: 30 Characters
                        C_HIEID:
                          type: string
                          maxLength: 25
                          description: Internal hierarchy ID (unique ID)
                        I_TABIX:
                          type: integer
                          format: int32
                          description: Natural number
                        E_EXIST:
                          type: string
                          maxLength: 1
                          description: Boolean
                        TXTSH:
                          type: string
                          maxLength: 20
                          description: Short description
                        TXTMD:
                          type: string
                          maxLength: 40
                          description: Medium description
                        TXTLG:
                          type: string
                          maxLength: 60
                          description: Long description
                        C_RC:
                          type: integer
                          format: int32
                          description: Return Value of ABAP Statements
                        I_READ_MODE:
                          type: string
                          maxLength: 1
                          description: Single-Character Flag
                  IT_REQUESTED_ATTRIBUTE:
                    type: array
                    items:
                      type: object
                      properties:
                        IOBJNM:
                          type: string
                          maxLength: 30
                          description: InfoObject
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
