openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/WRC_CHANNEL_SAVE:
    post:
      tags:
      - WBDYN_REC_BASIS
      operationId: /rfc/WRC_CHANNEL_SAVE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CHANNEL:
                  type: string
                  maxLength: 30
                  description: Recording
                USERNAME:
                  type: string
                  default: ' '
                  maxLength: 12
                  description: SAP System, User Logon Name
                SET_DATA:
                  type: array
                  items:
                    type: object
                    properties:
                      MANDT:
                        type: string
                        maxLength: 3
                        description: Client ID of Current User
                      WRC_NAME:
                        type: string
                        maxLength: 30
                        description: Recording Object for Web Dynpro Recordings
                      COUNTER:
                        type: integer
                        format: int64
                        description: Line Counter
                      SUBCOUNTER:
                        type: integer
                        format: int64
                        description: Counter for Shared String
                      DATA:
                        type: string
                        maxLength: 255
                        description: Data String
                SET_TEXTS:
                  type: array
                  items:
                    type: object
                    properties:
                      MANDT:
                        type: string
                        maxLength: 3
                        description: Client ID of Current User
                      WRC_NAME:
                        type: string
                        maxLength: 30
                        description: Recording Object for Web Dynpro Recordings
                      SPRAS:
                        type: string
                        maxLength: 1
                        description: Language of menu texts
                      LINE:
                        type: integer
                        format: int64
                        description: Row
                      TEXT:
                        type: string
                        maxLength: 80
                        description: Description
              required:
              - CHANNEL
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  SET_DATA:
                    type: array
                    items:
                      type: object
                      properties:
                        MANDT:
                          type: string
                          maxLength: 3
                          description: Client ID of Current User
                        WRC_NAME:
                          type: string
                          maxLength: 30
                          description: Recording Object for Web Dynpro Recordings
                        COUNTER:
                          type: integer
                          format: int64
                          description: Line Counter
                        SUBCOUNTER:
                          type: integer
                          format: int64
                          description: Counter for Shared String
                        DATA:
                          type: string
                          maxLength: 255
                          description: Data String
                  SET_TEXTS:
                    type: array
                    items:
                      type: object
                      properties:
                        MANDT:
                          type: string
                          maxLength: 3
                          description: Client ID of Current User
                        WRC_NAME:
                          type: string
                          maxLength: 30
                          description: Recording Object for Web Dynpro Recordings
                        SPRAS:
                          type: string
                          maxLength: 1
                          description: Language of menu texts
                        LINE:
                          type: integer
                          format: int64
                          description: Row
                        TEXT:
                          type: string
                          maxLength: 80
                          description: Description
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
