Chat Concept Upload Attachment
This request add an attachment to a chat concept.
The attachment contents is read from the payload. The name and content-type are set in HTTP headers.
Resource
POST /chats/<OID>/concept/attachment
Whrere OID is the object ID of the chat session.
Parameters
None
headers
Name | Description | Example |
---|---|---|
|
The mime content type. |
|
|
The file name, as defined in RFC 2183. |
|
|
The attachment size in bytes. |
|
Payload
The contents of the attachment.
Context
Authorization |
User |
Errors
Example
Request
POST https://xelion.nl/api/v1/master/chats/2836127/concept/attachment
Headers
Content-Type: image/jpeg Content-Disposition: attachment; filename=image.jpg
Payload
.......................................................................................
Response
{
"object": {
"originalLocation": "image.jpg",
"mimeType": "image/jpeg",
"size": 1060,
"commonName": "image.jpg",
"oid": "1808788",
"objectType": "Attachment"
}
}