openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/UWL_ASSIGN_USERS_CHANNEL:
    post:
      tags:
      - UWLCONN
      summary: Adding user to a uwl channel
      operationId: /rfc/UWL_ASSIGN_USERS_CHANNEL
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CHANNEL_ID:
                  type: string
                  maxLength: 255
                  description: UWL type, id and general name
                LAST_TIMESTAMP:
                  type: integer
                  format: int64
                  description: UTC Time Stamp in Long Form (YYYYMMDDhhmmssmmmuuun)
                USERS:
                  type: array
                  items:
                    type: object
                    properties:
                      USER_ID:
                        type: string
                        maxLength: 12
                        description: User Name
                      LANGU:
                        type: string
                        maxLength: 1
                        description: Language Key
              required:
              - CHANNEL_ID
              - LAST_TIMESTAMP
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  MSG_LINE:
                    type: string
                    maxLength: 1024
                    description: UWL long string
                  RETURN_CODE:
                    type: integer
                    format: int32
                    description: Return Value, Return Value After ABAP Statements
                  USERS:
                    type: array
                    items:
                      type: object
                      properties:
                        USER_ID:
                          type: string
                          maxLength: 12
                          description: User Name
                        LANGU:
                          type: string
                          maxLength: 1
                          description: Language Key
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
