POST api/Chat/ChatAttachmentUpload
Attachment APIToken,FromId,otype,fromUsrType,fromUsrName,ToId,ToUsrType,toUsrName
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
ChatSuccessMessageName | Description | Type | Additional information |
---|---|---|---|
ReturnId | integer |
None. |
|
MessageCode | string |
None. |
|
Message | string |
None. |
|
Status | boolean |
None. |
Response Formats
application/json, text/json, text/plain, text/html
Sample:
{ "returnId": 1, "messageCode": "sample string 2", "message": "sample string 3", "status": true }
application/xml, text/xml
Sample:
<ChatSuccessMessage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CMMS_V2.Core.DataModel"> <Message>sample string 3</Message> <MessageCode>sample string 2</MessageCode> <ReturnId>1</ReturnId> <Status>true</Status> </ChatSuccessMessage>
multipart/form-data
Sample:
<ChatSuccessMessage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CMMS_V2.Core.DataModel"><Message>sample string 3</Message><MessageCode>sample string 2</MessageCode><ReturnId>1</ReturnId><Status>true</Status></ChatSuccessMessage>