29 lines
634 B
YAML
29 lines
634 B
YAML
post:
|
|
tags:
|
|
- ConversationAssignment
|
|
operationId: conversationAssignment
|
|
summary: Assign Conversation
|
|
description: Assign a conversation to an agent
|
|
parameters:
|
|
- name: id
|
|
in: path
|
|
type: number
|
|
description: id of the conversation
|
|
required: true
|
|
- name: data
|
|
in: body
|
|
required: true
|
|
schema:
|
|
type: object
|
|
properties:
|
|
assignee_id:
|
|
type: number
|
|
responses:
|
|
200:
|
|
description: Success
|
|
schema:
|
|
$ref: '#/definitions/user'
|
|
404:
|
|
description: Conversation not found
|
|
403:
|
|
description: Access denied
|