openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/BCOM_RS_QUEUE_ITEM:
    post:
      tags:
      - BCOM_IR_ROUTER
      operationId: /rfc/BCOM_RS_QUEUE_ITEM
      requestBody:
        content:
          application/json:
            schema:
              properties:
                AGENT_LIST:
                  type: array
                  items:
                    type: object
                    properties:
                      AGENT:
                        type: string
                        maxLength: 15
                        description: 'SAPphone: Call center user ID'
                CLIENT:
                  type: string
                  maxLength: 3
                  description: R/3 System, Client Number from Logon
                PROCESS_ID:
                  type: string
                  maxLength: 50
                  description: 'Workflow Interfaces: Ticket for Asynchronous Communication'
                REQUEST_ID:
                  type: string
                  maxLength: 32
                  description: 'BCOM Routing: Request ID'
                REQUEST_TYPE:
                  type: string
                  maxLength: 3
                  description: 'Rule-Based Routing: Channel'
                SYSTEM:
                  type: string
                  maxLength: 8
                  description: Name of SAP R/3 System
              required:
              - AGENT_LIST
              - CLIENT
              - PROCESS_ID
              - REQUEST_ID
              - REQUEST_TYPE
              - SYSTEM
      responses:
        '200':
          description: OK
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
