openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/CRM_IC_SPH_SAM_WAITFORCALL:
    post:
      tags:
      - CRM_IC_SPH_BG
      summary: Background SP_WAITFORCALL (Return via SAM Message)
      operationId: /rfc/CRM_IC_SPH_SAM_WAITFORCALL
      requestBody:
        content:
          application/json:
            schema:
              properties:
                SAM_QUEUE:
                  type: string
                  description: 'SAPphone: Work mode for agent'
                WORKMODE:
                  type: integer
                  format: int64
                  description: 'SAPphone: Work mode for agent'
              required:
              - SAM_QUEUE
              - WORKMODE
      responses:
        '200':
          description: OK
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
