openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/WP_CHANNELS_GET:
    post:
      tags:
      - WP_USER_MENU
      summary: Read channel assignments
      operationId: /rfc/WP_CHANNELS_GET
      requestBody:
        content:
          application/json:
            schema:
              properties:
                LANGUAGE:
                  type: string
                  default: ' '
                  maxLength: 2
                  description: Language ID (ISO Standard)
                USER_NAME:
                  type: string
                  default: SY-UNAME
                  maxLength: 12
                  description: Workplace User, R/3 Logon Name
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  CHANNEL_SETTINGS:
                    type: string
                    maxLength: 24576
                    description: Version Number Component
                  CONFIRM_CHANNEL_CLOSE:
                    type: string
                    maxLength: 1
                    description: General Flag
                  NUMBER_OF_CHANNELS:
                    type: integer
                    format: int64
                    description: Two-digit number
                  WP_DOCU_URL:
                    type: string
                    maxLength: 2048
                    description: URL for a Service
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
