openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/BCOM_RS_AGENTGROUP_GET:
    post:
      tags:
      - BCOM_IR_ROUTER
      operationId: /rfc/BCOM_RS_AGENTGROUP_GET
      requestBody:
        content:
          application/json:
            schema:
              properties:
                AGENTGROUP_ID:
                  type: string
                  maxLength: 32
                  description: Routing Scenario ID
                AGENT_LIST:
                  type: array
                  items:
                    type: object
                    properties:
                      CCUSER:
                        type: string
                        maxLength: 15
                        description: 'SAPphone: Call center user ID'
                      SMTP_ADDR:
                        type: string
                        maxLength: 241
                        description: E-Mail Address
                USER_LIST:
                  type: array
                  items:
                    type: object
                    properties:
                      USERNAME:
                        type: string
                        maxLength: 12
                        description: User Name in User Master Record
                      CCUSER:
                        type: string
                        maxLength: 15
                        description: 'SAPphone: Call center user ID'
                      SMTP_ADDR:
                        type: string
                        maxLength: 241
                        description: E-Mail Address
              required:
              - AGENTGROUP_ID
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ERR_TEXT:
                    type: string
                    maxLength: 80
                    description: Unformatted text (information only)
                  RETURNCODE:
                    type: string
                    maxLength: 4
                    description: 'SAPphone: Return code'
                  SYSTEM_RC_X:
                    type: string
                    maxLength: 10
                    description: Return code from external software
                  AGENT_LIST:
                    type: array
                    items:
                      type: object
                      properties:
                        CCUSER:
                          type: string
                          maxLength: 15
                          description: 'SAPphone: Call center user ID'
                        SMTP_ADDR:
                          type: string
                          maxLength: 241
                          description: E-Mail Address
                  USER_LIST:
                    type: array
                    items:
                      type: object
                      properties:
                        USERNAME:
                          type: string
                          maxLength: 12
                          description: User Name in User Master Record
                        CCUSER:
                          type: string
                          maxLength: 15
                          description: 'SAPphone: Call center user ID'
                        SMTP_ADDR:
                          type: string
                          maxLength: 241
                          description: E-Mail Address
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
