openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/BCOM_RS_AGENTGROUP_SET_T:
    post:
      tags:
      - BCOM_RS_RFC
      operationId: /rfc/BCOM_RS_AGENTGROUP_SET_T
      requestBody:
        content:
          application/json:
            schema:
              properties:
                AGENTGROUP_ID:
                  type: string
                  maxLength: 32
                  description: Routing Scenario ID
                TIMESTAMP:
                  type: object
                  properties:
                    KEY:
                      type: string
                      maxLength: 65
                      description: 'Routing: Key for Time Stamp'
                    TIMESTAMP:
                      type: integer
                      format: int64
                      description: UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
                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
              required:
              - AGENTGROUP_ID
              - TIMESTAMP
      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
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
