Set Chat Concept


This request sets the concept of a chat session.

Resource

PUT /chats/<OID>/concept

Where OID is the object ID of the chat session.

Parameters

None

Payload

An attachment can to be send with a base64 encoded string. Check out the send attachment base64 example for more information.
An attachment can also be added through an input stream. See Chat Concept Add Attachment for more information.

Response

None

Context

Authorization

User

Errors

Example

Request
PUT https://xelion.nl/api/v1/master/chats/1588675/concept

Set a plain text

Payload
{
        "text": "hello there"
}

Set an attachment with base64

Payload
{
    "attachment": {
      "originalLocation": "circle.jpg",
      "commonName": "circle.jpg",
      "mimeType": "image/jpg",
      "contentsB64String":  "/9j/4AAQSkZJRgABAgAAAQA"
    }
}