openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RRMX_WORKBOOK_WRITE:
    post:
      tags:
      - RRMX
      operationId: /rfc/RRMX_WORKBOOK_WRITE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_AGR_ID:
                  type: string
                  maxLength: 300
                  description: GUID for RSBB_NODES_TREE (AGR_NAME, ORIGIN_ID, SAP_GUID)
                I_BEX_VERSION:
                  type: string
                  default: ''
                  maxLength: 25
                  description: GUID for RSBB_NODES_TREE (AGR_NAME, ORIGIN_ID, SAP_GUID)
                I_ID:
                  type: string
                  maxLength: 25
                I_PARENT_OBJ_NAME:
                  type: string
                  default: ''
                  maxLength: 30
                  description: GUID for RSBB_NODES_TREE (AGR_NAME, ORIGIN_ID, SAP_GUID)
                I_PARENT_OBJ_TYPE:
                  type: integer
                  format: int64
                  description: GUID for RSBB_NODES_TREE (AGR_NAME, ORIGIN_ID, SAP_GUID)
                I_PATH:
                  type: string
                  maxLength: 128
                I_REMOVE_PERS:
                  type: string
                  default: RS_C_TRUE
                  maxLength: 1
                  description: GUID for RSBB_NODES_TREE (AGR_NAME, ORIGIN_ID, SAP_GUID)
                I_REVISION:
                  type: integer
                  format: int32
                  default: 0
                I_SYSID:
                  type: string
                  maxLength: 8
                I_TITLE:
                  type: string
                  maxLength: 60
                I_USER:
                  type: string
                  default: SY-UNAME
                  maxLength: 12
                  description: GUID for RSBB_NODES_TREE (AGR_NAME, ORIGIN_ID, SAP_GUID)
                E_T_RETURNTEXTS:
                  type: array
                  items:
                    type: object
                    properties:
                      LINE:
                        type: string
                        maxLength: 255
                        description: HTML container
                I_T_BLOB:
                  type: array
                  items:
                    type: object
                    properties:
                      WORKBOOKID:
                        type: string
                        maxLength: 25
                        description: 'BW Generation tool: GUID in compressed form (CHAR25)'
                      OBJVERS:
                        type: string
                        maxLength: 1
                        description: 'Object version  enumValues: N=New,A=Active,M=Revised,D=Content,H=Historic,T=Transport'
                        enum:
                        - N
                        - A
                        - M
                        - D
                        - H
                        - T
                      LINENUMBER:
                        type: integer
                        format: int32
                        description: BIN4 data element for SYST
                      CLUSTR:
                        type: integer
                        format: int32
                        description: BIN2 data element for SYST
                      CLUSTD:
                        type: string
                        format: byte
                        description: 'Application Log: INDX tables data cluster'
                I_T_USED_REPORTS:
                  type: array
                  items:
                    type: object
                    properties:
                      SUBNR:
                        type: integer
                        format: int64
                        description: Counter for reports
                      GENUNIID:
                        type: string
                        maxLength: 25
                        description: UUID in compressed form
              required:
              - I_PATH
              - I_SYSID
              - I_TITLE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_REVISION:
                    type: integer
                    format: int32
                    description: GUID for RSBB_NODES_TREE (AGR_NAME, ORIGIN_ID, SAP_GUID)
                  E_SUBRC:
                    type: integer
                    format: int32
                    description: GUID for RSBB_NODES_TREE (AGR_NAME, ORIGIN_ID, SAP_GUID)
                  E_T_RETURNTEXTS:
                    type: array
                    items:
                      type: object
                      properties:
                        LINE:
                          type: string
                          maxLength: 255
                          description: HTML container
                  I_T_BLOB:
                    type: array
                    items:
                      type: object
                      properties:
                        WORKBOOKID:
                          type: string
                          maxLength: 25
                          description: 'BW Generation tool: GUID in compressed form (CHAR25)'
                        OBJVERS:
                          type: string
                          maxLength: 1
                          description: 'Object version  enumValues: N=New,A=Active,M=Revised,D=Content,H=Historic,T=Transport'
                          enum:
                          - N
                          - A
                          - M
                          - D
                          - H
                          - T
                        LINENUMBER:
                          type: integer
                          format: int32
                          description: BIN4 data element for SYST
                        CLUSTR:
                          type: integer
                          format: int32
                          description: BIN2 data element for SYST
                        CLUSTD:
                          type: string
                          format: byte
                          description: 'Application Log: INDX tables data cluster'
                  I_T_USED_REPORTS:
                    type: array
                    items:
                      type: object
                      properties:
                        SUBNR:
                          type: integer
                          format: int64
                          description: Counter for reports
                        GENUNIID:
                          type: string
                          maxLength: 25
                          description: UUID in compressed form
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
